Category : geos

For the time being, I’m getting bothered by specific problem caused by use of Cython and libGEOS and provided c_api by it. Namely, calling GEOSSTRtree_insert_r(…) in cython func keeps providing me with: python: AbstractSTRtree.cpp:118: virtual void geos::index::strtree::AbstractSTRtree::insert(const void*, void*): Assertion `!built’ failed. Looking into AbstractSTRtree.cpp code: GEOSSTRtree* GEOSSTRtree_create_r(GEOSContextHandle_t extHandle, std::size_t nodeCapacity) { return execute(extHandle, [&]() ..

Read more

I am trying to use the geos library on a Raspbery Pi 3, using Debian. I am trying to compile a program in C ++. The same program can be compiled on other computers, this means that the source code of my program is correct. When executing the command geos-config –version, version 3.7.1 is returned ..

Read more

i’m trying to follow this tutorial to install GEOS on a windows environment. https://trac.osgeo.org/geos/wiki/BuildingOnWindowsWithCMake I’ve installed Cmake with the relevant installer but I’m not sure how to follow the rest of the steps – there isn’t a tools folder? Using the GUI interface for Cmake is another option perhaps – just a bit confused on ..

Read more

i want to serializatize and deserializatize the three party library of Geos (https://geos.osgeo.org/) with cereal. but it throws error "cereal/include/cereal/cereal.hpp:448:87: error: static assertion failed: cereal could not find any output serialization functions for the provided type and archive combination. " the follow is my code template <class Archive> void save(Archive &archive, geos::geom::Geometry& geometry) { WKBWriter ..

Read more