Make your offline projects more productive and useful
Offy Data Downloader is an, open source desktop portable, application used to download different types of open GIS data for an offline use later. For now, it's downloading tiles from all known tile servers, store them at your machine and give you the possibility to include them easily in different GIS clients :
- Desktop GIS clients: Qgis, ArcMap...
- WebMap clients: Openlayers, LeafletJS...
- Download tiles by areas (Offy projects) from different tile servers
- Create multi areas
- Pause and resume downloading
- Save paused download
- Preview downloaded tiles (even during the download process)
- Combine your output from different sources
- For now, the software can deal only with tiles (256x256). So, other data types are not supported yet
- Windows with .NET 4.0 Framework installed
- Internet connexion
- Download the latest release from Latest release
- Extrat and open "Offy Data DLR.exe"
- Take a look at the "Usage Policy": Menu -> ? -> Data usage policy
- Navigate to a region (city) by zoom/pan using the mouse
- Select an area by draging a box on the map view using the mouse
- Select zoom levels: Min=1 -> Max=13
- Choose your data source (your tile service provider)
- Save the Area
- Start the download
At any time, during or after downloading, you could preview the downloaded tile:
Menu -> Tools -> Browse downloaded Tiles
Menu -> Tools -> Export TMS service definition
the file will be exported to your area folder
The reason why we need a web server is that GDAL_WMS definition are not complient with file:/// protocol. So, a local web server will help you to use Tiles within http:// protocol.
If you don't have a local web server, you could use one of the following:
- Microsoft IIS: Installing IIS 7 on Windows Vista and Windows 7t
- Apache HTTP Server: Download Apache HTTP Server
- Many other Web servers are available. Feel free to use what you want.
Copy the output Tiles Folder to the /www folder of your local web server
Modify the ServerUrl in the XML file to match the Tiles location in your web server, and copy it where you want !!
- For Qgis: Add Raster -> select the XML file
- For ArcGIS: Add Data -> select the XML file
You should know about the on-fly projection transformations to adjust other data with your local tile service projection.
That's it!
Create a layer and add it to your map ({imageType} is your images extention).
from a local absolute path
var TileLayer = new ol.layer.Tile
({
source: new ol.source.XYZ({url: 'file:///C:/.../tiles_directory/{z}/{x}/{y}.{imageType}'})
});from a local relative path
var TileLayer = new ol.layer.Tile
({
source: new ol.source.XYZ({url: 'tiles_directory/{z}/{x}/{y}.{imageType}'})
});from your local web server
var TileLayer = new ol.layer.Tile
({
source: new ol.source.XYZ({url: 'http://localhost/tiles_directory/{z}/{x}/{y}.{imageType}'})
});Create a layer and add it to your map ({imageType} is your images extention). from a local relative path
var TileLayer = L.tileLayer('file:///C:/.../tiles_directory/{z}/{x}/{y}.{imageType}', { minZoom: 1, maxZoom: 14 });from a local relative path
var TileLayer = L.tileLayer('tiles_directory/{z}/{x}/{y}.{imageType}', { minZoom: 1, maxZoom: 14 });from your local web server
var TileLayer = L.tileLayer('http://localhost/tiles_directory/{z}/{x}/{y}.{imageType}', { minZoom: 1, maxZoom: 14 });If you detect any issue/bug report it here. Thank you!
- The provided services definitions are not HARD CODED. Take a look at the application Config file.
- Data services definitions are provided AS IS and are not validated by the application authors.
- The Provided Data services are a PROOF-OF-CONCEPT and for testing.
- Please take a look at the Usage Policy of any Service you use, contact the Server Owner/Admin if needed or/and be sure you're eligible to download the data.
- Offy Data DLR does not guarantee the availability or the precision of provided Data Services. Contact the service provider if there is something wrong.
- Do not select a large areas and unusefull detailed zoom levels (17,18) to download. You may slow down the data service and your machine. In addition, the server may block your requests at any time.