{ "name": "MunAtendCap", "displayName": "Municípios atendidos pela captação de interesse", "description": "A script tool permite encontras os municípios atendidos pelas captções de interesse, selecionado pelo usuário. A determinação é feita a partir do relacionamento estabelecido no banco de dados base do Módulo Geográfico.", "category": "", "helpUrl": "https://portal1.snirh.gov.br/server/rest/directories/arcgisoutput/atlas_aguas/MunAtendCap_GPServer/atlas_aguas_MunAtendCap/MunAtendCap.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "cpt", "dataType": "GPFeatureRecordSetLayer", "displayName": "Captações", "description": "Parâmetro no qual se deve indicar a camada de Massa D'água do módulo geográfico, para que a ferramenta identifique em qual camada deve buscar a informação das captações de interesse selecionadas.", "direction": "esriGPParameterDirectionInput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPoint", "spatialReference": { "wkid": 4674, "latestWkid": 4674 }, "fields": [ { "name": "cod", "type": "esriFieldTypeString", "alias": "cod", "length": 60000 }, { "name": "cpt", "type": "esriFieldTypeDouble", "alias": "cpt" }, { "name": "cd_massa_dagua", "type": "esriFieldTypeString", "alias": "cd_massa_dagua", "length": 60000 }, { "name": "nm_massa_dagua", "type": "esriFieldTypeString", "alias": "nm_massa_dagua", "length": 60000 }, { "name": "sis_id_primario", "type": "esriFieldTypeString", "alias": "sis_id_primario", "length": 60000 }, { "name": "sis_id_secundario", "type": "esriFieldTypeString", "alias": "sis_id_secundario", "length": 60000 }, { "name": "int_sis", "type": "esriFieldTypeString", "alias": "int_sis", "length": 60000 }, { "name": "sistema", "type": "esriFieldTypeString", "alias": "sistema", "length": 60000 }, { "name": "nm_captacao", "type": "esriFieldTypeString", "alias": "nm_captacao", "length": 255 }, { "name": "nm_fantasia", "type": "esriFieldTypeString", "alias": "nm_fantasia", "length": 255 }, { "name": "tp_captacao", "type": "esriFieldTypeString", "alias": "tp_captacao", "length": 255 }, { "name": "tp_estrutura", "type": "esriFieldTypeString", "alias": "tp_estrutura", "length": 60000 }, { "name": "cpt_vz_maximaprojeto_l_s", "type": "esriFieldTypeDouble", "alias": "cpt_vz_maximaprojeto_l_s" }, { "name": "cpt_vz_mediaoperacao_l_s", "type": "esriFieldTypeDouble", "alias": "cpt_vz_mediaoperacao_l_s" }, { "name": "status_manancial", "type": "esriFieldTypeString", "alias": "status_manancial", "length": 255 }, { "name": "nm_tratamento", "type": "esriFieldTypeString", "alias": "nm_tratamento", "length": 60000 }, { "name": "tp_tratamento", "type": "esriFieldTypeString", "alias": "tp_tratamento", "length": 60000 }, { "name": "n_municipio_atend", "type": "esriFieldTypeDouble", "alias": "n_municipio_atend" }, { "name": "cd_ibge", "type": "esriFieldTypeString", "alias": "cd_ibge", "length": 60000 }, { "name": "nm_municipio", "type": "esriFieldTypeString", "alias": "nm_municipio", "length": 60000 }, { "name": "populacao_atendida", "type": "esriFieldTypeDouble", "alias": "populacao_atendida" }, { "name": "demanda_alocada", "type": "esriFieldTypeDouble", "alias": "demanda_alocada" }, { "name": "gad", "type": "esriFieldTypeString", "alias": "gad", "length": 60000 }, { "name": "cs_quanti", "type": "esriFieldTypeString", "alias": "cs_quanti", "length": 60000 }, { "name": "cs_quali", "type": "esriFieldTypeString", "alias": "cs_quali", "length": 60000 }, { "name": "gad_sistema", "type": "esriFieldTypeString", "alias": "gad_sistema", "length": 60000 }, { "name": "geom_obs", "type": "esriFieldTypeString", "alias": "geom_obs", "length": 60000 }, { "name": "ctr_bho_cd", "type": "esriFieldTypeString", "alias": "ctr_bho_cd", "length": 60000 }, { "name": "ESRI_OID", "type": "esriFieldTypeOID", "alias": "ESRI_OID" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "cod_cpt", "dataType": "GPString", "displayName": "Código da captação", "description": "Parâmetro de busca opicional, que permite que o usuário utilize o código (cod) da captação de interesse, como alternativa a ter que seleciona-la na tela.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "mun", "dataType": "GPFeatureRecordSetLayer", "displayName": "Municípios", "description": "Camada operacional resultante do processamento, na qual estarão definidos todos os municipios atendidos pelas captações de interesse.", "direction": "esriGPParameterDirectionOutput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPolygon", "spatialReference": { "wkid": 4674, "latestWkid": 4674 }, "fields": [ { "name": "id", "type": "esriFieldTypeDouble", "alias": "id" }, { "name": "mun_cd_ibge", "type": "esriFieldTypeString", "alias": "mun_cd_ibge", "length": 60000 }, { "name": "mun_nm", "type": "esriFieldTypeString", "alias": "mun_nm", "length": 255 }, { "name": "mun_ufe_cd", "type": "esriFieldTypeString", "alias": "mun_ufe_cd", "length": 2 }, { "name": "nome_completo", "type": "esriFieldTypeString", "alias": "nome_completo", "length": 60000 }, { "name": "rme_nm", "type": "esriFieldTypeString", "alias": "rme_nm", "length": 100 }, { "name": "rme_cd", "type": "esriFieldTypeInteger", "alias": "rme_cd" }, { "name": "tp_manancial", "type": "esriFieldTypeString", "alias": "tp_manancial", "length": 60000 }, { "name": "tp_sistema", "type": "esriFieldTypeString", "alias": "tp_sistema", "length": 60000 }, { "name": "cod_massa_dagua", "type": "esriFieldTypeString", "alias": "cod_massa_dagua", "length": 60000 }, { "name": "nome_massa_dagua", "type": "esriFieldTypeString", "alias": "nome_massa_dagua", "length": 60000 }, { "name": "cod_captacao", "type": "esriFieldTypeString", "alias": "cod_captacao", "length": 60000 }, { "name": "ESRI_OID", "type": "esriFieldTypeOID", "alias": "ESRI_OID" }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length" }, { "name": "Shape_Area", "type": "esriFieldTypeDouble", "alias": "Shape_Area" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeRequired", "category": "" } ] }