Convertir coordenadas
This visualization demonstrates coordinate conversion between WGS84 longitude/latitude and the Buenos Aires GKBA projected system, using the USIG Buenos Aires web service. It shows how a point expressed in one system translates to the other, with example coordinates mapping to the city’s Flores neighborhood. The code fetches JSON responses from the `convertir_coordenadas` REST endpoint, displaying the converted `x` and `y` values. It also queries the `datos_utiles` service to retrieve associated administrative data such as comuna, barrio, and comisaría, rendering the results as structured text in a simple interface.
AI-generated descriptionhttps://ws.usig.buenosaires.gob.ar/
Convertir coordenadas
lonlat (wgs84) --> gkba
https://ws.usig.buenosaires.gob.ar/rest/convertir_coordenadas?x=-58.463300&y=-34.629269&output=gkba
{"tipo_resultado":"Ok","resultado":{"x":"100000.00","y":"100000.00"}}
gkba --> lonlat (wgs84)
https://ws.usig.buenosaires.gob.ar/rest/convertir_coordenadas?x=100000&y=100000&output=lonlat
{"tipo_resultado": "Ok", "resultado": { "x": "-58.463300", "y": "-34.629269" } }
Datos utiles
http://ws.usig.buenosaires.gob.ar/datos_utiles
https://ws.usig.buenosaires.gob.ar/datos_utiles?x=100000&y=100000
{
"comuna": "Comuna 7",
"barrio": "Flores",
"comisaria": "38",
"area_hospitalaria": "HTAL. DR. P. PIÑERO",
"region_sanitaria": "II (Sur)",
"distrito_escolar": "Distrito Escolar XI",
"comisaria_vecinal": "7C",
"seccion_catastral": "48",
"distrito_economico": "",
"codigo_de_planeamiento_urbano": "APH 15",
"partido_amba": "",
"localidad_amba": ""
}