[postgis-devel] More dump comments

Obe, Regina robe.dnd at cityofboston.gov
Fri Feb 27 10:37:42 PST 2009


Mark,
>> Hmmm. Not sure at the moment without digging into the code...
> I'm wondering if its because its got a , in there.  Though I would think the
> {} would be sufficient.  Could be just a display artifact in psql I suppose.


I verified it does the same in old installs and if you do 

SELECT (ST_Dump(foo.the_geom))
FROM (SELECT ST_Collect(ST_Multi(the_geom)) as the_geom
fROM sometable) as foo

It does the same "{1,2}" so its not a new thing

I also checked

SELECT (ST_Dump(foo.the_geom)).path
FROM (SELECT ST_Collect(ST_Multi(the_geom)) as the_geom
fROM sometable) as foo

or

SELECT (ST_Dump(foo.the_geom)).path[1]
FROM (SELECT ST_Collect(ST_Multi(the_geom)) as the_geom
fROM sometable) as foo;

and those look as I would expect (no quotes).  So I guess its some sort of artifact of the 
displaying of a geometry_dump with , in the path that doesn't seem to affect
its functionality


-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20090227/98caf330/attachment.html>


More information about the postgis-devel mailing list