You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this great library and the comprehensive instructions. It's an excellent piece of work!
I followed your instructions carefully and successfully started a map server with an imported OSM extract. Unfortunately, I'm experiencing an issue while trying to start a matcher server. After packaging the Barefoot JAR, I ran the following command and got the following output:
root@f1cc0014739b:/mnt# java -jar target/barefoot-0.1.0-matcher-jar-with-dependencies.jar --geojson config/server.properties config/switzerland.properties
2016-10-11 16:49:55,704 INFO [main] ServerControl: initialize server
2016-10-11 16:49:55,713 INFO [main] ServerControl: read database properties from file config/switzerland.properties
2016-10-11 16:49:55,719 INFO [main] Loader: load map from database switzerland
2016-10-11 16:49:55,721 INFO [main] Loader: open road reader for database switzerland at 127.0.0.1:5432
2016-10-11 16:49:55,722 INFO [main] Loader: database.host=127.0.0.1
2016-10-11 16:49:55,722 INFO [main] Loader: database.port=5432
2016-10-11 16:49:55,723 INFO [main] Loader: database.name=switzerland
2016-10-11 16:49:55,724 INFO [main] Loader: database.table=ways
2016-10-11 16:49:55,725 INFO [main] Loader: database.user=postgres
2016-10-11 16:49:55,725 INFO [main] Loader: database.road-types=./map/tools/road-types.json
2016-10-11 16:49:55,784 INFO [main] PostGISReader: open reader (standard)
2016-10-11 16:49:55,787 INFO [main] PostGISReader: open reader (parameterized)
2016-10-11 16:49:55,944 INFO [main] RoadMap: inserting roads ...
2016-10-11 16:49:55,948 INFO [main] PostGISReader: execute query
2016-10-11 16:49:56,003 ERROR [main] ServerControl: Executing PostgreSQL query failed: ERROR: column "gid" does not exist
Position: 8
2016-10-11 16:49:56,007 INFO [Thread-0] ServerControl: stopping server
2016-10-11 16:49:56,009 ERROR [Thread-0] ServerControl: stopping server failed, not yet started
Seems as if the table ways is missing a column. Please note: The import of the OSM extract was successful and showed no errors.
I'd appreciate any help on this one.
The text was updated successfully, but these errors were encountered:
Thanks for providing the log which makes error search very easy. Your sitzerland.properties refers to database.table=ways which should be database.table=bfmap_ways if you used the import.sh script. I hope that solves the problem.
Thanks for this great library and the comprehensive instructions. It's an excellent piece of work!
I followed your instructions carefully and successfully started a map server with an imported OSM extract. Unfortunately, I'm experiencing an issue while trying to start a matcher server. After packaging the Barefoot JAR, I ran the following command and got the following output:
root@f1cc0014739b:/mnt# java -jar target/barefoot-0.1.0-matcher-jar-with-dependencies.jar --geojson config/server.properties config/switzerland.properties
2016-10-11 16:49:55,704 INFO [main] ServerControl: initialize server
2016-10-11 16:49:55,713 INFO [main] ServerControl: read database properties from file config/switzerland.properties
2016-10-11 16:49:55,719 INFO [main] Loader: load map from database switzerland
2016-10-11 16:49:55,721 INFO [main] Loader: open road reader for database switzerland at 127.0.0.1:5432
2016-10-11 16:49:55,722 INFO [main] Loader: database.host=127.0.0.1
2016-10-11 16:49:55,722 INFO [main] Loader: database.port=5432
2016-10-11 16:49:55,723 INFO [main] Loader: database.name=switzerland
2016-10-11 16:49:55,724 INFO [main] Loader: database.table=ways
2016-10-11 16:49:55,725 INFO [main] Loader: database.user=postgres
2016-10-11 16:49:55,725 INFO [main] Loader: database.road-types=./map/tools/road-types.json
2016-10-11 16:49:55,784 INFO [main] PostGISReader: open reader (standard)
2016-10-11 16:49:55,787 INFO [main] PostGISReader: open reader (parameterized)
2016-10-11 16:49:55,944 INFO [main] RoadMap: inserting roads ...
2016-10-11 16:49:55,948 INFO [main] PostGISReader: execute query
2016-10-11 16:49:56,003 ERROR [main] ServerControl: Executing PostgreSQL query failed: ERROR: column "gid" does not exist
Position: 8
2016-10-11 16:49:56,007 INFO [Thread-0] ServerControl: stopping server
2016-10-11 16:49:56,009 ERROR [Thread-0] ServerControl: stopping server failed, not yet started
Seems as if the table ways is missing a column. Please note: The import of the OSM extract was successful and showed no errors.
I'd appreciate any help on this one.
The text was updated successfully, but these errors were encountered: