Hi, I am trying to append a dataset to existing map data using below mentioned command. But I am getting an error. San somebody help me to resolve this? Command: sudo -u www-data osm2pgsql -a 2048 --slim --number-processes 4 gcc-states-latest.osm.pbf --cache-strategy sparse Error: Reading in file: 2048 error while opening file 2048 asked 10 Feb '16, 06:20 Reshma Maner scai ♦ |
You seem to have your command line mixed up see https://github.com/openstreetmap/osm2pgsql/blob/master/docs/usage.md in particular the append option simply uses the normal input file that you have already specified (gcc-states-latest.osm.pbf). Note: appending to an existing osm2pgsql schema database will only work if their are no common elements in the data. answered 10 Feb '16, 08:13 SimonPoole ♦ Yes. Thanks. Issue is resolved now.
(10 Feb '16, 08:31)
Reshma Maner
|