[R-sig-Geo] Compile sf in windows with liblwgeom
edzer.pebesma at uni-muenster.de
Sat Sep 16 16:45:06 CEST 2017
On 16/09/17 15:20, Eduardo Diez wrote:
> Dear list,
> I have a MULTIPOLYGON geometry set where the rings are in the wrong
> direction and would like to correct that with *st_make_valid*. As I'm in
> Windows and use the binary version of the *sf* package it gives me the
>> sp2 = st_make_valid(sp1)
> Error in CPL_make_valid(x) :
> st_make_valid requires compilation against liblwgeom
> Is there a series of steps I can follow for compiling *sf* in Windows
> linked to liblwgeom?
No, and I also don't think that st_make_valid does this.
Converting to sp and back, like
might do the trick, though.
> [[alternative HTML version deleted]]
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
Institute for Geoinformatics (ifgi), University of Münster
Heisenbergstraße 2, 48149 Münster, Germany; +49 251 83 33081
Journal of Statistical Software: http://www.jstatsoft.org/
Computers & Geosciences: http://elsevier.com/locate/cageo/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: OpenPGP digital signature
More information about the R-sig-Geo