Changeset 8404 in josm for trunk/src/org/openstreetmap/josm/io/imagery
- Timestamp:
- 2015-05-21T01:18:35+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io/imagery
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/imagery/WMSGrabber.java
r8345 r8404 209 209 // [1] https://www.epsg-registry.org/report.htm?type=selection&entity=urn:ogc:def:crs:EPSG::4326&reportDetail=short&style=urn:uuid:report-style:default-with-code&style_name=OGP%20Default%20With%20Code&title=EPSG:4326 210 210 boolean switchLatLon = false; 211 if (baseURL.toLowerCase( ).contains("crs=epsg:4326")) {211 if (baseURL.toLowerCase(Locale.ENGLISH).contains("crs=epsg:4326")) { 212 212 switchLatLon = true; 213 } else if (baseURL.toLowerCase( ).contains("crs=") && "EPSG:4326".equals(myProj)) {213 } else if (baseURL.toLowerCase(Locale.ENGLISH).contains("crs=") && "EPSG:4326".equals(myProj)) { 214 214 switchLatLon = true; 215 215 } -
trunk/src/org/openstreetmap/josm/io/imagery/WMSImagery.java
r8390 r8404 15 15 import java.util.HashSet; 16 16 import java.util.List; 17 import java.util.Locale; 17 18 import java.util.Set; 18 19 import java.util.regex.Pattern; … … 263 264 String crs = (String) getContent(child); 264 265 if (!crs.isEmpty()) { 265 String upperCase = crs.trim().toUpperCase( );266 String upperCase = crs.trim().toUpperCase(Locale.ENGLISH); 266 267 crsList.add(upperCase); 267 268 }
Note:
See TracChangeset
for help on using the changeset viewer.