-
-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ST_AsText : adding optional argument 'precision' #94
Conversation
…umber of significant digits in the output doubles
This is related to http://trac.osgeo.org/postgis/ticket/407 enhancement idea, which woud use |
Ideally |
Whether we need/want to change the defaults is probably outside the scope of this improvement. |
Right, setting defaults is not directly related to this enhancement, and should be ignored here. |
At some cases, the scientific format might cause some issues. See |
Are we done with discussion of this? Is this ready for commit? |
To get this merged we need:
@marcu do you need any help with that? :) |
@@ -66,3 +66,5 @@ geojson_options_13|{"type":"LineString","crs":{"type":"name","properties":{"name | |||
geojson_options_14|{"type":"LineString","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG::4326"}},"coordinates":[[1,1],[2,2],[3,3],[4,4]]} | |||
geojson_options_15|{"type":"LineString","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG::4326"}},"bbox":[1,1,4,4],"coordinates":[[1,1],[2,2],[3,3],[4,4]]} | |||
geojson_options_16|{"type":"LineString","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG::4326"}},"bbox":[1,1,4,4],"coordinates":[[1,1],[2,2],[3,3],[4,4]]} | |||
text_precision_01|POINT(111.1111111 1.1111111) | |||
text_precision_02|POINT(1.1e+2 1.1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is 1.1e+2 a desired result in this case?
Let's go to #194 which has the branch rebased. (wow, exactly 100 pull requests later!) |
The optional argument 'precision' is used for specifying the number of significant digits in the output doubles