{
 "layers": [
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 0,
   "name": "Municipio_por_bacia_hidrografica",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "minScale": 0,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPolygon",
   "description": "Cruzamento da base vetorial dos limites municipais com a base vetorial das bacias hidrográficas do Rio Grande do Sul.",
   "copyrightText": "SEMA-RS",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": false,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "isDataBranchVersioned": false,
   "isDataReplicaTracked": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": true,
   "supportsQuantizationEditMode": true,
   "supportsCalculate": true,
   "supportsASyncCalculate": true,
   "supportsDatumTransformation": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsCurrentUserQueries": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": true,
    "supportsSqlExpression": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsQueryAnalytic": true
   },
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": true,
    "supportsPercentileAnalytic": false
   },
   "advancedEditingCapabilities": {
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape__Area",
    "shapeLengthFieldName": "Shape__Length",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": 209796.2745640424,
    "ymin": -220037.88748925366,
    "xmax": 970374.3645898815,
    "ymax": 517866.37514683977,
    "spatialReference": {
     "wkid": 102015,
     "latestWkid": 102015,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -37987200,
     "falseY": -12770800,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "sourceSpatialReference": {
    "wkid": 4674,
    "latestWkid": 4674,
    "xyTolerance": 8.98315284119521E-9,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -400,
    "falseY": -400,
    "xyUnits": 9.999999999999999E8,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "regiao_hidrog",
     "uniqueValueGroups": [
      {
       "heading": "Região Hidrográfica",
       "classes": [
        {
         "label": "Guaíba",
         "description": "Guaíba",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           230,
           0,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.3
          }
         },
         "values": [
          [
           "Guaíba"
          ]
         ]
        },
        {
         "label": "Litoral",
         "description": "Litoral",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           170,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.7
          }
         },
         "values": [
          [
           "Litoral"
          ]
         ]
        },
        {
         "label": "Uruguai",
         "description": "Uruguai",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           0,
           168,
           132,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.3
          }
         },
         "values": [
          [
           "Uruguai"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         230,
         0,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.3
        }
       },
       "value": "Guaíba",
       "label": "Guaíba"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         170,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.7
        }
       },
       "value": "Litoral",
       "label": "Litoral"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         168,
         132,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.3
        }
       },
       "value": "Uruguai",
       "label": "Uruguai"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          215,
          252,
          242,
          255
         ],
         "toColor": [
          215,
          252,
          242,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          230,
          179,
          252,
          255
         ],
         "toColor": [
          230,
          179,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          182,
          184,
          255
         ],
         "toColor": [
          252,
          182,
          184,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          252,
          184,
          255
         ],
         "toColor": [
          252,
          252,
          184,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          187,
          213,
          252,
          255
         ],
         "toColor": [
          187,
          213,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          252,
          200,
          255
         ],
         "toColor": [
          179,
          252,
          200,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          221,
          194,
          255
         ],
         "toColor": [
          252,
          221,
          194,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          212,
          239,
          255
         ],
         "toColor": [
          252,
          212,
          239,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          183,
          182,
          252,
          255
         ],
         "toColor": [
          183,
          182,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          227,
          252,
          207,
          255
         ],
         "toColor": [
          227,
          252,
          207,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          224,
          204,
          252,
          255
         ],
         "toColor": [
          224,
          204,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          182,
          215,
          255
         ],
         "toColor": [
          252,
          182,
          215,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          237,
          252,
          255
         ],
         "toColor": [
          194,
          237,
          252,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": true,
   "allowTrueCurvesUpdates": true,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": true,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "objectIdField": "objectid",
   "globalIdField": "",
   "displayField": "cd_mun",
   "typeIdField": "regiao_hidrog",
   "subtypeField": "",
   "fields": [
    {
     "name": "objectid",
     "type": "esriFieldTypeOID",
     "alias": "objectid",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "objectid"
    },
    {
     "name": "nm_mun",
     "type": "esriFieldTypeString",
     "alias": "Nome do Município",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 80,
     "defaultValue": null,
     "modelName": "nm_mun"
    },
    {
     "name": "bacia",
     "type": "esriFieldTypeString",
     "alias": "Bacia",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 100,
     "defaultValue": null,
     "modelName": "bacia"
    },
    {
     "name": "regiao_hidrog",
     "type": "esriFieldTypeString",
     "alias": "Região Hidrográfica",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 150,
     "defaultValue": null,
     "modelName": "regiao_hidrog"
    },
    {
     "name": "codigo_bac",
     "type": "esriFieldTypeString",
     "alias": "Código da Bacia Hidrográfica",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 5,
     "defaultValue": null,
     "modelName": "codigo_bac"
    },
    {
     "name": "cd_mun",
     "type": "esriFieldTypeInteger",
     "alias": "Código do município",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "cd_mun"
    },
    {
     "name": "Shape__Area",
     "type": "esriFieldTypeDouble",
     "alias": "st_area(shape)",
     "domain": null,
     "editable": false,
     "nullable": true,
     "defaultValue": null,
     "modelName": "st_area(shape)",
     "required": true
    },
    {
     "name": "Shape__Length",
     "type": "esriFieldTypeDouble",
     "alias": "st_perimeter(shape)",
     "domain": null,
     "editable": false,
     "nullable": true,
     "defaultValue": null,
     "modelName": "st_perimeter(shape)",
     "required": true
    },
    {
     "name": "comite_bh",
     "type": "esriFieldTypeString",
     "alias": "Comitê de Bacia Hidrográfica",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 100,
     "defaultValue": null,
     "modelName": "comite_bh"
    },
    {
     "name": "corede",
     "type": "esriFieldTypeString",
     "alias": "COREDE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 100,
     "defaultValue": null,
     "modelName": "corede"
    },
    {
     "name": "regiao_func",
     "type": "esriFieldTypeInteger",
     "alias": "Região Funcional (RF)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "regiao_func"
    },
    {
     "name": "populacao_2022",
     "type": "esriFieldTypeDouble",
     "alias": "População (2022)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "populacao_2022"
    },
    {
     "name": "idese_2020",
     "type": "esriFieldTypeDouble",
     "alias": "Idese (2020)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "idese_2020"
    }
   ],
   "geometryField": {
    "name": "shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape",
    "domain": null,
    "editable": true,
    "nullable": true,
    "defaultValue": null,
    "modelName": "shape"
   },
   "indexes": [
    {
     "name": "r18679_sde_rowid_uk",
     "fields": "objectid",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "E. South America Standard Time",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": {
    "timeZone": "E. South America Standard Time",
    "respectsDaylightSaving": false
   },
   "types": [
    {
     "id": "Guaíba",
     "name": "Guaíba",
     "domains": {},
     "templates": [
      {
       "name": "Guaíba",
       "description": "",
       "prototype": {
        "attributes": {
         "populacao_2022": null,
         "idese_2020": null,
         "nm_mun": null,
         "bacia": null,
         "regiao_hidrog": "Guaíba",
         "codigo_bac": null,
         "cd_mun": null,
         "regiao_func": null,
         "corede": null,
         "comite_bh": null
        }
       },
       "drawingTool": "esriFeatureEditToolPolygon"
      }
     ]
    },
    {
     "id": "Litoral",
     "name": "Litoral",
     "domains": {},
     "templates": [
      {
       "name": "Litoral",
       "description": "",
       "prototype": {
        "attributes": {
         "populacao_2022": null,
         "idese_2020": null,
         "nm_mun": null,
         "bacia": null,
         "regiao_hidrog": "Litoral",
         "codigo_bac": null,
         "cd_mun": null,
         "regiao_func": null,
         "corede": null,
         "comite_bh": null
        }
       },
       "drawingTool": "esriFeatureEditToolPolygon"
      }
     ]
    },
    {
     "id": "Uruguai",
     "name": "Uruguai",
     "domains": {},
     "templates": [
      {
       "name": "Uruguai",
       "description": "",
       "prototype": {
        "attributes": {
         "populacao_2022": null,
         "idese_2020": null,
         "nm_mun": null,
         "bacia": null,
         "regiao_hidrog": "Uruguai",
         "codigo_bac": null,
         "cd_mun": null,
         "regiao_func": null,
         "corede": null,
         "comite_bh": null
        }
       },
       "drawingTool": "esriFeatureEditToolPolygon"
      }
     ]
    }
   ],
   "templates": [],
   "maxRecordCount": 3000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query,Extract",
   "useStandardizedQueries": true,
   "bigIntegerRestrictedTo53Bits": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "standardMaxRecordCount": 4000,
   "tileMaxRecordCount": 4000,
   "standardMaxRecordCountNoGeometry": 32000,
   "maxRecordCountFactor": 1,
   "serviceItemId": "739280aa371f4641b477f5d13aeb7e6c"
  }
 ],
 "tables": []
}