[postgis-users] WKT - Exponential Coordinates

Markus Schaber schabi at logix-tt.com
Wed May 3 01:21:29 PDT 2006


Hi, Martin,

Martin Davis wrote:
> JTS 1.7 added support for scientific notation in WKTWriter.  My guess is
> that this hasn't made its way into PostGIS.

gisdb=# select asText('POINT(1E-100 2)'::geometry);
     astext
-----------------
 POINT(1e-100 2)
(1 row)

So PostGIS is capable of reading and writing scientific notations.

The PostGIS JDBC driver extension relies on JTS WKTWriter/Reader for JTS
 I/O, and supports scientific notation for its own class model (where I
just committed a regression test case).


HTH,
Markus


-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org



More information about the postgis-users mailing list