{
 "layers": [
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 0,
   "name": "Distribuição de habitats 2013-2018",
   "type": "Feature Layer",
   "description": "bdg.bdg_master.habitats_diretiva_13_18",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 3035,
    "latestWkid": 3035,
    "xyTolerance": 0.001,
    "zTolerance": 2,
    "mTolerance": 2,
    "falseX": -8426600,
    "falseY": -9526700,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       252,
       229,
       191,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 0.7
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -2477029.0866235667,
    "ymin": -1417961.7354528042,
    "xmax": 369425.1165385352,
    "ymax": 1165675.0451885073,
    "spatialReference": {
     "wkid": 3763,
     "latestWkid": 3763,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5623200,
     "falseY": -14394800,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 1000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "code",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "id",
     "type": "esriFieldTypeOID",
     "alias": "id",
     "domain": null
    },
    {
     "name": "geom",
     "type": "esriFieldTypeGeometry",
     "alias": "geom",
     "domain": null
    },
    {
     "name": "code",
     "type": "esriFieldTypeString",
     "alias": "code",
     "length": 15,
     "domain": null
    },
    {
     "name": "maptype",
     "type": "esriFieldTypeString",
     "alias": "maptype",
     "length": 15,
     "domain": null
    },
    {
     "name": "category",
     "type": "esriFieldTypeString",
     "alias": "category",
     "length": 15,
     "domain": null
    },
    {
     "name": "refgrid",
     "type": "esriFieldTypeString",
     "alias": "refgrid",
     "length": 25,
     "domain": null
    },
    {
     "name": "habitat",
     "type": "esriFieldTypeString",
     "alias": "habitat",
     "length": 250,
     "domain": null
    },
    {
     "name": "bioregion",
     "type": "esriFieldTypeString",
     "alias": "bioregion",
     "length": 5,
     "domain": null
    },
    {
     "name": "a_range",
     "type": "esriFieldTypeString",
     "alias": "a_range",
     "length": 5,
     "domain": null
    },
    {
     "name": "a_area",
     "type": "esriFieldTypeString",
     "alias": "a_area",
     "length": 5,
     "domain": null
    },
    {
     "name": "a_est_func",
     "type": "esriFieldTypeString",
     "alias": "a_est_func",
     "length": 5,
     "domain": null
    },
    {
     "name": "a_futuras",
     "type": "esriFieldTypeString",
     "alias": "a_futuras",
     "length": 5,
     "domain": null
    },
    {
     "name": "a_global",
     "type": "esriFieldTypeString",
     "alias": "a_global",
     "length": 5,
     "domain": null
    },
    {
     "name": "a_trend",
     "type": "esriFieldTypeString",
     "alias": "a_trend",
     "length": 5,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "geom",
    "type": "esriFieldTypeGeometry",
    "alias": "geom"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": false
   },
   "dateFieldsTimeReference": {
    "timeZone": "GMT Standard Time",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "3aefff2169744f9184e9f951cd2a4f2b"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 1,
   "name": "Dsitribuição de habitats 2007-2012",
   "type": "Feature Layer",
   "description": "bdg.bdg_master.pt_art17_habitats_distribuicao",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 3763,
    "latestWkid": 3763,
    "xyTolerance": 0.001,
    "zTolerance": 2,
    "mTolerance": 2,
    "falseX": -5623200,
    "falseY": -14394800,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       232,
       252,
       199,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 0.7
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -186654.87920000032,
    "ymin": -326932.70900000073,
    "xmax": 166451.76709999982,
    "ymax": 278234.65110000037,
    "spatialReference": {
     "wkid": 3763,
     "latestWkid": 3763,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5623200,
     "falseY": -14394800,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 1000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "n2k_name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "id",
     "type": "esriFieldTypeOID",
     "alias": "id",
     "domain": null
    },
    {
     "name": "geom",
     "type": "esriFieldTypeGeometry",
     "alias": "geom",
     "domain": null
    },
    {
     "name": "maptype",
     "type": "esriFieldTypeString",
     "alias": "maptype",
     "length": 20,
     "domain": null
    },
    {
     "name": "category",
     "type": "esriFieldTypeString",
     "alias": "category",
     "length": 20,
     "domain": null
    },
    {
     "name": "ms",
     "type": "esriFieldTypeString",
     "alias": "ms",
     "length": 2,
     "domain": null
    },
    {
     "name": "code",
     "type": "esriFieldTypeString",
     "alias": "code",
     "length": 16,
     "domain": null
    },
    {
     "name": "n2k_name",
     "type": "esriFieldTypeString",
     "alias": "n2k_name",
     "length": 250,
     "domain": null
    },
    {
     "name": "a_area",
     "type": "esriFieldTypeString",
     "alias": "a_area",
     "length": 5,
     "domain": null
    },
    {
     "name": "a_est_func",
     "type": "esriFieldTypeString",
     "alias": "a_est_func",
     "length": 5,
     "domain": null
    },
    {
     "name": "a_futuras",
     "type": "esriFieldTypeString",
     "alias": "a_futuras",
     "length": 5,
     "domain": null
    },
    {
     "name": "a_global",
     "type": "esriFieldTypeString",
     "alias": "a_global",
     "length": 5,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "geom",
    "type": "esriFieldTypeGeometry",
    "alias": "geom"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": false
   },
   "dateFieldsTimeReference": {
    "timeZone": "GMT Standard Time",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "3aefff2169744f9184e9f951cd2a4f2b"
  }
 ],
 "tables": []
}