From 62588ec0ea2d88adf9641c221093dd295fb139b9 Mon Sep 17 00:00:00 2001 From: afischerdev Date: Sat, 12 Apr 2025 16:06:43 +0200 Subject: [PATCH] changed generation process for database usage --- misc/scripts/mapcreation/readme_database.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/misc/scripts/mapcreation/readme_database.md b/misc/scripts/mapcreation/readme_database.md index 737f702..21bb57c 100644 --- a/misc/scripts/mapcreation/readme_database.md +++ b/misc/scripts/mapcreation/readme_database.md @@ -32,9 +32,9 @@ Import new tags for noise, green and water feature - prepare generation of pbf - - when using database and new tagging an other lookups.dat is needed, use lookups_db.dat and rename + - lookups.dat has to contain the new tags from the database - - script needs a jdbc in the classpath (on UNIX and Linux use a colon `:` as delimiter) + - script needs a jdbc in the classpath (on UNIX and Linux use a colon `:` as delimiter) `... -cp ../postgresql-42.6.0.jar;../brouter_fc.jar ...` @@ -44,8 +44,12 @@ Import new tags for noise, green and water feature `JDBC="jdbc:postgresql://localhost/osm?user=postgres&password=xyz&ssl=false"` - call it with OsmFastCutter as last parameter (behind pbf file) + - export the tags from database to filesystem - `... btools.mapcreator.OsmFastCutter ... ../planet-new.osm.pbf $(JDBC)` + `java -Xmx6144M -Xms6144M -Xms6144M -cp %CLASSPATH% btools.mapcreator.DatabasePseudoTagProvider $(JDBC) db_tags.csv.gz` + + - call it with OsmFastCutter as last parameter (behind pbf file) + + `... btools.mapcreator.OsmFastCutter ... ../planet-new.osm.pbf db_tags.csv.gz`