Data sets and Lua code for Australian Exclusive Economic Zones

Moderator: MOD_Command

Post Reply
coolum001
Posts: 7
Joined: Thu Aug 03, 2017 1:46 am

Data sets and Lua code for Australian Exclusive Economic Zones

Post by coolum001 »

Hi, hope this is deemed useful.

I have been looking at some scenarios to do with enforcing Australian Exclusive Economic Zones (EEZ) [turns out Oz has a couple, the big one for mainland+Tasmania, and some smaller ones around some far-flung possessions]

My work flow looks like:

- KML data for EEZ boundaries downloaded from marineregions dot org

- KML data imported into Google Maps,

- boundaries approximated (by hand) to reduce data size,

- the hand drawn polygons exported as KML

- the KML 'coordinates' tag data extracted in a text editor

- KML lon lat height data edited for Lua (trailing comma appended to each line) table format

- Lua code run once in the Lua Console during scenario editing/ creation to set up Exclusion Zone (i.e. not linked to an event)

The code can be easily adapted to other EEZ data sets (e.g. change the scenario side name, Reference Point name format, etc).
Attachments
EEZLua.txt
(6.09 KiB) Downloaded 42 times
Rory Noonan
Posts: 2418
Joined: Thu Dec 18, 2014 1:53 am
Location: Brooklyn, NY

RE: Data sets and Lua code for Australian Exclusive Economic Zones

Post by Rory Noonan »

Hey coolum001 this is another brilliant piece of work. Thanks again!
Image
User avatar
Anathema
Posts: 93
Joined: Fri Oct 04, 2013 8:51 pm
Location: Australia

RE: Data sets and Lua code for Australian Exclusive Economic Zones

Post by Anathema »

Thank you so much! This is something I always wanted, but was always too difficult to try to map them out by hand accurately, especially the northern coast where it really matters.
User avatar
Maromak
Posts: 1071
Joined: Wed Dec 26, 2007 1:40 pm
Location: Australia

RE: Data sets and Lua code for Australian Exclusive Economic Zones

Post by Maromak »

Thanks again.
Certa Cito
Post Reply

Return to “Useful Material”