logo separator

[mkgmap-dev] [PATCH v1] Check size of polygons to avoid exceeding subdivision size

From WanMil wmgcnfg at web.de on Fri Jul 29 19:27:07 BST 2011

Hi list,

could anyone else please try the patch?
The best situation would be if you compile a map without this patch and 
you observe the "Area too small to split" messages and see some data 
missing in the map.
Then compile the map again using the patch and have a look if you still 
see the "Area..." message and if the data is still missing.

Thanks!
WanMil

> Hi Nop,
>
> I am still curious if the patch improves the subdivision creation or
> not. It would be great if you can answer my questions so that I can
> estimate if it makes sense to continue with my first approach.
>
> WanMil
>
>> Hi Nop,
>>
>> please post your options file and your style file (if you don't use the
>> mkgmap default style). Both have an influence on the map creation which
>> also means that they influcence which data is used to build the
>> subdivisions.
>>
>>
>>
>>> I have tried the patch - unfortunately it had no effect. The number of errors
>>> remained the same.
>>>
>>> I don't understand why the problem did not show on your side considering
>>> that it is quite devastating here and we are both using the same code r1970
>>> + patch.
>>>
>>> Here's the list of problems reported by my instance. The error message is
>>> preceded by some debug output, giving the shape size that causes the error.
>>
>> So you added some error messages to the code (Max region size exceeded,
>> Area max dimension)? Please check if these are the only changes and post
>> a patch with your error messages so that I can fully understand where
>> the problem occurs.
>>
>> WanMil
>>
>>
>>>
>>> bye
>>>                   Nop
>>>
>>>
>>> java -Xmx1200M -jar C:\Map\mkgmap_local\mkgmap.jar --tdbfile
>>> --preserve-element-order -c p:\Daten\osmc_options
>>>
>>> SCHWERWIEGEND (MapSplitter):
>>> p:\Daten\Portugal_Problem_-0073_0378_6_11_garmin.osm.gz: Max region size
>>> exceeded: 0 + 0 + 136900>    65528
>>> SCHWERWIEGEND (MapSplitter):
>>> p:\Daten\Portugal_Problem_-0073_0378_6_11_garmin.osm.gz: Area max dimension
>>> 7
>>> SCHWERWIEGEND (MapSplitter):
>>> p:\Daten\Portugal_Problem_-0073_0378_6_11_garmin.osm.gz: Area too small to
>>> split at http://www.openstreetmap.org/?mlat=38.31677&mlon=-7.26628&zoom=17
>>> (reduce the density of points, length of lines, etc.)
>>> SCHWERWIEGEND (MapSplitter):
>>> p:\Daten\Portugal_Problem_-0073_0378_6_11_garmin.osm.gz: Max region size
>>> exceeded: 0 + 0 + 136900>    65528
>>> SCHWERWIEGEND (MapSplitter):
>>> p:\Daten\Portugal_Problem_-0073_0378_6_11_garmin.osm.gz: Area max dimension
>>> 7
>>> SCHWERWIEGEND (MapSplitter):
>>> p:\Daten\Portugal_Problem_-0073_0378_6_11_garmin.osm.gz: Area too small to
>>> split at http://www.openstreetmap.org/?mlat=38.31677&mlon=-7.26628&zoom=17
>>> (reduce the density of points, length of lines, etc.)
>>> SCHWERWIEGEND (MapSplitter):
>>> p:\Daten\Portugal_Problem_-0073_0378_6_11_garmin.osm.gz: Max region size
>>> exceeded: 0 + 0 + 136900>    65528
>>> SCHWERWIEGEND (MapSplitter):
>>> p:\Daten\Portugal_Problem_-0073_0378_6_11_garmin.osm.gz: Area max dimension
>>> 7
>> _______________________________________________
>> mkgmap-dev mailing list
>> mkgmap-dev at lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev




More information about the mkgmap-dev mailing list