Select to view content in your preferred language

Exporting Specific Layer from ArcGIS REST Service to TIFF - Export Disabled

86
1
Monday
Labels (3)
IB3
by
Regular Contributor

Hi everyone,

I'm trying to get a TIFF of a specific layer (ID 54, "1:12.000") from this ArcGIS REST Map Service: https://tiles.arcgis.com/tiles/nSZVuSZjHpEZZbRo/arcgis/rest/services/Historische_tijdreis_1901/MapSe....

The export capability is disabled, and I need to extract this layer for a specific municipality.

Are there any known workarounds for this, such as:

  • Programmatically downloading and stitching tiles (e.g., with Python/GDAL)?

  • Using ArcGIS Pro/Desktop to export it?

  • Any third-party tools/APIs?

Any "hacks" or suggestions would be greatly appreciated!

Thanks!

0 Kudos
1 Reply
Clubdebambos
MVP Regular Contributor

Hi @IB3,

You can research faster alternatives eventually, but you can use arcpy, quite (very) slow in my testing but certainly gets the job done. Use url to the mapserver and the layer id. You might want to use and environmental setting to limit the extent to be extracted. 

import arcpy

url = "https://tiles.arcgis.com/tiles/nSZVuSZjHpEZZbRo/arcgis/rest/services/Historische_tijdreis_1901/MapServer/54"

arcpy.management.CopyRaster(
    in_raster=url,
    out_rasterdataset=r"C:\path\to\output\testing.tif"
)

All the best,

Glen

~ learn.finaldraftmapping.com
0 Kudos