Skip to content

Commit

Permalink
fix: rename header; add ngen ns for partitionGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
program-- committed Nov 6, 2023
1 parent 2f39921 commit fc2fee4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/partitionGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <tuple>

#ifdef NGEN_WITH_SQLITE3
#include <GeoPackage.hpp>
#include <geopackage.hpp>
#endif

#include "core/Partition_Parser.hpp"
Expand Down Expand Up @@ -429,7 +429,7 @@ int main(int argc, char* argv[])
if (boost::algorithm::ends_with(catchmentDataFile, "gpkg"))
{
#ifdef NGEN_WITH_SQLITE3
catchment_collection = std::move( geopackage::read(catchmentDataFile, "divides", catchment_subset_ids) );
catchment_collection = std::move( ngen::geopackage::read(catchmentDataFile, "divides", catchment_subset_ids) );
#else
throw std::runtime_error("SQLite3 support required to read GeoPackage files.");
#endif
Expand Down Expand Up @@ -461,7 +461,7 @@ int main(int argc, char* argv[])
if (boost::algorithm::ends_with(nexusDataFile, "gpkg"))
{
#ifdef NGEN_WITH_SQLITE3
global_nexus_collection = std::move( geopackage::read(nexusDataFile, "nexus", nexus_subset_ids) );
global_nexus_collection = std::move( ngen::geopackage::read(nexusDataFile, "nexus", nexus_subset_ids) );
#else
throw std::runtime_error("SQLite3 support required to read GeoPackage files.");
#endif
Expand Down

0 comments on commit fc2fee4

Please sign in to comment.