Bailey Heading
Bailey Heading
I added this in: (the exception number is random, just copied from another valhalla_exception) ` if(geotiff_driver == nullptr) {` `// Handle error: Driver not found` `throw valhalla_exception_t{599, "gdal driver not...
> given what you've shown it seems like we continue with the build and supporting gdal even if we dont actually have full support on your system. seems like we...
This is what I used in CMakeList. I don't know whether the GDAL::GDAL INTERFACE_LINK_LIBRARIES is actually meant to return something other than "gdal_link_libraries-NOTFOUND" as I really don't understand this process...
> maybe gdal loads the drivers (separate libs) at runtime (which i was initially worried about in our implementation because its probably not too performant to do it on every...
I've found this info on it. So it should be linked in thor/worker? and it's just a pointer to that in serializeGeoTIFF? https://github.com/valhalla/valhalla/pull/4594#discussion_r1495737720
> yeah that was my suggestion to @chrstnbwnkl for keeping the driver loaded and around but again it would still have to happen at run time. imho during cmake we...
Are we able to have it as some kind of global parameter? But for the short term, is there a line or two of code we could insert into isochrone_serializer?...
> you can try adding > > ``` > #ifdef ENABLE_GDAL > #include > GDALRegister_GTiff(); > #endif > ``` > > in `isochrone_serializer.cc` at the top and replace the current...
`valhalla/src/tyr/isochrone_serializer.cc:18:3: error: a type specifier is required for all declarations` `GDALRegister_GTiff();` @nilsnolde
anyway, for now I put it at the top of serializeGeoTIFF() just to get it working I get this error with the python bindings. `site-packages/valhalla/actor.py", line 34, in wrapped` `response...