Opened 10 years ago

Last modified 8 years ago

#5310 closed enhancement

GeoJSON driver should pass through non-standard object members — at Version 1

Reported by: sgillies Owned by: warmerdam
Priority: normal Milestone: 2.1.0
Component: default Version: unspecified
Severity: normal Keywords: json geojson annotation
Cc:

Description (last modified by sgillies)

The easiest way to extend the GeoJSON format is to add new members to Feature objects. Consider styling: better not to add styling parameters to a feature's properties where they may collide with or drown out feature attributes. Currently, the OGR GeoJSON driver filters out features members not specified in the GeoJSON or EsriJSON docs (plus a couple GeoCouch-specific members) and makes new feature properties the only practical way to extend GeoJSON. This is not an ideal situation.

Let's let non-standard members pass through when using ogr2ogr and other tools to transform GeoJSON files and help developers experiment with extending the format.

Change History (1)

comment:1 by sgillies, 10 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.