Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to remove some layers from the osm map of an area. It has all the details like POI, offline routing and all. But I just want the map data. How can I remove this extra layer from the map?

share|improve this question
Please, clarify how do you utilise OSM? – SS_Rebelious Apr 28 '12 at 12:13
Actually I download the osm files. Now when I load the files it has all the details with map like POI and all. I don't want all these stuff. I just need simple map and remove all the extra feature how can I do it? – rajan sthapit Apr 28 '12 at 13:59

There are no layers as such. You have points (=nodes), lines (=ways) and relations between those. They can have attributes (=tags), which represent map features. If you want to have a map of just the features you're interested in, you can use tools like TileMill or Maperitive to generate such maps. It all depends on your concrete needs - do you need a Web map, a bitmap, a vector map...

share|improve this answer
I need a vector map. Actually I downloaded the vector map in osm format. I just want plain roads not POI and all. When I loaded the osm file it shows everything how to remove this – rajan sthapit Apr 29 '12 at 15:27
If by "OSM format" you mean OSM XML, then this is not really a vector map - it's raw geo data encoded in XML form. I think you should start by reading the basics: – Igor Brejc Apr 29 '12 at 19:50

There is a utility call Osmfilter (

osmfilter is used to filter OpenStreetMap data files for specific tags. You can define different kinds of filters to get OSM objects (i.e. nodes, ways, relations), including their dependent objects, e.g. nodes of ways, ways of relations, relations of other relations.

It supports .osm and .o5m files.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.