[OSM-talk] overpass turbo now with MapCSS support

Martin Raifer tyr.asd at gmail.com
Mon Apr 15 15:50:28 UTC 2013


overpass turbo ("the" graphical user interface for Overpass API) just got  
a nice new feature:
Now, you can use MapCSS to style the results of your Overpass queries.  
[1],[2]

Stylesheets can be attached to your query by using a special curly-bracket  
"mustache" notation:
>  <osm-script>
>    ... your overpass query here ...
>  </osm-script>
>  {{style:
>    ... your mapcss stylesheet here ...
>  }}

MapCSS support is still somewhat limited (no text labels, no casings for  
lines, no layers) but you can already achieve quite pleasant results: Read  
my blog post [1] for more details and some nice examples! You can also try  
one of the examples I linked below [3] directly.

Furthermore, there is also a new "as GPX" export mode and (finally) a  
short-url-service on http://overpass-turbo.eu that makes "share"-links  
much more portable.

Cheers,
Martin

[1] http://www.openstreetmap.org/user/tyr_asd/diary/19043
[2] http://wiki.openstreetmap.org/wiki/Overpass_turbo/MapCSS
[3a] http://overpass-turbo.eu/s/g
[3b] http://overpass-turbo.eu/s/h
[3c] http://overpass-turbo.eu/s/j



More information about the talk mailing list