Hi WanMil,

the comment says that something was not found, so the center of an area is
taken. I assume this happens only in the patched version because that
deletes this "something".

Gerd


WanMil wrote
> 
> Hi Gerd,
> 
> yes but why is it generated in the patched version and not in the 
> unpatched? The patch only removes elements but does not add any...
> 
> WanMil
> 
>> Hi WanMil,
>>
>> I guess this is generated in this part of POIGeneratorHook.java:
>>              if (poiCoord == null) {
>>                      // did not find any label coord
>>                      // use the common center point of the area
>>                      poiCoord = polygon.getCofG();
>>              }
>>              
>>              Node poi = createPOI(polygon, poiCoord, AREA2POI_TAG);
>>
>> Ciao,
>> Gerd
>>
>> --
>> View this message in context:
>> http://gis.638310.n2.nabble.com/PATCH-v1-Performance-improvement-by-removing-unused-elements-before-the-style-processing-tp7144978p7155869.html
>> Sent from the Mkgmap Development mailing list archive at Nabble.com.
>> _______________________________________________
>> mkgmap-dev mailing list
>> [email protected]
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 
> _______________________________________________
> mkgmap-dev mailing list
> [email protected]
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 


--
View this message in context: 
http://gis.638310.n2.nabble.com/PATCH-v1-Performance-improvement-by-removing-unused-elements-before-the-style-processing-tp7144978p7155950.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to