[postgis-devel] [PostGIS] #2051: ST_AsGeoJSON printing too many digits

PostGIS trac at osgeo.org
Wed Oct 17 04:09:08 PDT 2012


#2051: ST_AsGeoJSON printing too many digits
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.2
Component:  postgis  |     Version:  2.0.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by colivier):

 Well dunno, but the aim is to be able to set the number of decimal digit
 i.e ST_AsGeoJson('POINT(1.23456 123.456789)'::geometry, 3)

 Should still return ...[1.234,123.456]...



 Ticket was:
 http://trac.osgeo.org/postgis/ticket/277

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2051#comment:10>
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-devel mailing list