- From: Frans Knibbe | Geodan <frans.knibbe@geodan.nl>
- Date: Thu, 11 Apr 2013 11:06:41 +0200
- To: public-locadd@w3.org
Received on Thursday, 11 April 2013 09:07:13 UTC
Hello, The GeoSPARQL standard allows for two ways of representing geometry: GML or WKT. I have always thought WKT to be the preferred format, because of its greater simplicity and its wider software support. But now I have discovered a drawback of WKT: It does not seem possible to control coordinate precision when transforming geometry to WKT in PostGIS. Unlike the function ST_AsGML(), the PostGIS function ST_AsText() does not have a parameter /maxdecimaldigits/. This can cause data to be bloated as well as erroneous. What do you think? Would it make sense to investigate the pros and cons of WKT and GML for serialisation of geometry in this group? Regards, Frans -- -------------------------------------- *Geodan* President Kennedylaan 1 1079 MB Amsterdam (NL) T +31 (0)20 - 5711 347 E frans.knibbe@geodan.nl www.geodan.nl <http://www.geodan.nl> | disclaimer <http://www.geodan.nl/disclaimer> --------------------------------------
Received on Thursday, 11 April 2013 09:07:13 UTC