[postgis-devel] Re: [PostGIS] #184: ST_AsGeoJSON Precision doesn't match WKT

PostGIS trac at osgeo.org
Sat Jun 6 08:01:44 PDT 2009


#184: ST_AsGeoJSON Precision doesn't match WKT
----------------------+-----------------------------------------------------
  Reporter:  pramsey  |       Owner:  pramsey      
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  postgis 1.4.1
 Component:  postgis  |     Version:  1.4          
Resolution:           |    Keywords:               
----------------------+-----------------------------------------------------
Comment (by mcayland):

 I don't think this is a bug, since the ST_As*() functions have fixed
 precision rounding which defaults to 15 places (will be significant
 figures in trunk) compared to the WKT parser. If you really need this
 level of accuracy, you should probably be using WKB to prevent rounding
 errors.

 Paul, do you think we can resolve this as "not a bug"?


 ATB,

 Mark.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/184#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list