{ "currentVersion": 10.51, "id": 64, "name": "Ocorrencias - Gestao operacional", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPoint", "sourceSpatialReference": { "wkid": 3763, "latestWkid": 3763 }, "copyrightText": "", "parentLayer": { "id": 63, "name": "Gestao operacional" }, "subLayers": [], "minScale": 0, "maxScale": 0, "drawingInfo": { "renderer": { "type": "uniqueValue", "field1": "Sistema", "field2": null, "field3": null, "defaultSymbol": null, "defaultLabel": null, "uniqueValueInfos": [ { "symbol": { "type": "esriPMS", "url": "689b6faa9bf4e28ae511c094fcb59697", "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAgAAAAUCAYAAACwG3xrAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAASxJREFUKJGNkr1KxEAUhc9NZsyaP7OJLCRWdhY2btbOajvRPIGwdr6G+hoWvsSWVloJksJCENxuIUELESxEk3AtNJNEFHfa75szh8MI/HMEADBzzMxJG1RVdSalzAQzxwCm86eX8O39QwmDvnPMzCMBIAYQnl/e4nT2qISrZBs7m+uJWKgDABCoS+iH4JlLHW4ZUgkpAKx5VkfwHRNENFUJq25X8GzzK4GIUmZG4Cw3tzWCaxogorROyPu2GdbCnm9D07S8XTJbsXtK2Ahs1N1Ugt0zcLG7BQCIfKfZ4Xvq+H7erJg9v2LgOfvMHAtmjogovJllOLx+UNLdgYvAtaLFp/5TqKoqFULkk/EwnIyHbZaWZZkKKWVWFMVI1/WjNlUfBgCklBmAk9+e+AQ1X1mJkvTFqgAAAABJRU5ErkJggg==", "contentType": "image/png", "width": 6, "height": 15, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "0", "label": "Abastecimento Agua", "description": "" }, { "symbol": { "type": "esriPMS", "url": "e4507355ea8e8e7ce98668dfc4b4a81b", "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAgAAAAUCAYAAACwG3xrAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAASRJREFUKJGNkjtuwkAURe/DMyHBH8BGlmyqdLTB0LEDwhZMl20kbCMFm6Cko0UuUiAhpUQaiy5SCqTY1kuDB1vKhynnHN2572kE/jkCAJg5YuZZFRRF8SqlVIKZIwCrj8Mh+DqdtGD7/jMzjwSACEDwtlziuFhoYbzZ4H4ymYmrOgAAEf0t3HQ6NSBNUwsJAJj9fk1ouS6IaKUTzF6vLpwTBRElzIw7z9OQXBdNxwERJWVC2up2g1KwplM0Go20WlLdttsXYTBA2U0nNC0LD+s1AMAOw8uY51VHx/1eX34qBdv3H5k5EswcElGgtlu8z+dacnY7mJ4XXr/qX4WiKBIhRDqM42AYx1WW5HmeCCmlyrJsZBjGU5XqDwMAUkoF4OWnJ74BcfJazso4YQ8AAAAASUVORK5CYII=", "contentType": "image/png", "width": 6, "height": 15, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "1", "label": "Aguas Residuais", "description": "" }, { "symbol": { "type": "esriPMS", "url": "f1008527491ef9a5649fe40d0132edde", "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAgAAAAUCAYAAACwG3xrAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAS1JREFUKJGNkj1Ow0AQhd/YuySxYyfYUZBNRUcJceg4QSAXoEg6Sq4AXIOCS6QCOlq0EhQIJBokpDWRKJAoEMTWUIA3DuInW+736e2b0Qr8cwQAMHPCzP0yyPP8SEqpBTMnAEbPjw/R+9urEbygvc/MXQEgARBdnRxjfHlohI3hOVbWNvtirg4AQKC/hQWnOQNk1TWCAgA3XJ4RHD8AEY1MgttsfRM+EwURKWZGzQ8NJDtAxfVBRKpISB1/MSqE+tIWLMtKyyV11WtMhWgVRTeTUKnVsb5zBgDwWvF0zK9VJ+P7W3P58qThBe1tZk4EM8dEFOmbC9ydDo3k713DbYTx/Kv+VcjzXAkh0k5vEHV6gzJTWZYpIaXUk8mka9v2bpmaDwMAUkoN4OCnJz4AaLNZxa1WQ18AAAAASUVORK5CYII=", "contentType": "image/png", "width": 6, "height": 15, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "2", "label": "Aguas Pluviais", "description": "" } ], "fieldDelimiter": "," }, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": -54793.88080000039, "ymin": 189348.05110000074, "xmax": -46526.917399999686, "ymax": 195909.89580000006, "spatialReference": { "wkid": 3763, "latestWkid": 3763 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "Utilizador", "typeIdField": "Sistema", "subtypeFieldName": "Sistema", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "Global ID", "length": 38, "domain": null }, { "name": "Utilizador", "type": "esriFieldTypeString", "alias": "Nome do utilizador", "length": 255, "domain": null }, { "name": "DataDigitalizacao", "type": "esriFieldTypeDate", "alias": "Data de digitalizacao", "length": 8, "domain": null }, { "name": "UltimoEditor", "type": "esriFieldTypeString", "alias": "Ultimo editor", "length": 255, "domain": null }, { "name": "DataActualizacao", "type": "esriFieldTypeDate", "alias": "Data de actualizacao", "length": 8, "domain": null }, { "name": "Descricao", "type": "esriFieldTypeString", "alias": "Descricao", "length": 255, "domain": null }, { "name": "Distrito", "type": "esriFieldTypeString", "alias": "Distrito", "length": 255, "domain": null }, { "name": "Concelho", "type": "esriFieldTypeString", "alias": "Concelho", "length": 255, "domain": null }, { "name": "Freguesia", "type": "esriFieldTypeString", "alias": "Freguesia", "length": 255, "domain": null }, { "name": "Arruamento", "type": "esriFieldTypeString", "alias": "Arruamento", "length": 255, "domain": null }, { "name": "Localizacao", "type": "esriFieldTypeString", "alias": "Localizacao", "length": 255, "domain": null }, { "name": "Observacoes", "type": "esriFieldTypeString", "alias": "Observacoes", "length": 255, "domain": null }, { "name": "Rotacao", "type": "esriFieldTypeDouble", "alias": "Rotacao", "domain": { "type": "range", "name": "dRotacao", "range": [ -360, 360 ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "XValue", "type": "esriFieldTypeDouble", "alias": "XValue", "domain": null }, { "name": "YValue", "type": "esriFieldTypeDouble", "alias": "YValue", "domain": null }, { "name": "IDOcorrencia", "type": "esriFieldTypeString", "alias": "ID da ocorrencia", "length": 20, "domain": null }, { "name": "IDOrdemTrabalho", "type": "esriFieldTypeString", "alias": "ID da ordem de trabalho", "length": 20, "domain": null }, { "name": "Identificacao", "type": "esriFieldTypeString", "alias": "Identificacao", "length": 255, "domain": null }, { "name": "Morada", "type": "esriFieldTypeString", "alias": "Morada", "length": 255, "domain": null }, { "name": "ContactoTelefonico", "type": "esriFieldTypeInteger", "alias": "Contacto telefonico", "domain": null }, { "name": "ContactoElectronico", "type": "esriFieldTypeString", "alias": "Contacto electronico", "length": 255, "domain": null }, { "name": "TipoOcorrencia", "type": "esriFieldTypeString", "alias": "Tipo de ocorrencia", "length": 30, "domain": { "type": "codedValue", "name": "dgTipoOcorrencia", "codedValues": [ { "name": "NC", "code": "NC" }, { "name": "Outro(a)", "code": "Outro" }, { "name": "Abatimento terreno", "code": "AbatimentoTerreno" }, { "name": "Agua a superficie", "code": "AguaSuperficie" }, { "name": "EsgotoSuperficie", "code": "EsgotoSuperficie" }, { "name": "Falta de agua", "code": "FaltaAgua" }, { "name": "Falta de pressao", "code": "FaltaPressao" }, { "name": "Fuga num hidrante", "code": "FugaHidrante" }, { "name": "Mau cheiro", "code": "MauCheiro" }, { "name": "Qualidade agua", "code": "QualidadeAgua" }, { "name": "Tampa partida", "code": "TampaPartida" }, { "name": "Reclamação", "code": "Reclamacao" }, { "name": "Sugestão", "code": "Sugestao" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" } }, { "name": "EstadoOcorrencia", "type": "esriFieldTypeString", "alias": "EstadoOcorrencia", "length": 255, "domain": { "type": "codedValue", "name": "dgEstado", "codedValues": [ { "name": "NC", "code": "NC" }, { "name": "Atribuida", "code": "Atribuida" }, { "name": "Nao atribuida", "code": "NaoAtribuida" }, { "name": "Em curso", "code": "EmCurso" }, { "name": "Fechada", "code": "Fechada" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" } }, { "name": "Sistema", "type": "esriFieldTypeInteger", "alias": "Sistema", "domain": { "type": "codedValue", "name": "dgSistema", "codedValues": [ { "name": "Abastecimento Agua", "code": 0 }, { "name": "Aguas Residuais", "code": 1 }, { "name": "Aguas Pluviais", "code": 2 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "ExclusivoSistema", "type": "esriFieldTypeSmallInteger", "alias": "Exclusivo ao sistema", "domain": { "type": "codedValue", "name": "dBooleano", "codedValues": [ { "name": "Nao", "code": 0 }, { "name": "Sim", "code": 1 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "Assunto", "type": "esriFieldTypeString", "alias": "Assunto da reclamacao", "length": 30, "domain": { "type": "codedValue", "name": "dgAssunto", "codedValues": [ { "name": "Atendimento", "code": "Atendimento" }, { "name": "Contratacao", "code": "Contratacao" }, { "name": "Facturacao e leitura", "code": "FacturacaoLeitura" }, { "name": "Ligacao e disponibilidade", "code": "LigacaoDisponibilidade" }, { "name": "Qualidade da agua", "code": "QualidadeAgua" }, { "name": "Qualidade do servico", "code": "QualidadeServico" }, { "name": "Tarifario", "code": "Tarifario" }, { "name": "NA", "code": "NA" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "MeioComunicacao", "type": "esriFieldTypeString", "alias": "Meio de comunicacao", "length": 30, "domain": { "type": "codedValue", "name": "dgMeioComunicacao", "codedValues": [ { "name": "Telefone", "code": "Telefone" }, { "name": "Correio", "code": "Correio" }, { "name": "Email", "code": "Email" }, { "name": "Fax", "code": "Fax" }, { "name": "Formulario electronico", "code": "FormularioElectronico" }, { "name": "Livro de reclamacoes", "code": "LivroReclamacoes" }, { "name": "Presencial (formulário próprio da EG ou outro documento escrito)", "code": "Presencial" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "DataEntrada", "type": "esriFieldTypeDate", "alias": "Data de entrada", "length": 8, "domain": null }, { "name": "HoraEntrada", "type": "esriFieldTypeString", "alias": "Hora de entrada (hh:mm)", "length": 5, "domain": null }, { "name": "Comentarios", "type": "esriFieldTypeString", "alias": "Comentarios", "length": 30, "domain": null }, { "name": "ComunicadoA", "type": "esriFieldTypeString", "alias": "Comunicado a", "length": 30, "domain": { "type": "codedValue", "name": "dgEncarregado", "codedValues": [ { "name": "NC", "code": "NC" }, { "name": "Chefe piquete 1", "code": "CP1" }, { "name": "Chefe piquete 2", "code": "CP2" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" } }, { "name": "HoraComunicacao", "type": "esriFieldTypeString", "alias": "Hora de comunicacao (hh:mm)", "length": 5, "domain": null }, { "name": "DataResposta", "type": "esriFieldTypeDate", "alias": "Data de resposta", "length": 8, "domain": null }, { "name": "TipoResposta", "type": "esriFieldTypeString", "alias": "Tipo de resposta", "length": 30, "domain": { "type": "codedValue", "name": "dgTipoResposta", "codedValues": [ { "name": "Final", "code": "Final" }, { "name": "Intermedia", "code": "Intermedia" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } } ], "indexes": [ { "name": "R117_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "UUID_117", "fields": "GlobalID", "isAscending": true, "isUnique": false, "description": "" }, { "name": "G207IDOrdemTraba", "fields": "IDOrdemTrabalho", "isAscending": true, "isUnique": false, "description": "" }, { "name": "UUID_OID_117", "fields": "GlobalID,OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S73_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "types": [ { "domains": { "Rotacao": {"type": "inherited"}, "TipoOcorrencia": {"type": "inherited"}, "EstadoOcorrencia": {"type": "inherited"}, "ExclusivoSistema": {"type": "inherited"}, "Assunto": {"type": "inherited"}, "MeioComunicacao": {"type": "inherited"}, "ComunicadoA": {"type": "inherited"}, "TipoResposta": {"type": "inherited"} }, "id": 0, "name": "Abastecimento Agua" }, { "domains": { "Rotacao": {"type": "inherited"}, "TipoOcorrencia": {"type": "inherited"}, "EstadoOcorrencia": {"type": "inherited"}, "ExclusivoSistema": {"type": "inherited"}, "Assunto": {"type": "inherited"}, "MeioComunicacao": {"type": "inherited"}, "ComunicadoA": {"type": "inherited"}, "TipoResposta": {"type": "inherited"} }, "id": 1, "name": "Aguas Residuais" }, { "domains": { "Rotacao": {"type": "inherited"}, "TipoOcorrencia": {"type": "inherited"}, "EstadoOcorrencia": {"type": "inherited"}, "ExclusivoSistema": {"type": "inherited"}, "Assunto": {"type": "inherited"}, "MeioComunicacao": {"type": "inherited"}, "ComunicadoA": {"type": "inherited"}, "TipoResposta": {"type": "inherited"} }, "id": 2, "name": "Aguas Pluviais" } ], "subtypes": [ { "domains": { "Rotacao": {"type": "inherited"}, "TipoOcorrencia": {"type": "inherited"}, "EstadoOcorrencia": {"type": "inherited"}, "ExclusivoSistema": {"type": "inherited"}, "Assunto": {"type": "inherited"}, "MeioComunicacao": {"type": "inherited"}, "ComunicadoA": {"type": "inherited"}, "TipoResposta": {"type": "inherited"} }, "defaultValues": { "GlobalID": null, "Utilizador": null, "DataDigitalizacao": null, "UltimoEditor": null, "DataActualizacao": null, "Descricao": null, "Distrito": null, "Concelho": null, "Freguesia": null, "Arruamento": null, "Localizacao": null, "Observacoes": null, "Rotacao": null, "XValue": null, "YValue": null, "IDOcorrencia": null, "IDOrdemTrabalho": null, "Identificacao": null, "Morada": null, "ContactoTelefonico": null, "ContactoElectronico": null, "TipoOcorrencia": null, "EstadoOcorrencia": null, "Sistema": null, "ExclusivoSistema": null, "Assunto": null, "MeioComunicacao": null, "DataEntrada": null, "HoraEntrada": null, "Comentarios": null, "ComunicadoA": null, "HoraComunicacao": null, "DataResposta": null, "TipoResposta": null }, "code": 0, "name": "Abastecimento Agua" }, { "domains": { "Rotacao": {"type": "inherited"}, "TipoOcorrencia": {"type": "inherited"}, "EstadoOcorrencia": {"type": "inherited"}, "ExclusivoSistema": {"type": "inherited"}, "Assunto": {"type": "inherited"}, "MeioComunicacao": {"type": "inherited"}, "ComunicadoA": {"type": "inherited"}, "TipoResposta": {"type": "inherited"} }, "defaultValues": { "GlobalID": null, "Utilizador": null, "DataDigitalizacao": null, "UltimoEditor": null, "DataActualizacao": null, "Descricao": null, "Distrito": null, "Concelho": null, "Freguesia": null, "Arruamento": null, "Localizacao": null, "Observacoes": null, "Rotacao": null, "XValue": null, "YValue": null, "IDOcorrencia": null, "IDOrdemTrabalho": null, "Identificacao": null, "Morada": null, "ContactoTelefonico": null, "ContactoElectronico": null, "TipoOcorrencia": null, "EstadoOcorrencia": null, "Sistema": null, "ExclusivoSistema": null, "Assunto": null, "MeioComunicacao": null, "DataEntrada": null, "HoraEntrada": null, "Comentarios": null, "ComunicadoA": null, "HoraComunicacao": null, "DataResposta": null, "TipoResposta": null }, "code": 1, "name": "Aguas Residuais" }, { "domains": { "Rotacao": {"type": "inherited"}, "TipoOcorrencia": {"type": "inherited"}, "EstadoOcorrencia": {"type": "inherited"}, "ExclusivoSistema": {"type": "inherited"}, "Assunto": {"type": "inherited"}, "MeioComunicacao": {"type": "inherited"}, "ComunicadoA": {"type": "inherited"}, "TipoResposta": {"type": "inherited"} }, "defaultValues": { "GlobalID": null, "Utilizador": null, "DataDigitalizacao": null, "UltimoEditor": null, "DataActualizacao": null, "Descricao": null, "Distrito": null, "Concelho": null, "Freguesia": null, "Arruamento": null, "Localizacao": null, "Observacoes": null, "Rotacao": null, "XValue": null, "YValue": null, "IDOcorrencia": null, "IDOrdemTrabalho": null, "Identificacao": null, "Morada": null, "ContactoTelefonico": null, "ContactoElectronico": null, "TipoOcorrencia": null, "EstadoOcorrencia": null, "Sistema": null, "ExclusivoSistema": null, "Assunto": null, "MeioComunicacao": null, "DataEntrada": null, "HoraEntrada": null, "Comentarios": null, "ComunicadoA": null, "HoraComunicacao": null, "DataResposta": null, "TipoResposta": null }, "code": 2, "name": "Aguas Pluviais" } ], "relationships": [ { "id": 0, "name": "gOrdensTrabalho", "relatedTableId": 65, "role": "esriRelRoleDestination", "keyField": "IDOrdemTrabalho", "cardinality": "esriRelCardinalityOneToMany", "composite": false } ], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Map,Query,Data", "maxRecordCount": 1000, "supportsStatistics": true, "supportsAdvancedQueries": true, "hasZ": true, "supportedQueryFormats": "JSON, AMF, geoJSON", "isDataVersioned": true, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "useStandardizedQueries": true, "advancedQueryCapabilities": { "useStandardizedQueries": true, "supportsStatistics": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsPagination": true, "supportsTrueCurve": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true }, "supportsDatumTransformation": true, "dateFieldsTimeReference": null }