Modify ↓
#19011 closed defect (fixed)
JOSM imagery, geojson output is not correct geojson
Reported by: | SimonPoole | Owned by: | Don-vip |
---|---|---|---|
Priority: | normal | Milestone: | 20.03 |
Component: | Core imagery | Version: | |
Keywords: | geojson | Cc: |
Description
See https://josm.openstreetmap.de/maps?format=geojson
The top level object should be a FeatureCollection, but is missing "type": "FeatureCollection" either before or after the "features" array.
Attachments (0)
Change History (8)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Keywords: | geojson added |
---|---|
Milestone: | → 20.03 |
Owner: | changed from | to
Status: | new → assigned |
comment:4 by , 5 years ago
Just out of curiosity, where can the JOSM.py
be found (to get an idea of the magic hidden behind JOSM Trac)?
comment:5 by , 5 years ago
It's not public yet, I shared it with Stereo as he was interested to help us in imagery list. Check your e-mails :)
Note:
See TracTickets
for help on using tickets.
Thanks Simon! The fix is relatively easy, but has to happen internally in Trac.
On line 366 in Trac's JOSM.py, replace:
j = {"features": []}
with
j = {"type": "FeatureCollection", "features": []}