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 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" :)
|
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 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" :)
|
single urlencode, filename urldecode, spaces in path. Works
(:nztopo kml="https://kiwiwiki.nz/testdata/2014-05-30 13_54_13.kml" :)
|
(:nztopo kml="https://kiwiwiki.nz/testdata/2014-05-30 13_54_13.kml" :)
|
test gpx attachments
(: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=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:)
|
(:nztopo ll=-41.293722,174.871482 pin=1 zoom=14:) (:nztopo ll=-41.293722,174.871482 pin=1 zoom=13:)
|
Ivory Lake
(:nztopo ll=-40.587755,175.47286 height=350 width=400 zoom=13 pin=0 float=right clear=right:)
|
(:nztopo ll=-40.587755,175.47286 height=350 width=400 zoom=13 pin=0 float=right clear=right:)
|
Messages