<div dir="ltr"><div><div>Hi,<br><br></div>Just wanted to know whether GEOS is applying for GSoC'14 under OSGeo. If yes, will this(exposing precision model) be a sufficient task or are there any other project ideas for GSoC. <br>
</div><br>Anubhav <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 13, 2014 at 2:24 PM, Rémi Cura <span dir="ltr"><<a href="mailto:remi.cura@gmail.com" target="_blank">remi.cura@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>I'm Captain obvious here,<br></div>but maybe you should take a look at CGAL, which is the reference lib regarding to precision issue. (I'm not speaking of the exact kernel.)<br>
</div>
Also Geos is a port of JTS, but I don't know if everything was ported (like this? <a href="http://tsusiatsoftware.net/jts/javadoc/com/vividsolutions/jts/geom/PrecisionModel.html" target="_blank">http://tsusiatsoftware.net/jts/javadoc/com/vividsolutions/jts/geom/PrecisionModel.html</a>).<br>

<br></div>All in all, exposing precision model is not a design or interface problem, but an algorithmic problem with no solution (except going the exact precision way), thus it is a matter of compromises and balance, because precise output cannot be guaranteed (if you chain operations like buffer(buffer(...buffer(geom)...)), enforcing precision is very difficult ).<br>

<br></div><div>Maybe people from SFCGAL project would have a lot to say, because they must have done something about precision issue when writting/reading to CGAL.<br><br></div>Cheers,<br><br>Rémi-C<br><div><div><br></div>

</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-12 17:52 GMT+01:00 Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span>:<div><div class="h5">
<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Wed, Feb 12, 2014 at 10:08:07PM +0530, Anubhav Jaiswal wrote:<br>
> Hi,<br>
><br>
> Can someone point me to any other geometric model which has already been<br>
> exposed through C-API. It will make it easier for me to implement for<br>
> Precision Model.<br>
<br>
</div>The C-API completely hides the PrecisionModel to the client<br>
and internally forces Floating, by using the default<br>
GeometryFactory (geos_ts_c.cpp:209)<br>
<br>
In order to use a different PrecisionModel you'll need<br>
to construct a different GeometryFactory using that model,<br>
and the constructed GeometryFactory will need to stay alive<br>
for the whole lifetime of any geometry that's been constructed<br>
with that factory.<br>
<br>
--strk;<br>
_______________________________________________<br>
geos-devel mailing list<br>
<a href="mailto:geos-devel@lists.osgeo.org" target="_blank">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>
</blockquote></div></div></div><br></div>
<br>_______________________________________________<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></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div><div><div><b>Anubhav Jaiswal<br>
</b></div><b>B. Tech + MS by Research<br></b></div><b>Lab for Spatial Informatics,<br></b></div><div><b>Computer Science and Engineering,<br></b></div><b>IIIT Hyderabad <br><br><br></b></div>
</div>