Opened 10 years ago

Closed 10 years ago

#4742 closed enhancement (fixed)

gdal2tiles OL 2.12 support

Reported by: dr Owned by: hobu
Priority: normal Milestone: 1.10.0
Component: PythonBindings Version: unspecified
Severity: normal Keywords: gdal2tiles, openlayers
Cc: klokan

Description

Currently gdal2tiles uses OpenLayers 2.7 for building application for vizualization tiling results. The attached patches make it possible to use new 2.12 OpenLayers. Moreover with this pach:

  1. Google layers swithed to using v3 API without key;
  1. Microsoft Virtual Earth layers were replaced by Bing Maps layers;
  1. Removed deprecated Yahoo and OpenAerialMap layers;
  1. Removed obsolete 'satellite' layer from labs.metacarta.com.

Results in different profiles:

http://gis-lab.info/share/DR/sandbox/gdal2tiles/profiles/mercator/openlayers.html

http://gis-lab.info/share/DR/sandbox/gdal2tiles/profiles/geodetic/openlayers.html

http://gis-lab.info/share/DR/sandbox/gdal2tiles/profiles/raster/openlayers.html

Attachments (4)

file.patch (21.0 KB ) - added by dr 10 years ago.
file.2.patch (21.0 KB ) - added by dr 10 years ago.
file.3.patch (26.1 KB ) - added by dr 10 years ago.
Valid bingkey removed
file.4.patch (27.4 KB ) - added by dr 10 years ago.

Download all attachments as: .zip

Change History (10)

by dr, 10 years ago

Attachment: file.patch added

by dr, 10 years ago

Attachment: file.2.patch added

comment:1 by dr, 10 years ago

Add forgotten 'sphericalMercator' in Bing layer.

comment:2 by hobu, 10 years ago

Cc: klokan added

Petr, can you review this and let me know? I do not know enough about gdal2tiles to blindly accept this, though I doubt there's much trouble. If we don't hear back in a couple of weeks or so, we'll just push this into trunk.

comment:3 by firefishy, 10 years ago

hobu,

Shouldn't bingkey= also be a 'INSERT_YOUR_KEY_HERE' rather than a valid key?

in reply to:  3 comment:4 by dr, 10 years ago

Replying to firefishy:

hobu,

Shouldn't bingkey= also be a 'INSERT_YOUR_KEY_HERE' rather than a valid key?

Yes it make sense. I've added my own key because bing layer doesn't work without key even on localhost.

by dr, 10 years ago

Attachment: file.3.patch added

Valid bingkey removed

by dr, 10 years ago

Attachment: file.4.patch added

comment:5 by dr, 10 years ago

Changes to documentation added

comment:6 by bishop, 10 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.