Skip to content

Commit

Permalink
Update providers
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Jul 5, 2024
1 parent 92d139d commit fb98bf2
Show file tree
Hide file tree
Showing 20 changed files with 180 additions and 1,583 deletions.
1,534 changes: 0 additions & 1,534 deletions images/tiler-server/config/config.toml

This file was deleted.

49 changes: 42 additions & 7 deletions images/tiler-server/config/providers/admin_boundaries_areas.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ SELECT
osm_id,
admin_level,
name,
type
type,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_admin_areas
WHERE
Expand All @@ -32,7 +37,12 @@ SELECT
osm_id,
admin_level,
name,
type
type,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_admin_areas
WHERE
Expand All @@ -53,7 +63,12 @@ SELECT
osm_id,
admin_level,
name,
type
type,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_admin_areas
WHERE
Expand All @@ -74,7 +89,12 @@ SELECT
osm_id,
admin_level,
name,
type
type,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_admin_areas
WHERE
Expand All @@ -95,7 +115,12 @@ SELECT
osm_id,
admin_level,
name,
type
type,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_admin_areas
WHERE
Expand All @@ -116,7 +141,12 @@ SELECT
osm_id,
admin_level,
name,
type
type,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_admin_areas
WHERE
Expand All @@ -137,7 +167,12 @@ SELECT
osm_id,
admin_level,
name,
type
type,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_admin_areas
WHERE
Expand Down
7 changes: 6 additions & 1 deletion images/tiler-server/config/providers/amenity_areas.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ SELECT
ST_AsMVTGeom(geometry, !BBOX!) AS geometry,
osm_id,
name,
type
type,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_amenity_areas
WHERE
Expand Down
7 changes: 6 additions & 1 deletion images/tiler-server/config/providers/amenity_points.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ SELECT
id,
osm_id,
name,
type
type,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_amenity_points
WHERE
Expand Down
7 changes: 6 additions & 1 deletion images/tiler-server/config/providers/buildings.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ SELECT
osm_id,
name,
nullif(as_numeric(height), -1) AS height,
type
type,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_buildings
WHERE
Expand Down
7 changes: 6 additions & 1 deletion images/tiler-server/config/providers/landuse_areas.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@ SELECT
class,
type,
tags->'wetland' AS wetland,
area
area,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_landuse_areas
WHERE
Expand Down
7 changes: 6 additions & 1 deletion images/tiler-server/config/providers/landuse_lines.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ SELECT
osm_id,
name,
class,
type
type,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_landuse_lines
WHERE
Expand Down
7 changes: 6 additions & 1 deletion images/tiler-server/config/providers/landuse_points.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ SELECT
osm_id,
name,
class,
type
type,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_landuse_points
WHERE
Expand Down
7 changes: 6 additions & 1 deletion images/tiler-server/config/providers/other_areas.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ SELECT
osm_id,
name,
class,
type
type,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_other_areas
WHERE
Expand Down
7 changes: 6 additions & 1 deletion images/tiler-server/config/providers/other_lines.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ SELECT
osm_id,
name,
class,
type
type,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_other_lines
WHERE
Expand Down
7 changes: 6 additions & 1 deletion images/tiler-server/config/providers/other_points.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ SELECT
class,
type,
tags->'artwork_type' AS artwork_type,
tags->'site_type' AS site_type
tags->'site_type' AS site_type,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_other_points
WHERE
Expand Down
7 changes: 6 additions & 1 deletion images/tiler-server/config/providers/place_areas.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ SELECT
id,
osm_id,
name,
type
type,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_place_areas
WHERE
Expand Down
19 changes: 0 additions & 19 deletions images/tiler-server/config/providers/place_points copy.toml

This file was deleted.

7 changes: 6 additions & 1 deletion images/tiler-server/config/providers/place_points.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ SELECT
osm_id,
name,
type,
tags->'capital' AS capital
tags->'capital' AS capital,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_place_points
WHERE
Expand Down
7 changes: 6 additions & 1 deletion images/tiler-server/config/providers/transport_areas.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ SELECT
name,
class,
type,
area
area,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_transport_areas
WHERE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ SELECT
m.name,
m.relname,
m.index,
r.type
r.type,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_relations r,
osm_relation_members m
Expand Down
7 changes: 6 additions & 1 deletion images/tiler-server/config/providers/transport_lines.toml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,12 @@ SELECT
service,
ford,
tags->'construction' AS construction,
tags->'usage' AS usage
tags->'usage' AS usage,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_transport_lines
WHERE
Expand Down
7 changes: 6 additions & 1 deletion images/tiler-server/config/providers/transport_points.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ SELECT
osm_id,
name,
class,
type
type,
tags->'name:ar' as name_ar,
tags->'name:en' as name_en,
tags->'name:he' as name_he,
tags->'name:fr' as name_fr,
tags->'name:hy' as name_hy
FROM
osm_transport_points
WHERE
Expand Down
Loading

0 comments on commit fb98bf2

Please sign in to comment.