[postgis-devel] Adding 4D support to asGeoJson
olivier.courtin at gmail.com
Wed Jan 31 06:53:29 PST 2018
On Wed, Jan 31, 2018 at 2:32 PM, Paul Ramsey <pramsey at cleverelephant.ca> wrote:
> > Maybe add an optional function argument to request the kind of
> > standard, as we have for WKT (ISO, OGC, Extended) ?
> What, and then strip out extra dimensions for ISO GeoJSON? That seems needlessly byzantine.
> If people are getting 4d geojson from their 4d objects, they can just force3d them before calling asgeojson.
> I don’t think the standards differ enough to be worth the extra cruft.
In fact, we already deal with dimensions in this export function,
And for the ones who already use ST_AsGeoJSON with various dimensions
objects, including 4D,
it could lead to an unwanted behaviour change.
More information about the postgis-devel