Changeset 30576 in osm for applications/editors/josm/plugins/opendata/src/org
- Timestamp:
- 2014-08-08T01:24:51+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/geographic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/geographic/AbstractMapInfoReader.java
r30575 r30576 5 5 import java.io.File; 6 6 import java.io.IOException; 7 import java.io.InputStreamReader;8 7 import java.nio.charset.Charset; 9 8 import java.nio.charset.IllegalCharsetNameException; -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/geographic/MifReader.java
r30575 r30576 71 71 72 72 // CoordSys clause 73 private MifProjection proj;74 private MifDatum datum;75 73 private String units; 76 74 private Double originLon; … … 78 76 private Double stdP1; 79 77 private Double stdP2; 80 private Double azimuth;81 78 private Double scaleFactor; 82 79 private Double falseEasting; 83 80 private Double falseNorthing; 84 private Double range;85 81 private Double minx; 86 82 private Double miny; … … 119 115 120 116 private void parseCoordSysSyntax1(String[] words) { 121 proj = MifProjection.forCode(Integer.parseInt(words[3]));122 datum = MifDatum.forCode(Integer.parseInt(words[4]));117 MifProjection proj = MifProjection.forCode(Integer.parseInt(words[3])); 118 MifDatum datum = MifDatum.forCode(Integer.parseInt(words[4])); 123 119 124 120 // Custom datum: TODO: use custom decalage values … … 193 189 // Azimuth 194 190 if (proj == Hotine_Oblique_Mercator) { 195 azimuth =Double.parseDouble(words[8+offset]);191 Double.parseDouble(words[8+offset]); 196 192 // TODO: what's proj4 parameter ? 197 193 } … … 251 247 case Azimuthal_Equidistant_polar_aspect_only: 252 248 case Lambert_Azimuthal_Equal_Area_polar_aspect_only: 253 range =Double.parseDouble(words[8+offset]);249 Double.parseDouble(words[8+offset]); 254 250 // TODO: what's proj4 parameter ? 255 251 }
Note:
See TracChangeset
for help on using the changeset viewer.