Why not ask your question on the new OpenStreetMap Community Forum?

Hello everybody,

I like to make a map of the electricity grid like this one: http://www.itoworld.com/map/4 Therefore I use data provided by geofabrik

For the data processing in use osmosis with the command: osmosis --rb C:...\germany-latest.osm.pbf --tf accept-ways power=line --tf accept-relations --used-node --wx C:...\line_GER.osm

In general it is worling fine, but sometimes lines are missing. For example this line http://www.openstreetmap.org/browse/way/207246060 Is dissapering after using osmosis. Meanwhile this line can be seen in the ITO map I also downloaded the region, without using any filter, but the result was the same...

My question is if I´m using wrong data or if osmosis is responsible for the problem?

I hope my problem is stated clearly. Than kyou in advance

asked 19 May '13, 19:02

titalo's gravatar image

accept rate: 0%

edited 19 May '13, 22:04

Frederik%20Ramm's gravatar image

Frederik Ramm ♦


What version of Osmosis are you using?

(19 May '13, 22:04) Frederik Ramm ♦

Im using version 0.43 of osmosis

(20 May '13, 08:00) titalo

I have no clue why osmosis fails in this task,

but have you tried Osmfilter already?

Maybe you can avoid the missing of data by using that tool.

permanent link

answered 22 May '13, 16:04

stephan75's gravatar image

accept rate: 6%

edited 29 May '13, 19:03

Osmosis has a default tag mapping/filtering, It may be that the power line is missing a crucial tag which instruct Osmosis to include it in the output map.

look at: https://code.google.com/p/mapsforge/wiki/GettingStartedMapWriter#Defining_a_Custom_Tag_Mapping_via_XML


permanent link

answered 28 May '13, 11:27

shahav's gravatar image

accept rate: 0%

edited 28 May '13, 11:28

Your answer
toggle preview

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](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:


question asked: 19 May '13, 19:02

question was seen: 4,318 times

last updated: 29 May '13, 19:03

powered by OSQA