[postgis-devel] Adding 4D support to asGeoJson

Alexandre Lessard alessard at mapgears.com
Tue Jan 30 14:13:19 PST 2018


Hi,

     we are looking into using POINT4D points with Postgis, but we need 
to communicate in GeoJson. We've looked into the code and we'd like to 
know if adding an other condition using "if(!FLAGS_GET_M(pa->flags))""in 
liblwgeom/lwout_geojson.c function pointArray_to_geojson() to support 
the fourth dimension would be the best option?

Here's an example of what we would do 
https://github.com/belug23/postgis/compare/svn-trunk...belug23-4d-geojson

Thanks.

Alexandre Lessard

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20180130/a2da3296/attachment.html>


More information about the postgis-devel mailing list