Sunteți pe pagina 1din 31

To help you test your program properly, this workbook has a number of hopefully useful features.

To view a map of the data on the current sheet, press the Show Map button
The current point is shown with a yellow dot, as you move around the data the dot moves too
(but if you move too fast, debris will be left behind as drawing objects take time to erase :()
If you've identified the centroid it will be shown as a purple dot, with arrows to the nearest/farthest points
If you change any values you must press Show Map again to refresh the display.

To remove the displayed map, run the ClearDrawing macro in the Mapping module

To create a new data sheet with the same structure as an existing sheet, select one of the data sheets and copy it
(right-click, Move/Copy Sheet... and make sure Copy is checked)
The buttons on the copied sheet should continue to work.
The service below (4) is not yet available: Google changed their programmable mapping interface
and I haven't had a chance to rewrite the coordinate manager.
I may get time over the mid-semester break. --GW

To obtain genuine geographic data using Google map data,


(a) Prepare a new data sheet (see previous step).
(b) Go to
http://www.grwpub.info/gwmaps/ENGG1811.html
The site has a version of Google maps with the usual zoom, pan and satellite imagery, but as you move the m
(c)
(d)

the coordinates at the cross-hairs in the middle of the screen are placed on the Clipboard
You will probably have to agree to allow the application to write to the Clipboard do this once

Each time you move the crosshairs to a new point, switch back to this workbook and press Ctrl-Shift-C
The coordinates are converted from lat/long to easting/northing and pasted In col A,B of the active row, provid
To be accurate and meaningful the coordinates must lie within Australia
5

When you think the program is working, switch to the Dryrun sheet and press the Run Test button
The short report indicates which values are correct.

Note: the dryrun test is only to confirm that you are on the right track: you should do extensive testing on data of your own
Watch the forum for helpful hints, answers for FAQs and contributed data.

There is a limit on file size for submission. If the file gets too large to submit (more than 1000kb) run the ClearMaps
If it's still too large, remove some of the test data as well, especially any very long data sets.

thest points

ata sheets and copy it

y, but as you move the map

press Ctrl-Shift-C
of the active row, provided the cells are empty

n data of your own

kb) run the ClearMaps macro (Misc module) and resave.

FuncTests
Easting
1950.0
1925.0
1900.0
1925.0
1950.0
2000.0
2050.0
2075.0
2100.0
2075.0
2050.0
2000.0
1950.0

Northing
5086.6
5043.3
5000.0
4956.7
4913.4
4913.4
4913.4
4956.7
5000.0
5043.3
5086.6
5086.6
5086.6

Function to be tested:
First argument
Second argument
Pythag(F3;F4)

Function to be tested:
First argument
Second argument
PointDistance(F9;F10)

Function to be tested:
IsClosed()

Pythag
3
4
#VALUE!

PointDistance
2
3
#VALUE!

IsClosed
#VALUE!

enter value (x difference)


enter value (y difference)

assume the data is valid


row1
row2

string

You should adjust the data in columns A and B to test the second and third functions pr

Page 3

FuncTests

enter value (x difference)


enter value (y difference)

assume the data is valid

st the second and third functions properly.

Page 4

Easting
1950.0
1925.0
1900.0
1925.0
1950.0
2000.0
2050.0
2075.0
2100.0
2075.0
2050.0
2000.0
1950.0

Northing
5086.6
5043.3
5000.0
4956.7
4913.4
4913.4
4913.4
4956.7
5000.0
5043.3
5086.6
5086.6
5086.6

Region Hexagon figure, centred on (2000, 5000)


Type figure
Data is valid
Number of points
13
Clear Results
Perimeter
6.048 km
Area
2.598 ha
Centroid

Closest Point to Centroid


Furthest Point from Centroid

2024.4
2024.4
2
2

Easting
Northing
row number
row number

Analyse Region

Show Map

Clear Results
Analyse Region

Show Map

