This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.HashSet; | |
import java.util.Map.Entry; | |
import java.util.Set; | |
import java.util.TreeMap; | |
import javax.xml.parsers.DocumentBuilder; | |
import javax.xml.parsers.DocumentBuilderFactory; | |
import javax.xml.parsers.ParserConfigurationException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class HTMLtoGeoJSON | |
{ | |
public static void main(String[] args) | |
{ | |
//Create the Selenium WebDriver object | |
WebDriver driver = new FirefoxDriver(); | |
//Navigate to the subway locations page | |
driver.get("http://wiki.openstreetmap.org/wiki/List_of_London_Underground_stations"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class HTMLtoJSON | |
{ | |
public static void main(String[] args) | |
{ | |
//I need to know the range of long and lat for a project I'm working on | |
//so I declare variables that I will use later to store the info | |
double xMin = -100; | |
double xMax = -100; | |
double yMin = -100; | |
double yMax = -100; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Main | |
{ | |
public static void main(String[] args) | |
{ | |
//Create the Selenium WebDriver object | |
WebDriver driver = new FirefoxDriver(); | |
//Navigate to the subway locations page | |
driver.get("http://wiki.openstreetmap.org/wiki/List_of_London_Underground_stations"); |