Package uk.org.naptan

Examples of uk.org.naptan.StopPointsStructure


        "/Users/bdferris/Documents/uk-rail/naptan/NaPTAN.xml"));

    PrintWriter writer = new PrintWriter(new File(
        "/Users/bdferris/Documents/uk-rail/naptan/stations.xml"));
    writer.println("tiploc,lat,lon");
    StopPointsStructure stopPoints = result.getStopPoints();
    int i = 0;
    for (StopPointStructure stopPoint : stopPoints.getStopPoint()) {
      String tiploc = getTiplocForStopPoint(stopPoint);
      Double lat = getLatForStopPoint(stopPoint);
      Double lon = getLonForStopPoint(stopPoint);

      if (tiploc != null) {
View Full Code Here

TOP

Related Classes of uk.org.naptan.StopPointsStructure

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.