gravitystorm / openstreetmap-carto

A general-purpose OpenStreetMap mapnik style, in CartoCSS
Other
1.53k stars 818 forks source link

land polygons missing, seeing blue water where land should be #3023

Closed d3netxer closed 6 years ago

d3netxer commented 6 years ago

I have downloaded a .pbf of bangladesh from geofabrik and successfully imported into PostGIS and ran the get-shapefile scripts with an up to date version of the openstreetmap-carto layer.

I am testing locally using kosmtik, as you can see in the screenshot, it is blue where there is supposed to be land. Any ideas what the issue might be? I am not sure if kosmtik is causing this or openstreetmap-carto. Thanks.

screenshot from 2018-01-16 19-00-18

matkoniecz commented 6 years ago

It seems that something went wrong with shapefiles.

Can you delete shapefiles, rerun download script (and look closely is it reporting any problems) and check how map looks again?

d3netxer commented 6 years ago

I deleted the shapefiles and downloaded new ones using the download script. It downloaded the shapefiles successfully with no errors. I also was able to open the shapefiles in QGIS and they show up good. I still cannot see them displayed when using kosmtik

kocio-pl commented 6 years ago

Which exact file did you download? I get this PBF (md5sum: 593eb5629d20ca763ccb7ee3fee51fef), I have also updated shapefiles with a script and it's working good in Kosmtik.

You may try with some other country with small amount of data to check if the problem will strike again or look if the same place without data will be also flooded or not. The more testing different things, the better.

matkoniecz commented 6 years ago

I deleted the shapefiles and downloaded new ones using the download script. It downloaded the shapefiles successfully with no errors.

Please, post log of download script and kosmtik log to http://gist.github.com/ and post links here

matkoniecz commented 6 years ago

ping @d3netxer - can you post link to logs?

matkoniecz commented 6 years ago

Closing due to no response (please post logs once it will be possible for you and I will reopen this issue).

d3netxer commented 6 years ago

hi @mackerski do you have any idea how I can retrieve my logs for kosmtik? Thanks

d3netxer commented 6 years ago

hi @mackerski and everyone. Today I tried running the Docker files and it was working great. I then tried installing everything manually using the Docker files as a blueprint, and it was working great. I am not sure what the difference was, I guess it could have been any number of things, including installing nodejs, kosmtik, and postgis using different commands. Thanks