[postgis-users] WKT specification ?? Lon/Lat precision ?

Sébastien Geindre sebastien.geindre at meteo.fr
Fri Jun 22 05:16:17 PDT 2007


Hi all,

any explanation why these request does not work

 INSERT INTO ICE_GEOM (ID, TYPE,  ICE_POLYGON) 
 VALUES (2, 'ice', 'FME', 
	GeometryFromText('POLYGON((0.672702 49.9706, 3.90024 49.97063, 3.90024 47.6684,
				   0.672702 47.6684, 0.672702 49.9706 ))', -1 ));


and this one works :

INSERT INTO ICE_GEOM (ID, TYPE,  ICE_POLYGON) 
 VALUES (2, 'ice', 'FME', 
	GeometryFromText('POLYGON((0.67 49.97, 3.90 49.97, 3.90 47.66,
				   0.67 47.66, 0.672 49.97 ))', -1 ));


The difference is just the precision of LONG,LAT.
The ICE_GEOM column has -1 SRID...

Where can i find WKT specification ?

Thanks

-- 
Sébastien Geindre




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070622/361257b6/attachment.html>


More information about the postgis-users mailing list