<div dir="ltr"><div>Hey,<br>it looks like a classical precision issue.<br></div><div>There are some workaround but they are a little bit annoying.<br></div><div><br>Cheers,<br></div>RĂ©mi-C<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-05-23 13:46 GMT+02:00 Jeff Adams - NOAA Affiliate <span dir="ltr"><<a href="mailto:jeff.adams@noaa.gov" target="_blank">jeff.adams@noaa.gov</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Greetings,<br><br>I have been working with the st_split function and have been receiving strange results. Specifically, I have been using a polygon geometry to split a linestring geometry. After the split I have been using st_within to identify which of the resulting split linestring geometries are inside and which are outside. Sometimes the st_within results are as expected, other times, split linestring geometries that are clearly within the polygon feature (they were created using the polygon as the blade) are not identified as so. When checking in ArcGIS, the features that returned false using the st_within function in PostGIS (but by the nature of how they were created should be within the polygon) are being identified by ArcGIS as being within the polygon. Does anybody know why PostGIS' st_within is returning false with these features? Any workarounds? I am performing this analysis on a fairly large dataset. <br>

<br>Thanks in advance...<span class="HOEnZb"><font color="#888888"><br clear="all"><div dir="ltr">Jeff<br></div><div>
</div></font></span></div>
<br>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br></blockquote></div><br></div>