Skip to content

Commit f2d2f60

Browse files
authored
Merge pull request #11790 from OSGeo/backport-11789-to-release/3.10
[Backport release/3.10] Docs: Update ESRI WMS links
2 parents 05e9354 + 44f2e8d commit f2d2f60

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

doc/source/drivers/raster/wms.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ other content before the ``<GDAL_WMS>`` element.
3333
<Service name="WMS"> Define what mini-driver to use, currently supported are: WMS, WorldWind, TileService, TMS, TiledWMS, VirtualEarth or AGS. (required)
3434
<Version>1.1.1</Version> WMS version. (optional, defaults to 1.1.1)
3535
<ServerUrl>http://host.domain.com/wms.cgi?</ServerUrl> WMS server URL. (required)
36-
<SRS>EPSG:4326</SRS> Image projection (optional, defaults to EPSG:4326 in WMS and 102100 in AGS, WMS version 1.1.1 or below only and ArcGIS Server). For ArcGIS Server the spatial reference can be specified as either a well-known ID or as a `spatial reference json object <http://resources.arcgis.com/en/help/rest/apiref/geometry.html#sr>`__
36+
<SRS>EPSG:4326</SRS> Image projection (optional, defaults to EPSG:4326 in WMS and 102100 in AGS, WMS version 1.1.1 or below only and ArcGIS Server). For ArcGIS Server the spatial reference can be specified as either a well-known ID or as a `spatial reference json object <https://developers.arcgis.com/rest/services-reference/enterprise/geometry-objects/#spatial-reference>`__
3737
<CRS>CRS:83</CRS> Image projection (optional, defaults to EPSG:4326, WMS version 1.3.0 or above only)
3838
<ImageFormat>image/jpeg</ImageFormat> Format in which to request data. Paletted formats like image/gif will be converted to RGB. (optional, defaults to image/jpeg)
3939
<Transparent>FALSE</Transparent> Set to TRUE to include "transparent=TRUE" in the WMS GetMap request (optional defaults to FALSE).  The request format and BandsCount need to support alpha.
@@ -279,18 +279,18 @@ ArcGIS REST API
279279
~~~~~~~~~~~~~~~
280280

281281
Access to ArcGIS REST `map service
282-
resource <http://resources.arcgis.com/en/help/rest/apiref/mapserver.html>`__
282+
resource <https://developers.arcgis.com/rest/services-reference/enterprise/map-service/>`__
283283
(untiled requests).
284284

285285
AGS layers can be
286-
`queried <http://resources.arcgis.com/en/help/rest/apiref/identify.html>`__
286+
`queried <https://developers.arcgis.com/rest/services-reference/enterprise/identify-map-service/>`__
287287
(through a GetFeatureInfo request) with the gdallocationinfo utility, or
288288
with a GetMetadataItem("Pixel_iCol_iLine", "LocationInfo") call on a
289289
band object.
290290

291291
::
292292

293-
gdallocationinfo -wgs84 "<GDAL_WMS><Service name=\"AGS\"><ServerUrl>http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer</ServerUrl><BBoxOrder>xyXY</BBoxOrder><SRS>3857</SRS></Service><DataWindow><UpperLeftX>-20037508.34</UpperLeftX><UpperLeftY>20037508.34</UpperLeftY><LowerRightX>20037508.34</LowerRightX><LowerRightY>-20037508.34</LowerRightY><SizeX>512</SizeX><SizeY>512</SizeY></DataWindow></GDAL_WMS>" -75.704 39.75
293+
gdallocationinfo -wgs84 "<GDAL_WMS><Service name=\"AGS\"><ServerUrl>https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer</ServerUrl><BBoxOrder>xyXY</BBoxOrder><SRS>3857</SRS></Service><DataWindow><UpperLeftX>-20037508.34</UpperLeftX><UpperLeftY>20037508.34</UpperLeftY><LowerRightX>20037508.34</LowerRightX><LowerRightY>-20037508.34</LowerRightY><SizeX>512</SizeX><SizeY>512</SizeY></DataWindow></GDAL_WMS>" -75.704 39.75
294294

295295

296296
Internet Imaging Protocol (IIP) (GDAL 2.1 and later)
@@ -503,5 +503,5 @@ See Also
503503
- `OnEarth Tiled WMS
504504
specification <http://web.archive.org/web/20130511182803/http://onearth.jpl.nasa.gov/tiled.html>`__
505505
- `ArcGIS Server REST
506-
API <http://resources.arcgis.com/en/help/rest/apiref/>`__
506+
API <https://developers.arcgis.com/rest/>`__
507507
- :ref:`raster.wmts` driver page.

frmts/wms/frmt_ags_arcgisonline.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<GDAL_WMS>
22
<Service name="AGS">
3-
<ServerUrl>http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer</ServerUrl>
3+
<ServerUrl>https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer</ServerUrl>
44
<BBoxOrder>xyXY</BBoxOrder>
55
<SRS>3857</SRS>
66
</Service>
@@ -11,5 +11,5 @@
1111
<LowerRightY>-20037508.34</LowerRightY>
1212
<SizeX>512</SizeX>
1313
<SizeY>512</SizeY>
14-
</DataWindow>
14+
</DataWindow>
1515
</GDAL_WMS>

frmts/wms/minidriver_arcgis_server.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class WMSMiniDriver_AGS : public WMSMiniDriver
3939
protected:
4040
/*
4141
* png | png8 | png24 | jpg | pdf | bmp | gif | svg | png32
42-
* http://resources.arcgis.com/en/help/rest/apiref/
42+
* https://developers.arcgis.com/rest/services-reference/enterprise/export-map/
4343
* Parameter - format
4444
*/
4545
CPLString m_image_format;

0 commit comments

Comments
 (0)