[OWSLib-users] OWSLib-users Digest, Vol 3, Issue 4

Christian Espinoza chespinoza at gmail.com
Wed Jan 9 12:35:12 PST 2013


Thanks a lot Angelos, finally I was able to get this with GEOS lib and
Shapely:

>>>from shapely.geometry import Point
>>>from shapely.geometry import Polygon
>>>coords =[(x1,y1),(x2,y2),(x3,y3)]
>>>polygon = Polygon(coords)
>>>polygon.contains(Point(x,y))
>>>true


2013/1/9 <owslib-users-request at lists.osgeo.org>

> Send OWSLib-users mailing list submissions to
>         owslib-users at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.osgeo.org/cgi-bin/mailman/listinfo/owslib-users
> or, via email, send a message with subject or body 'help' to
>         owslib-users-request at lists.osgeo.org
>
> You can reach the person managing the list at
>         owslib-users-owner at lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of OWSLib-users digest..."
>
>
> Today's Topics:
>
>    1. Fwd: Question about (Christian Espinoza)
>    2. Re: Fwd: Question about (Angelos Tzotsos)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 9 Jan 2013 15:41:38 -0300
> From: Christian Espinoza <chespinoza at gmail.com>
> To: owslib-users at lists.osgeo.org
> Subject: [OWSLib-users] Fwd: Question about
> Message-ID:
>         <
> CAGBwpM00H5-vAgfo6c3u4hLz-wnsguGY8Ev+N45Lqy6FDtJfUw at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello All, I'm working with google maps to get coordinates to build a
> polygon and I want to know if with owslib I can check if a point(x,y) is
> into this polygon??
>
> Is possible do that with owslib?
>
> Thanks in advance.
> Christian.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.osgeo.org/pipermail/owslib-users/attachments/20130109/89a99212/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Wed, 09 Jan 2013 20:47:44 +0200
> From: Angelos Tzotsos <gcpp.kalxas at gmail.com>
> To: owslib-users at lists.osgeo.org
> Subject: Re: [OWSLib-users] Fwd: Question about
> Message-ID: <50EDBB50.1090304 at gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>
> On 01/09/2013 08:41 PM, Christian Espinoza wrote:
> > Hello All, I'm working with google maps to get coordinates to build a
> > polygon and I want to know if with owslib I can check if a point(x,y) is
> > into this polygon??
> >
> > Is possible do that with owslib?
> >
> > Thanks in advance.
> > Christian.
> >
> >
> >
> > _______________________________________________
> > OWSLib-users mailing list
> > OWSLib-users at lists.osgeo.org
> > http://lists.osgeo.org/cgi-bin/mailman/listinfo/owslib-users
> Hi Christian,
>
> Please take a look at Shapely
> http://pypi.python.org/pypi/Shapely
>
> Cheers,
> Angelos
>
> --
> Angelos Tzotsos
> Remote Sensing Laboratory
> National Technical University of Athens
> http://users.ntua.gr/tzotsos
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.osgeo.org/pipermail/owslib-users/attachments/20130109/30adcd11/attachment-0001.html
> >
>
> ------------------------------
>
> _______________________________________________
> OWSLib-users mailing list
> OWSLib-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/owslib-users
>
>
> End of OWSLib-users Digest, Vol 3, Issue 4
> ******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/owslib-users/attachments/20130109/8108c75e/attachment.html>


More information about the OWSLib-users mailing list