Closed (fixed)
Project:
Views GeoJSON
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 May 2012 at 06:49 UTC
Updated:
29 Oct 2014 at 14:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
phayes commentedThis feels like a bad idea....
I wonder if we can add a custom attribute called "labels" that is a key => label map. Downstream consumers would then be responsible for re-stitching labels to fields.
Comment #2
dasjousing label might not be the best idea, but being able to configure the key looks tempting, especially when you want to have short identifiers for performance reasons...
Comment #3
dobe commented@phayes & @dasjo please explain in more detail why this is not a good idea? Labels are not being used at all right now...
Here is a patch. It just checks if a label exists if it does then it changes the key to it. Labels are pointless except if you're adding the field to the description right now. With json objects with thousands of features. Putting all that data into the description will cause problems regardless.
-Jesse
Comment #4
polmmh mmh
Comment #6
polCommitted, this might help with the other related issues.