[postgis-users] MULTIPOINT WKT - parentheses or no parentheses?

ΑΠΟΣΤΟΛΟΣ ΛΕΛΕΝΤΖΗΣ lelentzisapostolos at gmail.com
Sat Jan 8 12:39:37 PST 2011


Mike
As far as i know, postgis accepts both formats as inputs. Specifically, if
you want to represent a multipoint in syntax WKT, you will use comma to
delimitate the values (e.g. "MULTIPOINT ( -1 1, 0 2, 3 4)" ). However,
postgis use an alternate and acceptable WKT representation for multipoint
using parenthesis to seperate each point (e.g "MULTIPOINT ((-1 1), (0 2), (3
4))" ), but will output the non-parenthetical version in the ST_AsText,
ST_AsEWKT output.
Now, i don't know if any application support both formats...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110108/0ae26286/attachment.html>


More information about the postgis-users mailing list