Ignore:
Timestamp:
2014-02-17T14:27:01+01:00 (11 years ago)
Author:
malcolmh
Message:

save

Location:
applications/editors/josm/plugins/smed2/js57toosm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed2/js57toosm/build.xml

    r30284 r30285  
    1111
    1212  <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"/>
    1414  </target>
    1515
  • applications/editors/josm/plugins/smed2/js57toosm/src/js57toosm/Js57toosm.java

    r30284 r30285  
    1 /* Copyright 2013 Malcolm Herring
     1/* Copyright 2014 Malcolm Herring
    22 *
    33 * This is free software: you can redistribute it and/or modify
     
    5151                MapBounds bounds = S57dec.decodeFile(in, types, map);
    5252
    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);
    5656
    5757                for (long id : map.index.keySet()) {
Note: See TracChangeset for help on using the changeset viewer.