Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#4468 closed enhancement (fixed)

Lower default precision produced by ST_AsGeoJSON

Reported by: pramsey Owned by: pramsey
Priority: high Milestone: PostGIS 3.0.0
Component: postgis Version: master
Keywords: Cc:

Description

Our 15-digit default produces coordinates accurate to the subatomic level. The IEEE standard for GeoJSON suggests 7-8 digits would be fine. The maxdecimaldigits option exists on all flavours of the function to allow people with more precise needs to up their precision, and this will allow users with lower needs to save some space in their network pipe.

Change History (2)

comment:1 by pramsey, 5 years ago

Resolution: fixed
Status: newclosed

comment:2 by pramsey, 5 years ago

In 17707:

Lower default precision produced by ST_AsGeoJSON
References #4468

Note: See TracTickets for help on using tickets.