Olivier Leroy

Results 21 comments of Olivier Leroy

> I hope the download went well Not too bad, Rstudio server logged me out once (probably my fault), I used Rscript and it was good. I am super excited...

Good idea! I will try something like that later!

Great! I am still working on something with `st_crosses`. I have a bit of trouble casting multilinetsring to proper linestrings (OSM data can be mischievous). I will ty to do...

I picked Colorado because it touches an other state with just one point (Arizona). So learner can explore various way (and I really like that you used other ways !!)....

I am just trying to use some stuff in {spastat} so I am slowly reading doc/book/codes. Apparently {polyclip} (https://github.com/baddstats/polyclip) is used to do some "cleaning". It is use here (https://github.com/spatstat/spatstat.geom/blob/d90441de5ce18aeab1767d11d4da3e3914e49bc7/R/window.R#L230-L240)....

I have adapted this web page: http://s3.cleverelephant.ca/invalid.html with a bunch of topological errors (it is from @pramsey and related blog post: https://www.crunchydata.com/blog/waiting-for-postgis-3.2-st_makevalid). The script is here: https://github.com/defuneste/utile_comme_du_pq/blob/master/erreur_topo.R it has a...

The twiiter post helped! - Ty frazier ([@syntheticpops](https://twitter.com/syntheticpops)) mentioned also terra::makeValid() and a terminal approach with `ogr2ogr — skipfailures x.shp y.shp` - @mdsumner mentionned `sfdct::ct_triangulate()` followed with group_by this [tweet](https://twitter.com/mdsumner/status/1579794707252551682?s=20&t=OYVdniIyKQyE2IC3FygI2A)...

I have tested {prepr} (with one p I think!) and {polyclip} on the small shiny app here (https://github.com/defuneste/utile_comme_du_pq/tree/master/topo_errors). We get very different results depending of the errors, algorithms/implementation. Even if...

Well I am hosting it! : https://www.branchtwigleaf.com/shinyapps/make-valid-geom/ if it useful I would totally move it to some geocompsomething because I think the value is mostly pedagogical What I have learn...

GRASS documentation about `V.clean` is great and I should think of a way to add it : https://grass.osgeo.org/grass82/manuals/v.clean.html