Re: [mkgmap-dev] Broken coastline errors between V1188 and V1398

2009-11-25 Thread Michael.TheBlackCat
Hi Chris,

thanks for your well done work. I tested your script with mkgmap V 1398 
and the daily download from

http://download.geofabrik.de/osm/europe/germany/schleswig-holstein.osm.bz2

After building, i see the complete coastline as before in version 1188 
of mkgmap. Now i don't know what to do in the next step. A nice variant 
would be a code extension for mkgmap with such behavior.  Who of the 
mean mkgmap developers is able to support such code extension? Or is it 
a minor functionality/behavior which should never be implemented?

cheers

Michael



Chris-Hein Lunkhusen schrieb:
>>> I can confirm that this problem exists in the newer versions of mkgmap.
>>> Some coastlines are missing in the map.
>>>   
>
>   
>> After playing a little bit with the data, I think it is the
>> MP code thats causing the coastline to disappear.
>>
>> It seems that the error occurs, when a coastline is member
>> of to many boundary-multipolygons. In my test the coastline
>> was disappearing when beeing member of more than two
>> boundary-MPs.
>>
>> So as a workaround: I think for boundary-multipolygons the
>> multi-MP handling is not neccecary at all, because
>> boundaries (normally) are rendered as lines and not as
>> areas.
>> 
>
> I hacked a little OSM preprocessor in vb.net (don't speak java)
> which does the following:
>
> change type from multipolygon to boundarypolygon for all
> MPs with no inner-elements. This eliminates the MP
> processing for those boundary polygons.
>
> If someone want's to get it, -> mail me.
>
> Chris
>
> ___
> 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] Broken coastline errors between V1188 and V1398

2009-11-24 Thread Michael.TheBlackCat
Chris-Hein Lunkhusen schrieb:
> Chris-Hein Lunkhusen schrieb:
>   
>> Michael.TheBlackCat schrieb:
>>
>> 
>>> i recognized  broken coastline errors between the mkgmap verion 1188 and
>>> 1398. Please refer to the appended  jpegs (my coastline is a little bit
>>> thicker ti identify the sea area).
>>>   
>> Hi Michael,
>> I can confirm that this problem exists in the newer versions of mkgmap.
>> Some coastlines are missing in the map.
>>
>> Dunno if this has something to do with the changes in the multipolygon
>> code.
>> 
>
> After playing a little bit with the data, I think it is the
> MP code thats causing the coastline to disappear.
>
> It seems that the error occurs, when a coastline is member
> of to many boundary-multipolygons. In my test the coastline
> was disappearing when beeing member of more than two
> boundary-MPs.
>
> So as a workaround: I think for boundary-multipolygons the
> multi-MP handling is not neccecary at all, because
> boundaries (normally) are rendered as lines and not as
> areas.
>
> Chris
>
>   

Hi Chris,
 
thanks for your help and work. But now, i don't  know what make to do. I 
noticed your last message with the vb script. You can send me the script 
and i attempt to test it with the latest version of mkgmap, but i use a 
linux-server for rendering, i hope, it works out. My email address is: 
michael.theblack...@googlemail.com

Cheers,


Michael




> ___
> 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] Broken coastline errors between V1188 and V1398

2009-11-24 Thread Chris-Hein Lunkhusen
>> I can confirm that this problem exists in the newer versions of mkgmap.
>> Some coastlines are missing in the map.

> After playing a little bit with the data, I think it is the
> MP code thats causing the coastline to disappear.
> 
> It seems that the error occurs, when a coastline is member
> of to many boundary-multipolygons. In my test the coastline
> was disappearing when beeing member of more than two
> boundary-MPs.
> 
> So as a workaround: I think for boundary-multipolygons the
> multi-MP handling is not neccecary at all, because
> boundaries (normally) are rendered as lines and not as
> areas.

I hacked a little OSM preprocessor in vb.net (don't speak java)
which does the following:

change type from multipolygon to boundarypolygon for all
MPs with no inner-elements. This eliminates the MP
processing for those boundary polygons.

If someone want's to get it, -> mail me.

Chris

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


Re: [mkgmap-dev] Broken coastline errors between V1188 and V1398

2009-11-19 Thread Chris-Hein Lunkhusen
Chris-Hein Lunkhusen schrieb:
> Michael.TheBlackCat schrieb:
> 
>> i recognized  broken coastline errors between the mkgmap verion 1188 and
>> 1398. Please refer to the appended  jpegs (my coastline is a little bit
>> thicker ti identify the sea area).
> 
> Hi Michael,
> I can confirm that this problem exists in the newer versions of mkgmap.
> Some coastlines are missing in the map.
> 
> Dunno if this has something to do with the changes in the multipolygon
> code.

After playing a little bit with the data, I think it is the
MP code thats causing the coastline to disappear.

It seems that the error occurs, when a coastline is member
of to many boundary-multipolygons. In my test the coastline
was disappearing when beeing member of more than two
boundary-MPs.

So as a workaround: I think for boundary-multipolygons the
multi-MP handling is not neccecary at all, because
boundaries (normally) are rendered as lines and not as
areas.

Chris

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


Re: [mkgmap-dev] Broken coastline errors between V1188 and V1398

2009-11-17 Thread Chris-Hein Lunkhusen
Michael.TheBlackCat schrieb:

> i recognized  broken coastline errors between the mkgmap verion 1188 and
> 1398. Please refer to the appended  jpegs (my coastline is a little bit
> thicker ti identify the sea area).

Hi Michael,
I can confirm that this problem exists in the newer versions of mkgmap.
Some coastlines are missing in the map.

Dunno if this has something to do with the changes in the multipolygon
code.

On your map
http://www.openstreetmap.org/browse/way/38619137
seems to be missing while
http://www.openstreetmap.org/browse/way/32230281
is ok.

Both having the same tags and beeing member of
the same 3 relations.

Very strange

Chris

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