0

The installation instructions for shapely suggest:

"Windows users should use the executable installer, which contains the required GEOS DLL. Other users should acquire libgeos_c by any means, make sure that it is on the system library path, and install from the Python package index."

What exactly is libgeos_c? Is it the same as GEOS - Geometry Engine, Open Source?

4

GEOS is the software you get from http://trac.osgeo.org/geos/ (which has the title you mentioned, so it is likely what you meant).

There are C and C++ interfaces as part of a standard build. libgeos_c means the C interface. On Ubuntu (and probably Debian) it is the

libgeos-c1 Geometry engine for Geographic Information Systems - C Library

package. Other distributions will also likely have it as a package or build script. They may or may not split out the C++ interface.

I'd suggest using system packages (via your package manager) unless you have strong reason to prefer building from source. On Ubuntu, a command line install would be something like:

sudo apt-get install libgeos-c1

(there are many other options including GUI and aptitude client, but this should work for all installs).

  • Thanks. this is where i found the package. However, it has multiple dependencies, each of which have multiple dependencies themselves. So i have to manually download all dependencies recursively and install them. Is that correct? – statBeginner Nov 25 '14 at 21:56
  • You should just use the package manager. I'll update the answer. – BradHards Nov 25 '14 at 22:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.