[mkgmap-dev] copyright and check roundabouts improvements
From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat Jan 7 16:43:17 GMT 2017
Hi Mike, I'd like to understand the problem with the compacted headings first before I commit the patch. I don't know for sure why mkgmap uses 6378137 instead of 6371000. It seems to be the value used in the WGS 84 projection. @Steve: It seems rationale to use the mean value everywhere. What do you think? Gerd Mike Baggaley wrote > HI Gerd, please find attached an updated patch that attributes the source > of > the new Coord.offset method, moves 6371000 to a constant and adds a unit > test. > > I note that http://www.movable-type.co.uk/scripts/latlong.html suggests > 6371000 as the mean radius of the earth to be used in calculations, but > that > elsewhere the code uses 6378137 which is the radius at the equator. The > difference is only 0.1%, but is there a reason why the existing code uses > the equatorial figure? > > Cheers, > Mike > > -----Original Message----- > From: Gerd Petermann [mailto: > GPetermann_muenchen@ > ] > Sent: 06 January 2017 09:01 > To: Development list for mkgmap < > mkgmap-dev at .org > > > Subject: Re: [mkgmap-dev] copyright and check roundabouts improvements > > Hi Mike, > > quite complex code. Did you find the formular in Coord.offset() on your > own? > If not, please add a comment with the source, I guess it is > "Destination point given distance and bearing from start point" at > http://www.movable-type.co.uk/scripts/latlong.html > which is mentioned at the top commant in Coord.java ? > > Please add a named constant for 6371000 and a unit test. > > Gerd > > > ________________________________________ > Von: mkgmap-dev < > mkgmap-dev-bounces at .org > > im Auftrag von Gerd > Petermann < > GPetermann_muenchen@ > > > Gesendet: Freitag, 6. Januar 2017 09:20:52 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] copyright and check roundabouts improvements > > Hi Mike, > > thanks for the reminder, it seems I forgot it :-( > I'll have a look today. > > Gerd > > > ________________________________________ > Von: mkgmap-dev < > mkgmap-dev-bounces at .org > > im Auftrag von Mike > Baggaley < > mike at .co > > > Gesendet: Freitag, 6. Januar 2017 09:07:04 > An: 'Development list for mkgmap' > Betreff: [mkgmap-dev] copyright and check roundabouts improvements > > HI Gerd, have you made any progress on testing the two patches on > copyright > reader improvements and checking roundabouts that I posted before > Christmas > (attached)? > > Cheers, > Mike > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at .org > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at .org > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > > roundabouts3.patch (16K) > <http://gis.19327.n8.nabble.com/attachment/5888836/0/roundabouts3.patch> -- View this message in context: http://gis.19327.n8.nabble.com/copyright-and-check-roundabouts-improvements-tp5888810p5888930.html Sent from the Mkgmap Development mailing list archive at Nabble.com.
- Previous message: [mkgmap-dev] copyright and check roundabouts improvements
- Next message: [mkgmap-dev] copyright and check roundabouts improvements
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list