Why does this GeoJSON work at geojson.io, but not in JOSM? The link leads to Pastebin.

Probably the mistake is obvious, but I just can't see it.

asked 13 Jun, 14:31

Nehaj's gravatar image

Nehaj
318
accept rate: 0%

1

what is "not working"?

(13 Jun, 19:03) SimonPoole ♦

JOSM changed a couple of things in their GeoJSON generation roughly two months back, and it could be that there are still issues with reading back the new output.

(13 Jun, 20:36) SimonPoole ♦

@SimonPoole Which revision is safe to use?

(13 Jun, 21:28) Nehaj

I suspect no JOSM version will read the file currently.

You need to open an issue on the JOSM issue tracker (as it is an obvious bug that JOSM can't read files it created): http://josm.openstreetmap.de/

permanent link

answered 13 Jun, 21:37

SimonPoole's gravatar image

SimonPoole ♦
35.5k13265566
accept rate: 18%

edited 13 Jun, 21:38

I've had no time for this. But here is another user with this problem: https://github.com/JOSM/geojson/issues/14

(21 Jul, 13:27) Nehaj

Why has nobody noticed, that the file breaks when "properties": null ??

permanent link

answered 22 Jul, 22:59

Druzhba's gravatar image

Druzhba
1112315
accept rate: 0%

That was already pointed out in the linked JOSM GitHub issue.

(23 Jul, 18:49) alester
Your answer
toggle preview

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:

×460
×17

question asked: 13 Jun, 14:31

question was seen: 195 times

last updated: 23 Jul, 18:49

powered by OSQA