[postgis-users] Need help on query to return boundary of polygon
Bistrais, Bob
Bob.Bistrais at maine.gov
Tue Sep 15 09:25:30 PDT 2015
I would like to return the boundary of a selected polygon, and I can't seem to get my syntax correct. What I want to do is to select the boundary from a polygon table of towns, where the town name equals a selected town. Something like this:
Select ST_Boundary(geom) from (select * from towns where towns.townname='Mytown')
-obviously this is not correct, but hopefully gives an idea of what I want.
Any suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20150915/b11386a5/attachment.html>
More information about the postgis-users
mailing list