Changeset 31704 in osm for applications/editors/josm/plugins/seachart/js57toosm/src
- Timestamp:
- 2015-10-26T16:40:54+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/js57toosm/src/js57toosm/Js57toosm.java
r31659 r31704 73 73 74 74 map = new S57map(true); 75 MapBounds bounds =S57dec.decodeFile(in, map);75 S57dec.decodeChart(in, map); 76 76 77 77 out.format("<?xml version='1.0' encoding='UTF-8'?>%n"); 78 78 out.format("<osm version='0.6' upload='false' generator='js57toosm'>%n"); 79 out.format("<bounds minlat='%.8f' minlon='%.8f' maxlat='%.8f' maxlon='%.8f'/>%n", bounds.minlat, bounds.minlon, bounds.maxlat, bounds.maxlon); 79 out.format("<bounds minlat='%.8f' minlon='%.8f' maxlat='%.8f' maxlon='%.8f'/>%n", 80 Math.toDegrees(map.bounds.minlat), Math.toDegrees(map.bounds.minlon), Math.toDegrees(map.bounds.maxlat), Math.toDegrees(map.bounds.maxlon)); 80 81 81 82 for (long id : map.index.keySet()) {
Note:
See TracChangeset
for help on using the changeset viewer.