[postgis-users] Spurious Results using ST_Split
Rémi Cura
remi.cura at gmail.com
Fri May 23 05:08:32 PDT 2014
Hey,
it looks like a classical precision issue.
There are some workaround but they are a little bit annoying.
Cheers,
Rémi-C
2014-05-23 13:46 GMT+02:00 Jeff Adams - NOAA Affiliate <jeff.adams at noaa.gov>
:
> Greetings,
>
> 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.
>
> Thanks in advance...
> Jeff
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20140523/6a689619/attachment.html>
More information about the postgis-users
mailing list