[postgis-devel] Adding 4D support to asGeoJson

Paul Ramsey pramsey at cleverelephant.ca
Tue Jan 30 14:25:20 PST 2018


https://tools.ietf.org/html/rfc7946#section-3.1.1

"Implementations SHOULD NOT extend positions beyond three elements
because the semantics of extra elements are unspecified and
ambiguous."

Do we really want to go there?

P

On Tue, Jan 30, 2018 at 2:13 PM, Alexandre Lessard
<alessard at mapgears.com> wrote:
> 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
>
>
> _______________________________________________
> 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