{ "layers": [ { "currentVersion": 10.61, "id": 0, "name": "SIG.DBO.NovoPoste", "parentLayerId": -1, "defaultVisibility": true, "minScale": 50000, "maxScale": 0, "type": "Feature Layer", "geometryType": "esriGeometryPoint", "description": "", "copyrightText": "", "editFieldsInfo": { "creationDateField": "created_date", "creatorField": "created_user", "editDateField": "last_edited_date", "editorField": "last_edited_user" }, "ownershipBasedAccessControlForFeatures": null, "syncCanReturnChanges": false, "relationships": [], "isDataVersioned": false, "supportsRollbackOnFailureParameter": true, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsStatistics": true, "supportsAdvancedQueries": true, "supportsValidateSQL": true, "supportsCoordinatesQuantization": true, "supportsCalculate": true, "advancedQueryCapabilities": { "supportsPagination": true, "supportsTrueCurve": true, "supportsQueryWithDistance": true, "supportsReturningQueryExtent": true, "supportsStatistics": true, "supportsHavingClause": true, "supportsCountDistinct": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsQueryWithResultType": true, "supportsReturningGeometryCentroid": false, "supportsSqlExpression": true }, "extent": { "xmin": 4607.9539000000805, "ymin": 183510.4254999999, "xmax": 26515.382600000128, "ymax": 201611.93810000084, "spatialReference": { "wkid": 3763, "latestWkid": 3763 } }, "drawingInfo": { "renderer": { "type": "uniqueValue", "field1": "TIPOLOGIA_PEDIDO", "field2": null, "field3": null, "defaultSymbol": null, "defaultLabel": null, "uniqueValueInfos": [ { "symbol": { "type": "esriPMS", "url": "7a284d9f37627092e564e1955977c507", "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAFxJREFUGJVjYYAACQbC4BULAwMDw6EGhn3qUgwcuFS9+czAoF3MYMXCwMDAICnIICTGzyCOSzEzE8MvBgYGBhYirIeDkaH40WsGNmYm3Iref2Fggit2bmEQIsZkAJFzDDwWLt3QAAAAAElFTkSuQmCC", "contentType": "image/png", "width": 8, "height": 8, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "Avaria", "label": "Avaria", "description": "" }, { "symbol": { "type": "esriPMS", "url": "2c5dc17b9e4b970bde210d2f68ded106", "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAFVJREFUGJVjYYAACQbC4BULAwMDA0OY+T4GYT4OnMq+/2ZgWHDACqKYm1OIgZtDHKdiRoZfDAwMDCxEWA8HI0Txp89sDExMuFX9+MGEULz2rBAxJgMATOQM59Duqa4AAAAASUVORK5CYII=", "contentType": "image/png", "width": 8, "height": 8, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "Novo Poste", "label": "Novo Poste", "description": "" }, { "symbol": { "type": "esriPMS", "url": "759dd0bf71c844c57de9c2a944965ce6", "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAFVJREFUGJVjYYAACQbC4BULAwMDA4Prhn0MPMocOJX9ecfAsNneCqKYQ0yIgUtYHKfiH0y/GBgYGFiIsB4ORojiz4/ZGJiYcav68YEJofhAuBAxJgMAzFANe1TjMNIAAAAASUVORK5CYII=", "contentType": "image/png", "width": 8, "height": 8, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "Religar", "label": "Religar", "description": "" } ], "fieldDelimiter": "," }, "transparency": 0, "labelingInfo": null }, "hasM": false, "hasZ": false, "allowGeometryUpdates": true, "allowTrueCurvesUpdates": false, "onlyAllowTrueCurveUpdatesByTrueCurveClients": true, "hasAttachments": false, "supportsApplyEditsWithGlobalIds": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "objectIdField": "OBJECTID", "globalIdField": "", "displayField": "NOME", "typeIdField": "TIPOLOGIA_PEDIDO", "subtypeField": "", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null, "editable": false, "nullable": false }, { "name": "NOME", "type": "esriFieldTypeString", "alias": "Nome", "domain": null, "editable": true, "nullable": true, "length": 150 }, { "name": "NIF", "type": "esriFieldTypeInteger", "alias": "N.I.F.", "domain": null, "editable": true, "nullable": true }, { "name": "LUGAR", "type": "esriFieldTypeString", "alias": "Lugar", "domain": null, "editable": true, "nullable": true, "length": 100 }, { "name": "TIPOLOGIA_PEDIDO", "type": "esriFieldTypeString", "alias": "Tipologia de Pedido", "domain": { "type": "codedValue", "name": "TIPOLOGIA_PEDIDO", "description": "Tipologia de Pedido", "codedValues": [ { "name": "Novo Poste", "code": "Novo Poste" }, { "name": "Avaria", "code": "Avaria" }, { "name": "Religar", "code": "Religar" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 50 }, { "name": "DATA_PEDIDO", "type": "esriFieldTypeDate", "alias": "Data do Pedido", "domain": null, "editable": true, "nullable": true, "length": 8 }, { "name": "N_PEDIDO", "type": "esriFieldTypeString", "alias": "Nº de Pedido", "domain": null, "editable": true, "nullable": true, "length": 50 }, { "name": "DT_REF_ORC", "type": "esriFieldTypeDate", "alias": "Data Referência do Orçamento", "domain": null, "editable": true, "nullable": true, "length": 8 }, { "name": "REF_ORC", "type": "esriFieldTypeString", "alias": "Referência de Orçamento", "domain": null, "editable": true, "nullable": true, "length": 50 }, { "name": "VALOR_ORC", "type": "esriFieldTypeDouble", "alias": "Valor de Orçamento", "domain": null, "editable": true, "nullable": true }, { "name": "N_IPORTAL", "type": "esriFieldTypeString", "alias": "Nº de IPortal", "domain": null, "editable": true, "nullable": true, "length": 50 }, { "name": "APROVADO", "type": "esriFieldTypeString", "alias": "Aprovado", "domain": null, "editable": true, "nullable": true, "length": 3 }, { "name": "DT_APROVACAO", "type": "esriFieldTypeDate", "alias": "Data de Aprovação", "domain": null, "editable": true, "nullable": true, "length": 8 }, { "name": "DT_PAGAMENTO", "type": "esriFieldTypeDate", "alias": "Data de Pagamento", "domain": null, "editable": true, "nullable": true, "length": 8 }, { "name": "HIPLIGACAO", "type": "esriFieldTypeString", "alias": "Confirmação de Ligação", "domain": null, "editable": true, "nullable": true, "length": 3 }, { "name": "created_user", "type": "esriFieldTypeString", "alias": "Utilizador", "domain": null, "editable": false, "nullable": true, "length": 255 }, { "name": "created_date", "type": "esriFieldTypeDate", "alias": "Data do Pedido", "domain": null, "editable": false, "nullable": true, "length": 8 }, { "name": "last_edited_user", "type": "esriFieldTypeString", "alias": "Ultimo Utilizador", "domain": null, "editable": false, "nullable": true, "length": 255 }, { "name": "last_edited_date", "type": "esriFieldTypeDate", "alias": "Ultima Atualização", "domain": null, "editable": false, "nullable": true, "length": 8 }, { "name": "Freguesia_1", "type": "esriFieldTypeString", "alias": "Freguesia_1", "domain": { "type": "codedValue", "name": "Freguesia", "description": "Nome das Freguesias", "codedValues": [ { "name": "Atei", "code": "Atei" }, { "name": "Bilhó", "code": "Bilhó" }, { "name": "São Cristóvão de Mondim de Basto", "code": "São Cristóvão de Mondim de Basto" }, { "name": "U.F. de Campanhó e Paradança", "code": "U.F. de Campanhó e Paradança" }, { "name": "U.F. de Ermelo e Pardelhas", "code": "U.F. de Ermelo e Pardelhas" }, { "name": "Vilar de Ferreiros", "code": "Vilar de Ferreiros" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 100 }, { "name": "Observacoes", "type": "esriFieldTypeString", "alias": "Observacoes", "domain": null, "editable": true, "nullable": true, "length": 100 } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "Shape" }, "indexes": [ { "name": "R178_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S137_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "dateFieldsTimeReference": { "timeZone": "UTC", "respectsDaylightSaving": false }, "types": [ { "id": "Avaria", "name": "Avaria", "domains": { "TIPOLOGIA_PEDIDO": {"type": "inherited"}, "Freguesia_1": {"type": "inherited"} }, "templates": [ { "name": "Avaria", "description": "", "prototype": { "attributes": { "Freguesia_1": null, "Observacoes": null, "NOME": null, "NIF": null, "LUGAR": null, "TIPOLOGIA_PEDIDO": "Avaria", "DATA_PEDIDO": null, "N_PEDIDO": null, "DT_REF_ORC": null, "REF_ORC": null, "VALOR_ORC": null, "N_IPORTAL": null, "APROVADO": "Não", "DT_APROVACAO": null, "DT_PAGAMENTO": null, "HIPLIGACAO": "Não" } }, "drawingTool": "esriFeatureEditToolPoint" } ] }, { "id": "Novo Poste", "name": "Novo Poste", "domains": { "TIPOLOGIA_PEDIDO": {"type": "inherited"}, "Freguesia_1": {"type": "inherited"} }, "templates": [ { "name": "Novo Poste", "description": "", "prototype": { "attributes": { "LUGAR": null, "N_IPORTAL": null, "DT_PAGAMENTO": null, "Observacoes": null, "NOME": null, "NIF": null, "TIPOLOGIA_PEDIDO": "Novo Poste", "DATA_PEDIDO": null, "N_PEDIDO": null, "DT_REF_ORC": null, "REF_ORC": null, "VALOR_ORC": null, "APROVADO": "Não", "DT_APROVACAO": null, "HIPLIGACAO": "Não", "Freguesia_1": null } }, "drawingTool": "esriFeatureEditToolPoint" } ] }, { "id": "Religar", "name": "Religar", "domains": { "TIPOLOGIA_PEDIDO": {"type": "inherited"}, "Freguesia_1": {"type": "inherited"} }, "templates": [ { "name": "Religar", "description": "", "prototype": { "attributes": { "Freguesia_1": null, "Observacoes": null, "NOME": null, "NIF": null, "LUGAR": null, "TIPOLOGIA_PEDIDO": "Religar", "DATA_PEDIDO": null, "N_PEDIDO": null, "DT_REF_ORC": null, "REF_ORC": null, "VALOR_ORC": null, "N_IPORTAL": null, "APROVADO": "Não", "DT_APROVACAO": null, "DT_PAGAMENTO": null, "HIPLIGACAO": "Não" } }, "drawingTool": "esriFeatureEditToolPoint" } ] } ], "templates": [], "maxRecordCount": 1000, "supportedQueryFormats": "JSON, AMF, geoJSON", "capabilities": "Query,Create,Update,Delete,Uploads,Editing", "useStandardizedQueries": true, "standardMaxRecordCount": 32000, "tileMaxRecordCount": 8000, "maxRecordCountFactor": 1 }, { "currentVersion": 10.61, "id": 1, "name": "SIG.DBO.ligacoes_final", "parentLayerId": -1, "defaultVisibility": true, "minScale": 50000, "maxScale": 0, "type": "Feature Layer", "geometryType": "esriGeometryPoint", "description": "", "copyrightText": "", "editFieldsInfo": null, "ownershipBasedAccessControlForFeatures": null, "syncCanReturnChanges": false, "relationships": [], "isDataVersioned": false, "supportsRollbackOnFailureParameter": true, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsStatistics": true, "supportsAdvancedQueries": true, "supportsValidateSQL": true, "supportsCoordinatesQuantization": true, "supportsCalculate": true, "advancedQueryCapabilities": { "supportsPagination": true, "supportsTrueCurve": true, "supportsQueryWithDistance": true, "supportsReturningQueryExtent": true, "supportsStatistics": true, "supportsHavingClause": true, "supportsCountDistinct": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsQueryWithResultType": true, "supportsReturningGeometryCentroid": false, "supportsSqlExpression": true }, "extent": { "xmin": 13335.914099999703, "ymin": 186279.31120000035, "xmax": 18767.743999999948, "ymax": 200736.28839999996, "spatialReference": { "wkid": 3763, "latestWkid": 3763 } }, "drawingInfo": { "renderer": { "type": "uniqueValue", "field1": "TipologiadeLigacao", "field2": null, "field3": null, "defaultSymbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 124, 0, 145, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "defaultLabel": "", "uniqueValueInfos": [ { "symbol": { "type": "esriPMS", "url": "786211c55ee07b65aa9f07eedcd96d90", "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAALCAYAAABLcGxfAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAWNJREFUKJFlkM8rg3Ecx1/my4z9aNamkF/PQaYclstycNDqyXN0EUl+tNWe+Aek5OLgIqS2dtGo5eAgzY+l5A9QHCYiO0zxaPlNk8bFnvJ4nz6fer0+9XkLfpOK9Hd8l5hCGFLga0cObmwXd1EcqqyWFX9HQ5dROL24VVLRyf1AcPFTF/ajAyPe5pp/MIBX8jRqucwCEAYQqTmEu9o65bCZdej5LY+tykwJIEpNSA2Owd2loXl5In4tcA/Oe6UaqQgnj85R1ASxGYWxvk4Amutc9uzdyzKgCJul3F8mTPr19JUGwHH6RhcAHNYKH4B4fP2Y1R7etzzOylKA0b5O2lo8+Nprdfjj8wvt4TUCIORQInm0OrzncTb1AlTbLSjdrX8eP7u8SwfG12f0lvJvqFfZ3IlU77IbW8o9vRfun/LTxV0ABMKrmYPY0Fqh8B02Cjfa86EcjG/+EQB6xuMqoBoFY34A3MJr0UgqPYQAAAAASUVORK5CYII=", "contentType": "image/png", "width": 9, "height": 8, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "Definitiva", "label": "Definitiva", "description": "" }, { "symbol": { "type": "esriPMS", "url": "f496cb499d676025fe55849c23d4c328", "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAALCAYAAABLcGxfAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAATtJREFUKJFlkb9LAnEYxj/hNwyuUxES+gGduJREhJs0hnB01D/QVEGBDoVYBBFES4MRBhUUjc0NEVZKEEFjQQ1Gg+iQCCeJCRHncLV0V13P9D7wfIbneQXfyrM9/AnzOGRinqukziwvrENC2o8yNOoEHilqeQ5zMeZaNpDzZ6bDdeVfGCCM0q9zlwHiACLPpuiq+1a9dNqhJu/ISLQBAhch+qYu2EqrpEoCd0c6bARDVjjLLRrLHLHCLBMABOnxvKDvApqQDSna/lOFAmUA7nm2AQAvcgRANHjb0GmcBvC5AGaYZBCFCAN2+IMWurt+gAFCZSl7w95lgJFxAD8yGn/7P1EqxIzFdXslAyNRpPIQotfjXOmVplnrbqxR/fWHGMnyFTvHJmbcCVSoXavV5Inl7bZjLCSAhBNw6gtrc1kWrgEWJQAAAABJRU5ErkJggg==", "contentType": "image/png", "width": 9, "height": 8, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "Eventual", "label": "Eventual", "description": "" } ], "fieldDelimiter": "," }, "transparency": 0, "labelingInfo": null }, "hasM": false, "hasZ": false, "allowGeometryUpdates": true, "allowTrueCurvesUpdates": false, "onlyAllowTrueCurveUpdatesByTrueCurveClients": true, "hasAttachments": false, "supportsApplyEditsWithGlobalIds": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "objectIdField": "OBJECTID", "globalIdField": "", "displayField": "Lugar", "typeIdField": "TipologiadeLigacao", "subtypeField": "", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null, "editable": false, "nullable": false }, { "name": "Lugar", "type": "esriFieldTypeString", "alias": "Lugar", "domain": null, "editable": true, "nullable": true, "length": 100 }, { "name": "Freguesia", "type": "esriFieldTypeString", "alias": "Freguesia", "domain": { "type": "codedValue", "name": "Freguesia", "description": "Nome das Freguesias", "codedValues": [ { "name": "Atei", "code": "Atei" }, { "name": "Bilhó", "code": "Bilhó" }, { "name": "São Cristóvão de Mondim de Basto", "code": "São Cristóvão de Mondim de Basto" }, { "name": "U.F. de Campanhó e Paradança", "code": "U.F. de Campanhó e Paradança" }, { "name": "U.F. de Ermelo e Pardelhas", "code": "U.F. de Ermelo e Pardelhas" }, { "name": "Vilar de Ferreiros", "code": "Vilar de Ferreiros" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 50 }, { "name": "TipologiadeLigacao", "type": "esriFieldTypeString", "alias": "Tipologia de Ligacao", "domain": { "type": "codedValue", "name": "TipologiaPedido", "description": "TIpologia_Pedido_Ligacoes", "codedValues": [ { "name": "Eventual", "code": "Eventual" }, { "name": "Definitiva", "code": "Definitiva" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 50 }, { "name": "Motivo", "type": "esriFieldTypeString", "alias": "Motivo", "domain": null, "editable": true, "nullable": true, "length": 100 }, { "name": "N_Pedido", "type": "esriFieldTypeString", "alias": "N_Pedido", "domain": null, "editable": true, "nullable": true, "length": 50 }, { "name": "Dt_Pedido", "type": "esriFieldTypeDate", "alias": "Dt_Pedido", "domain": null, "editable": true, "nullable": true, "length": 8 }, { "name": "Dt_fim", "type": "esriFieldTypeDate", "alias": "FT", "domain": null, "editable": true, "nullable": true, "length": 8 }, { "name": "Ref_Orc", "type": "esriFieldTypeString", "alias": "Ref_Orc", "domain": null, "editable": true, "nullable": true, "length": 50 }, { "name": "Dt_Ref", "type": "esriFieldTypeDate", "alias": "Dt_Ref", "domain": null, "editable": true, "nullable": true, "length": 8 }, { "name": "Valor_ref", "type": "esriFieldTypeString", "alias": "Valor_ref", "domain": null, "editable": true, "nullable": true, "length": 50 }, { "name": "N_Iportal", "type": "esriFieldTypeString", "alias": "N_iportal", "domain": null, "editable": true, "nullable": true, "length": 50 }, { "name": "Aprovado", "type": "esriFieldTypeString", "alias": "Aprovado", "domain": { "type": "codedValue", "name": "SIM_NAO", "description": "Sim e Não", "codedValues": [ { "name": "Sim", "code": "Sim" }, { "name": "Não", "code": "Não" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 50 }, { "name": "Data_aprovacao", "type": "esriFieldTypeDate", "alias": "Data_aprovacao", "domain": null, "editable": true, "nullable": true, "length": 8 }, { "name": "Data_Pagamento", "type": "esriFieldTypeDate", "alias": "Data_Pagamento", "domain": null, "editable": true, "nullable": true, "length": 8 }, { "name": "Observacoes", "type": "esriFieldTypeString", "alias": "Observacoes", "domain": null, "editable": true, "nullable": true, "length": 100 } ], "geometryField": { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "SHAPE" }, "indexes": [ { "name": "R237_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S189_idx", "fields": "SHAPE", "isAscending": true, "isUnique": true, "description": "" } ], "dateFieldsTimeReference": { "timeZone": "UTC", "respectsDaylightSaving": false }, "types": [ { "id": "Definitiva", "name": "Definitiva", "domains": { "Freguesia": {"type": "inherited"}, "TipologiadeLigacao": {"type": "inherited"}, "Aprovado": {"type": "inherited"} }, "templates": [ { "name": "Definitiva", "description": "", "prototype": { "attributes": { "Freguesia": null, "Observacoes": null, "Lugar": null, "TipologiadeLigacao": "Definitiva", "Motivo": null, "N_Pedido": null, "Dt_Pedido": null, "Dt_fim": null, "Ref_Orc": null, "Dt_Ref": null, "Valor_ref": null, "N_Iportal": null, "Aprovado": null, "Data_aprovacao": null, "Data_Pagamento": null } }, "drawingTool": "esriFeatureEditToolPoint" } ] }, { "id": "Eventual", "name": "Eventual", "domains": { "Freguesia": {"type": "inherited"}, "TipologiadeLigacao": {"type": "inherited"}, "Aprovado": {"type": "inherited"} }, "templates": [ { "name": "Eventual", "description": "", "prototype": { "attributes": { "Freguesia": null, "Observacoes": null, "Lugar": null, "TipologiadeLigacao": "Eventual", "Motivo": null, "N_Pedido": null, "Dt_Pedido": null, "Dt_fim": null, "Ref_Orc": null, "Dt_Ref": null, "Valor_ref": null, "N_Iportal": null, "Aprovado": null, "Data_aprovacao": null, "Data_Pagamento": null } }, "drawingTool": "esriFeatureEditToolPoint" } ] } ], "templates": [], "maxRecordCount": 1000, "supportedQueryFormats": "JSON, AMF, geoJSON", "capabilities": "Query,Create,Update,Delete,Uploads,Editing", "useStandardizedQueries": true, "standardMaxRecordCount": 32000, "tileMaxRecordCount": 8000, "maxRecordCountFactor": 1 } ], "tables": [] }