You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 1956 and 2011 Sudan boundary relations are missing from the land_ohm_lines and land_ohm_centroids layers. For example, at this location, five features correspond to this way, but none of them go past 1958, even though the boundary line has been in continuous use into the present day.
The only thing that looks wrong is that the chronology relation lacks start and end dates, but I don’t think that would affect whether the member boundary relations show up in the tiles.
However, this relation is not present in the vector tile database. One thing to note: this replication file is unusually large—approximately 449 KB, whereas typical minutely diffs are usually under 100 KB. This size anomaly might be related to the import failure. I’m going to investigate further on the Imposm side to understand why this isn’t appearing in the vector tiles.
This leads me to suspect that during the full data import Imposm may be running out of memory, causing some objects not to be imported. Right now we are using only a single Hetzner server for several services, including tiler-production and tiler-staging, so I am considering using a dedicated server with significantly more capacity specifically for the import process.
Before using a new, larger instance to import the data to tiler DB, I disabled the ohmx container since it’s another container that consumes a large amount of resources such as memory and CPU in the same server.
I’ve updated the imposmcontainer with newer versions of Go, Python, and other dependencies.
I’ve removed the table generalization process for all layers. This is part of a strategic effort to reduce the load on imposm during import. As a replacement, I’ve created new hierarchical materialized views.
With these changes, I ran the import again and confirmed that all administrative relations were successfully imported into the database.
To verify whether all relations were included, I ran the following query:
SELECTcount(*) FROM osm_relation_members_boundaries WHERE member=201780625;
In production, it returns 85 relations associated with this way, which is incorrect.
Activity
Rub21 commentedon Jan 2, 2026
I confirm that this relation https://www.openhistoricalmap.org/relation/2801037 is not appearing in the vector tiles.
I checked the minutely replication files—the relation 2801037 is present in the minute file as modified:
https://planet.openhistoricalmap.org/replication/minute/001/882/463.osc.gz, script to find it . The minutely replication system is working correctly and is emitting the data as expected.
However, this relation is not present in the vector tile database. One thing to note: this replication file is unusually large—approximately 449 KB, whereas typical minutely diffs are usually under 100 KB. This size anomaly might be related to the import failure. I’m going to investigate further on the Imposm side to understand why this isn’t appearing in the vector tiles.
Rub21 commentedon Jan 5, 2026
I have been working on understanding why some boundaries were not being imported. I updated the data format and refreshed some outdated tags in imposm . After these changes, the boundary that was originally [missing]((https://www.openhistoricalmap.org/relation/2801037) for this issue now appears correctly in the tiler database, but while digging further I found other boundaries still do not appear.
The relation https://www.openhistoricalmap.org/relation/2846275 (British Empire 1939-1940, type=boundary, admin_level=1, 1783 members) was not appearing in the PostgreSQL/PostGIS database. In contrast, the nearby relation https://www.openhistoricalmap.org/relation/2846273 (British Empire 1942-1943, similar tags, 1385 members) was imported correctly.
At the same time, I created a filtered PBF containing only boundaries from the original planet extract, which produced a much lighter file with just boundary data, available at http://planet-staging.openhistoricalmap.org.s3.amazonaws.com/boundaries/boundaries_admin.osm.pbf. I ran an import using this file, and with this boundaries-only PBF both missing British Empire relations are now imported correctly, as well as relation 2801037 .This might also explain some of the other issues where certain objects are missing.
This leads me to suspect that during the full data import Imposm may be running out of memory, causing some objects not to be imported. Right now we are using only a single Hetzner server for several services, including tiler-production and tiler-staging, so I am considering using a dedicated server with significantly more capacity specifically for the import process.
Rub21 commentedon Jan 9, 2026
With these changes, I ran the import again and confirmed that all administrative relations were successfully imported into the database.
To verify whether all relations were included, I ran the following query: