Changeset 16866 in josm for trunk/src/org/openstreetmap/josm/gui/io/importexport/RtkLibImporter.java
- Timestamp:
- 2020-08-10T23:19:10+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/importexport/RtkLibImporter.java
r15247 r16866 91 91 * @param associatedFile RTKLib file 92 92 * @param gpxLayerName The GPX layer name 93 * @param markerLayerName The marker layer name94 93 * @return the new GPX and marker layers corresponding to the specified RTKLib file 95 94 * @throws IOException if an I/O error occurs 96 95 */ 97 96 public static GpxImporterData loadLayers(InputStream is, final File associatedFile, 98 final String gpxLayerName, String markerLayerName) throws IOException {97 final String gpxLayerName) throws IOException { 99 98 final RtkLibPosReader r = buildAndParse(is); 100 99 final boolean parsedProperly = r.getNumberOfCoordinates() > 0; 101 100 r.getGpxData().storageFile = associatedFile; 102 return GpxImporter.loadLayers(r.getGpxData(), parsedProperly, gpxLayerName , markerLayerName);101 return GpxImporter.loadLayers(r.getGpxData(), parsedProperly, gpxLayerName); 103 102 } 104 103
Note:
See TracChangeset
for help on using the changeset viewer.