gdal2tiles: remove/fix broken links
This commit is contained in:
parent
e3870e3a82
commit
2e3f6126c4
|
@ -68,6 +68,7 @@ jobs:
|
|||
rm gdal-docs/gdal.pdf
|
||||
cp doc/build/latex/gdal.pdf gdal-docs
|
||||
cp data/gdalicon.png gdal-docs # For GDAL autotest...
|
||||
cp -r resources gdal-docs # Do not change this without changing swig/python/gdal-utils/osgeo_utils/gdal2tiles.py
|
||||
cd gdal-docs
|
||||
wget http://download.osgeo.org/gdal/for_doc/javadoc.zip -O /tmp/javadoc.zip
|
||||
wget http://download.osgeo.org/gdal/for_doc/python-doc.tar.gz -O /tmp/python-doc.tar.gz
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 99 B |
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
|
@ -11,8 +11,6 @@
|
|||
# - support of global tiles (Spherical Mercator) for compatibility
|
||||
# with interactive web maps a la Google Maps
|
||||
# Author: Klokan Petr Pridal, klokan at klokan dot cz
|
||||
# Web: http://www.klokan.cz/projects/gdal2tiles/
|
||||
# GUI: http://www.maptiler.org/
|
||||
#
|
||||
###############################################################################
|
||||
# Copyright (c) 2008, Klokan Petr Pridal
|
||||
|
@ -2357,7 +2355,6 @@ class GDAL2Tiles(object):
|
|||
|
||||
/*
|
||||
* Create a Custom Opacity GControl
|
||||
* http://www.maptiler.org/google-maps-overlay-opacity-control/
|
||||
*/
|
||||
|
||||
var CTransparencyLENGTH = 58;
|
||||
|
@ -2404,16 +2401,16 @@ class GDAL2Tiles(object):
|
|||
|
||||
// Handle transparent PNG files in MSIE
|
||||
if (this.ie) {
|
||||
var loader = "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.maptiler.org/img/opacity-slider.png', sizingMethod='crop');";
|
||||
var loader = "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://gdal.org/resources/gdal2tiles/opacity-slider.png', sizingMethod='crop');";
|
||||
container.innerHTML = '<div style="height:21px; width:70px; ' +loader+ '" ></div>';
|
||||
} else {
|
||||
container.innerHTML = '<div style="height:21px; width:70px; background-image: url(http://www.maptiler.org/img/opacity-slider.png)" ></div>';
|
||||
container.innerHTML = '<div style="height:21px; width:70px; background-image: url(https://gdal.org/resources/gdal2tiles/opacity-slider.png)" ></div>';
|
||||
}
|
||||
|
||||
// create the knob as a GDraggableObject
|
||||
// Handle transparent PNG files in MSIE
|
||||
if (this.ie) {
|
||||
var loader = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.maptiler.org/img/opacity-slider.png', sizingMethod='crop');";
|
||||
var loader = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://gdal.org/resources/gdal2tiles/opacity-slider.png', sizingMethod='crop');";
|
||||
this.knob = document.createElement("div");
|
||||
this.knob.style.height="21px";
|
||||
this.knob.style.width="13px";
|
||||
|
@ -2429,7 +2426,7 @@ class GDAL2Tiles(object):
|
|||
this.knob = document.createElement("div");
|
||||
this.knob.style.height="21px";
|
||||
this.knob.style.width="13px";
|
||||
this.knob.style.backgroundImage="url(http://www.maptiler.org/img/opacity-slider.png)";
|
||||
this.knob.style.backgroundImage="url(https://gdal.org/resources/gdal2tiles/opacity-slider.png)";
|
||||
this.knob.style.backgroundPosition="-70px 0px";
|
||||
}
|
||||
container.appendChild(this.knob);
|
||||
|
@ -2522,7 +2519,7 @@ class GDAL2Tiles(object):
|
|||
var mercator = new GMercatorProjection(mapMaxZoom+1);
|
||||
tilelayer.getTileUrl = function(tile,zoom) {
|
||||
if ((zoom < mapMinZoom) || (zoom > mapMaxZoom)) {
|
||||
return "http://www.maptiler.org/img/none.png";
|
||||
return "https://gdal.org/resources/gdal2tiles/none.png";
|
||||
}
|
||||
var ymax = 1 << zoom;
|
||||
var y = ymax - tile.y -1;
|
||||
|
@ -2533,7 +2530,7 @@ class GDAL2Tiles(object):
|
|||
if (mapBounds.intersects(tileBounds)) {
|
||||
return zoom+"/"+tile.x+"/"+y+".png";
|
||||
} else {
|
||||
return "http://www.maptiler.org/img/none.png";
|
||||
return "https://gdal.org/resources/gdal2tiles/none.png";
|
||||
}
|
||||
}
|
||||
// IE 7-: support for PNG alpha channel
|
||||
|
@ -2593,7 +2590,7 @@ class GDAL2Tiles(object):
|
|||
</head>
|
||||
<body onload="load()">
|
||||
<div id="header"><h1>%(xml_escaped_title)s</h1></div>
|
||||
<div id="subheader">Generated by <a href="http://www.klokan.cz/projects/gdal2tiles/">GDAL2Tiles</a>, Copyright © 2008 <a href="http://www.klokan.cz/">Klokan Petr Pridal</a>, <a href="http://www.gdal.org/">GDAL</a> & <a href="http://www.osgeo.org/">OSGeo</a> <a href="http://code.google.com/soc/">GSoC</a>
|
||||
<div id="subheader">Generated by <a href="https://gdal.org/programs/gdal2tiles.html">GDAL2Tiles</a>, Copyright © 2008 <a href="http://www.klokan.cz/">Klokan Petr Pridal</a>, <a href="https://gdal.org">GDAL</a> & <a href="http://www.osgeo.org/">OSGeo</a> <a href="http://code.google.com/soc/">GSoC</a>
|
||||
<!-- PLEASE, LET THIS NOTE ABOUT AUTHOR AND PROJECT SOMEWHERE ON YOUR WEBSITE, OR AT LEAST IN THE COMMENT IN HTML. THANK YOU -->
|
||||
</div>
|
||||
<div id="map"></div>
|
||||
|
@ -2711,7 +2708,7 @@ class GDAL2Tiles(object):
|
|||
title.addTo(map);
|
||||
|
||||
// Note
|
||||
var src = 'Generated by <a href="http://www.klokan.cz/projects/gdal2tiles/">GDAL2Tiles</a>, Copyright © 2008 <a href="http://www.klokan.cz/">Klokan Petr Pridal</a>, <a href="http://www.gdal.org/">GDAL</a> & <a href="http://www.osgeo.org/">OSGeo</a> <a href="http://code.google.com/soc/">GSoC</a>';
|
||||
var src = 'Generated by <a href="https://gdal.org/programs/gdal2tiles.html">GDAL2Tiles</a>, Copyright © 2008 <a href="http://www.klokan.cz/">Klokan Petr Pridal</a>, <a href="https://gdal.org">GDAL</a> & <a href="http://www.osgeo.org/">OSGeo</a> <a href="http://code.google.com/soc/">GSoC</a>';
|
||||
var title = L.control({position: 'bottomleft'});
|
||||
title.onAdd = function(map) {
|
||||
this._div = L.DomUtil.create('div', 'ctl src');
|
||||
|
|
Loading…
Reference in New Issue