Modify

Opened 13 years ago

Closed 13 years ago

#8100 closed defect (fixed)

GeoJSON output not readable by TileMill

Reported by: brauliobezerra Owned by: team
Priority: critical Milestone:
Component: Core Version: tested
Keywords: Cc:

Description

JOSM's GeoJSON output (Save as -> Choose GeoJSON) can't be read by TileMill when there is one or more ways with no tags on the layer (components of multiplygons, for example). The reason is because it doesn't include the "properties" field on these objects. It generates

{"type": "Feature",
    "geometry": ...

instead of:

{"type": "Feature",
    "properties": {},
    "geometry": ...

which TileMill can read.

Attachments (1)

GeoJSONWriter.java.patch (81 bytes ) - added by brauliobezerra 13 years ago.
Patch to correct the problem.

Download all attachments as: .zip

Change History (2)

by brauliobezerra, 13 years ago

Attachment: GeoJSONWriter.java.patch added

Patch to correct the problem.

comment:1 by bastiK, 13 years ago

Resolution: fixed
Status: newclosed

In 5528/josm:

fixed #8100 - GeoJSON output not readable by TileMill (patch by brauliobezerra)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.