Ignore:
Timestamp:
2013-09-21T13:19:50+02:00 (11 years ago)
Author:
Don-vip
Message:

fix #9091 - rework osm/gpx download tasks - take into account recent changes from OSM server:

  • new hashtag scheme
  • GPX traces now returned as Bzip2-compressed files
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/BoundingBoxDownloader.java

    r6203 r6244  
    1414import org.xml.sax.SAXException;
    1515
     16/**
     17 * Read content from OSM server for a given bounding box
     18 * @since 627
     19 */
    1620public class BoundingBoxDownloader extends OsmServerReader {
    1721
     
    2529    protected final boolean crosses180th;
    2630
     31    /**
     32     * Constructs a new {@code BoundingBoxDownloader}.
     33     * @param downloadArea The area to download
     34     */
    2735    public BoundingBoxDownloader(Bounds downloadArea) {
    2836        this.lat1 = downloadArea.getMinLat();
     
    6068    }
    6169
    62     /**
    63      * Retrieve raw gps waypoints from the server API.
    64      * @return A list of all primitives retrieved. Currently, the list of lists
    65      *      contain only one list, since the server cannot distinguish between
    66      *      ways.
    67      */
    6870    @Override
    6971    public GpxData parseRawGps(ProgressMonitor progressMonitor) throws OsmTransferException {
     
    106108    }
    107109
    108     /**
    109      * Read the data from the osm server address.
    110      * @return A data set containing all data retrieved from that url
    111      */
    112110    @Override
    113111    public DataSet parseOsm(ProgressMonitor progressMonitor) throws OsmTransferException {
Note: See TracChangeset for help on using the changeset viewer.