{
 "tables": [],
 "layers": [
  {
   "isCoGoEnabled": false,
   "extent": {
    "ymin": 4248935.4351,
    "xmin": 340225.1564999996,
    "ymax": 4328069.0243999995,
    "xmax": 496416.64049999975,
    "spatialReference": {
     "falseM": -100000,
     "xyTolerance": 0.001,
     "mUnits": 10000,
     "zUnits": 10000,
     "latestWkid": 5015,
     "zTolerance": 0.001,
     "wkid": 102332,
     "xyUnits": 10000,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "falseZ": -100000
    }
   },
   "isDataBranchVersioned": false,
   "supportsApplyEditsWithGlobalIds": false,
   "maxRecordCount": 2000,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "datesInUnknownTimezone": false,
   "type": "Feature Layer",
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": true,
   "supportsAttachmentsByUploadId": true,
   "relationships": [],
   "supportsAttachmentsResizing": true,
   "cimVersion": "3.0.0",
   "isDataArchived": false,
   "id": 1,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 2000,
   "isDataVersioned": false,
   "templates": [
    {
     "name": "Freguesias do Grupo Central",
     "description": "",
     "drawingTool": "esriFeatureEditToolPolygon",
     "prototype": {
      "attributes": {
       "concelho": null,
       "area_ha": null,
       "dicofre": null,
       "ilha": null,
       "freguesia": null
      }
     }
    }
   ],
   "hasGeometryProperties": true,
   "supportsAdvancedQueries": true,
   "parentLayer": null,
   "currentVersion": 11.4,
   "canScaleSymbols": false,
   "hasZ": false,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON,PBF"
   },
   "objectIdField": "fid",
   "supportsQuantizationEditMode": true,
   "name": "Freguesias do Grupo Central",
   "allowTrueCurvesUpdates": false,
   "displayField": "dicofre",
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": false,
     "defaultValue": null,
     "editable": false,
     "length": 4,
     "type": "esriFieldTypeOID",
     "modelName": "fid",
     "domain": null,
     "name": "fid",
     "alias": "fid"
    },
    {
     "modelName": "dicofre",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "dicofre",
     "length": 6,
     "alias": "DICOFRE",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "freguesia",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "freguesia",
     "length": 150,
     "alias": "Freguesia",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "concelho",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "concelho",
     "length": 50,
     "alias": "Concelho",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "ilha",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "ilha",
     "length": 50,
     "alias": "Ilha",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "area_ha",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "area_ha",
     "alias": "Area_ha",
     "type": "esriFieldTypeDouble"
    },
    {
     "virtual": true,
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "SHAPE__Length",
     "alias": "SHAPE__Length",
     "type": "esriFieldTypeDouble"
    },
    {
     "virtual": true,
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "SHAPE__Area",
     "alias": "SHAPE__Area",
     "type": "esriFieldTypeDouble"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "timeZoneIANA": "Etc/UTC",
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "hasM": false,
   "allowGeometryUpdates": true,
   "useStandardizedQueries": true,
   "globalIdField": null,
   "description": "<DIV STYLE=\"text-align:Left;font-size:12pt\"><P><SPAN>A CAOP regista o estado de delimitação e demarcação das circunscrições administrativas do País, ou seja, os limites oficiais de distrito, concelho e freguesia (estes limites têm igualmente correspondência com as NUTS I, NUTS II e NUTS III, de acordo com a Lei n.º 75/2013 de 12 de setembro). A sua elaboração e conservação é uma das atribuições da Direção-Geral do Território, nos termos do disposto na alínea l) do nº 2 do artigo 2º do Decreto Regulamentar nº 30/2012 de 13 de março, sendo que a atribuição do código unívoco de cada freguesia (DICOFRE) é da responsabilidade do Instituto Nacional de Estatística. A Assembleia da República é o organismo com competências reconhecidas por lei para alterar e fixar limites administrativos. A CAOP 2022 resultou das alterações de limites administrativos de freguesias/concelhos, bem como alterações de denominações de freguesias, decorrentes da publicação de vários diplomas, publicados entre a data de publicação da CAOP2021 e dezembro de 2022.<\/SPAN><\/P><P><SPAN>Para a utilização de serviços de visualização e descarregamento consultar os Guias de Apoio na página de dados abertos da DGT (<\/SPAN><A href=\"https://www.dgterritorio.gov.pt/dados-abertos\" STYLE=\"text-decoration:underline;\"><SPAN>https://www.dgterritorio.gov.pt/dados-abertos<\/SPAN><\/A><SPAN>).<\/SPAN><\/P><P><SPAN>Para mais informações sobre esta versão da CAOP e sobre as versões anteriores, nomeadamente informação mais detalhada sobre NUTS, distritos, municípios ou freguesias, consultar o seguinte endereço: <\/SPAN><A href=\"https://www.dgterritorio.gov.pt/cartografia/cartografia-tematica/caop\" STYLE=\"text-decoration:underline;\"><SPAN>https://www.dgterritorio.gov.pt/cartografia/cartografia-tematica/caop<\/SPAN><\/A><\/P><\/DIV>",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE__Area",
    "shapeLengthFieldName": "SHAPE__Length",
    "units": "esriMeters"
   },
   "supportsRollbackOnFailureParameter": true,
   "isDataReplicaTracked": false,
   "standardMaxRecordCountNoGeometry": 16000,
   "supportsTruncate": true,
   "indexes": [
    {
     "name": "r46_sde_rowid_uk",
     "isUnique": true,
     "description": "",
     "fields": "fid",
     "isAscending": true
    },
    {
     "name": "a32_ix1",
     "isUnique": true,
     "description": "",
     "fields": "shape",
     "isAscending": true
    }
   ],
   "supportedAppendSourceFilterFormats": "featureService",
   "editFieldsInfo": null,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "GUIDFormat": "O",
   "minScale": 0,
   "hasAttachments": false,
   "queryBinsCapabilities": {
    "supportedStatisticTypes": [
     "count",
     "sum",
     "min",
     "max",
     "avg",
     "stddev",
     "var",
     "percentile_cont",
     "percentile_disc"
    ],
    "supportsFixedIntervalBin": true,
    "supportsAutoIntervalBin": true,
    "supportsFixedBoundariesBin": true,
    "supportsDateBin": true
   },
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsQueryWithResultType": true,
    "supportsQueryRelatedPagination": true,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsCurrentUserQueries": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsDefaultSR": true,
    "supportsQueryDateBins": false,
    "supportsQueryWithLodSR": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsPagination": true,
    "supportsMaxRecordCountFactor": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsReturningGeometryProperties": true,
    "supportsFullTextSearch": true,
    "supportsQueryWithDistance": true,
    "supportsLod": true,
    "supportsSpatialAggregationStatistics": false,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryAttachments": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsTopFeaturesQuery": true,
    "supportsReturningGeometryEnvelope": true,
    "supportsDistinct": true,
    "supportsReturningGeometryCentroid": true,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSQL": true,
   "enableZDefaults": true,
   "serviceItemId": "dbb7617ce9544e88be1ddff11933ba73",
   "allowUpdateWithoutMValues": true,
   "supportsCoordinatesQuantization": true,
   "types": [],
   "capabilities": "Query",
   "maxScale": 0,
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "defaultVisibility": false,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": true,
   "supportedAppendFormats": "csv,excel,featureCollection,featureService,geojson,jsonl,pbf,shapefile",
   "tileMaxRecordCount": 2000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "sqlParserVersion": "PG_11.4.0",
   "drawingInfo": {
    "renderer": {
     "symbol": {
      "outline": {
       "color": [
        36,
        36,
        255,
        255
       ],
       "width": 1,
       "style": "esriSLSSolid",
       "type": "esriSLS"
      },
      "color": [
       186,
       252,
       252,
       0
      ],
      "style": "esriSFSSolid",
      "type": "esriSFS"
     },
     "type": "simple"
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "geometryField": {
    "sqlType": "sqlTypeOther",
    "nullable": true,
    "editable": true,
    "name": "shape",
    "typeName": "st_geometry",
    "length": 2147483647,
    "type": "esriFieldTypeGeometry"
   },
   "copyrightText": "Direção-Geral do Território",
   "zDefault": 0,
   "geometryType": "esriGeometryPolygon",
   "supportsLayerOverrides": true
  }
 ]
}