Answer the question
In order to leave comments, you need to log in
OpenStreetMap: why is the last.state.txt file needed?
Let's say I want to make a complete copy of the OSM data and load it into PostgreSQL.
I use the `imposm3` utility.
The launch parameters are as follows:
`imposm3 run -config /apps/imposm/config.json` The
config is as follows:
{
"cachedir": "/home/osmdata/diff/",
"connection": "postgis://postgres:[email protected]:5432/geodb?sslmode=disable&prefix=NONE",
"mapping": "/apps/imposm/mymap.json",
"srid": 4326
}
Answer the question
In order to leave comments, you need to log in
Haven't used imposm3, but it's clear from their tutorial.rst that it uses the last.state.txt file to store the last change in the cache so it only downloads new files next time. It must create this file on its own when the command is called imposm3 import
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question