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

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 '18, 14:31

Nehaj's gravatar image

Nehaj
31558
accept rate: 0%

1

what is "not working"?

(13 Jun '18, 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 '18, 20:36) SimonPoole ♦

@SimonPoole Which revision is safe to use?

(13 Jun '18, 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 '18, 21:37

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 13 Jun '18, 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 '18, 13:27) Nehaj

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

permanent link

answered 22 Jul '18, 22:59

Druzhba's gravatar image

Druzhba
150111118
accept rate: 0%

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

(23 Jul '18, 18:49) alester

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
×36

question asked: 13 Jun '18, 14:31

question was seen: 2,107 times

last updated: 23 Jul '18, 18:49

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