Skip to content
Prev 25366 / 29559 Next

"invalid" geometries in shape data

Ha,

thanks Edzer that's very useful, beyond this endeavour as well.

Their examples are immediately useful with sf and the prospects for
automatic fixing tools looks good.

For others in the list, the only triangulation package (that I know of)
able to provide the fixes outlined by the Delft group is RTriangle, which
has a "non-commercial" license (CC BY-NC-SA 4.0). The CGAL library used by
the group is not yet in any R package but is being looked into as an
alternative..

Do please share your example problem data sets and code!  A straightforward
efficiency is to only triangulate and re-union problem features rather than
every feature, which is easy to do, and will be great to have ideas about
whether that will be enough for real cases.

More soon.

Cheers, Mike.

On Wed, 8 Feb 2017 at 21:28 Edzer Pebesma <edzer.pebesma at uni-muenster.de>
wrote:

The Delft group has done a lot of work on this; I could find these two
references:

http://www.springer.com/%3FSGWID%3D5-102-45-124048-p32597622
http://www.sciencedirect.com/science/article/pii/S009830041400020X
https://3d.bk.tudelft.nl/hledoux/pdfs/12_agile.pdf

I guess you will like the last two in particular; they point to
https://github.com/tudelft3d/prepair which also contains data.

There should also be some simple feature for sql compliance suite,
http://www.opengeospatial.org/compliance/downloads

When working with GEOS, it might be worth looking into the precision -
both rgeos and sf allow you to do so.
On 07/02/17 22:46, Michael Sumner wrote:
--
Edzer Pebesma
Institute for Geoinformatics  (ifgi),  University of M?nster
Heisenbergstra?e 2, 48149 M?nster, Germany; +49 251 83 33081
<+49%20251%208333081>
Journal of Statistical Software:   http://www.jstatsoft.org/
Computers & Geosciences:   http://elsevier.com/locate/cageo/

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo