NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the 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

titalo
11112
accept rate: 0%

edited 19 May '13, 22:04

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273

1

What version of Osmosis are you using?

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

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

stephan75
12.6k556210
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

Rabin

permanent link

answered 28 May '13, 11:27

shahav's gravatar image

shahav
111
accept rate: 0%

edited 28 May '13, 11: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:

×252
×66
×31
×24

question asked: 19 May '13, 19:02

question was seen: 4,467 times

last updated: 29 May '13, 19:03

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