Closed yubar closed 3 years ago
Found an issue with the test set, will try to produce another one
It seems I had corrupted cache so the updates were only artially correct. By coincidence, the smaller data set I used to reproduce rhe issue had another problem leading to the same incorrect behaviour.
Context
In the synthetic example below, when I import diff file with natural=ridge ways, the one connected to existing way is imported while the standalone one is ignored. In real world I experienced exactly the opposite behavior when the connected ways were ignored while standalone were imported successfully - let me know if you need this example as well (obviously both initial import and change file would be bigger).
I tried the same with waterway=river ways and everything seems to be working. Also, might be related: when a natural=ridge way is changed (added new nodes), it's updated in the DB but affected tiles are not written to the expiretiles dir.
Expected Behavior
The ways are imported, expired tiles are written to the .tiles file.
Steps to Reproduce
./imposm import -config imposmconfig.json -read ridge.osm.pbf -diff -overwritecache -write -optimize -deployproduction
mapping:
SELECT * FROM osm_relief_line
./imposm diff -config imposmconfig.json ridge_diff.osc.gz
SELECT * FROM osm_relief_line
The way 10000102275 (connected one) is imported, standalone way 100001102284 is missing.
Environment