{
 "layers": [
  {
   "currentVersion": 11.4,
   "cimVersion": "3.4.0",
   "id": 0,
   "name": "Nº Polícia Propostos",
   "type": "Feature Layer",
   "description": "Feature Class Criada com o intuito de fazer recolha em campo (mobile) dos nºs de policia a propor. Aproveita-se este trabalho para validar os existentes.Solicitado por Maria Margarida Pereira em Abril 2017",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 3763,
    "latestWkid": 3763,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5623200,
    "falseY": -14394800,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "CML",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 25001,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "8887d6a63194b2ef2a06a9cae871dcd8",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABT0lEQVQ4jb3UsUodURDG8d8BK5ukEh/BTkiCEkVQEBOJxM7WiNpqa2VALFLYKHYJdr6BRRIDVhYKioWFD2BjKRHBNEcO9yRZ9+69qyJOc3b2m/2fGeZjOzxhdDwrLDKC1zgK7D0YFukMXOd0EotYl2ElvTUsMo6tyETgqEJ/g53Ip8D3us6W0I1fkdEK0C5e5rpa2Ef8RF8C4iS/78V0Bh3k8duPGbiMjBWAw1n6ex7gXaprCYu8wkpBu1Edf7Ad/+fLgeNyZ134oD6GSvlmU2c4xXwh78dcBewrDkvf3YUFzvEtPccGaC1LaaJQOKdSXbgLbOpMAfQDL7CPM8wm76EHg2k5aUllYJU11gug91jN7680DJ28NZDr3tbBkn++YCFwVdhamvF3bFywkU3bfszABWYqLvkH1EK/zy/oc15GgrSNWlh2epPbH9vZveMWTmVOB+r4xnAAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 14,
      "height": 14,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -29171.681599999778,
    "ymin": -298800.1922999993,
    "xmax": 20387.458399999887,
    "ymax": -255833.9645000007,
    "spatialReference": {
     "wkid": 3763,
     "latestWkid": 3763,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -5623200,
     "falseY": -14394800,
     "xyUnits": 4.5026540700157917E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": true,
   "attachmentProperties": [
    {
     "name": "id",
     "fieldName": "ATTACHMENTID",
     "isEnabled": true
    },
    {
     "name": "globalid",
     "fieldName": "GLOBALID",
     "isEnabled": true
    },
    {
     "name": "keywords",
     "fieldName": "KEYWORDS",
     "isEnabled": false
    },
    {
     "name": "name",
     "fieldName": "ATT_NAME",
     "isEnabled": true
    },
    {
     "name": "contentType",
     "fieldName": "CONTENT_TYPE",
     "isEnabled": true
    },
    {
     "name": "size",
     "fieldName": "DATA_SIZE",
     "isEnabled": true
    },
    {
     "name": "exifInfo",
     "fieldName": "EXIFINFO",
     "isEnabled": false
    }
   ],
   "attachmentFields": [
    {
     "name": "ATTACHMENTID",
     "type": "esriFieldTypeOID",
     "alias": "ATTACHMENTID",
     "editable": false,
     "nullable": false,
     "length": 4,
     "domain": null
    },
    {
     "name": "GLOBALID",
     "type": "esriFieldTypeGlobalID",
     "alias": "GLOBALID",
     "editable": false,
     "nullable": false,
     "length": 38,
     "domain": null
    },
    {
     "name": "ATT_NAME",
     "type": "esriFieldTypeString",
     "alias": "ATT_NAME",
     "editable": true,
     "nullable": false,
     "length": 250,
     "domain": null
    },
    {
     "name": "CONTENT_TYPE",
     "type": "esriFieldTypeString",
     "alias": "CONTENT_TYPE",
     "editable": true,
     "nullable": false,
     "length": 150,
     "domain": null
    },
    {
     "name": "DATA_SIZE",
     "type": "esriFieldTypeInteger",
     "alias": "DATA_SIZE",
     "editable": true,
     "nullable": false,
     "length": 4,
     "domain": null
    }
   ],
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "N_POL_PROP",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "N_POL_PROP",
     "type": "esriFieldTypeString",
     "alias": "Nº Policia Proposto",
     "length": 5,
     "domain": null
    },
    {
     "name": "ESTADO",
     "type": "esriFieldTypeString",
     "alias": "Estado",
     "length": 30,
     "domain": {
      "type": "codedValue",
      "name": "D_003_EST_NPOL",
      "description": "Estado do Nº Policia",
      "codedValues": [
       {
        "name": "Proposto",
        "code": "PROP"
       },
       {
        "name": "A Corrrigir",
        "code": "CORR"
       },
       {
        "name": "Atualizado GDB",
        "code": "ATU"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "OBS",
     "type": "esriFieldTypeString",
     "alias": "Obs.",
     "length": 250,
     "domain": null
    },
    {
     "name": "GlobalID",
     "type": "esriFieldTypeGlobalID",
     "alias": "GlobalID",
     "length": 38,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "IDRUA",
     "type": "esriFieldTypeString",
     "alias": "ID Rua",
     "length": 10,
     "domain": null
    },
    {
     "name": "created_user",
     "type": "esriFieldTypeString",
     "alias": "created_user",
     "length": 255,
     "domain": null
    },
    {
     "name": "created_date",
     "type": "esriFieldTypeDate",
     "alias": "created_date",
     "length": 8,
     "domain": null
    },
    {
     "name": "last_edited_user",
     "type": "esriFieldTypeString",
     "alias": "last_edited_user",
     "length": 255,
     "domain": null
    },
    {
     "name": "last_edited_date",
     "type": "esriFieldTypeDate",
     "alias": "last_edited_date",
     "length": 8,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "UUID_1042",
     "fields": "GlobalID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "gdb_ct3_1042",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "S962_idx",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "maxSelectionCount": 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,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAttachments": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": false,
   "isDataArchived": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": true,
    "startArchivingMoment": 1541693464000
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.4,
   "cimVersion": "3.4.0",
   "id": 1,
   "name": "Topónimo Proposto",
   "type": "Feature Layer",
   "description": "Feature Class Criada com o intuito de identificar os novos toponimos a propor. Solicitado por Maria Margarida Pereira em Novembro 2017",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 3763,
    "latestWkid": 3763,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "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": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       170,
       0,
       255
      ],
      "width": 7
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[TOPO_PROP]",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "followFeature",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 0,
      "lineConnection": "minimizeLabels",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 1,
      "symbol": {
       "type": "esriTS",
       "color": [
        230,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2.5,
       "font": {
        "family": "Calibri",
        "size": 10,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -8427.157999999821,
    "ymin": -294973.3944000006,
    "xmax": 19838.614799999632,
    "ymax": -255776.3286000006,
    "spatialReference": {
     "wkid": 3763,
     "latestWkid": 3763,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -5623200,
     "falseY": -14394800,
     "xyUnits": 4.5026540700157917E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ESTADO",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ESTADO",
     "type": "esriFieldTypeString",
     "alias": "Estado",
     "length": 50,
     "domain": {
      "type": "codedValue",
      "name": "D_003_EST_NRUA_PROP",
      "description": "Estado do nome de rua proposto",
      "codedValues": [
       {
        "name": "Proposto",
        "code": "PROP"
       },
       {
        "name": "Contra-Proposta",
        "code": "CPROP"
       },
       {
        "name": "Aprovado",
        "code": "APROV"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "TOPO_INICIO",
     "type": "esriFieldTypeString",
     "alias": "Topónimo Início",
     "length": 100,
     "domain": null
    },
    {
     "name": "TOPO_FIM",
     "type": "esriFieldTypeString",
     "alias": "Topónimo Fim",
     "length": 100,
     "domain": null
    },
    {
     "name": "DATA_PROP",
     "type": "esriFieldTypeDate",
     "alias": "Data da Proposta",
     "length": 8,
     "domain": null
    },
    {
     "name": "DATA_CPROP",
     "type": "esriFieldTypeDate",
     "alias": "Data da Contra-Proposta",
     "length": 8,
     "domain": null
    },
    {
     "name": "DATA_APROV",
     "type": "esriFieldTypeDate",
     "alias": "Data da Aprovação",
     "length": 8,
     "domain": null
    },
    {
     "name": "FREG",
     "type": "esriFieldTypeString",
     "alias": "Freguesia",
     "length": 100,
     "domain": {
      "type": "codedValue",
      "name": "d_FREG_vigor",
      "description": "Lista de Freguesias em Vigor",
      "codedValues": [
       {
        "name": "Almancil",
        "code": "ALM"
       },
       {
        "name": "Alte",
        "code": "ALT"
       },
       {
        "name": "Ameixial",
        "code": "AMX"
       },
       {
        "name": "Boliqueime",
        "code": "BOL"
       },
       {
        "name": "Loulé (São Clemente)",
        "code": "SCL"
       },
       {
        "name": "Loulé (São Sebastião)",
        "code": "SSB"
       },
       {
        "name": "Quarteira",
        "code": "QRT"
       },
       {
        "name": "Salir",
        "code": "SAL"
       },
       {
        "name": "Querença, Tôr e Benafim",
        "code": "QTB"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "OBS",
     "type": "esriFieldTypeString",
     "alias": "Obs.",
     "length": 250,
     "domain": null
    },
    {
     "name": "TOPO_PROP",
     "type": "esriFieldTypeString",
     "alias": "Topónimo Proposto",
     "length": 100,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    },
    {
     "name": "GlobalID",
     "type": "esriFieldTypeGlobalID",
     "alias": "GlobalID",
     "length": 38,
     "domain": null
    },
    {
     "name": "IDRUA",
     "type": "esriFieldTypeString",
     "alias": "ID Rua",
     "length": 10,
     "domain": null
    },
    {
     "name": "created_user",
     "type": "esriFieldTypeString",
     "alias": "created_user",
     "length": 255,
     "domain": null
    },
    {
     "name": "created_date",
     "type": "esriFieldTypeDate",
     "alias": "created_date",
     "length": 8,
     "domain": null
    },
    {
     "name": "last_edited_user",
     "type": "esriFieldTypeString",
     "alias": "last_edited_user",
     "length": 255,
     "domain": null
    },
    {
     "name": "last_edited_date",
     "type": "esriFieldTypeDate",
     "alias": "last_edited_date",
     "length": 8,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "UUID_1044",
     "fields": "GlobalID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "gdb_ct3_1044",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "S963_idx",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "maxSelectionCount": 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,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": false,
   "isDataArchived": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": true,
    "startArchivingMoment": 1541693464000
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  }
 ],
 "tables": []
}