Changeset 32125 in osm for applications/editors/josm/plugins/opendata
- Timestamp:
- 2016-03-27T19:09:27+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/datasets/AbstractDataSetHandler.java
r30723 r32125 253 253 public final Collection<String> getOsmXapiRequests(Bounds bounds) { 254 254 return getOsmXapiRequests( 255 LatLon.roundToOsmPrecision Strict(bounds.getMin().lon())+","+256 LatLon.roundToOsmPrecision Strict(bounds.getMin().lat())+","+257 LatLon.roundToOsmPrecision Strict(bounds.getMax().lon())+","+258 LatLon.roundToOsmPrecision Strict(bounds.getMax().lat()));255 LatLon.roundToOsmPrecision(bounds.getMin().lon())+","+ 256 LatLon.roundToOsmPrecision(bounds.getMin().lat())+","+ 257 LatLon.roundToOsmPrecision(bounds.getMax().lon())+","+ 258 LatLon.roundToOsmPrecision(bounds.getMax().lat())); 259 259 } 260 260 … … 263 263 public final String getOverpassApiRequest(Bounds bounds) { 264 264 return getOverpassApiRequest( 265 "w=\""+LatLon.roundToOsmPrecisionStrict(bounds.getMin().lon())+"\" "+ 266 "s=\""+LatLon.roundToOsmPrecisionStrict(bounds.getMin().lat())+"\" "+ 267 "e=\""+LatLon.roundToOsmPrecisionStrict(bounds.getMax().lon())+"\" "+ 268 "n=\""+LatLon.roundToOsmPrecisionStrict(bounds.getMax().lat())+"\""); 269 } 270 265 "w=\""+LatLon.roundToOsmPrecision(bounds.getMin().lon())+"\" "+ 266 "s=\""+LatLon.roundToOsmPrecision(bounds.getMin().lat())+"\" "+ 267 "e=\""+LatLon.roundToOsmPrecision(bounds.getMax().lon())+"\" "+ 268 "n=\""+LatLon.roundToOsmPrecision(bounds.getMax().lat())+"\""); 269 } 271 270 272 271 protected String getOverpassApiRequest(String bbox) {return null;}
Note:
See TracChangeset
for help on using the changeset viewer.