[OSM-talk] Question about gps coordinates 001W0547 convert to -1.0547

Marc Coevoet sintsixtus at gmail.com
Fri Jul 31 17:40:56 BST 2009


Frederik Ramm schreef:
> Hi,
>
> Marc Coevoet wrote:
>> Nice, I was thinking about looking for my shell prog book, and trying 
>> awk & some manips on the degrees and minutes, as there is no number > 59 
>
> In that case I'd use a famous write-only language and do something like
>
> % perl -ne '/(\d\d\d)(E|W)(\d\d)(\d\d),(\d\d)(N|S)(\d\d)(\d\d)/; 
> printf "%07.5f,%07.5f\n", ($1 + $3/60 + $4/3600)*($2 eq "E"?1:-1), ($5 
> + $7/60 + $8/3600)*($6 eq "N"?1:-1);' < input.txt > output.txt
>
> Bye
> Frederik
>
>


Many thanks, I made a csv / ov2 file POI for the FM transmitter sites in 
the EU (20544 stations, see:
http://users.fulladsl.be/~spb13810/ukweu/

(I did not see many reactions to my question about putting these into 
osm ..)

On a Tomtom, it works like, this:
http://users.fulladsl.be/~spb13810/service/  (bad pictures, I know ..)

The TT is the only system I know of that will handle your own POIs like 
the standard ones, and will allow a location search and then show you 
the POIs, closest first..

I have Tomtom, navman, michelin, VDO, ign.fr, but no garmiin, and maybe 
that's the one to fetch if osm maps work with garmin ;-)


Marc


-- 
Shortwave transmissions in English, Francais, Deutsch, Suid-Afrikaans, Urdu, Cantonese, Greek, Spanish, Portuguese, ...
http://users.fulladsl.be/spb13810/radio/swlist/   
Stations list: http://users.fulladsl.be/spb13810/radio/txlist/





More information about the talk mailing list