Vorlage:Coordinate to DMS for maps
Aus VolynWiki
{{#ifexpr:(0)>500000 |{{#expr:abs(0 round 0) mod 180}}° |{{#ifexpr:(0)> 10000 |{{#expr:abs(60*0 round 0)/60 mod 180}}° {{#expr:abs(60*0 round 0) mod 60}}′ |{{#expr:abs(3600*0 round
(2-2*((1)=1)-((0)>250)-((0)>25)))/3600 mod 180}}° {{#expr:abs(3600*0 round (2-2*((1)=1)-((0)>250)-((0)>25)))/60 mod 60}}′ {{#expr:abs(360.000*0 round ( -2*((1)=1)-((0)>250)-((0)>25))) mod 6.000 div 100}}″
}} }} {{#ifexpr:(0)<0|S|N}}{{#ifexpr:abs(0)<90|, {{#ifexpr:(0)>500000 |{{#expr:abs(0 round 0) mod 360}}° |{{#ifexpr:(0)> 10000 |{{#expr:abs(60*0 round 0)/60 mod 360}}° {{#expr:abs(60*0 round 0) mod 60}}′ |{{#expr:abs(3600*0 round
(2-2*((1)=1)-((0)>250)-((0)>25)))/3600 mod 360}}° {{#expr:abs(3600*0 round (2-2*((1)=1)-((0)>250)-((0)>25)))/60 mod 60}}′ {{#expr:abs(360.000*0 round ( -2*((1)=1)-((0)>250)-((0)>25))) mod 6.000 div 100}}″
}} }}{{#ifexpr:0<0|W|O}}}}