[OSM-talk] OpenStreetMap carto "FR" v2017 online...
Christian Quest
cquest at openstreetmap.fr
Mon Jan 2 11:01:24 UTC 2017
Le 02/01/2017 à 11:25, Christoph Hormann a écrit :
> On Monday 02 January 2017, Christian Quest wrote:
>> I'm pleased to announce a new version for the "french style" tiles...
>> running on a brand new server donated by OVH.com
> Very nice.
Thanks
>> Main new things compared to the international style:
>> - tidal=* rendering
> I am somewhat confused about the tagging scheme you render here - is
> that documented somewhere? Your water areas query:
>
> (SELECT ST_Snaptogrid(way,!pixel_width!/4) as way,
> \"natural\",waterway,landuse,amenity,
> coalesce(tags->'name:fr',tags->'int_name',name) as name,
> tags->'basin' as basin, water, surface
> FROM planet_osm_polygon
> WHERE (
> waterway in ('dock','mill_pond','riverbank','canal') or
> landuse in ('reservoir','water','basin','salt_pond') or
> \"natural\" in ('lake','water','land','glacier','mud','bayx') or
> amenity='fountain' or water='tidal')
> and building is null and way_area > !pixel_width!*!pixel_height!*10
> and way && !bbox! ORDER BY z_order,way_area desc) as water_areas
>
> indicates you render any water area as well as any area tagged
> water=tidal no matter what the primary tag is that has surface=rocky
> with the rock pattern overlay. IMO this is not such a good idea
> because it does not really encourage correct tagging - mappers can use
> invalid primary tags (like natural=foo + water=tidal + surface=rocky)
> or use nonsense combinations (like natural=mud + surface=rocky) without
> the map indicating the mistake. Also the most common tag for
> indicating tidal features is tidal=yes and not water=tidal.
>
> You do not seem to render natural=shoal and wetland=tidalflat which are
> the dominant ways of mapping tidal areas at the moment (though
> admittingly wetland=tidalflat does not really make much sense for rocky
> tidal areas which are usually not flat).
>
I've based my queries and css on the wiki.
tidal=yes + surface=* is documented
natural=shoal is not... in
https://wiki.openstreetmap.org/wiki/Key:natural so I could not find
https://wiki.openstreetmap.org/wiki/Tag:natural%3Dshoal (used only a few
hunderd times BTW).
I've also added rendering for wetland=* in another layer
I'm sure I can improve all this and separate/merge these overlays in a
more logic way ;)
--
Christian Quest - OpenStreetMap France
More information about the talk
mailing list