README.md 744 Bytes
Newer Older
Matija Obreza's avatar
Service    
Matija Obreza committed
1
2
LandOrSea
=========
Matija Obreza's avatar
Matija Obreza committed
3

Matija Obreza's avatar
Service    
Matija Obreza committed
4
= Running LandOrSea
Matija Obreza's avatar
Matija Obreza committed
5

Matija Obreza's avatar
Service    
Matija Obreza committed
6
Obtain the landorsea.jar file from the Downloads section or build from source code.
Matija Obreza's avatar
Matija Obreza committed
7

Matija Obreza's avatar
Service    
Matija Obreza committed
8
Download the two "large split polygons" shapefiles in WGS84 projection from:
Matija Obreza's avatar
Matija Obreza committed
9

Matija Obreza's avatar
Service    
Matija Obreza committed
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
* http://openstreetmapdata.com/data/land-polygons
* http://openstreetmapdata.com/data/water-polygons

Shapefiles used in this application are derived from OSM data, © OpenStreetMap contributors.

Extract the two zip archives and move the `.shp` files into the same directory 
as the jar file of this application. You should now have three files in this directory: 

	$ ls -1
	land_polygons.shp
	water_polygons.shp
	landorsea.jar


jai creates an AWT window. Run in headless mode:

	java -Djava.awt.headless=true -jar landorsea.jar

Test.