Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Introducción al Catastro
Urbano en la Gestión del
Riesgo de Desastre
2
6. Uso de servicios espaciales,
consultas por atributo y ubicación,
descarga de datos en formato JSON
3
Lista de servicios REST
COFOPRI
http://geoportal.cofopri.gob.pe/cofopri/rest/services
Servicio de habilitaciones urbanas formalizadas (tituladas)
Servicio de catastro urbano
INEI
http://arcgis.inei.gob.pe:6080/arcgis/rest/services
Servicio del censo poblacional y vivienda 2017
MINAGRI
https://georural.minagri.gob.pe/geoservicios/rest/services
Servicio de predios rurales
Servicio REST de INEI
Seleccionar el servicio
Resultado_CPV
Servicio REST de INEI
Seleccionar el servicio
Resultado_CPV/VIVIENDA_NACIONAL
Servicio REST de INEI
Seleccionar
Legend
El código de MZ_VIV_PERU es 1
Servicio REST de INEI
http://arcgis.inei.gob.pe:6080/arcgis/rest/services/RESULTADO_CPV/VIVIENDA_NACIONAL/MapServer/legend
En la URL, borrar
legend
http://arcgis.inei.gob.pe:6080/arcgis/rest/services/RESULTADO_CPV/VIVIENDA_NACIONAL/MapServer/1/query
Reemplazar por
1/query
Servicio REST de INEI
Clic en el botón
Query (GET)
Identificando campos en el servicio REST
Campo: Valor
10
Consulta por atributo y
descarga en formato JSON
11
Construir consulta por atributo, salida en JSON
Campo: Valor
13
Descarga en formato JSON
http://arcgis.inei.gob.pe:6080/arcgis/rest/services/RESULTADO_CPV/VIVIENDA_NACIONAL/MapServer/1/query?where=UBIGEO%3D%27140101%27+and+CODCCPP%3D%270001%27&text=&objectIds=&time=&geometry=&geometryType=esriGeometryEnvelope&inSR=&sp
atialRel=esriSpatialRelIntersects&relationParam=&outFields=*&returnGeometry=true&returnTrueCurves=false&maxAllowableOffset=&geometryPrecision=&outSR=&returnIdsOnly=false&returnCountOnly=false&orderByFields=&groupByFieldsForStatistics=&outStatistics=&return
Z=false&returnM=false&gdbVersion=&returnDistinctValues=false&resultOffset=&resultRecordCount=&f=pjson
Consulta por atributo y
descarga en formato GeoJSON
15
Construir consulta por atributo, salida en GeoJSON
Formato estándar de
la OGC
17
Descarga en formato GeoJSON
http://arcgis.inei.gob.pe:6080/arcgis/rest/services/RESULTADO_CPV/VIVIENDA_NACIONAL/MapServer/1/query?where=UBIGEO%3D%27140101%27+and+CODCCPP%3D%270001%27&text=&objectIds=&time=&geometry=&geometryType=esriGeometryEnvelope&inSR=&
spatialRel=esriSpatialRelIntersects&relationParam=&outFields=*&returnGeometry=true&returnTrueCurves=false&maxAllowableOffset=&geometryPrecision=&outSR=&returnIdsOnly=false&returnCountOnly=false&orderByFields=&groupByFieldsForStatistics=&outStatistics=&re
turnZ=false&returnM=false&gdbVersion=&returnDistinctValues=false&resultOffset=&resultRecordCount=&f=geojson
18
Conversión de GeoJSON a
Shapefile
19
Conversión de GeoJSON a Shapefile
1 https://products.aspose.app/gis/conversion/json-to-shapefile
3
2
5
4. Clic en el botón CONVERT
5. Clic en el botón DOWNLOAD NOW
Consulta por ubicación espacial
22
Copiar coordenadas mínimas y máximas
desde Google Earth
Coordenadas máximas
Xmax,Ymax