[postgis-tickets] [PostGIS] #1833: full record json output in 9.2 with valid geojson output
PostGIS
trac at osgeo.org
Mon Oct 16 14:24:14 PDT 2017
#1833: full record json output in 9.2 with valid geojson output
--------------------------+-----------------------------
Reporter: robe | Owner: pramsey
Type: enhancement | Status: new
Priority: medium | Milestone: PostGIS Fund Me
Component: postgis | Version: 2.0.x
Resolution: | Keywords:
--------------------------+-----------------------------
Comment (by robe):
So want something like that for 2.5? I'm not sure we can keep the name
though, because a geometry can't be serviced by same function as row.
e.g. I tried ST_ASMVT with a geometry and got this error:
{{{
ERROR: pgis_asmvt_transfn: parameter row cannot be other than a rowtype
}}}
So we might want to call it something different, especially since it will
be an agg.
ST_AsGeoJSONFeatureCollection(row)
As adding FeatureCollection to it would make it clear that it resutns in
FeatureCollection format suitable for Leaflet/OpenLayers etc.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/1833#comment:5>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list