public class XYReader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
XY_FILE_LOC |
Constructor and Description |
---|
XYReader() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map |
create(java.util.Properties props) |
static java.util.Map |
read(java.io.BufferedReader reader)
Populates a map with station locations from the Reader
Expects the reader to point to data with on station per line with float
representations of longitude, latitude, elevation and then the station
code seperated by spaces.
|
static java.lang.String |
toString(Location loc) |
public static final java.lang.String XY_FILE_LOC
public static java.util.Map read(java.io.BufferedReader reader) throws java.io.IOException
-118.3516 37.6599 1721. SNP27 -118.6468 37.6832 2457. SNP36 -120.2526 38.3331 1754. SNP95 # Provisional
java.io.IOException
public static java.lang.String toString(Location loc)
public static java.util.Map create(java.util.Properties props) throws java.io.IOException
java.io.IOException