[postgis-tickets] [PostGIS] #3687: Add casts for (geometry, geography) -> (json, jsonb)
PostGIS
trac at osgeo.org
Mon Jan 16 14:08:50 PST 2017
#3687: Add casts for (geometry, geography) -> (json, jsonb)
--------------------------+---------------------------
Reporter: dbaston | Owner: dbaston
Type: enhancement | Status: new
Priority: medium | Milestone: PostGIS 2.4.0
Component: postgis | Version: trunk
Resolution: | Keywords:
--------------------------+---------------------------
Comment (by robe):
I think I had a reason before but can't remember it now.
I think when I had thought about it at the time json was not a built in
type and then when it was a type, just create a cast for it, did not make
row_to_json do the right thing, in that it only worked with built in
casts, not user defined ones. I'm trying to find the thread where I was
dicussing this with Andrew Dunstan and I can't find it now.
That said, row_to_json might be smarter these days. Have you tried it and
does it pick it up?
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3687#comment:1>
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