<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">You are welcome Christian, happy to
help.<br>
<br>
On 01/09/2013 10:35 PM, Christian Espinoza wrote:<br>
</div>
<blockquote
cite="mid:CAGBwpM0foUcB6f6Pc2ZP2SYA2OPzQQzbAcN+9vzvFFMSBu-rnw@mail.gmail.com"
type="cite">
<pre wrap="">Thanks a lot Angelos, finally I was able to get this with GEOS lib and
Shapely:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">>from shapely.geometry import Point
>from shapely.geometry import Polygon
</pre>
<blockquote type="cite">
<pre wrap="">coords =[(x1,y1),(x2,y2),(x3,y3)]
polygon = Polygon(coords)
polygon.contains(Point(x,y))
true
</pre>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">
2013/1/9 <a class="moz-txt-link-rfc2396E" href="mailto:owslib-users-request@lists.osgeo.org"><owslib-users-request@lists.osgeo.org></a>
</pre>
<blockquote type="cite">
<pre wrap="">Send OWSLib-users mailing list submissions to
<a class="moz-txt-link-abbreviated" href="mailto:owslib-users@lists.osgeo.org">owslib-users@lists.osgeo.org</a>
To subscribe or unsubscribe via the World Wide Web, visit
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/owslib-users">http://lists.osgeo.org/cgi-bin/mailman/listinfo/owslib-users</a>
or, via email, send a message with subject or body 'help' to
<a class="moz-txt-link-abbreviated" href="mailto:owslib-users-request@lists.osgeo.org">owslib-users-request@lists.osgeo.org</a>
You can reach the person managing the list at
<a class="moz-txt-link-abbreviated" href="mailto:owslib-users-owner@lists.osgeo.org">owslib-users-owner@lists.osgeo.org</a>
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 <a class="moz-txt-link-rfc2396E" href="mailto:chespinoza@gmail.com"><chespinoza@gmail.com></a>
To: <a class="moz-txt-link-abbreviated" href="mailto:owslib-users@lists.osgeo.org">owslib-users@lists.osgeo.org</a>
Subject: [OWSLib-users] Fwd: Question about
Message-ID:
<
<a class="moz-txt-link-abbreviated" href="mailto:CAGBwpM00H5-vAgfo6c3u4hLz-wnsguGY8Ev+N45Lqy6FDtJfUw@mail.gmail.com">CAGBwpM00H5-vAgfo6c3u4hLz-wnsguGY8Ev+N45Lqy6FDtJfUw@mail.gmail.com</a>>
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: <
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/pipermail/owslib-users/attachments/20130109/89a99212/attachment-0001.html">http://lists.osgeo.org/pipermail/owslib-users/attachments/20130109/89a99212/attachment-0001.html</a>
</pre>
<blockquote type="cite">
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">
------------------------------
Message: 2
Date: Wed, 09 Jan 2013 20:47:44 +0200
From: Angelos Tzotsos <a class="moz-txt-link-rfc2396E" href="mailto:gcpp.kalxas@gmail.com"><gcpp.kalxas@gmail.com></a>
To: <a class="moz-txt-link-abbreviated" href="mailto:owslib-users@lists.osgeo.org">owslib-users@lists.osgeo.org</a>
Subject: Re: [OWSLib-users] Fwd: Question about
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:50EDBB50.1090304@gmail.com"><50EDBB50.1090304@gmail.com></a>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
On 01/09/2013 08:41 PM, Christian Espinoza wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:OWSLib-users@lists.osgeo.org">OWSLib-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/owslib-users">http://lists.osgeo.org/cgi-bin/mailman/listinfo/owslib-users</a>
</pre>
</blockquote>
<pre wrap="">Hi Christian,
Please take a look at Shapely
<a class="moz-txt-link-freetext" href="http://pypi.python.org/pypi/Shapely">http://pypi.python.org/pypi/Shapely</a>
Cheers,
Angelos
--
Angelos Tzotsos
Remote Sensing Laboratory
National Technical University of Athens
<a class="moz-txt-link-freetext" href="http://users.ntua.gr/tzotsos">http://users.ntua.gr/tzotsos</a>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/pipermail/owslib-users/attachments/20130109/30adcd11/attachment-0001.html">http://lists.osgeo.org/pipermail/owslib-users/attachments/20130109/30adcd11/attachment-0001.html</a>
</pre>
<blockquote type="cite">
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">
------------------------------
_______________________________________________
OWSLib-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OWSLib-users@lists.osgeo.org">OWSLib-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/owslib-users">http://lists.osgeo.org/cgi-bin/mailman/listinfo/owslib-users</a>
End of OWSLib-users Digest, Vol 3, Issue 4
******************************************
</pre>
</blockquote>
<pre wrap="">
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OWSLib-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OWSLib-users@lists.osgeo.org">OWSLib-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/owslib-users">http://lists.osgeo.org/cgi-bin/mailman/listinfo/owslib-users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Angelos Tzotsos
Remote Sensing Laboratory
National Technical University of Athens
<a class="moz-txt-link-freetext" href="http://users.ntua.gr/tzotsos">http://users.ntua.gr/tzotsos</a></pre>
</body>
</html>