geojson-tidy icon indicating copy to clipboard operation
geojson-tidy copied to clipboard

Specify input/output format in Readme

Open freenerd opened this issue 10 years ago • 5 comments

The readme should specify exactly which input and output formats exist. Is coordTimes a universally accepted property or something we came up with?

freenerd avatar Jun 11 '15 10:06 freenerd

@freenerd Readme updated, it seems like coordTimes is something @tmcw came up with since there is no standard to do this in the geojson spec.

planemad avatar Jun 11 '15 21:06 planemad

Yep, I would love for this to be slightly more standard but that's a job for mr. @sgillies specification author

tmcw avatar Jun 11 '15 21:06 tmcw

Tell me more about coordTimes. Sounds like a good candidate for a GeoJSON extension. What it would need to be a good extension is its own namespace, eg, properties['gpx-ish']['coordTimes'] instead of properties['coordTimes'], and documentation of the protocol to be followed (zipping the coordTimes and coordinates lists together).

sgillies avatar Jun 12 '15 16:06 sgillies

If we are going to to standardize this, we should go with timestamps instead of coordTimes.

TheMarex avatar Jun 13 '15 11:06 TheMarex

Since we're expecting users to use this along with togeojson, the change will have to be implemented there first.

planemad avatar Jun 16 '15 14:06 planemad