---
title: "Georreferenciación inversa para un punto dado."
method: GET
path: "/ubicacion"
tags: ["Recursos"]
---

# Georreferenciación inversa para un punto dado.

`GET /ubicacion`

Permite realizar una georreferenciación inversa para un punto, informando cuales unidades territoriales lo contienen.

## Query parameters

- `lat` number, required
- `lon` number, required
- `aplanar` true
- `campos` string
- `formato` 'json' | 'geojson' | 'xml'

## Response `200`

Resultado de la georreferenciación inversa.

- UbicacionSingle
  - `ubicacion` Ubicacion
    - `departamento` DepartamentoSubEntidad
      - `id` string
      - `nombre` string
    - `provincia` ProvinciaSubEntidad
      - `id` string
      - `nombre` string
    - `municipio` MunicipioSubEntidad
      - `id` string
      - `nombre` string
    - `lat` number
    - `lon` number
  - `parametros` object

## Other responses

- `400` — Error al procesar la consulta.

## Changes

- **2019-05-15** `7f745d434f27` — 1 info
  - added the optional property `parametros` to the response with the `200` status
- **2018-12-17** `095a6ec46431` — 1 info
  - added the new enum value `xml` to the `query` request parameter `formato`
- **2018-10-09** `91b97851e647` — 1 breaking, 1 warning
  - removed the enum value `xml` from the `query` request parameter `formato`
  - removed the optional property `parametros` from the response with the `200` status

[Change history](https://skmtc.dev/datosgobar/apis/georef-ar-api/changes/ubicacion/get.md)

---

[API](https://skmtc.dev/datosgobar/apis/georef-ar-api.md) · [All operations](https://skmtc.dev/datosgobar/apis/georef-ar-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/datosgobar/georef-ar-api/revisions/a0c3d492ec8b/schema)
