logo separator

[mkgmap-dev] copyright and check roundabouts improvements

From Gerd Petermann GPetermann_muenchen at hotmail.com on Mon Jan 9 06:22:43 GMT 2017

Hi Mike,

I've noticed that the warning messages distinguish between "road" and "highway". This happens since 3693 and I am not sure
what the difference is (if there is any).
Can you explain?

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Mike Baggaley <mike at tvage.co.uk>
Gesendet: Freitag, 6. Januar 2017 16:35:29
An: 'Development list for mkgmap'
Betreff: Re: [mkgmap-dev] copyright and check roundabouts improvements

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 at hotmail.com]
Sent: 06 January 2017 09:01
To: Development list for mkgmap <mkgmap-dev at lists.mkgmap.org.uk>
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 lists.mkgmap.org.uk> im Auftrag von Gerd
Petermann <GPetermann_muenchen at hotmail.com>
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 lists.mkgmap.org.uk> im Auftrag von Mike
Baggaley <mike at tvage.co.uk>
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 lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



More information about the mkgmap-dev mailing list