Easting
618032.2
617979.4
617907.5
617858.2
617840.5
617824.1
617810.2
617799.8
617780.4
617754.6
617737.1
617726.1
617721.2
617722.4
617725.7
617729.0
617738.1
617753.2
617775.3
617806.8
617828.8
617839.4
617848.6
617854.9
617862.5
617873.4
617882.6
617894.2
617910.1
617922.1
617932.8
617946.2
617956.6
617976.2
617999.6
618037.7
618079.3
618105.2
618137.0
618157.0
618162.4
618162.9
618160.6

Northing
5970225.0
5970225.7
5970228.9
5970232.8
5970237.6
5970245.8
5970256.1
5970267.0
5970295.9
5970337.3
5970366.6
5970391.5
5970416.1
5970444.8
5970485.8
5970515.7
5970546.7
5970573.3
5970589.4
5970609.9
5970624.8
5970636.3
5970649.3
5970657.9
5970663.0
5970667.7
5970670.2
5970669.6
5970667.1
5970663.8
5970657.0
5970646.0
5970635.4
5970606.6
5970572.9
5970528.4
5970476.6
5970434.1
5970377.2
5970337.4
5970314.7
5970292.4
5970277.8

Region Blue Lake, Kosciuszko National Park


Type lake
Data is valid
Number of points
49
Perimeter
1.392 km
Area
13.669 ha
Centroid

Closest Point to Centroid


Furthest Point from Centroid

617926.2
5970416.9
37
45

Easting
Northing
row number
row number

Clear Results

Analyse Regio

Show Map

618153.8
618142.2
618129.4
618105.5
618067.9
618032.2

5970266.6
5970253.4
5970244.2
5970237.1
5970229.3
5970225.0

Clear Results
Analyse Region

Show Map

Easting
10000.0
10000.0
50000.0
50000.0
0.0

Northing
10000.0
50000.0
50000.0
10000.0
10000.0

Region (describe here)


Type figure
Data is not closed
Number of points
Perimeter
Area
Centroid

Closest Point to Centroid


Furthest Point from Centroid

km
ha
Easting
Northing
row number
row number

Clear Result

Analyse Regi

Show Map

340916.5
341017.4
341044.3
340997.5
341057.3
341175.4

6254752.9
6254918.7
6254860.4
6254669.9
6254522.3
6254380.1

Clear Results
Analyse Region

Show Map

Easting
320607.0
320646.0
320657.0
321054.0
321130.0
321152.0
321545.0
321573.0
321652.0
321675.0
321855.0
321895.0
321966.0
322030.0
322183.0
322258.0
322266.0
322246.0
322200.0
322163.0
322138.0
322054.0
322048.0
322009.0
322001.0
322116.0
322096.0
322076.0
322258.0
322810.0
323188.0
323691.0
323837.0
323747.0
324054.0
324054.0
324179.0
324278.0
324364.0
324893.0
325296.0
325278.0
325111.0
325387.0

Northing
6231453.0
6231706.0
6231706.0
6231637.0
6231577.0
6231534.0
6231313.0
6231261.0
6231183.0
6231114.0
6230986.0
6230908.0
6230934.0
6230900.0
6230819.0
6230779.0
6230691.0
6230478.0
6230198.0
6229982.0
6229833.0
6229836.0
6229717.0
6229723.0
6229552.0
6229542.0
6229331.0
6229113.0
6229156.0
6229197.0
6229000.0
6228604.0
6228757.0
6229040.0
6229241.0
6229491.0
6229748.0
6229800.0
6229748.0
6228957.0
6228255.0
6228130.0
6227717.0
6227107.0

Region Royal National Park outline


Type park
Data is valid
274
Number of points
84.961 km
Perimeter
16034.125 ha
Area
321474.8 Easting
Centroid
6222916.7 Northing
97 row number
Closest Point to Centroid
107 row number
Furthest Point from Centroid

Clear Result

Analyse Regi

Show Map

