-
Notifications
You must be signed in to change notification settings - Fork 3
Home
OpenStreetMap e brezhoneg edited this page Jan 11, 2017
·
2 revisions
Welcome to the osmbr-mapstyle wiki!
The osmbr-mapstyle is an hybrid from osm-lyr and osm-fr map styles.
OSM FR because the data come from its postgreSQL database which use osm2pgsql (7 planet_osm tables). OSM lyrk because this style is lighter than the OSM FR style.
MSS files are :
- palette.mss
- base.mss
Permet d'avoir les limites physiques terre / mer.
data = simplified-land-polygons-complete-3857/simplified_land_polygons.shp
base.mss
La couche d'occupation du sol pour les petites échelles (zoom<=7)
data = z7.tif
base.mss
-- CREATE OR REPLACE VIEW water AS
SELECT
osm_id, coalesce(tags->'name:br') as name, way
FROM planet_osm_polygon
WHERE
(
waterway in ('riverbank')
or landuse in ('reservoir','water','basin','salt_pond')
or "natural" in ('lake','water')
or amenity in ('swimming_pool')
or leisure in ('swimming_pool')
)
ORDER BY z_order,way_area desc