Opened 10 years ago
Closed 10 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 |
Description
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 , 10 years ago
| Has patch: | set |
|---|
comment:2 by , 10 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
Note:
See TracTickets
for help on using tickets.
PR