{
 "layers": [
  {
   "currentVersion": 11.4,
   "cimVersion": "3.4.0",
   "id": 0,
   "name": "Planos em vigor (entrada)",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "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": 400001,
   "maxScale": 150001,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "TIPO",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Plano de Pormenor",
         "description": "Plano de Pormenor",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           122,
           182,
           245,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSNull",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0
          }
         },
         "values": [
          [
           "Plano de Pormenor"
          ]
         ]
        },
        {
         "label": "Plano de Urbanização",
         "description": "Plano de Urbanização",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           112,
           168,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSNull",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0
          }
         },
         "values": [
          [
           "Plano de Urbanização"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         122,
         182,
         245,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSNull",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0
        }
       },
       "value": "Plano de Pormenor",
       "label": "Plano de Pormenor"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         112,
         168,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSNull",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0
        }
       },
       "value": "Plano de Urbanização",
       "label": "Plano de Urbanização"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          242,
          252,
          204,
          255
         ],
         "toColor": [
          242,
          252,
          204,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          188,
          179,
          252,
          255
         ],
         "toColor": [
          188,
          179,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          182,
          188,
          255
         ],
         "toColor": [
          252,
          182,
          188,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          230,
          252,
          255
         ],
         "toColor": [
          179,
          230,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          215,
          251,
          255
         ],
         "toColor": [
          252,
          215,
          251,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          252,
          224,
          255
         ],
         "toColor": [
          179,
          252,
          224,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          217,
          197,
          255
         ],
         "toColor": [
          252,
          217,
          197,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          195,
          252,
          179,
          255
         ],
         "toColor": [
          195,
          252,
          179,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          242,
          182,
          252,
          255
         ],
         "toColor": [
          242,
          182,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          212,
          217,
          252,
          255
         ],
         "toColor": [
          212,
          217,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          182,
          218,
          255
         ],
         "toColor": [
          252,
          182,
          218,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          212,
          252,
          250,
          255
         ],
         "toColor": [
          212,
          252,
          250,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          210,
          219,
          255
         ],
         "toColor": [
          252,
          210,
          219,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -2265.774299999699,
    "ymin": -293482.32019999996,
    "xmax": 18088.7854000004,
    "ymax": -269079.77419999987,
    "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": "NOME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "NOME",
     "type": "esriFieldTypeString",
     "alias": "Nome Plano",
     "length": 50,
     "domain": null
    },
    {
     "name": "FREGUESIA",
     "type": "esriFieldTypeString",
     "alias": "Freguesia",
     "length": 30,
     "domain": null
    },
    {
     "name": "TIPO",
     "type": "esriFieldTypeString",
     "alias": "Tipo Plano",
     "length": 30,
     "domain": null
    },
    {
     "name": "REGULAMENTO",
     "type": "esriFieldTypeString",
     "alias": "Regulamento",
     "length": 150,
     "domain": null
    },
    {
     "name": "IMPLANTACAO",
     "type": "esriFieldTypeString",
     "alias": "Implantação/Zonamento",
     "length": 150,
     "domain": null
    },
    {
     "name": "CONDICIONANTES",
     "type": "esriFieldTypeString",
     "alias": "Condicionantes",
     "length": 150,
     "domain": null
    },
    {
     "name": "DATAVIGOR",
     "type": "esriFieldTypeString",
     "alias": "Data Entrada em Vigor",
     "length": 20,
     "domain": null
    },
    {
     "name": "OBS",
     "type": "esriFieldTypeString",
     "alias": "Observações",
     "length": 100,
     "domain": null
    },
    {
     "name": "RECTIFICACAO",
     "type": "esriFieldTypeString",
     "alias": "Rectificação",
     "length": 150,
     "domain": null
    },
    {
     "name": "OUTRELEM",
     "type": "esriFieldTypeString",
     "alias": "Outros Elementos",
     "length": 150,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "S638_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,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": false,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.4,
   "cimVersion": "3.4.0",
   "id": 1,
   "name": "Planos em vigor ",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "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": 150000,
   "maxScale": 50001,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "TIPO",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Plano de Pormenor",
         "description": "Plano de Pormenor",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           190,
           210,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            102,
            119,
            205,
            255
           ],
           "width": 1.2
          }
         },
         "values": [
          [
           "Plano de Pormenor"
          ]
         ]
        },
        {
         "label": "Plano de Urbanização",
         "description": "Plano de Urbanização",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           209,
           255,
           115,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            38,
            115,
            0,
            255
           ],
           "width": 1.2
          }
         },
         "values": [
          [
           "Plano de Urbanização"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         190,
         210,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          102,
          119,
          205,
          255
         ],
         "width": 1.2
        }
       },
       "value": "Plano de Pormenor",
       "label": "Plano de Pormenor"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         209,
         255,
         115,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          38,
          115,
          0,
          255
         ],
         "width": 1.2
        }
       },
       "value": "Plano de Urbanização",
       "label": "Plano de Urbanização"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          242,
          252,
          204,
          255
         ],
         "toColor": [
          242,
          252,
          204,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          188,
          179,
          252,
          255
         ],
         "toColor": [
          188,
          179,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          182,
          188,
          255
         ],
         "toColor": [
          252,
          182,
          188,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          230,
          252,
          255
         ],
         "toColor": [
          179,
          230,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          215,
          251,
          255
         ],
         "toColor": [
          252,
          215,
          251,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          252,
          224,
          255
         ],
         "toColor": [
          179,
          252,
          224,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          217,
          197,
          255
         ],
         "toColor": [
          252,
          217,
          197,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          195,
          252,
          179,
          255
         ],
         "toColor": [
          195,
          252,
          179,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          242,
          182,
          252,
          255
         ],
         "toColor": [
          242,
          182,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          212,
          217,
          252,
          255
         ],
         "toColor": [
          212,
          217,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          182,
          218,
          255
         ],
         "toColor": [
          252,
          182,
          218,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          212,
          252,
          250,
          255
         ],
         "toColor": [
          212,
          252,
          250,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          210,
          219,
          255
         ],
         "toColor": [
          252,
          210,
          219,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -2265.774299999699,
    "ymin": -293482.32019999996,
    "xmax": 18088.7854000004,
    "ymax": -269079.77419999987,
    "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": "NOME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "NOME",
     "type": "esriFieldTypeString",
     "alias": "Nome Plano",
     "length": 50,
     "domain": null
    },
    {
     "name": "FREGUESIA",
     "type": "esriFieldTypeString",
     "alias": "Freguesia",
     "length": 30,
     "domain": null
    },
    {
     "name": "TIPO",
     "type": "esriFieldTypeString",
     "alias": "Tipo Plano",
     "length": 30,
     "domain": null
    },
    {
     "name": "REGULAMENTO",
     "type": "esriFieldTypeString",
     "alias": "Regulamento",
     "length": 150,
     "domain": null
    },
    {
     "name": "IMPLANTACAO",
     "type": "esriFieldTypeString",
     "alias": "Implantação/Zonamento",
     "length": 150,
     "domain": null
    },
    {
     "name": "CONDICIONANTES",
     "type": "esriFieldTypeString",
     "alias": "Condicionantes",
     "length": 150,
     "domain": null
    },
    {
     "name": "DATAVIGOR",
     "type": "esriFieldTypeString",
     "alias": "Data Entrada em Vigor",
     "length": 20,
     "domain": null
    },
    {
     "name": "OBS",
     "type": "esriFieldTypeString",
     "alias": "Observações",
     "length": 100,
     "domain": null
    },
    {
     "name": "RECTIFICACAO",
     "type": "esriFieldTypeString",
     "alias": "Rectificação",
     "length": 150,
     "domain": null
    },
    {
     "name": "OUTRELEM",
     "type": "esriFieldTypeString",
     "alias": "Outros Elementos",
     "length": 150,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "S638_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,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": false,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.4,
   "cimVersion": "3.4.0",
   "id": 2,
   "name": "Planos em vigor (label)",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "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": 50001,
   "maxScale": 5001,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "TIPO",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Plano de Pormenor",
         "description": "Plano de Pormenor",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           102,
           119,
           205,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            190,
            210,
            255,
            255
           ],
           "width": 0.5
          }
         },
         "values": [
          [
           "Plano de Pormenor"
          ]
         ]
        },
        {
         "label": "Plano de Urbanização",
         "description": "Plano de Urbanização",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           38,
           115,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            233,
            255,
            190,
            255
           ],
           "width": 0.5
          }
         },
         "values": [
          [
           "Plano de Urbanização"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         102,
         119,
         205,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          190,
          210,
          255,
          255
         ],
         "width": 0.5
        }
       },
       "value": "Plano de Pormenor",
       "label": "Plano de Pormenor"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         38,
         115,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          233,
          255,
          190,
          255
         ],
         "width": 0.5
        }
       },
       "value": "Plano de Urbanização",
       "label": "Plano de Urbanização"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          242,
          252,
          204,
          255
         ],
         "toColor": [
          242,
          252,
          204,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          188,
          179,
          252,
          255
         ],
         "toColor": [
          188,
          179,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          182,
          188,
          255
         ],
         "toColor": [
          252,
          182,
          188,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          230,
          252,
          255
         ],
         "toColor": [
          179,
          230,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          215,
          251,
          255
         ],
         "toColor": [
          252,
          215,
          251,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          252,
          224,
          255
         ],
         "toColor": [
          179,
          252,
          224,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          217,
          197,
          255
         ],
         "toColor": [
          252,
          217,
          197,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          195,
          252,
          179,
          255
         ],
         "toColor": [
          195,
          252,
          179,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          242,
          182,
          252,
          255
         ],
         "toColor": [
          242,
          182,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          212,
          217,
          252,
          255
         ],
         "toColor": [
          212,
          217,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          182,
          218,
          255
         ],
         "toColor": [
          252,
          182,
          218,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          212,
          252,
          250,
          255
         ],
         "toColor": [
          212,
          252,
          250,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          210,
          219,
          255
         ],
         "toColor": [
          252,
          210,
          219,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[NOME]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "dynamic",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "where": "TIPO = 'Plano de Urbanização'",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "PU",
      "priority": 8,
      "symbol": {
       "type": "esriTS",
       "color": [
        255,
        255,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": false,
       "haloColor": [
        0,
        115,
        76,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Calibri",
        "size": 9,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[NOME]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "dynamic",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "where": "TIPO = 'Plano de Pormenor'",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "PP",
      "priority": 11,
      "symbol": {
       "type": "esriTS",
       "color": [
        255,
        255,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": false,
       "haloColor": [
        102,
        119,
        205,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Calibri",
        "size": 9,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -2265.774299999699,
    "ymin": -293482.32019999996,
    "xmax": 18088.7854000004,
    "ymax": -269079.77419999987,
    "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": "NOME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "NOME",
     "type": "esriFieldTypeString",
     "alias": "Nome Plano",
     "length": 50,
     "domain": null
    },
    {
     "name": "FREGUESIA",
     "type": "esriFieldTypeString",
     "alias": "Freguesia",
     "length": 30,
     "domain": null
    },
    {
     "name": "TIPO",
     "type": "esriFieldTypeString",
     "alias": "Tipo Plano",
     "length": 30,
     "domain": null
    },
    {
     "name": "REGULAMENTO",
     "type": "esriFieldTypeString",
     "alias": "Regulamento",
     "length": 150,
     "domain": null
    },
    {
     "name": "IMPLANTACAO",
     "type": "esriFieldTypeString",
     "alias": "Implantação/Zonamento",
     "length": 150,
     "domain": null
    },
    {
     "name": "CONDICIONANTES",
     "type": "esriFieldTypeString",
     "alias": "Condicionantes",
     "length": 150,
     "domain": null
    },
    {
     "name": "DATAVIGOR",
     "type": "esriFieldTypeString",
     "alias": "Data Entrada em Vigor",
     "length": 20,
     "domain": null
    },
    {
     "name": "OBS",
     "type": "esriFieldTypeString",
     "alias": "Observações",
     "length": 100,
     "domain": null
    },
    {
     "name": "RECTIFICACAO",
     "type": "esriFieldTypeString",
     "alias": "Rectificação",
     "length": 150,
     "domain": null
    },
    {
     "name": "OUTRELEM",
     "type": "esriFieldTypeString",
     "alias": "Outros Elementos",
     "length": 150,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "S638_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": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": false,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.4,
   "cimVersion": "3.4.0",
   "id": 3,
   "name": "Plano Diretor Municipal ",
   "type": "Feature Layer",
   "description": "Limite do PDM em Elaboração (revisão)Este limite corresponde ao limite administrativo do município de Loulé (CAOP2014)",
   "geometryType": "esriGeometryPolygon",
   "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": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSDash",
       "color": [
        168,
        0,
        132,
        255
       ],
       "width": 1.8
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -8757.082100000232,
    "ymin": -295040.32799999975,
    "xmax": 22551.58700000029,
    "ymax": -249745.98059999943,
    "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": "ORDENAMENTO",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "NOME",
     "type": "esriFieldTypeString",
     "alias": "Nome Plano",
     "length": 50,
     "domain": null
    },
    {
     "name": "REGULAMENTO",
     "type": "esriFieldTypeString",
     "alias": "Regulamento",
     "length": 150,
     "domain": null
    },
    {
     "name": "ORDENAMENTO",
     "type": "esriFieldTypeString",
     "alias": "Ordenamento",
     "length": 150,
     "domain": null
    },
    {
     "name": "CONDICIONANTES",
     "type": "esriFieldTypeString",
     "alias": "Condicionantes",
     "length": 150,
     "domain": null
    },
    {
     "name": "RECTIFICACAO",
     "type": "esriFieldTypeString",
     "alias": "Retificação",
     "length": 150,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R685_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S639_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,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": false,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.4,
   "cimVersion": "3.4.0",
   "id": 5,
   "name": "PDM - Medidas Preventivas - Quarteira Nascente",
   "type": "Feature Layer",
   "description": "Medidas preventivas - desagregadas por área, uma vez que as normas legais diferem entre si",
   "geometryType": "esriGeometryPolygon",
   "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": "uniqueValue",
     "field1": "DESIG",
     "uniqueValueGroups": [
      {
       "heading": "Designação",
       "classes": [
        {
         "label": "Área A",
         "description": "Área A",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSVertical",
          "color": [
           76,
           230,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            76,
            230,
            0,
            255
           ],
           "width": 1.5
          }
         },
         "values": [
          [
           "Área A"
          ]
         ]
        },
        {
         "label": "Área B",
         "description": "Área B",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSBackwardDiagonal",
          "color": [
           255,
           0,
           197,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            0,
            197,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Área B"
          ]
         ]
        },
        {
         "label": "Área C",
         "description": "Área C",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           170,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            170,
            0,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "Área C"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSVertical",
        "color": [
         76,
         230,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          76,
          230,
          0,
          255
         ],
         "width": 1.5
        }
       },
       "value": "Área A",
       "label": "Área A"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSBackwardDiagonal",
        "color": [
         255,
         0,
         197,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          0,
          197,
          255
         ],
         "width": 1
        }
       },
       "value": "Área B",
       "label": "Área B"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         170,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          170,
          0,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Área C",
       "label": "Área C"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          242,
          252,
          204,
          255
         ],
         "toColor": [
          242,
          252,
          204,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          188,
          179,
          252,
          255
         ],
         "toColor": [
          188,
          179,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          182,
          188,
          255
         ],
         "toColor": [
          252,
          182,
          188,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          230,
          252,
          255
         ],
         "toColor": [
          179,
          230,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          215,
          251,
          255
         ],
         "toColor": [
          252,
          215,
          251,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          252,
          224,
          255
         ],
         "toColor": [
          179,
          252,
          224,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          217,
          197,
          255
         ],
         "toColor": [
          252,
          217,
          197,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          195,
          252,
          179,
          255
         ],
         "toColor": [
          195,
          252,
          179,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          242,
          182,
          252,
          255
         ],
         "toColor": [
          242,
          182,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          212,
          217,
          252,
          255
         ],
         "toColor": [
          212,
          217,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          182,
          218,
          255
         ],
         "toColor": [
          252,
          182,
          218,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          212,
          252,
          250,
          255
         ],
         "toColor": [
          212,
          252,
          250,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          210,
          219,
          255
         ],
         "toColor": [
          252,
          210,
          219,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1597.7621999997646,
    "ymin": -290419.2444000002,
    "xmax": 5670.112200000323,
    "ymax": -279654.01970000006,
    "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": "DESIG",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ID",
     "type": "esriFieldTypeInteger",
     "alias": "ID",
     "domain": null
    },
    {
     "name": "DESIG",
     "type": "esriFieldTypeString",
     "alias": "Designação",
     "length": 100,
     "domain": null
    },
    {
     "name": "DATAVIGOR",
     "type": "esriFieldTypeString",
     "alias": "Data Entrada em Vigor",
     "length": 20,
     "domain": null
    },
    {
     "name": "FREG",
     "type": "esriFieldTypeString",
     "alias": "Freguesia\n",
     "length": 50,
     "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": "REGULAMENTO",
     "type": "esriFieldTypeString",
     "alias": "Regulamento",
     "length": 150,
     "domain": null
    },
    {
     "name": "OBS",
     "type": "esriFieldTypeString",
     "alias": "Observações",
     "length": 250,
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "Área (m2)",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    },
    {
     "name": "LOCAL",
     "type": "esriFieldTypeString",
     "alias": "Local",
     "length": 100,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R1142_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S1026_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,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": false,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.4,
   "cimVersion": "3.4.0",
   "id": 8,
   "name": "PDM - Medidas Preventivas - Mercado da Fruta (Quarteira)",
   "type": "Feature Layer",
   "description": "Medidas preventivas - desagregadas por área, uma vez que as normas legais diferem entre si",
   "geometryType": "esriGeometryPolygon",
   "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": "uniqueValue",
     "field1": "DESIG",
     "uniqueValueGroups": [
      {
       "heading": "Designação",
       "classes": [
        {
         "label": "Limite da área abrangida pelas medidas preventivas",
         "description": "Limite da área abrangida pelas medidas preventivas",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSBackwardDiagonal",
          "color": [
           0,
           197,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            197,
            255,
            255
           ],
           "width": 0.5
          }
         },
         "values": [
          [
           "Limite da área abrangida pelas medidas preventivas"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSBackwardDiagonal",
        "color": [
         0,
         197,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          197,
          255,
          255
         ],
         "width": 0.5
        }
       },
       "value": "Limite da área abrangida pelas medidas preventivas",
       "label": "Limite da área abrangida pelas medidas preventivas"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          119,
          138,
          58,
          255
         ],
         "toColor": [
          119,
          138,
          58,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          134,
          102,
          237,
          255
         ],
         "toColor": [
          134,
          102,
          237,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          250,
          92,
          148,
          255
         ],
         "toColor": [
          250,
          92,
          148,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          148,
          206,
          242,
          255
         ],
         "toColor": [
          148,
          206,
          242,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          90,
          250,
          119,
          255
         ],
         "toColor": [
          90,
          250,
          119,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          89,
          85,
          133,
          255
         ],
         "toColor": [
          89,
          85,
          133,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          242,
          250,
          87,
          255
         ],
         "toColor": [
          242,
          250,
          87,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          153,
          97,
          89,
          255
         ],
         "toColor": [
          153,
          97,
          89,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          139,
          224,
          182,
          255
         ],
         "toColor": [
          139,
          224,
          182,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          224,
          81,
          210,
          255
         ],
         "toColor": [
          224,
          81,
          210,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          230,
          161,
          87,
          255
         ],
         "toColor": [
          230,
          161,
          87,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          77,
          128,
          122,
          255
         ],
         "toColor": [
          77,
          128,
          122,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          230,
          151,
          219,
          255
         ],
         "toColor": [
          230,
          151,
          219,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1597.7621999997646,
    "ymin": -290419.2444000002,
    "xmax": 5670.112200000323,
    "ymax": -279654.01970000006,
    "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": "DESIG",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ID",
     "type": "esriFieldTypeInteger",
     "alias": "ID",
     "domain": null
    },
    {
     "name": "DESIG",
     "type": "esriFieldTypeString",
     "alias": "Designação",
     "length": 100,
     "domain": null
    },
    {
     "name": "DATAVIGOR",
     "type": "esriFieldTypeString",
     "alias": "Data Entrada em Vigor",
     "length": 20,
     "domain": null
    },
    {
     "name": "FREG",
     "type": "esriFieldTypeString",
     "alias": "Freguesia\n",
     "length": 50,
     "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": "REGULAMENTO",
     "type": "esriFieldTypeString",
     "alias": "Regulamento",
     "length": 150,
     "domain": null
    },
    {
     "name": "OBS",
     "type": "esriFieldTypeString",
     "alias": "Observações",
     "length": 250,
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "Área (m2)",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    },
    {
     "name": "LOCAL",
     "type": "esriFieldTypeString",
     "alias": "Local",
     "length": 100,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R1142_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S1026_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,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": false,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.4,
   "cimVersion": "3.4.0",
   "id": 10,
   "name": "PDM - Medidas Preventivas - Matos da Picota",
   "type": "Feature Layer",
   "description": "Medidas preventivas - desagregadas por área, uma vez que as normas legais diferem entre si",
   "geometryType": "esriGeometryPolygon",
   "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": "uniqueValue",
     "field1": "DESIG",
     "uniqueValueGroups": [
      {
       "heading": "Designação",
       "classes": [
        {
         "label": "Matos da Picota",
         "description": "Matos da Picota",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSBackwardDiagonal",
          "color": [
           0,
           112,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            112,
            255,
            255
           ],
           "width": 0.5
          }
         },
         "values": [
          [
           "Matos da Picota"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSBackwardDiagonal",
        "color": [
         0,
         112,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          112,
          255,
          255
         ],
         "width": 0.5
        }
       },
       "value": "Matos da Picota",
       "label": "Matos da Picota"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          119,
          138,
          58,
          255
         ],
         "toColor": [
          119,
          138,
          58,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          134,
          102,
          237,
          255
         ],
         "toColor": [
          134,
          102,
          237,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          250,
          92,
          148,
          255
         ],
         "toColor": [
          250,
          92,
          148,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          148,
          206,
          242,
          255
         ],
         "toColor": [
          148,
          206,
          242,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          90,
          250,
          119,
          255
         ],
         "toColor": [
          90,
          250,
          119,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          89,
          85,
          133,
          255
         ],
         "toColor": [
          89,
          85,
          133,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          242,
          250,
          87,
          255
         ],
         "toColor": [
          242,
          250,
          87,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          153,
          97,
          89,
          255
         ],
         "toColor": [
          153,
          97,
          89,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          139,
          224,
          182,
          255
         ],
         "toColor": [
          139,
          224,
          182,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          224,
          81,
          210,
          255
         ],
         "toColor": [
          224,
          81,
          210,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          230,
          161,
          87,
          255
         ],
         "toColor": [
          230,
          161,
          87,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          77,
          128,
          122,
          255
         ],
         "toColor": [
          77,
          128,
          122,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          230,
          151,
          219,
          255
         ],
         "toColor": [
          230,
          151,
          219,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1597.7621999997646,
    "ymin": -290419.2444000002,
    "xmax": 5670.112200000323,
    "ymax": -279654.01970000006,
    "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": "DESIG",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ID",
     "type": "esriFieldTypeInteger",
     "alias": "ID",
     "domain": null
    },
    {
     "name": "DESIG",
     "type": "esriFieldTypeString",
     "alias": "Designação",
     "length": 100,
     "domain": null
    },
    {
     "name": "DATAVIGOR",
     "type": "esriFieldTypeString",
     "alias": "Data Entrada em Vigor",
     "length": 20,
     "domain": null
    },
    {
     "name": "FREG",
     "type": "esriFieldTypeString",
     "alias": "Freguesia\n",
     "length": 50,
     "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": "REGULAMENTO",
     "type": "esriFieldTypeString",
     "alias": "Regulamento",
     "length": 150,
     "domain": null
    },
    {
     "name": "OBS",
     "type": "esriFieldTypeString",
     "alias": "Observações",
     "length": 250,
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "Área (m2)",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    },
    {
     "name": "LOCAL",
     "type": "esriFieldTypeString",
     "alias": "Local",
     "length": 100,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R1142_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S1026_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,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": false,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  }
 ],
 "tables": []
}