Ignore:
Timestamp:
2012-12-01T23:29:05+01:00 (12 years ago)
Author:
donvip
Message:

[josm_opendata] KML reader: Split coordinates with all blanck characters, not just only spaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/geographic/KmlReader.java

    r28441 r29020  
    132132                        list.add(way);
    133133                } else if (parser.getLocalName().equals(KML_COORDINATES)) {
    134                         String[] tab = parser.getElementText().trim().split(" ");
     134                        String[] tab = parser.getElementText().trim().split("\\s");
    135135                        for (int i = 0; i < tab.length; i ++) {
    136136                                String[] values = tab[i].split(",");
Note: See TracChangeset for help on using the changeset viewer.