[R-sig-Geo] Compile sf in windows with liblwgeom

Eduardo Diez eduardodiez at gmx.com
Sat Sep 16 15:20:08 CEST 2017


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
error:

> 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?

Thanks

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list