<div dir="ltr">Hi,<div><br></div><div>I have made a temporary proposal. Below is the link to the wiki page. </div><div><br></div><div><a href="http://trac.osgeo.org/geos/wiki/GSoC/CAPI_PrecisionModel">http://trac.osgeo.org/geos/wiki/GSoC/CAPI_PrecisionModel</a><br>

</div><div><br></div><div>Regards,</div><div>Varun Saraf</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 6, 2014 at 5:44 PM, Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Thu, Mar 06, 2014 at 05:23:43PM +0530, Varun Saraf wrote:<br>
> Hi,<br>
><br>
> We either create the PrecisionModel and the GeometryFactory in the<br>
> GEOSContext_setPrecisionModel or pass a pointer to the<br>
> new PrecisionModel to this method. But the signature of initGEOS/initGEOS_r<br>
> cannot be changed so how to pass it to the initGEOS. Please clarify.<br>
<br>
</div>Please make proposals.<br>
My proposal was in the mail you quoted, did you understand it ?<br>
<br>
--strk;<br>
<div class="im HOEnZb"><br>
> On Thu, Feb 20, 2014 at 12:00 PM, Sandro Santilli <<a href="mailto:strk@keybit.net">strk@keybit.net</a>> wrote:<br>
> ><br>
</div><div class="im HOEnZb">> > I agree about making the precision model part of the context.<br>
> > But we can't change the initGEOS signature, so we'll need<br>
> > some GEOSContext_setPrecisionModel kind of method.<br>
> > At that point, we have to decide what happens with a previously<br>
> > set PrecisionModel, if it has to be allowed at all.<br>
> ><br>
> > Deleting the PrecisionModel and the GeometryFactory on finishGEOS<br>
> > is fine, but note that this would make any created geometry also<br>
> > broken (they hold a reference to the GeometryFactory that created<br>
> > them). Not a big deal, as long as it's clearely documented. Dunno<br>
> > if it would make sense for the opaque GEOSGeometry type to also<br>
> > hold a pointer to the context, just in case...<br>
</div><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>