aims-ks / atlasmapper

Automatically exported from code.google.com/p/atlasmapper
2 stars 0 forks source link

ArcGIS bad harvesting #134

Closed gaellafond closed 5 years ago

gaellafond commented 5 years ago

The URL: http://maps.six.nsw.gov.au/arcgis/rest/services/public/NSW_Hydrography/MapServer?f=json&pretty=true

define layers:

 "layers": [
  {
   "id": 0,
   "name": "Hydrography",
   "parentLayerId": -1,
   "defaultVisibility": true,
   "subLayerIds": [
    1,
    2,
    3,
    4,
    7,
    8,
    9,
    10,
    11,
    12,
    13,
    14,
    15,
    16
   ],
   "minScale": 0,
   "maxScale": 0
  },

The harvester attempt to get layers with URLs like: http://maps.six.nsw.gov.au/arcgis/rest/services/9?f=json&pretty=true instead of http://maps.six.nsw.gov.au/arcgis/rest/services/public/NSW_Hydrography/MapServer/9?f=json&pretty=true

gaellafond commented 5 years ago

Fixed in v2.0.13