logo separator

[mkgmap-dev] SeaGenerator in overview2 branch

From GerdP gpetermann_muenchen at hotmail.com on Fri May 17 06:57:12 BST 2013

Hi Felix,

I noticed that the problems occur with a polygon of type 0x4a.
This type is treated special in some routines and I think it should
not be used in the style. For example in the
PolygonSubdivSizeSplitterFilter:
		// do not cut the background shape
		if (shape.getType() == 0x4a)
			return true; 

Maybe that helps...

Gerd


Felix Hartmann-2 wrote
> Hi Gerd, no.
> 
> I just went back to 2594 - still the same problem. I'll have to check 
> what line in my style-file is responsible for this. (I think it's in the 
> lines file for the first part, the last lines of the error are in the 
> points part). Strangely I only have this error on Australia-Oceania - no 
> other country...
> 
> Will take some while though, as I'm just lying with fever in my bed, and 
> cannot concentrate very well...
> On 16.05.2013 17:54, Gerd Petermann wrote:
>> Hi Felix,
>>
>> maybe the change in PolygonSubdivSizeSplitterFilter.java is the problem.
>> Please try to change the line 112 from
>>         return shape.getBounds().getMaxDimension() <= 
>> Math.max(maxSize, 0x8000);
>> back to
>>         return shape.getBounds().getMaxDimension() < maxSize;
>>
>> Does that fix the problem?
>>
>> Gerd
> 
> 
> _______________________________________________
> mkgmap-dev mailing list

> mkgmap-dev at .org

> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev





--
View this message in context: http://gis.19327.n5.nabble.com/SeaGenerator-in-overview2-branch-tp5761296p5761428.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list