{ "layers": [ { "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 0, "name": "Ocorrencias", "type": "Feature Layer", "parentLayer": null, "defaultVisibility": true, "minScale": 0, "maxScale": 0, "canScaleSymbols": false, "geometryType": "esriGeometryPoint", "description": "", "copyrightText": "", "editFieldsInfo": { "creationDateField": "created_date", "creatorField": "created_user", "editDateField": "last_edited_date", "editorField": "last_edited_user" }, "ownershipBasedAccessControlForFeatures": null, "syncCanReturnChanges": true, "relationships": [], "isDataVersioned": false, "isDataArchived": true, "infoInEstimates": [ "extent", "count" ], "isDataBranchVersioned": false, "isDataReplicaTracked": false, "isCoGoEnabled": false, "supportsRollbackOnFailureParameter": false, "archivingInfo": { "supportsQueryWithHistoricMoment": true, "startArchivingMoment": 1770047403000 }, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportsValidateSQL": true, "supportsCoordinatesQuantization": true, "supportsQuantizationEditMode": true, "supportsCalculate": true, "supportsASyncCalculate": true, "supportsDatumTransformation": true, "advancedQueryCapabilities": { "supportsPagination": true, "supportsTrueCurve": true, "supportsQueryWithDistance": true, "supportsReturningQueryExtent": true, "supportsStatistics": true, "supportsPercentileStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsAdvancedQueryRelated": true, "supportsQueryRelatedPagination": true, "supportsCurrentUserQueries": true, "supportsQueryAttachments": true, "supportsQueryAttachmentsWithReturnUrl": true, "supportsQueryWithResultType": true, "supportsReturningGeometryCentroid": false, "supportsSqlExpression": true, "supportsQueryWithDatumTransformation": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsQueryAnalytic": true }, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": true, "supportsPercentileAnalytic": false }, "advancedEditingCapabilities": { "supportedSqlFormatsInCalculate": [ "standard" ], "supportsAsyncApplyEdits": true, "supportsApplyEditsbyUploadID": true, "supportedApplyEditsUploadIDFormats": "JSON" }, "hasMetadata": true, "extent": { "xmin": -62654.786999999546, "ymin": 10240.145600000396, "xmax": -29404.7444000002, "ymax": 41211.16559999995, "spatialReference": { "wkid": 3763, "latestWkid": 3763, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5623200, "falseY": -14394800, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "sourceSpatialReference": { "wkid": 3763, "latestWkid": 3763, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5623200, "falseY": -14394800, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "drawingInfo": { "renderer": { "type": "uniqueValue", "field1": "est_at_ocor", "defaultSymbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 0, 0, 0, 0 ], "size": 10, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 0 ], "width": 0 } }, "defaultLabel": "", "uniqueValueGroups": [ { "heading": "Estado Atual da Ocorrência", "classes": [ { "label": "Em resolução", "description": "Em resolução", "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 255, 170, 0, 255 ], "size": 8, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 0 } }, "values": [ [ "Em resolução" ] ] }, { "label": "Resolvido", "description": "Resolvido", "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 85, 255, 0, 255 ], "size": 8, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 0 } }, "values": [ [ "Resolvido" ] ] }, { "label": "Sem intervenção", "description": "Sem intervenção", "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 255, 0, 0, 255 ], "size": 8, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 0 } }, "values": [ [ "Sem intervenção" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 255, 170, 0, 255 ], "size": 8, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 0 } }, "value": "Em resolução", "label": "Em resolução" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 85, 255, 0, 255 ], "size": 8, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 0 } }, "value": "Resolvido", "label": "Resolvido" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 255, 0, 0, 255 ], "size": 8, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 0 } }, "value": "Sem intervenção", "label": "Sem intervenção" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 212, 248, 255 ], "toColor": [ 252, 212, 248, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 191, 252, 187, 255 ], "toColor": [ 191, 252, 187, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 235, 252, 255 ], "toColor": [ 179, 235, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 220, 192, 255 ], "toColor": [ 252, 220, 192, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 183, 179, 252, 255 ], "toColor": [ 183, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 251, 252, 187, 255 ], "toColor": [ 251, 252, 187, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 187, 192, 255 ], "toColor": [ 252, 187, 192, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 202, 252, 226, 255 ], "toColor": [ 202, 252, 226, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 240, 184, 252, 255 ], "toColor": [ 240, 184, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 202, 211, 252, 255 ], "toColor": [ 202, 211, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 237, 252, 212, 255 ], "toColor": [ 237, 252, 212, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 222, 255 ], "toColor": [ 252, 182, 222, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 187, 252, 248, 255 ], "toColor": [ 187, 252, 248, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "hasM": false, "hasZ": true, "enableZDefaults": true, "zDefault": 0, "supportsVCSProjection": true, "allowGeometryUpdates": true, "allowTrueCurvesUpdates": true, "onlyAllowTrueCurveUpdatesByTrueCurveClients": true, "hasAttachments": true, "supportsAttachmentsByUploadId": true, "supportsAttachmentsResizing": true, "supportsApplyEditsWithGlobalIds": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "objectIdField": "objectid", "globalIdField": "globalid", "displayField": "data", "typeIdField": "est_at_ocor", "subtypeField": "", "fields": [ { "name": "objectid", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null, "editable": false, "nullable": false, "defaultValue": null, "modelName": "objectid" }, { "name": "data", "type": "esriFieldTypeDate", "alias": "data", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "data" }, { "name": "requerente", "type": "esriFieldTypeString", "alias": "requerente", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "requerente" }, { "name": "tel", "type": "esriFieldTypeInteger", "alias": "Telefone", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "tel" }, { "name": "mail", "type": "esriFieldTypeString", "alias": "Mail", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "mail" }, { "name": "morada_oc", "type": "esriFieldTypeString", "alias": "Morada de Ocorrencia", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "morada_oc" }, { "name": "tipo_ocor", "type": "esriFieldTypeString", "alias": "Tipo de Ocorrência", "domain": { "type": "codedValue", "name": "Kristin_TO", "description": "Tipo de Ocorrencia", "codedValues": [ { "name": "Danos Estruturais", "code": "2" }, { "name": "Queda de Árvores", "code": "1" }, { "name": "Inundação", "code": "3" }, { "name": "Outro", "code": "4" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "tipo_ocor" }, { "name": "grav_ocorren", "type": "esriFieldTypeString", "alias": "grav_ocorren", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "grav_ocorren" }, { "name": "vitimas", "type": "esriFieldTypeString", "alias": "Vitimas", "domain": { "type": "codedValue", "name": "SimNao", "description": "Sim ou Não", "codedValues": [ { "name": "Outra Situação", "code": "3" }, { "name": "Sim", "code": "1" }, { "name": "Não", "code": "2" }, { "name": "Sem Identificação", "code": "4" }, { "name": "Projeto", "code": "5" }, { "name": "Reab", "code": "6" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "vitimas" }, { "name": "edificio", "type": "esriFieldTypeString", "alias": "edificio", "domain": { "type": "codedValue", "name": "Kristin_Ed", "description": "", "codedValues": [ { "name": "Habitações", "code": "1" }, { "name": "Anexos", "code": "2" }, { "name": "Industria", "code": "3" }, { "name": "Comércio", "code": "4" }, { "name": "Serviços", "code": "5" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "edificio" }, { "name": "est_at_ocor", "type": "esriFieldTypeString", "alias": "Estado Atual da Ocorrência", "domain": { "type": "codedValue", "name": "KEst_Ocor", "description": "", "codedValues": [ { "name": "Sem intervenção", "code": "Sem intervenção" }, { "name": "Em resolução", "code": "Em resolução" }, { "name": "Resolvido", "code": "Resolvido" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 800, "defaultValue": null, "modelName": "est_at_ocor" }, { "name": "des_oc", "type": "esriFieldTypeString", "alias": "Descrição da Ocorrência", "domain": null, "editable": true, "nullable": true, "length": 900, "defaultValue": null, "modelName": "des_oc" }, { "name": "created_user", "type": "esriFieldTypeString", "alias": "created_user", "domain": null, "editable": false, "nullable": true, "length": 255, "defaultValue": null, "modelName": "created_user" }, { "name": "created_date", "type": "esriFieldTypeDate", "alias": "created_date", "domain": null, "editable": false, "nullable": true, "length": 8, "defaultValue": null, "modelName": "created_date" }, { "name": "last_edited_user", "type": "esriFieldTypeString", "alias": "last_edited_user", "domain": null, "editable": false, "nullable": true, "length": 255, "defaultValue": null, "modelName": "last_edited_user" }, { "name": "last_edited_date", "type": "esriFieldTypeDate", "alias": "last_edited_date", "domain": null, "editable": false, "nullable": true, "length": 8, "defaultValue": null, "modelName": "last_edited_date" }, { "name": "freg", "type": "esriFieldTypeString", "alias": "freg", "domain": { "type": "codedValue", "name": "Freguesias_25", "description": "Freguesias", "codedValues": [ { "name": "Abiul", "code": "1" }, { "name": "Albergaria dos Doze", "code": "2" }, { "name": "Almagreira", "code": "3" }, { "name": "Carnide", "code": "4" }, { "name": "Carriço", "code": "5" }, { "name": "Guia", "code": "6" }, { "name": "Ilha", "code": "7" }, { "name": "Louriçal", "code": "8" }, { "name": "Mata Mourisca", "code": "9" }, { "name": "Meirinhas", "code": "10" }, { "name": "Pelariga", "code": "11" }, { "name": "Pombal", "code": "12" }, { "name": "Redinha", "code": "13" }, { "name": "Santiago de Litém", "code": "14" }, { "name": "São Simão de Litém", "code": "15" }, { "name": "Vermoil", "code": "16" }, { "name": "Vila Cã", "code": "17" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "freg" }, { "name": "globalid", "type": "esriFieldTypeGlobalID", "alias": "globalid", "domain": null, "editable": false, "nullable": false, "length": 38, "defaultValue": null, "modelName": "globalid" }, { "name": "qued_arv", "type": "esriFieldTypeString", "alias": "qued_arv", "domain": { "type": "codedValue", "name": "SimNao", "description": "Sim ou Não", "codedValues": [ { "name": "Outra Situação", "code": "3" }, { "name": "Sim", "code": "1" }, { "name": "Não", "code": "2" }, { "name": "Sem Identificação", "code": "4" }, { "name": "Projeto", "code": "5" }, { "name": "Reab", "code": "6" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "qued_arv" }, { "name": "t_quedaarv", "type": "esriFieldTypeString", "alias": "t_quedaarv", "domain": { "type": "codedValue", "name": "KQued_Arv", "description": "", "codedValues": [ { "name": "Via pública", "code": "Via pública" }, { "name": "Habitação", "code": "Habitação" }, { "name": "Anexos", "code": "Anexos" }, { "name": "Muros", "code": "Muros" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "t_quedaarv" }, { "name": "t_poste", "type": "esriFieldTypeString", "alias": "t_poste", "domain": { "type": "codedValue", "name": "K_TPoste", "description": "", "codedValues": [ { "name": "Eléctrico", "code": "Eléctrico" }, { "name": "Telecomunicações", "code": "Telecomunicações" }, { "name": "Alta Tensão", "code": "Alta Tensão" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "t_poste" }, { "name": "n_pedido", "type": "esriFieldTypeInteger", "alias": "n_pedido", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "n_pedido" }, { "name": "x_coor", "type": "esriFieldTypeDouble", "alias": "x_coor", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "x_coor" }, { "name": "y_coord", "type": "esriFieldTypeDouble", "alias": "y_coord", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "y_coord" } ], "geometryField": { "name": "shape", "type": "esriFieldTypeGeometry", "alias": "SHAPE", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "shape" }, "indexes": [ { "name": "r1944_sde_rowid_uk", "fields": "objectid", "isAscending": true, "isUnique": false, "description": "" }, { "name": "uuid_1944", "fields": "globalid", "isAscending": true, "isUnique": true, "description": "" }, { "name": "a1710_ix1", "fields": "shape", "isAscending": true, "isUnique": true, "description": "" } ], "datesInUnknownTimezone": false, "dateFieldsTimeReference": { "timeZone": "UTC", "respectsDaylightSaving": false }, "preferredTimeReference": null, "types": [ { "id": "Em resolução", "name": "Em resolução", "domains": { "tipo_ocor": {"type": "inherited"}, "vitimas": {"type": "inherited"}, "edificio": {"type": "inherited"}, "est_at_ocor": {"type": "inherited"}, "freg": {"type": "inherited"}, "qued_arv": {"type": "inherited"}, "t_quedaarv": {"type": "inherited"}, "t_poste": {"type": "inherited"} }, "templates": [ { "name": "Em resolução", "description": "", "prototype": { "attributes": { "x_coor": null, "n_pedido": null, "data": null, "requerente": null, "tel": null, "mail": null, "morada_oc": null, "tipo_ocor": null, "grav_ocorren": null, "vitimas": null, "edificio": null, "est_at_ocor": "Em resolução", "des_oc": null, "t_poste": null, "t_quedaarv": null, "qued_arv": null, "y_coord": null, "freg": null } }, "drawingTool": "esriFeatureEditToolPoint" } ] }, { "id": "Resolvido", "name": "Resolvido", "domains": { "tipo_ocor": {"type": "inherited"}, "vitimas": {"type": "inherited"}, "edificio": {"type": "inherited"}, "est_at_ocor": {"type": "inherited"}, "freg": {"type": "inherited"}, "qued_arv": {"type": "inherited"}, "t_quedaarv": {"type": "inherited"}, "t_poste": {"type": "inherited"} }, "templates": [ { "name": "Resolvido", "description": "", "prototype": { "attributes": { "x_coor": null, "n_pedido": null, "data": null, "requerente": null, "tel": null, "mail": null, "morada_oc": null, "tipo_ocor": null, "grav_ocorren": null, "vitimas": null, "edificio": null, "est_at_ocor": "Resolvido", "des_oc": null, "t_poste": null, "t_quedaarv": null, "qued_arv": null, "y_coord": null, "freg": null } }, "drawingTool": "esriFeatureEditToolPoint" } ] }, { "id": "Sem intervenção", "name": "Sem intervenção", "domains": { "tipo_ocor": {"type": "inherited"}, "vitimas": {"type": "inherited"}, "edificio": {"type": "inherited"}, "est_at_ocor": {"type": "inherited"}, "freg": {"type": "inherited"}, "qued_arv": {"type": "inherited"}, "t_quedaarv": {"type": "inherited"}, "t_poste": {"type": "inherited"} }, "templates": [ { "name": "Sem intervenção", "description": "", "prototype": { "attributes": { "x_coor": null, "n_pedido": null, "data": null, "requerente": null, "tel": null, "mail": null, "morada_oc": null, "tipo_ocor": null, "grav_ocorren": null, "vitimas": null, "edificio": null, "est_at_ocor": "Sem intervenção", "des_oc": null, "t_poste": null, "t_quedaarv": null, "qued_arv": null, "y_coord": null, "freg": null } }, "drawingTool": "esriFeatureEditToolPoint" } ] } ], "templates": [], "maxRecordCount": 2000, "supportedQueryFormats": "JSON, geoJSON, PBF", "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson", "capabilities": "Query,Create,Update,Uploads,Editing,ChangeTracking", "useStandardizedQueries": true, "bigIntegerRestrictedTo53Bits": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "attachmentProperties": [ { "name": "id", "fieldName": "attachmentid", "isEnabled": true }, { "name": "globalId", "fieldName": "GLOBALID", "isEnabled": false }, { "name": "name", "fieldName": "att_name", "isEnabled": true }, { "name": "size", "fieldName": "data_size", "isEnabled": true }, { "name": "contentType", "fieldName": "content_type", "isEnabled": true }, { "name": "keywords", "fieldName": "KEYWORDS", "isEnabled": false }, { "name": "exifInfo", "fieldName": "EXIFINFO", "isEnabled": false } ], "attachmentFields": [ { "name": "attachmentid", "type": "esriFieldTypeOID", "alias": "attachmentid", "domain": null, "editable": false, "nullable": false, "defaultValue": null }, { "name": "att_name", "type": "esriFieldTypeString", "alias": "att_name", "domain": null, "editable": true, "nullable": false, "length": 250, "defaultValue": null }, { "name": "data_size", "type": "esriFieldTypeInteger", "alias": "data_size", "domain": null, "editable": true, "nullable": false, "defaultValue": null }, { "name": "content_type", "type": "esriFieldTypeString", "alias": "content_type", "domain": null, "editable": true, "nullable": false, "length": 150, "defaultValue": null } ], "standardMaxRecordCount": 32000, "tileMaxRecordCount": 8000, "standardMaxRecordCountNoGeometry": 32000, "maxRecordCountFactor": 1, "serviceItemId": "caa6dcb29d12472ab7a36e6a9ac13348" } ], "tables": [] }