获取ArcGIS Sever中瓦片的级别

import requests
import reserviceName = 'SampleWorldCities'
baseUrl = 'http://localhost:6080/arcgis/rest/services/'
serveiceUrl = baseUrl + serviceName + '/MapServer'
GET_Respose = requests.get(serveiceUrl)
xmldoc = GET_Respose.content
scalesstr = re.findall(r'
  • Scale: (.*?)
  • ',xmldoc) scale = map(int,scalesstr) print scale

    你可能感兴趣的:(获取ArcGIS Sever中瓦片的级别)