
Hi, I have a problem with the rendering of Lake Geneva. I do not know how long. I just make a country (France) and this may be the problem. View in QLandKarteGT : http://tuxdomain.darktech.org/osm-garmin/view.php?file=France/LacL%C3%A9man.... I thought it was because "water = lake" was missing in the water_polygons file, but the result is the same when added (water=lake [0x03c resolution 18]). "water = lake" is not present in default style. Is there a reason ? Do you have suggestions ? Priority draw order ? Because of the border cutting ? A relation and not a polygon ? Steph

Hi Steph, my guess this is the problem of cutting data at the border. Did you use some tools like osmosis with bounding polygon? It looks like the lake was cut with the border, but border is not added to polygon shape. There is straight line instead, which moves water on wrong side of coast line. If you cut data with an option to preserve whole objects, then you will still get some problems, like for example whole lake but missing all data on an islands outside the border. The best solution I have found is to use bigger area (like full Europe in your case) and bounding polygon in splitter. This way you get all tiles filed with proper data, even outside bounding border. -- Best regards, Andrzej

Hi, I don't use osmosis but osmconvert, from a script by Paco Tyson which includes french addresses (from BANO database). But without I obtain the same result. The scripts use "--precom-sea sea.zip" and "--bounds bounds.zip". I will try with a .poly file including the whole lake. Will report if it is OK, or not ! Thank you ! Best regards, Steph
Hi Steph,
my guess this is the problem of cutting data at the border.
Did you use some tools like osmosis with bounding polygon? It looks like the lake was cut with the border, but border is not added to polygon shape. There is straight line instead, which moves water on wrong side of coast line.
If you cut data with an option to preserve whole objects, then you will still get some problems, like for example whole lake but missing all data on an islands outside the border. The best solution I have found is to use bigger area (like full Europe in your case) and bounding polygon in splitter. This way you get all tiles filed with proper data, even outside bounding border.
-- Best regards, Andrzej

I have had the same problem with the Germany extract from Geofabrik (the Bodensee and part of the Rhine was empty). Caused by incomplete multipolygons at the border regions due to the cutting. I download those complete relations with overpass and add them to the germany-latest.osm.pbf with osmconvert: %DIR%\tools\wget.exe "http://overpass-api.de/api/interpreter?data=(relation(1685222);node(r)->.nodes;way(r);node(w););out meta;" -O "%DIR%\resources\rhein.osm" %DIR%\tools\wget.exe "http://overpass-api.de/api/interpreter?data=(relation(1156846);node(r)->.nodes;way(r);node(w););out meta;" -O "%DIR%\resources\bodensee.osm" %DIR%\tools\osmconvert.exe --drop-version %DIR%\%date%\Splitter\germany-latest.osm.pbf %DIR%\resources\rhein.osm %DIR%\resources\bodensee.osm --complex-ways -o=%DIR%\%date%\Splitter\DE.o5m

It's a good idea ! I planned to download Switzerland, merge it with France, apply a poly… I'll try your way. Thank you ! Steph Le 12/10/2016 à 18:52, Minko a écrit :
I have had the same problem with the Germany extract from Geofabrik (the Bodensee and part of the Rhine was empty). Caused by incomplete multipolygons at the border regions due to the cutting. I download those complete relations with overpass and add them to the germany-latest.osm.pbf with osmconvert:
%DIR%\tools\wget.exe "http://overpass-api.de/api/interpreter?data=(relation(1685222);node(r)->.nodes;way(r);node(w););out meta;" -O "%DIR%\resources\rhein.osm" %DIR%\tools\wget.exe "http://overpass-api.de/api/interpreter?data=(relation(1156846);node(r)->.nodes;way(r);node(w););out meta;" -O "%DIR%\resources\bodensee.osm" %DIR%\tools\osmconvert.exe --drop-version %DIR%\%date%\Splitter\germany-latest.osm.pbf %DIR%\resources\rhein.osm %DIR%\resources\bodensee.osm --complex-ways -o=%DIR%\%date%\Splitter\DE.o5m

Thank you Minko ! This works fine :-) Best regards. Steph Le 12/10/2016 à 18:52, Minko a écrit :
I have had the same problem with the Germany extract from Geofabrik (the Bodensee and part of the Rhine was empty). Caused by incomplete multipolygons at the border regions due to the cutting. I download those complete relations with overpass and add them to the germany-latest.osm.pbf with osmconvert:
%DIR%\tools\wget.exe "http://overpass-api.de/api/interpreter?data=(relation(1685222);node(r)->.nodes;way(r);node(w););out meta;" -O "%DIR%\resources\rhein.osm" %DIR%\tools\wget.exe "http://overpass-api.de/api/interpreter?data=(relation(1156846);node(r)->.nodes;way(r);node(w););out meta;" -O "%DIR%\resources\bodensee.osm" %DIR%\tools\osmconvert.exe --drop-version %DIR%\%date%\Splitter\germany-latest.osm.pbf %DIR%\resources\rhein.osm %DIR%\resources\bodensee.osm --complex-ways -o=%DIR%\%date%\Splitter\DE.o5m
participants (3)
-
Andrzej Popowski
-
Minko
-
Stéphane MARTIN