<div dir="ltr"><div><div><div><div><div>Thanls Strk !<br></div>I ended doing all the things you said <br></div>(manual shortcut, no rectangle).<br></div><br>Indeed this C api is easy to use one has understood how it works.<br></div>Would you agree to put on the wiki a simple tutorial ?<br></div>I would write it like : how to read a geom, make a buffer, write a geom,<br> from scratch.<br><div><div>It would be very short (30 lines)<br><br>Cheers,<br>Rémi-C<br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-15 19:09 GMT+02:00 Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sun, Oct 12, 2014 at 03:04:52PM +0200, Rémi Cura wrote:<br>
> Ok,<br>
> I'll try tomorow using exclusively functions from geos_c.h.<br>
> Is there some kind of example/tutorial arround?<br>
<br>
</span>I'm afraid not. All docs are in the header file.<br>
<span class=""><br>
> Another 2 quick questions :<br>
> I would like to perform a polygon/polygon intersection.<br>
>   I can't find if there is a shortcut for the case where the two geometry<br>
> are disjoint (in which case the intersection would be empty geom)<br>
>   Shall I put myself this kind of shortcut before calling intersection?<br>
<br>
</span>You should put yourself this kind of shortcut.<br>
<span class=""><br>
> About the new rectangle shortcuts . Are the rectangle bbox (north/South<br>
> East-West oriented), or are they real rectangle (oriented bbox)?<br>
<br>
</span>The rectangle shortcut in Geometry::intersection is disabled at compile time.<br>
Rectangle would not be oriented, anyway, for RectangleIntersection.<br>
<br>
--strk;<br>
<br>
  ()   Free GIS & Flash consultant/developer<br>
  /\   <a href="http://strk.keybit.net/services.html" target="_blank">http://strk.keybit.net/services.html</a><br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
geos-devel mailing list<br>
<a href="mailto:geos-devel@lists.osgeo.org">geos-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geos-devel" target="_blank">http://lists.osgeo.org/mailman/listinfo/geos-devel</a><br>
</div></div></blockquote></div><br></div>