<html>
<head>
<title></title>
<meta name="GENERATOR" content="MSHTML 8.00.6001.18928"></meta>
</head>
<body>Hallo
<div align="left"> </div>
<div align="left"> </div>
<div align="left">It seems like PostGIS reads both and makes no difference of them from:</div>
<div align="left">select st_equals('MULTIPOINT(1 1, 2 2)'::geometry,'MULTIPOINT((1 1), (2 2))'::geometry);</div>
<div align="left"> </div>
<div align="left">It also seems like the output in both cases are in the form 'MULTIPOINT(1 1, 2 2)' from this:</div>
<div align="left">select st_astext('MULTIPOINT(1 1, 2 2)'::geometry), st_astext('MULTIPOINT((1 1), (2 2))'::geometry);</div>
<div align="left"> </div>
<div align="left">If you want to get SVG out of PostGIS, isn't ST_AsSVG an option? but you will need at least PostGIS 1.4.</div>
<div align="left"><a href="http://postgis.org/documentation/manual-1.5/ST_AsSVG.html">http://postgis.org/documentation/manual-1.5/ST_AsSVG.html</a><br />
</div>
<div align="left"> </div>
<div align="left">HTH</div>
<div align="left">Nicklas</div>
<div align="left"> </div>
<div align="left"> </div>
<div align="left"><br />
2010-07-13 Michael A. Peters wrote:<br />
<br />
<br />
>I am working on switching my site to postgresql specifically to use PostGIS.<br />
><br />
>My web site draws simple maps in SVG, currently I use shape files exported<br />
>to mif and run through a shell script that loads them into MySQL with one<br />
>row per point. Works but not optimal. Hence why I am switching.<br />
><br />
>Part of switching is porting my svg generation class to understand WKT so<br />
>I can (hopefully) just grab that from postgis, greatly simplifying things.<br />
>I'm pretty much done with that but I seem to have conflicting information<br />
>on MULTIPOINT.<br />
><br />
>Some document, IE<br />
>http://postgis.refractions.net/documentation/manual-1.3/ch04.html#RefObject<br />
>gives this as an example:<br />
><br />
>MULTIPOINT(0 0,1 2)<br />
><br />
>Other sources (IE wikipedia but not only them) but parenthesis around each<br />
>point, IE<br />
><br />
>MULTIPOINT((0 0),(1 2))<br />
><br />
>Which is correct, or are both correct?<br />
>More importantly, which would postgis spit at me for multipoint data?<br />
><br />
>-----<br />
>Michael A. Peters<br />
><br />
>http://www.shastaherps.org/<br />
>_______________________________________________<br />
>postgis-users mailing list<br />
>postgis-users@postgis.refractions.net<br />
>http://postgis.refractions.net/mailman/listinfo/postgis-users<br />
><br />
> </div>
</body>
</html>