chore: bugfixes and notes after merging
This commit is contained in:
parent
592e7f3c39
commit
cd5a2880e0
4
.env
4
.env
@ -16,8 +16,8 @@ PGPORT=5432
|
|||||||
# BBOX may get overwritten by the computed bbox of the specific area:
|
# BBOX may get overwritten by the computed bbox of the specific area:
|
||||||
# make generate-bbox-file
|
# make generate-bbox-file
|
||||||
# By default, the Makefile will use the content of data/$(area).bbox file if it exists.
|
# By default, the Makefile will use the content of data/$(area).bbox file if it exists.
|
||||||
#BBOX=2.255544,49.857797,6.586904,51.389246
|
#BBOX=4.964926,50.882471,5.411252,51.071236
|
||||||
#BBOX=2.255544,49.857797,6.586904,51.389246
|
#BBOX=4.964926,50.882471,5.411252,51.071236
|
||||||
|
|
||||||
|
|
||||||
# Which zooms to generate with make generate-tiles-pg
|
# Which zooms to generate with make generate-tiles-pg
|
||||||
|
|||||||
15
MIEL-open-issues.md
Normal file
15
MIEL-open-issues.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
#### amenity: parking_entrance
|
||||||
|
is nog niet covered:
|
||||||
|
https://www.openstreetmap.org/node/3192139608
|
||||||
|
http://localhost:8080/styles/light/?vector#18.53/50.8813949/4.707086
|
||||||
|
|
||||||
|
### While we're at it, add trees
|
||||||
|
As a near-max zoom level thing only.
|
||||||
|
https://www.openstreetmap.org/node/3192142615
|
||||||
|
Would need to be a new layer to style correctly,
|
||||||
|
and other such 'decorations' could be considered.
|
||||||
|
(currently, bins, park-benches, etc are considered regular POI while these
|
||||||
|
would fit in their own 'low-rank' category)
|
||||||
|
|
||||||
|

