Skip to content
Prev 25984 / 29559 Next

Compile sf in windows with liblwgeom

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