Skip to content

Commit

Permalink
Prepare addition of git-info to data output
Browse files Browse the repository at this point in the history
  • Loading branch information
lehmann-4178656ch committed Jan 29, 2024
1 parent 18f9561 commit c44127d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/osm2rdf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ void run(const osm2rdf::config::Config& config) {
}
osm2rdf::ttl::Writer<T> writer{config, &output};
writer.writeHeader();
writer.writeTriple(
osm2rdf::ttl::constants::NAMESPACE__OSM2RDF,
writer.generateIRIUnsafe(osm2rdf::ttl::constants::NAMESPACE__OSM2RDF,
"git-info"),
osm2rdf::version::GIT_INFO);

osm2rdf::osm::OsmiumHandler osmiumHandler{config, &writer};
osmiumHandler.handle();
Expand Down

0 comments on commit c44127d

Please sign in to comment.