[postgis-users] issue with pgsql2shp

John Cole john.cole at uai.com
Mon Jun 5 11:03:08 PDT 2006


Strk,
  I'm using the SnapToGrid on a polygon feature and it is returning
multipolygon and geometrycollections which pgsql2shp doesn't seem to like.

Here is my query:

select geometrytype(snaptogrid(segmentize(transform(the_geom, 26916), 10),
250)) as the_geom from tgr_water_polygons

Is there a way to keep snaptogrid from returning geometrycollections?

Thanks,

John
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.



More information about the postgis-users mailing list