Changeset 14403 in josm
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/AbstractWMSTileSource.java
r14399 r14403 231 231 } 232 232 233 private finalString getBboxstr(double x1, double x2, double x3, double x4) {233 private String getBboxstr(double x1, double x2, double x3, double x4) { 234 234 return new StringBuilder(64) 235 235 .append(LATLON_FORMAT.format(x1)) -
trunk/test/unit/org/openstreetmap/josm/data/imagery/TemplatedWMSTileSourceTest.java
r14399 r14403 157 157 @Test 158 158 public void testGetTileUrl() { 159 // "https://maps.six.nsw.gov.au/arcgis/services/public/NSW_Imagery_Dates/MapServer/WMSServer?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&CRS={proj}&BBOX={bbox}&WIDTH={width}&HEIGHT={height}&LAYERS=0&STYLES=&FORMAT=image/png32&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96&TRANSPARENT=TRUE", 159 // "https://maps.six.nsw.gov.au/arcgis/services/public/NSW_Imagery_Dates/MapServer/WMSServer? 160 // SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&CRS={proj}&BBOX={bbox}&WIDTH={width}&HEIGHT={height} 161 // &LAYERS=0&STYLES=&FORMAT=image/png32&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96&TRANSPARENT=TRUE", 160 162 Projection projection = Projections.getProjectionByCode("EPSG:4326"); 161 163 ProjectionRegistry.setProjection(projection);
Note:
See TracChangeset
for help on using the changeset viewer.