325543.0
325742.0
326078.0
326309.0
326917.0
327013.0
327058.0
326986.0
326939.0
326874.0
327205.0
327280.0
327635.0
327806.0
328551.0
328560.0
328606.0
328687.0
328639.0
328671.0
328478.0
328454.0
328814.0
328799.0
329036.0
329063.0
329165.0
329164.0
329700.0
329677.0
329532.0
329497.0
329994.0
330013.0
330177.0
331057.0
331164.0
331395.0
331395.0
331306.0
330806.0
330608.0
329701.0
329578.0
328819.0
328272.0

6227595.0
6227654.0
6227570.0
6227784.0
6227860.0
6227787.0
6227508.0
6227374.0
6227342.0
6226926.0
6226881.0
6227360.0
6227311.0
6227280.0
6227286.0
6227243.0
6227146.0
6227063.0
6227062.0
6226973.0
6227015.0
6226865.0
6226816.0
6226697.0
6226495.0
6226653.0
6226636.0
6226615.0
6226528.0
6226359.0
6226373.0
6226135.0
6226047.0
6226218.0
6227400.0
6228070.0
6227962.0
6227321.0
6226806.0
6226464.0
6225626.0
6225350.0
6224140.0
6223523.0
6223180.0
6222576.0

327765.0
327404.0
326844.0
326300.0
325610.0
324493.0
323124.0
322549.0
321546.0
320792.0
319303.0
318010.0
316828.0
316135.0
316024.0
315651.0
315691.0
315763.0
315753.0
315699.0
315704.0
315737.0
315760.0
316076.0
316182.0
316287.0
316351.0
316405.0
316720.0
316764.0
316756.0
316755.0
316699.0
316578.0
316583.0
316669.0
316750.0
316761.0
316731.0
316674.0
316609.0
316664.0
316690.0
316685.0
316647.0
316684.0

6221936.0
6220900.0
6220720.0
6220146.0
6219517.0
6218632.0
6217638.0
6217358.0
6216520.0
6215582.0
6214454.0
6213472.0
6211764.0
6211276.0
6211298.0
6211359.0
6211399.0
6211554.0
6211647.0
6211775.0
6211899.0
6211912.0
6212020.0
6211981.0
6212109.0
6212236.0
6212372.0
6212488.0
6212849.0
6213000.0
6213296.0
6213363.0
6213424.0
6213597.0
6213737.0
6213772.0
6213760.0
6213788.0
6213856.0
6213915.0
6213918.0
6214270.0
6214307.0
6214326.0
6214465.0
6214514.0

316753.0
316780.0
316750.0
316644.0
316523.0
316545.0
316618.0
316601.0
316444.0
316492.0
316650.0
316665.0
316696.0
317014.0
317004.0
316977.0
317067.0
317099.0
317187.0
317426.0
317623.0
317707.0
317751.0
317981.0
317980.0
317706.0
317701.0
317827.0
317809.0
317175.0
317047.0
316919.0
317068.0
317271.0
317446.0
317572.0
317692.0
316865.0
316801.0
316403.0
316320.0
316380.0
316233.0
316133.0
316032.0
315884.0

6214553.0
6214588.0
6214639.0
6214760.0
6215019.0
6215157.0
6215234.0
6215385.0
6215642.0
6215707.0
6215768.0
6215774.0
6216021.0
6215935.0
6215871.0
6215824.0
6215760.0
6215473.0
6215438.0
6215858.0
6215988.0
6216103.0
6216329.0
6216636.0
6216705.0
6216729.0
6216842.0
6216940.0
6216956.0
6217240.0
6217361.0
6217945.0
6218425.0
6218756.0
6218798.0
6218727.0
6218814.0
6218946.0
6218502.0
6218571.0
6217900.0
6217888.0
6216781.0
6216784.0
6216830.0
6216914.0

315676.0
315467.0
315246.0
315147.0
315058.0
315029.0
315105.0
315177.0
315186.0
315251.0
315326.0
315367.0
315425.0
315465.0
315530.0
315608.0
315831.0
315868.0
315852.0
315570.0
315432.0
315245.0
314926.0
314844.0
314849.0
314855.0
314911.0
315280.0
315376.0
315435.0
315492.0
315583.0
315615.0
315592.0
315552.0
315381.0
315360.0
315377.0
315358.0
315267.0
315155.0
315183.0
315144.0
315071.0
315101.0
315088.0

6216921.0
6216672.0
6216477.0
6216456.0
6216461.0
6216499.0
6216509.0
6216555.0
6216609.0
6216748.0
6216915.0
6216948.0
6216995.0
6217058.0
6217271.0
6217436.0
6217516.0
6217565.0
6217678.0
6218010.0
6218058.0
6218016.0
6217722.0
6217689.0
6217757.0
6217826.0
6217895.0
6218168.0
6218331.0
6218391.0
6218497.0
6218618.0
6218704.0
6218908.0
6218977.0
6219161.0
6219408.0
6219507.0
6219581.0
6219602.0
6219717.0
6220117.0
6220204.0
6220447.0
6220457.0
6220561.0

315119.0
315273.0
315247.0
315209.0
315182.0
315130.0
315105.0
315059.0
315028.0
314963.0
314870.0
314889.0
314958.0
315066.0
315144.0
315225.0
315495.0
315992.0
316204.0
316232.0
316847.0
317238.0
317318.0
317393.0
316521.0
316520.0
316519.0
316572.0
316676.0
316836.0
316880.0
317015.0
317633.0
318519.0
318678.0
318815.0
318978.0
319390.0
319643.0
319816.0
320012.0
320180.0
320227.0
320348.0
320496.0
320607.0

6220637.0
6220599.0
6220806.0
6220803.0
6221051.0
6221043.0
6221165.0
6221143.0
6221242.0
6221450.0
6222324.0
6224489.0
6224803.0
6225029.0
6225123.0
6225221.0
6225452.0
6225985.0
6226213.0
6226243.0
6226152.0
6226094.0
6226632.0
6227152.0
6227282.0
6227322.0
6227374.0
6227925.0
6228303.0
6228618.0
6228707.0
6228847.0
6229248.0
6229695.0
6229675.0
6229692.0
6229702.0
6229889.0
6230023.0
6230122.0
6230265.0
6230496.0
6230634.0
6231188.0
6231338.0
6231453.0

Clear Results
Analyse Region

Show Map

Easting
618594.0
618588.0
618582.0
618576.0
618573.0
618572.0
618572.0
618573.0
618577.0
618582.0
618604.0
618613.0
618632.0
618646.5
618650.0
618656.0
618663.0
618670.0
618683.0
618700.0
618714.0
618721.0
618731.0
618745.0
618747.0
618747.0
618746.0
618741.0
618726.0
618709.0
618689.0
618661.0
618633.0
618620.0
618604.0
618594.0

Northing
5965764.0
5965767.0
5965772.0
5965778.0
5965782.0
5965787.0
5965794.0
5965801.0
5965807.0
5965813.0
5965832.0
5965840.0
5965859.0
5965874.0
5965879.0
5965893.0
5965911.0
5965924.0
5965935.0
5965947.0
5965951.5
5965951.0
5965945.0
5965933.0
5965928.0
5965921.0
5965909.0
5965897.0
5965865.0
5965839.0
5965813.0
5965790.0
5965771.0
5965766.0
5965764.0
5965764.0

Region 2040m contour surrounding Mt Stilwell


Type land
Classification valid
Number of points
36
5998.292 km
Perimeter
1.522 ha
Area
3570743.3 Easting
Centroid Easting
3570743.3 Northing
Centroid Northing
2 row number
Closest Point to Centroid
19 row number
Furthest Point from Centroid

Run Test

Run Test

Log

Page 30

Log

18:36:00 not visible 19636291 -381449875


18:36:02 not visible 37793425 -365231579

Page 31

S-ar putea să vă placă și