Test Hans 12: verschil tussen versies

 
(5 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 15: Regel 16:
   
 
{{#vardefine:varGC|{{#geocode: The Netherlands, Zuidsingel 110, 4331 RV Middelburg|format=float|directional=no}}}}
 
{{#vardefine:varGC|{{#geocode: The Netherlands, Zuidsingel 110, 4331 RV Middelburg|format=float|directional=no}}}}
  +
<!--
 
{{#vardefine:varGCX|{{#sub:{{#var:varGC}}|0|{{#pos:{{#var:varGC}}|,}}}}}}
 
{{#vardefine:varGCX|{{#sub:{{#var:varGC}}|0|{{#pos:{{#var:varGC}}|,}}}}}}
 
{{#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:varGCY|{{#explode:{{#var:varGC}}|,|2}}}}
+
{{#vardefine:varGCX|{{#explode:{{#var:varGC}}|,|0}}}}
  +
{{#vardefine:varGCY|{{#explode:{{#var:varGC}}|,|1}}}}
   
 
gc  = {{#var:varGC}} <br />
 
gc  = {{#var:varGC}} <br />
Regel 29: 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