Test Hans 12: verschil tussen versies

 
(4 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 2: Regel 2:
 
{{#vardefine:varAng|175*pi/180}}
 
{{#vardefine:varAng|175*pi/180}}
   
{{#vardefine:varN|5}}
+
{{#vardefine:varN|{{#explode:{{PAGENAME}}| |-1}}}}
  +
n = {{#var:varN}}
   
 
{{#vardefine:varX|{{#expr: {{#var:varRad}} * sin( {{#var:varN}} * {{#var:varAng}} )}}}}
 
{{#vardefine:varX|{{#expr: {{#var:varRad}} * sin( {{#var:varN}} * {{#var:varAng}} )}}}}
Regel 19: Regel 20:
 
{{#vardefine:varGCY|{{#sub:{{#var:varGC}}|{{#expr:{{#pos:{{#var:varGC}}|,}}+1}}|0}}}}
 
{{#vardefine:varGCY|{{#sub:{{#var:varGC}}|{{#expr:{{#pos:{{#var:varGC}}|,}}+1}}|0}}}}
 
-->
 
-->
{{#vardefine:varGCX|{{#explode:{{#var:varGC}}|,|1}}}}
+
{{#vardefine:varGCX|{{#explode:{{#var:varGC}}|,|0}}}}
{{#vardefine:varGCY|{{#explode:{{#var:varGC}}|,|2}}}}
+
{{#vardefine:varGCY|{{#explode:{{#var:varGC}}|,|1}}}}
   
 
gc  = {{#var:varGC}} <br />
 
gc  = {{#var:varGC}} <br />
Regel 31: Regel 32:
   
 
{{#show: {{PAGENAME}} | ?Coordinate}}
 
{{#show: {{PAGENAME}} | ?Coordinate}}
  +
  +
{{Geoshiftcode|Location=The Netherlands, Zuidsingel 110, 4331 RV Middelburg}}

Huidige versie van 19 nov 2016 om 22:36



n = 12



x = -8.6602540378444E-5
y = 5.0E-5




gc = 51.502686111111, 3.6157972222222
gcx = 51.502686111111
gcy = 3.6157972222222

51.502599508571, 3.6158472222222


51° 30' 9", 3° 36' 57"






51.502671111111, 3.6157712414601