[postgis-devel] Adding 4D support to asGeoJson
Sandro Santilli
strk at kbt.io
Tue Jan 30 22:39:29 PST 2018
On Tue, Jan 30, 2018 at 06:00:21PM -0500, Alexandre Lessard wrote:
> On 2018-01-30 17:25, Paul Ramsey wrote:
> > 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?
>
> The original GeoJson spec allowed it and openlayers already treats the
> fourth dimension as the measure, using a XYZM layout.
>
> I can't think of better way to pass the M data from postgis to a client app
> such as openlayers than through GeoJson.
Maybe add an optional function argument to request the kind of
standard, as we have for WKT (ISO, OGC, Extended) ?
--strk;
More information about the postgis-devel
mailing list