Opened 8 years ago

Closed 8 years ago

#26266 closed Bug (fixed)

Cannot output primary keys with the geojson serializer

Reported by: Claude Paroz Owned by: nobody
Component: GIS Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


The primary key field is currently excluded from the serialized fields because it appears elsewhere (first level) with standard serializers.

The output structure is different for the GeoJSON serializer, so the primary key should be present in the properties member in the structure of each feature.

Change History (3)

comment:1 by Claude Paroz, 8 years ago

Has patch: set

comment:2 by Tim Graham, 8 years ago

Triage Stage: AcceptedReady for checkin

comment:3 by Claude Paroz <claude@…>, 8 years ago

Resolution: fixed
Status: newclosed

In c5517b9e:

Fixed #26266 -- Output the primary key in the GeoJSON serializer properties

Thanks Tim Graham for the review.

Note: See TracTickets for help on using tickets.
Back to Top