MessagesReplacement version 2024-09-16new
 
NZTopo version 2024-04-10new
Tests use the development version of NZTopo - NZToponew
 
Test files are
When loaded to https://www.topomap.co.nz/ in the 'share map' add KML / GPX overlay, this is the 'test on map' link generated by topomap
See Cookbook.NZTopo, Cookbook.NZTopoAPI, Cookbook:NZTopo, Test  NZTopo-Zoom, Test  NZTopo-Attach-Errors, and https://www.topomap.co.nz/.
Test kml attachments (single rawurlencode)
wiki filenames that exist
      (:nztopo kml="2014-05-30 13_54_13.kml" :)
(:nztopo kml="2014-05-30%2013_54_13.kml" :)
(:nztopo gpx="NZTopo-Attach/20150531.gpx" :)
(:nztopo gpx="Test/NZTopo-Attach/IvoryLakeMarch2018.gpx" :)
  | 
(:nztopo kml="2014-05-30%2013_54_13.kml" :)
 
 | 
wiki filenames that don't exist
      (:nztopo kml='NZTopo-Attach/2014-05-30+13_54_13.kml' :)
(:nztopo kml="Test/2014-05-30 13_54_13.kml" :)
(:nztopo gpx="filename.gpx" :)
(:nztopo gpx="/myfilename.gpx" :)
(:nztopo gpx=".myfilename.gpx" :)
  | 
| 
 (:nztopo gpx="/myfilename.gpx" :)
 
 | 
single urlencode, filename urldecode, spaces in path. Works
      (:nztopo kml="https://kiwiwiki.nz/testdata/2014-05-30 13_54_13.kml" :)
  | 
 
 | 
single urlencode, filename urldecode, %20 in path. Works
      (:nztopo kml='https://kiwiwiki.nz/testdata/2014-05-30%2013_54_13.kml' :)
  | 
 
 | 
single urlencode, %20 in path. Works
      (:nztopo kml3='https://kiwiwiki.nz/testdata/2014-05-30%2013_54_13.kml' :)
  | 
 
 | 
test gpx attachments
spaces in path. Works
      (:nztopo gpx='https://kiwiwiki.nz/testdata/2010 10 23.gpx':)
  | 
 
 | 
%20 in path. Works
      (:nztopo gpx='https://kiwiwiki.nz/testdata/2010%2010%2023.gpx' zoom=12:)
  | 
 
 | 
Works
      (:nztopo gpx="https://kiwiwiki.nz/testdata/20150530.gpx" zoom=13:)
  | 
 
 | 
      (:nztopo gpx='https://kiwiwiki.nz/testdata/20150529.gpx' zoom=15:)
  | 
 
 | 
      (:nztopo ll=-41.293722,174.871482  pin=1 zoom=12 float=right clear=right:)
(:nztopo ll=-41.293722,174.871482  pin=1 zoom=11:)
  | 
 
 | 
      (:nztopo ll=-41.293722,174.871482  pin=1 zoom=14:) \
(:nztopo ll=-41.293722,174.871482  pin=1 zoom=13:)
  | 
 
 
 | 
 
Ivory Lake
      (:nztopo gpx='https://kiwiwiki.nz/pmwiki/uploads/Test/NZTopo-Attach/IvoryLakeMarch2018.gpx'  width=700 height=700 zoom=15:)
  | 
 
 | 
      (:nztopo ll=-40.587755,175.47286 height=350 width=400 zoom=13 pin=0 float=right clear=right:)
  | 
 
 | 
Messages