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

I have exported a XML file from OSM and loaded it into global mapper for a vector map. My question is can you export from OSM one feature at a time so just the theme Roads, Rivers or Forests for example?

Any advice would be greatly appriciated

Many Thanks

Sean

asked 10 Feb '11, 09:45

Student2703's gravatar image

Student2703
121445
accept rate: 0%


With an OSM file you can filter out selected data based on tags using Osmosis tag filters to create several OSM files corresponding to 'layers' in traditional GIS.

Another approach, which may or may not be suitable with Global Mapper is to load data into a PostGIS database using osm2pgsql. Some OpenSource GIS tools, such as Quantum GIS, allow this data to be queried so that specific subsets can be brought into the GIS for further manipulation and/or stored as shapefiles. Not all tags are retained using osm2pgsql, but the majority of widely used ones are immediately available. An example of this approach is discussed (my me) here.

permanent link

answered 10 Feb '11, 14:50

SK53's gravatar image

SK53 ♦
28.1k48268433
accept rate: 22%

OpenStreetMap data is not divided into different features by default. However, there are a number of ways of filtering the data based on the tags used.

For example, you can use XAPI to request data for the area that you are interested in containing only the tags that you want. You might find the front-end for the new service useful.

permanent link

answered 10 Feb '11, 11:29

Andy%20Allan's gravatar image

Andy Allan
12.5k23128153
accept rate: 28%

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×126
×45

question asked: 10 Feb '11, 09:45

question was seen: 8,184 times

last updated: 10 Feb '11, 14:50

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