Re: [mkgmap-dev] Lake Geneva

2016-10-13 Thread Stéphane MARTIN
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

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Lake Geneva

2016-10-12 Thread Stéphane MARTIN
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

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Lake Geneva

2016-10-12 Thread Minko
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
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Lake Geneva

2016-10-12 Thread Stéphane MARTIN
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

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Lake Geneva

2016-10-11 Thread Andrzej Popowski

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
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Lake Geneva is dry - fixed

2015-01-06 Thread thesurveyor

Ive tested the new europe extract from this night. And now it works.

Many thanks again to Hanspeter.



Regards,

Gert





Gesendet:Montag, 05. Januar 2015 um 12:23 Uhr
Von:thesurve...@wolke7.net
An:mkgmap-dev@lists.mkgmap.org.uk
Betreff:Re: [mkgmap-dev] Lake Geneva is dry - fixed




Thank you very much, Hanspeter



Ill download the new file next night and rebuild my map. Ill keep you informed about the result.



One more question about that: how did you find the corrupt multipolygon?

Im currently not able to find such things, but perhaps if I get some hints how to do that, I can learn it :-)



Regards,

Gert













Gesendet:Montag, 05. Januar 2015 um 03:03 Uhr
Von:Hanspeter Gysin (bluewin) hanspeter.gy...@bluewin.ch
An:Development list for mkgmap mkgmap-dev@lists.mkgmap.org.uk
Betreff:[mkgmap-dev] Lake Geneva is dry - fixed






fixed a corrupt multipolygon section at Chteau de Glrolles (west of Saint-Saphorin).



unfortunately the tile in question is too large for download by overpass api

and the verification is not possible before 6th of january when europe-latest.osm.pfb at geofabrik is updated.



Hanspeter



___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev









___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Lake Geneva is dry - fixed

2015-01-05 Thread thesurveyor

Thank you very much, Hanspeter



Ill download the new file next night and rebuild my map. Ill keep you informed about the result.



One more question about that: how did you find the corrupt multipolygon?

Im currently not able to find such things, but perhaps if I get some hints how to do that, I can learn it :-)



Regards,

Gert













Gesendet:Montag, 05. Januar 2015 um 03:03 Uhr
Von:Hanspeter Gysin (bluewin) hanspeter.gy...@bluewin.ch
An:Development list for mkgmap mkgmap-dev@lists.mkgmap.org.uk
Betreff:[mkgmap-dev] Lake Geneva is dry - fixed






fixed a corrupt multipolygon section at Chteau de Glrolles (west of Saint-Saphorin).



unfortunately the tile in question is too large for download by overpass api

and the verification is not possible before 6th of january when europe-latest.osm.pfb at geofabrik is updated.



Hanspeter



___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev








___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Lake Geneva is dry - fixed

2015-01-05 Thread Carlos Dávila

El 05/01/15 a las 12:23, thesurve...@wolke7.net escribió:

One more question about that: how did you find the corrupt multipolygon?
I'm currently not able to find such things, but perhaps if I get some 
hints how to do that, I can learn it :-)
In general I would download the multipolygon in JOSM, check it with the 
validator tool and fix using the info from validator output.

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Lake Geneva is dry: how to find the error?

2015-01-04 Thread thesurveyor

Hi,



one more hint.

I tested the OpenMTBmap from Felix (Alps) from today. There the Lake Geneve is dry too - another part, but I assume that depends on the tiles.



Regards,

Gert









Gesendet:Sonntag, 04. Januar 2015 um 22:07 Uhr
Von:thesurve...@wolke7.net
An:mkgmap-dev@lists.mkgmap.org.uk
Betreff:[mkgmap-dev] Lake Geneva is dry: how to find the error?




Hi,


today I tried to build a new version of a map which I created last November. Its a map of the area around Lake Geneva. I have the working environment from November available, so I thought I can reuse it.



I created the map out of an europe extract from Geofabrik and I downloaded today the current extract and started the build. All the other things (the build script with parameters, sea-file, bounds-file) stayed the same as in November.
All went fine until I had a look at the map - Lake Geneva is dry (see attached screenshot). The grey lines in the screenshot show the tiles of the map (from splitter). All other things like routing seem to work as aspected and all other lakes around are ok too (at least those which I have checked.



I updated my environment to the actual versions but the result is the same.

Now I use
mkgmap: r3392
splitter: r416
precompiled sea: sea_20141027.zip
precompiled bounds: bounds_20141027.zip

pbf: europe-150103.osm.pbf from Geofabrik





At this time I dont have an idea how to search for the error. It would be fine if someone of the list could give me an hint how to start with searching. What do you think: is it a data problem? splitter problem? mkgmap-problem? style-problem? what else?




Regards,
Gert








___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev