GEOS support not enable - Java Binding GDAL

Asked

Viewed 22 times

0

I’m trying to create a method that calculates intersection using the lib GDAL, but when calling the intersection method I get the null return with the following message on the console: GEOS support not enable.

I’m in a Linux/Ubuntu environment with eclipse.

  • 1

    I was able to solve the problem by uninstalling the lib GDAL and reinstalling it in the GEOS order and then GDAL, passing as parameter the argument --with-Geos=yes when calling sh configure.

  • Hi Leandro, welcome back. You could answer your own question with your solution, so it would make it a lot easier when someone had the same problem you had

  • @Isaíasdelimacoelho I published the reply, thank you.

1 answer

1

I was able to solve the problem by uninstalling the GDAL lib and reinstalling it after installing the GEOS. Before making make in GDAL lib do not forget to type the following command: ./configure --with-geos=yes. That solved my problem!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.