|
||||||
@ -4,7 +4,7 @@
|
|||||||
DO
|
DO
|
||||||
$$
|
$$
|
||||||
BEGIN
|
BEGIN
|
||||||
DROP TABLE IF EXISTS osm_boundary_polygon CASCADE;
|
DROP TABLE IF EXISTS osm_boundary_polygon_nuts CASCADE;
|
||||||
EXCEPTION
|
EXCEPTION
|
||||||
WHEN wrong_object_type THEN
|
WHEN wrong_object_type THEN
|
||||||
END;
|
END;
|
||||||
@ -12,8 +12,8 @@ $$ LANGUAGE plpgsql;
|
|||||||
|
|
||||||
-- etldoc: osm_border_linestring -> osm_border_linestring_gen_z13
|
-- etldoc: osm_border_linestring -> osm_border_linestring_gen_z13
|
||||||
-- etldoc: osm_border_linestring_adm -> osm_border_linestring_gen_z13
|
-- etldoc: osm_border_linestring_adm -> osm_border_linestring_gen_z13
|
||||||
DROP MATERIALIZED VIEW IF EXISTS osm_boundary_polygon CASCADE;
|
DROP MATERIALIZED VIEW IF EXISTS osm_boundary_polygon_nuts CASCADE;
|
||||||
CREATE MATERIALIZED VIEW osm_boundary_polygon AS
|
CREATE MATERIALIZED VIEW osm_boundary_polygon_nuts AS
|
||||||
(
|
(
|
||||||
SELECT r.osm_id as relation_id,
|
SELECT r.osm_id as relation_id,
|
||||||
r.name,
|
r.name,
|
||||||
@ -33,7 +33,7 @@ FROM (
|
|||||||
) as p
|
) as p
|
||||||
LEFT JOIN osm_administrative_relation as r on r.osm_id = p.relation_id
|
LEFT JOIN osm_administrative_relation as r on r.osm_id = p.relation_id
|
||||||
) /* DELAY_MATERIALIZED_VIEW_CREATION */ ;
|
) /* DELAY_MATERIALIZED_VIEW_CREATION */ ;
|
||||||
CREATE INDEX IF NOT EXISTS osm_boundary_polygon_idx ON osm_boundary_polygon USING gist (geometry);
|
CREATE INDEX IF NOT EXISTS osm_boundary_polygon_idx ON osm_boundary_polygon_nuts USING gist (geometry);
|
||||||
|
|
||||||
|
|
||||||
-- etldoc: osm_border_linestring -> osm_border_linestring_gen_z13
|
-- etldoc: osm_border_linestring -> osm_border_linestring_gen_z13
|
||||||
@ -117,7 +117,7 @@ FROM (
|
|||||||
FROM osm_administrative_boundary as b
|
FROM osm_administrative_boundary as b
|
||||||
INNER JOIN osm_administrative_member as m
|
INNER JOIN osm_administrative_member as m
|
||||||
ON b.osm_id = m.boundary_id
|
ON b.osm_id = m.boundary_id
|
||||||
INNER JOIN osm_boundary_polygon as r
|
INNER JOIN osm_boundary_polygon_nuts as r
|
||||||
ON m.relation_id = r.relation_id
|
ON m.relation_id = r.relation_id
|
||||||
) as g
|
) as g
|
||||||
GROUP BY osm_id, geometry
|
GROUP BY osm_id, geometry
|
||||||
|
|||||||
@ -47,7 +47,7 @@
|
|||||||
"text-halo-color": "rgba(255, 255, 255, .8)",
|
"text-halo-color": "rgba(255, 255, 255, .8)",
|
||||||
"text-halo-width": 1
|
"text-halo-width": 1
|
||||||
},
|
},
|
||||||
"order": 197
|
"order": 192
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "mountain_peak_volcano",
|
"id": "mountain_peak_volcano",
|
||||||
@ -95,7 +95,7 @@
|
|||||||
"text-halo-color": "rgba(255, 255, 255, .8)",
|
"text-halo-color": "rgba(255, 255, 255, .8)",
|
||||||
"text-halo-width": 1
|
"text-halo-width": 1
|
||||||
},
|
},
|
||||||
"order": 198
|
"order": 193
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -129,7 +129,7 @@
|
|||||||
"village"
|
"village"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"order": 199
|
"order": 194
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "place_town",
|
"id": "place_town",
|
||||||
@ -177,7 +177,7 @@
|
|||||||
"town"
|
"town"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"order": 200
|
"order": 195
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "place_state",
|
"id": "place_state",
|
||||||
@ -228,7 +228,7 @@
|
|||||||
3
|
3
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"order": 201
|
"order": 196
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "place_city",
|
"id": "place_city",
|
||||||
@ -311,7 +311,7 @@
|
|||||||
1
|
1
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"order": 202
|
"order": 197
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "place_capital",
|
"id": "place_capital",
|
||||||
@ -396,7 +396,7 @@
|
|||||||
2
|
2
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"order": 203
|
"order": 198
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "country_other",
|
"id": "country_other",
|
||||||
@ -449,7 +449,7 @@
|
|||||||
"iso_a2"
|
"iso_a2"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"order": 204
|
"order": 199
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "country_3",
|
"id": "country_3",
|
||||||
@ -518,7 +518,7 @@
|
|||||||
"iso_a2"
|
"iso_a2"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"order": 205
|
"order": 200
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "country_2",
|
"id": "country_2",
|
||||||
@ -587,7 +587,7 @@
|
|||||||
"iso_a2"
|
"iso_a2"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"order": 206
|
"order": 201
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "country_1",
|
"id": "country_1",
|
||||||
@ -656,7 +656,7 @@
|
|||||||
"iso_a2"
|
"iso_a2"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"order": 207
|
"order": 202
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -107,7 +107,6 @@ def_poi_mapping_landuse: &poi_mapping_landuse
|
|||||||
def_poi_mapping_leisure: &poi_mapping_leisure
|
def_poi_mapping_leisure: &poi_mapping_leisure
|
||||||
- dog_park
|
- dog_park
|
||||||
- escape_game
|
- escape_game
|
||||||
- garden
|
|
||||||
- golf_course
|
- golf_course
|
||||||
- ice_rink
|
- ice_rink
|
||||||
- hackerspace
|
- hackerspace
|
||||||
@ -122,6 +121,14 @@ def_poi_mapping_leisure: &poi_mapping_leisure
|
|||||||
- swimming_pool
|
- swimming_pool
|
||||||
- water_park
|
- water_park
|
||||||
- nature_reserve
|
- nature_reserve
|
||||||
|
- dance
|
||||||
|
- picnic_table
|
||||||
|
- outdoor_seating
|
||||||
|
- slipway
|
||||||
|
- resort
|
||||||
|
- marina
|
||||||
|
- fitness_centre
|
||||||
|
- fitness_station
|
||||||
|
|
||||||
# office values , see http://taginfo.openstreetmap.org/keys/office#values
|
# office values , see http://taginfo.openstreetmap.org/keys/office#values
|
||||||
def_poi_mapping_office: &poi_mapping_office
|
def_poi_mapping_office: &poi_mapping_office
|
||||||
|
|||||||
@ -26,41 +26,41 @@ layer:
|
|||||||
'stationery', 'tailor', 'tattoo', 'ticket', 'tobacco', 'toys', 'travel_agency',
|
'stationery', 'tailor', 'tattoo', 'ticket', 'tobacco', 'toys', 'travel_agency',
|
||||||
'watches', 'weapons', 'wholesale' ]
|
'watches', 'weapons', 'wholesale' ]
|
||||||
office:
|
office:
|
||||||
subclass: ['accountant', 'advertising_agency', 'architect', 'association', 'bail_bond_agent', 'charity',
|
subclass: [ 'accountant', 'advertising_agency', 'architect', 'association', 'bail_bond_agent', 'charity',
|
||||||
'company', 'construction_company', 'consulting', 'cooperative', 'courier', 'coworking', 'diplomatic',
|
'company', 'construction_company', 'consulting', 'cooperative', 'courier', 'coworking', 'diplomatic',
|
||||||
'educational_institution', 'employment_agency', 'energy_supplier', 'engineer', 'estate_agent', 'financial',
|
'educational_institution', 'employment_agency', 'energy_supplier', 'engineer', 'estate_agent', 'financial',
|
||||||
'financial_advisor', 'forestry', 'foundation', 'geodesist', 'government', 'graphic_design', 'guide',
|
'financial_advisor', 'forestry', 'foundation', 'geodesist', 'government', 'graphic_design', 'guide',
|
||||||
'harbour_master', 'health_insurance', 'insurance', 'interior_design', 'it', 'lawyer', 'logistics', 'marketing',
|
'harbour_master', 'health_insurance', 'insurance', 'interior_design', 'it', 'lawyer', 'logistics', 'marketing',
|
||||||
'moving_company', 'newspaper', 'ngo', 'notary', 'physician', 'political_party', 'private_investigator',
|
'moving_company', 'newspaper', 'ngo', 'notary', 'physician', 'political_party', 'private_investigator',
|
||||||
'property_management', 'publisher', 'quango', 'religion', 'research', 'security', 'surveyor', 'tax_advisor',
|
'property_management', 'publisher', 'quango', 'religion', 'research', 'security', 'surveyor', 'tax_advisor',
|
||||||
'taxi', 'telecommunication', 'therapist', 'translator', 'travel_agent', 'tutoring', 'union', 'university',
|
'taxi', 'telecommunication', 'therapist', 'translator', 'travel_agent', 'tutoring', 'union', 'university',
|
||||||
'water_utility', 'web_design', 'wedding_planner']
|
'water_utility', 'web_design', 'wedding_planner']
|
||||||
# optician:
|
# optician:
|
||||||
# subclass: [ 'optician' ]
|
# subclass: [ 'optician' ]
|
||||||
# toys:
|
# toys:
|
||||||
# subclass: [ 'toys' ]
|
# subclass: [ 'toys' ]
|
||||||
# jewelry:
|
# jewelry:
|
||||||
# subclass: [ 'jewelry' ]
|
# subclass: [ 'jewelry' ]
|
||||||
# furniture:
|
# furniture:
|
||||||
# subclass: [ 'furniture' ]
|
# subclass: [ 'furniture' ]
|
||||||
# newsagent:
|
# newsagent:
|
||||||
# subclass: [ 'newsagent' ]
|
# subclass: [ 'newsagent' ]
|
||||||
# paint:
|
# paint:
|
||||||
# subclass: [ 'paint' ]
|
# subclass: [ 'paint' ]
|
||||||
# beverages:
|
# beverages:
|
||||||
# subclass: [ 'beverages' ]
|
# subclass: [ 'beverages' ]
|
||||||
# electronics:
|
# electronics:
|
||||||
# subclass: [ 'electronics' ]
|
# subclass: [ 'electronics' ]
|
||||||
# garden_centre:
|
# garden_centre:
|
||||||
# subclass: [ 'garden_centre' ]
|
# subclass: [ 'garden_centre' ]
|
||||||
# mobile_phone:
|
# mobile_phone:
|
||||||
# subclass: [ 'mobile_phone' ]
|
# subclass: [ 'mobile_phone' ]
|
||||||
# shoes:
|
# shoes:
|
||||||
# subclass: [ 'shoes' ]
|
# subclass: [ 'shoes' ]
|
||||||
# hardware:
|
# hardware:
|
||||||
# subclass: [ 'hardware', 'doityourself' ]
|
# subclass: [ 'hardware', 'doityourself' ]
|
||||||
# florist:
|
# florist:
|
||||||
# subclass: [ 'florist' ]
|
# subclass: [ 'florist' ]
|
||||||
town_hall:
|
town_hall:
|
||||||
subclass: ['townhall', 'public_building', 'courthouse']
|
subclass: ['townhall', 'public_building', 'courthouse']
|
||||||
community_centre:
|
community_centre:
|
||||||
|
|||||||
@ -7802,4 +7802,4 @@
|
|||||||
"order": 178
|
"order": 178
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
BIN
miel_screenshot.png
Normal file
BIN
miel_screenshot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 765 KiB |
Loading…
x
Reference in New Issue
Block a user