[Tile-serving] [openstreetmap/osm2pgsql] some area data lose with gazetteer output (Issue #1759)

 笑乐 notifications at github.com
Fri Sep 9 01:03:34 UTC 2022


## What version of osm2pgsql are you using?

Build: Release
Compiled using the following library versions:
Libosmium 2.17.3
Proj [API 6] 9.0.0
Lua 5.1.4 (LuaJIT 2.1.0-beta3)

## What operating system and PostgreSQL/PostGIS version are you using?
Database version: 14.3
PostGIS version: 3.2


## Tell us something about your system
RAM: 64GB
CPU: intel-10500 6 core


## What did you do exactly?
osm2pgsql -v -Uxiaole -dnominatim -P5432 -H127.0.0.1 --hstore --latlon --slim --with-forward-dependencies=false --log-progress=true --number-processes=1 --cache=4096 --output=gazetteer --style=/import-admin.style --create /planet-220829.osm.pbf

## What did you expect to happen?
new import database with all data

## What did happen instead?

some area lost, I import two PBF file: 
planet-211220.osm.pbf 
planet-220829.osm.pbf
(download from planet.openstreetmap.org)

but I found that the Relation 3507759 was lost when I load file planet-220829.osm.pbf, it didn't store in table place.
file planet-211220.osm.pbf seem to be right.

## What did you do to try analyzing the problem?
1. I tried to build different versions of osm2pgsql, got the same result. so I think it may be the problem of pbf files.
2. I tried to find the code than the data was not passed. it's 
<img width="521" alt="image" src="https://user-images.githubusercontent.com/31211644/189250796-6cfd82b3-264b-482f-a01e-58e405f93cfa.png">
I am not good at C language, so give me a hand.




-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1759
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/issues/1759 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220908/ff1b22d6/attachment.htm>


More information about the Tile-serving mailing list