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

Heyo,

Software of my company is using osm.pbf as input to a tool to calculate a network analysis. The goal is to calculate difference in accessibility if network nodes/edges are removed or added from the openstreetmap network. Therefore we want to be able to locally edit .osm files and export it back to .osm.pbf files.

Workflow: We downloaded .osm.pbf files from Geofabrik, selected highways only with FME, selected spatial region, converted to .osm and then we want to remove one node/edge. This previous question mentioned using JOSM to locally edit osm files. However JOSM only accepts .osm files with usernames and does not accept latest GDPR abiding osm files from Geofabrik. When giving JOSM files without user data, it throws error: Could not read file 'monaco.osm'. Error is: Illegal value for attribute 'changeset'. Got 0. (At line 4, column 114).

What is the best way to locally edit OSM files whilst abiding by GDPR, keeping network relations intact and exporting to osm.pbf?

Would aprreciate your help. We are kinda stuck :/

asked 27 Jul '18, 11:49

Davmatic's gravatar image

Davmatic
16113
accept rate: 0%

edited 27 Jul '18, 21:46

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


This was reported as a bug in JOSM on July 19, and fixed the next day. Any JOSM with a version number of at least 14038 should be able to open GDPR-abiding .OSM files successfully. You can either download the latest development version of JOSM now, or wait until the next "tested" version is released.

permanent link

answered 27 Jul '18, 16:43

alester's gravatar image

alester
6.6k266100
accept rate: 28%

... the next "tested" version very likely will be released in a few days. The schedule is about each month beginning. However, the "latest" dev version usually also is fine to work with.

(27 Jul '18, 21:43) aseerel4c26 ♦

Thanks for your answers. Could have found that maybe myself, but good to know there is a fix

(29 Jul '18, 22:10) Davmatic
1

@Davmatic: the new "tested" version is released, you can update to it and try again.

(29 Jul '18, 22:34) aseerel4c26 ♦
1

Downloaded latest JOSM version. Version 14066 works for me, I can open .osm files that are GDPR abiding

(30 Jul '18, 07:17) Davmatic

Also you can 'fake' the user_id and other metadata using osmconvert.

(30 Jul '18, 09:45) SK53 ♦

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:

×622
×163
×39
×3
×1

question asked: 27 Jul '18, 11:49

question was seen: 2,772 times

last updated: 30 Jul '18, 09:45

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