I've been downloading OSM unlabeled road image data through Mathematica and processing it so it only includes main roads. For example, here's an image of Sao Paulo at zoom 13, pre and post segmentation. The results are ok, but I want to know how can I skip this segmentation effort. Is there a way to download only the road layer with Maperitive or other 3rd party application? asked 23 Jul '15, 01:16 antonio_rt |
In short, yes. The better approach will vary based on what you are trying to do. Here's a quick Overpass Turbo query that extracts some of the major road vectors: http://overpass-turbo.eu/s/ayj Perhaps the vector representation there is better suited to what you are doing than a rendering. (The Overpass api can return the data in a variety or formats, see http://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL for more) If you want to render a small to medium sized area, using something like Maperative with a country or regional extract would be a reasonable idea. answered 23 Jul '15, 03:41 maxerickson Thanks, that overpass query would be ok if it were without text labels and coloring. I want an output like the one shown in the binary mask
(23 Jul '15, 04:56)
antonio_rt
The geojson from Overpass-Turbo can be processed anyway you like (or you can save GPX etc), e.g., with QGIS. Furthermore you can use MapCSS to style the data directly in Overpass-Turbo. It really depends what it is that you want to do.
(23 Jul '15, 09:38)
SK53 ♦
|
Options:
answered 23 Jul '15, 07:11 Frederik Ramm ♦ |