openmaptiles
openmaptiles copied to clipboard
Some borders with admin_level <= 2 are missing.
How to reproduce the problem:
git clone https://github.com/openmaptiles/openmaptiles.git
cd openmaptiles
make
./quickstart.sh taiwan
The output mbtiles should be like this:

The correct mbtiles should be like this:(maptiler-osm-2017-07-03-v3.6.1-planet.mbtiles downloaded from maptiler.com)

You can see some borders are missing. Any idea to fix the problem? Thanks
Usually this occurs when the bounding polygon used by geofabrik extracts clips part of the boundary. You should email [email protected] to get this corrected on their side.
Usually this occurs when the bounding polygon used by geofabrik extracts clips part of the boundary. You should email [email protected] to get this corrected on their side.
Clipping polygon used by Geofabrik.de:

The boundary seems to remain completed in the pbf file:

It seems that it`s not Geofabrik`s problem.
Thanks for the analysis, we'll need to dig deeper.
It appears that the issue is that there are several islands in the Taiwan boundary relation that are well outside the data file clipping area:

Unfortunately, imposm will drop objects that are not fully present in the source data file, which is why you're seeing this issue.
I have done 2 cuts for the area @hr0109 is looking at using an older clone of the repository (from 2 weeks ago) and a latest clone from last night. Here is the result:
Old code from 2 weeks ago:

Latest code:

Were there some changes with import-borders?
Yes, #1213
Could you please also check, if the borders are correctly imported into the database? Just trying to figure out, if the borders are not imported into the database (by import-osm) or are dropped by SQL in the boundary layer.