logo separator

[mkgmap-dev] FW: Lines distorted

From Gerd Petermann gpetermann_muenchen at hotmail.com on Fri Jan 30 08:03:38 GMT 2015


From: gpetermann_muenchen at hotmail.com
To: daveswarthout at gmail.com
Subject: RE: [mkgmap-dev] Lines distorted
Date: Fri, 30 Jan 2015 09:02:45 +0100




Hi Dave,

up to now the reduce-point-xxx options are used for the DouglasPeuckerFilter
which smoothes lines at lower resolutions. They are ignored for resolution 24,
in which the WrongAngleFixer is used to guess how an object can be placed on
the Garmin raster so that it looks as much as possible like the OSM described by
the OSM data. If you want to play with that:
The WrongAngleFixer has a few constants,
e.g. you may increase the value 
MAX_DIFF_ANGLE_STRAIGHT_LINE = 3;
or change the method calcMaxErrorDistance()
to allow larger errors.

Gerd



From: daveswarthout at gmail.com
Date: Fri, 30 Jan 2015 07:14:07 +0700
To: mkgmap-dev at lists.mkgmap.org.uk
Subject: Re: [mkgmap-dev] Lines distorted

I want to continue Enrico's questioning a bit. I have a similar issue with the way polygons display on my Garmin device. What appears as a smooth curve on the OSM slippy map are very blocky on the device. I have played with the reduce-point-density=4 and reduce-point-density-polygon=8 parameters in an attempt to smooth those curves but they seem to have no effect. I can live with the distortion but I wonder, what do these two parameters actually control?
Cheers,Dave
On Fri, Jan 30, 2015 at 12:22 AM, Andrzej Popowski <popej at poczta.onet.pl> wrote:
Hi Enrico,



Garmin maps have limited resolution, about 2.4m. One can't draw precisely a line, which length is near to this resolution.



You can try to assign the same Garmin object type to all these segments, then probably mkgmap will be able to merge them and smooth.



-- 

Best regards,

Andrzej



_______________________________________________

mkgmap-dev mailing list

mkgmap-dev at lists.mkgmap.org.uk

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



-- 
Dave Swarthout
Homer, Alaska
Chiang Mai, Thailand
Travel Blog at http://dswarthout.blogspot.com


_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150130/50c5eabf/attachment.html>


More information about the mkgmap-dev mailing list