[postgis-tickets] [PostGIS] #4908: ST_AsGeoJSON in POSTGIS-2.5 different than ST_AsGeoJSON in POSTGIS-3.0

PostGIS trac at osgeo.org
Sat May 8 11:58:07 PDT 2021


#4908: ST_AsGeoJSON in POSTGIS-2.5 different than ST_AsGeoJSON in POSTGIS-3.0
---------------------------+---------------------------
  Reporter:  maheshpusala  |      Owner:  pramsey
      Type:  defect        |     Status:  new
  Priority:  high          |  Milestone:  PostGIS 3.1.2
 Component:  postgis       |    Version:  2.5.x
Resolution:                |   Keywords:
---------------------------+---------------------------

Comment (by mdavis):

 Replying to [comment:7 Algunenano]:

 Thanks for the clarification.

 > In any case, ST_AsGeoJSON has an option to set the number of decimal
 digits to however many you need

 True, but that requires a code change by the user.

 > 15 decimal digits does not guarantee full precision output either.

 No, but it should make topology collapse errors **much** less likely.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4908#comment:8>
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