[prev in list] [next in list] [prev in thread] [next in thread]
List: postgis-users
Subject: Re: [postgis-users] Need help on query to return boundary of polygon
From: Stephen Woodbridge <woodbri () swoodbridge ! com>
Date: 2015-09-15 16:52:17
Message-ID: 55F84CC1.60605 () swoodbridge ! com
[Download RAW message or body]
On 9/15/2015 12:25 PM, Bistrais, Bob wrote:
> 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’)
Does this work:
select st_boundary(geom) from towns where townname='Mytown';
-Steve
> -obviously this is not correct, but hopefully gives an idea of what I want.
>
> Any suggestions?
>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users@lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
_______________________________________________
postgis-users mailing list
postgis-users@lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic