############################################################################### # New Zealand Map - Ian Macky, November 2010 ############################################################################### #device x11 -geom 600x1050+10+10 device gif 600 1050 nz/nz projection lcc standard -37, -45 # leave space at bottom for 36-point label + 6 pixel border top and bottom window viewport <0, 1, 0.042, 1> add label <<0.5, .020>>, NEW ZEALAND, anchor centered, color white, \ font sans36b, spacing 0.45, flags no-clip graticule 5 add graticule-labels flags top left inside, tic-length 0, \ label [font helv12b, color white, border black] # --- new zealand --- @(asia3, E140S10) data {} select new_zealand add 300 new_zealand, fill country0, \ shading 32 .3 hill E140S10 315, 45, 0.01, 3 add label -36 6, 177 31, North//Island, anchor centered, align center, \ font helv24b, color orange, spacing 0.1 add label -45 14, 173 4, South//Island, anchor centered, align center, \ font helv24b, color orange, bg 4 black, spacing 0.1 add label -47 15, 168 0, Stewart//Island, anchor top left, align center, \ font helv14b, color yellow add label -48 8, 166 33, Snares//Islands, anchor top center, align center, \ font helv12b, color yellow add label -50 45, 166 27, Auckland//Islands, anchor center left, \ align center, font helv12b, color yellow add label -47 33, 179 0, Bounty//Islands, anchor bottom center, \ align center, font helv12b, color yellow add label -52 24, 169 14, Campbell//Island, anchor bottom right, \ align center, font helv12b, color yellow add label -49 35, 179 1, Antipodes//Island//Group, anchor bottom right, \ align center, font helv12b, color yellow # --- national capital --- @data cities @data instance cc_cities cities @data filter cc_cities (country = "nz") @data sort cc_cities population point wellington cc_cities wellington add point wellington, capital, \ label Wellington, anchor top left, offset -0.5 -2, font helv18b, \ color white, border black, stalk-color red, stalk-mode closest # --- other cities, towns, villages --- add point cc_cities auckland, city5, \ label Auckland, anchor top left, offset 0.7, 0, \ font helv12b, color white, border black add point cc_cities christchurch, city5, \ label Christchurch, anchor bottom left, offset 0.8, 0.2, \ font helv12b, color white, border black add point cc_cities waitakere, city4, \ label Waitakere, anchor top right, offset -0.7, 0, \ font helv12b, color white add point cc_cities hamilton, city3, \ label Hamilton, anchor top right, offset -0.4, 0, \ font helv12b, color white, border black add point cc_cities dunedin, city3, \ label Dunedin, anchor top left, offset 0.2, -0.6, \ font helv12b, color white, border black add point cc_cities tauranga, city3, \ label Tauranga, anchor bottom left, offset 0.5, 0.2, \ font helv12b, color white, border black add point cc_cities "lower hutt", city3, \ label Lower Hutt, anchor center left, offset 0.7, 0, \ font helv12b, color white, border black add point cc_cities "palmerston north", city3, \ label Palmerston North, anchor top left, offset 0.7, 0, \ font helv12b, color white, border black add point cc_cities hastings, city3, \ label Hastings, anchor center right, offset -0.5, 0, \ font helv12b, color black, border shaded add point cc_cities nelson, city3, \ label Nelson, anchor top center, offset -0.1, -0.3, \ font helv12b, color black add point cc_cities napier, city3, \ label Napier, anchor center left, offset 0.7, 0, \ font helv12b, color white add point cc_cities whangarei, city3, \ label Whangarei, anchor bottom left, offset 0.5, 0.2, \ font helv12b, color white, border black add point cc_cities "new plymouth", city3, \ label New//Plymouth, anchor bottom right, align center, \ offset -0.3, 0.5, font helv12b, color white point invercargill cc_cities invercargill add point cc_cities invercargill, city3, \ label Invercargill, anchor top right, offset -0.6, -0.1, \ font helv12b, color white add point cc_cities wanganui, city3, \ label Wanganui, anchor top right, offset -0.6, -0.2, \ font helv12b, color white, border black add point cc_cities gisborne, city3, \ label Gisborne, anchor bottom right, offset 0.7, 0.5, \ font helv12b, color black, border shaded add point cc_cities timaru, city3, \ label Timaru, anchor top left, offset 0.6, 0, \ font helv12b, color white add point cc_cities taupo, city3, \ label Taupo, anchor bottom center, offset -0.6, 0.7, \ font helv12b, color black, border shaded # --- land features --- add point -43 35 44.69, 170 8 27.75, mountain, \ label Aoraki//Mt Cook//3754m, anchor top center, align center, \ offset 0, -0.6, font helv10b, color black, border shaded, \ leading -0.2 # --- water bodies --- 019234:019275 add seg ascil3 {}, fill lake-water add label -48 50, 172 24, South//Pacific//Ocean, anchor centered, \ align center, font gent24i, color water-label, border black, spacing 0.1 add label -41 36, 167 55, Tasman//Sea, anchor centered, align center, \ font gent24i, color water-label add label -41 11, 174 31, Cook Strait, anchor bottom right, \ font gent12i, color water-label, border black, offset 2.4 3, \ stalk-color water-label, stalk-mode closest # --- rivers --- add asriv3 # --- scale bar --- add scale-bar <.53, .03>, .4, between wellington invercargill, \ color white, border black, font clea12, units both # --- overview window --- window new nz-ov <<0.080, 0.460, 0.705, 0.902>>, flags inferior, border 0 projection gilbert set unmap-max-iterations 600 origin 0, 180 select whole, zoom .9 graticule 45 add 0 circle2 <.01, .5>, <.99, .5>, color black, fill black add background lmask10 add outline, color country color fill-background navyblue @data mwdb3 add mwdb3 new_zealand, color red, fill red # $Id: nz.cmd,v 1.18 2011/05/13 03:33:39 ian Exp $