[Tile-serving] [openstreetmap/osm2pgsql] Updating a db leads to: node-persistent-cache.cpp:369: void node_persistent_cache::set_append(osmid_t, double, double): Assertion `!read_mode' failed.` (#743)
ge-fa
notifications at github.com
Thu Apr 13 11:04:37 UTC 2017
Thanks for your fast reply!
I'm generating the changes file via:
`osmosis --read-replication-interval workingDirectory=. --sort-change seekable --write-xml-change changes.osc.gz`
Here is the HEAD of said file:
```
<?xml version='1.0' encoding='UTF-8'?>
<osmChange version="0.6" generator="Osmosis 0.45">
<create>
<node id="4775885259" version="1" timestamp="2017-04-05T00:01:59Z" uid="5616295" user="Claudio Lion" changeset="47459642" lat="-40.6612774" lon="-73.4676762">
<tag k="name" v="Sergio baez"/>
<tag k="name:es" v="Sergio baez"/>
<tag k="tourism" v="alpine_hut"/>
</node>
<node id="4775885260" version="1" timestamp="2017-04-05T00:02:00Z" uid="5616295" user="Claudio Lion" changeset="47459642" lat="-40.6617902" lon="-73.4691038">
<tag k="name" v="Ramona loncochino"/>
<tag k="name:es" v="Ramona loncochino"/>
<tag k="tourism" v="alpine_hut"/>
</node>
<node id="4775885261" version="1" timestamp="2017-04-05T00:02:07Z" uid="5616295" user="Claudio Lion" changeset="47459642" lat="-40.6820263" lon="-73.4706394">
<tag k="name" v="Monuca trinpai"/>
<tag k="name:es" v="Monuca trinpai"/>
<tag k="tourism" v="alpine_hut"/>
</node>
<node id="4775885262" version="1" timestamp="2017-04-05T00:02:09Z" uid="5616295" user="Claudio Lion" changeset="47459642" lat="-40.6849612" lon="-73.4412449">
<tag k="name" v="Maria quisiyao"/>
<tag k="name:es" v="Maria quisiyao"/>
<tag k="tourism" v="alpine_hut"/>
</node>
<node id="4775885263" version="1" timestamp="2017-04-05T00:02:14Z" uid="5616295" user="Claudio Lion" changeset="47459642" lat="-40.725325" lon="-73.5250549">
<tag k="name" v="Ricardo coliguachun fallecido"/>
<tag k="name:es" v="Ricardo coliguachun fallecido"/>
<tag k="tourism" v="alpine_hut"/>
</node>
<node id="4775885264" version="1" timestamp="2017-04-05T00:02:17Z" uid="5616295" user="Claudio Lion" changeset="47459642" lat="-40.9456997" lon="-73.4056826">
<tag k="name" v="Hernan acun"/>
```
I've imported [this](http://planet.openstreetmap.org/pbf/planet-170403.osm.pbf) planet file created on 2017/04/05.
Regarding `--expire-tiles`: I'm aware of the fact that this isn't needed, but I'm operating a tile server and using this to remove expired tiles, afterwards.
I've tried without `--expire-tiles` and using only one process, without success.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/743#issuecomment-293859412
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170413/751d71e5/attachment-0001.html>
More information about the Tile-serving
mailing list