NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum


Hello everybody,

as far as I understood, the OSM data stock is organized in layers, attributed to various contens, such as water, roads, forest, buildings etc.

Up to now I didnt find a possibility to export these layers in a manner inkscape can distinguish them - so they can be switched on and off etc.

Thanks and greetings,


asked 15 Sep '10, 20:46

herrdeh's gravatar image

accept rate: 0%

Guys thank you so much for the attention to my issue! :) I think I found the solution to my issue through the use of mapaperitive, super useful tool! I imported as source an "opencyclemap" map of the area in the program (using the EXPORT function in osm) and simply exported the map as SVG for Illustrator. Until now I managed to get fairly decent topographic map of the area to use as reference in my project. Still opened to even better solution!

permanent link

answered 16 Feb '15, 20:14

Alberto1989's gravatar image

accept rate: 0%

Simple one. Follow these steps:

  1. Download Maperitive ( and run it
  2. Load your OSM file using the load-source path_to_my_osm_file command
  3. Export it to SVG using either the menu option or by the export-svg command

The exported SVG groups map features into SVG/Inkscape layers, so you'll be able to edit or hide them separately.

Here's how it looks in Adobe Illustrator (Inkscape shows it pretty much the same): alt text

permanent link

answered 16 Sep '10, 04:23

Breki's gravatar image

accept rate: 10%

edited 20 Nov '10, 19:23

Inkscape allows you to select elements based on their style (for example fill color: fill:#ff0000;) using Edit->Find (Ctrl+F).

To get the style of an object, select the object and look in Edit->XML editor...

I used this trick to get the coastline out of the SVG map exported from the OpenStreetMap home page.

permanent link

answered 18 Sep '10, 22:16

ponchietto's gravatar image

accept rate: 0%

OSM data is not organized in layers. Contrary to how usual GIS software works, with OSM it is not the data creator's job to decide which layer something is on ("this is a tree; add it to the natural layer"), but instead the data user's job ("give me all objects tagged as trees and combine them in a layer I'll call natural").

There is no existing software or service that will neatly arrange objects on SVG layers for you. Your best bet is probably to look at installing one of the renderers capable of generating SVG output (Mapnik, Osmarender, or - all on the Wiki) and then try to generate individual SVG files for each layer which you later combine. This will require some work.

permanent link

answered 15 Sep '10, 20:58

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 15 Sep '10, 20:46

question was seen: 21,814 times

last updated: 16 Feb '15, 20:14

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum