All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dstadler.ctw.CoverTheWorld Maven / Gradle / Ivy

package org.dstadler.ctw;

import java.io.IOException;

import org.dstadler.ctw.geojson.CreateAdjacent;
import org.dstadler.ctw.geojson.CreateClusterGeoJSON;
import org.dstadler.ctw.geojson.CreateGeoJSON;
import org.dstadler.ctw.geojson.CreateLargestClusterGeoJSONSquares;
import org.dstadler.ctw.geojson.CreateLargestClusterGeoJSONTiles;
import org.dstadler.ctw.geojson.CreateLargestRectangleGeoJSONSquares;
import org.dstadler.ctw.geojson.CreateLargestRectangleGeoJSONTiles;
import org.dstadler.ctw.geojson.CreateLargestSquareGeoJSONSquares;
import org.dstadler.ctw.geojson.CreateLargestSquareGeoJSONTiles;
import org.dstadler.ctw.gpx.CreateListOfVisitedSquares;
import org.xml.sax.SAXException;

/**
 * Main application to read GPX tracks and produce the GeoJSON
 * files for the Leaflet-based HTML page.
 */
public class CoverTheWorld {

	public static void main(String[] args) throws IOException, SAXException {
		// this needs to run first to compute "Visited*.txt"
		CreateListOfVisitedSquares.main(args);

		// produce "Adjacent*"
		CreateAdjacent.main(args);

		// produce "Visited*.js"
		CreateGeoJSON.main(args);

		// produce "ClusterSquares.*"
		CreateClusterGeoJSON.main(args);

		// produce "LargestCluster*"
		CreateLargestClusterGeoJSONSquares.main(args);
		CreateLargestClusterGeoJSONTiles.main(args);

		// produce "LargestRectangle*"
		CreateLargestRectangleGeoJSONSquares.main(args);
		CreateLargestRectangleGeoJSONTiles.main(args);

		// produce "LargestSquare*"
		CreateLargestSquareGeoJSONSquares.main(args);
		CreateLargestSquareGeoJSONTiles.main(args);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy