Changeset 30285 in osm for applications/editors/josm/plugins/smed2/js57toosm
- Timestamp:
- 2014-02-17T14:27:01+01:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/smed2/js57toosm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed2/js57toosm/build.xml
r30284 r30285 11 11 12 12 <target name="compile" depends="init" description="compile the source " > 13 <javac includeantruntime="false" srcdir="${src}" destdir="${build}"/> 13 <javac includeantruntime="false" srcdir="${src}" destdir="${build}" encoding="UTF-8"/> 14 14 </target> 15 15 -
applications/editors/josm/plugins/smed2/js57toosm/src/js57toosm/Js57toosm.java
r30284 r30285 1 /* Copyright 201 3Malcolm Herring1 /* Copyright 2014 Malcolm Herring 2 2 * 3 3 * This is free software: you can redistribute it and/or modify … … 51 51 MapBounds bounds = S57dec.decodeFile(in, types, map); 52 52 53 out.format("<?xml version='1.0' encoding='UTF-8'?>"); 54 out.format("<osm version='0.6' generator='js57toosm'>"); 55 out.format("<bounds minlat='%.8f' minlon='%.8f' maxlat='%.8f' maxlon='%.8f'/>", bounds.minlat, bounds.minlon, bounds.maxlat, bounds.maxlon); 53 out.format("<?xml version='1.0' encoding='UTF-8'?>%n"); 54 out.format("<osm version='0.6' generator='js57toosm'>%n"); 55 out.format("<bounds minlat='%.8f' minlon='%.8f' maxlat='%.8f' maxlon='%.8f'/>%n", bounds.minlat, bounds.minlon, bounds.maxlat, bounds.maxlon); 56 56 57 57 for (long id : map.index.keySet()) {
Note:
See TracChangeset
for help on using the changeset viewer.