[postgis-devel] Adding 4D support to asGeoJson

Paul Ramsey pramsey at cleverelephant.ca
Wed Jan 31 13:41:56 PST 2018


> On Jan 31, 2018, at 6:53 AM, Olivier Courtin <olivier.courtin at gmail.com> wrote:
> 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) ?
> +1
>> 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.
> O.
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-devel

More information about the postgis-devel mailing list