buscar_lugar
Turns a street, a building number or a place in Spain into cadastral references. It uses Google and the Catastro.
Arguments
| Argument | Type | What it is |
|---|---|---|
texto | text, required | Street, building number or place, ideally with the municipality (“Calle Mayor 5, Fresno de Torote”) |
limite | integer | Candidates, from 1 to 5 (5 by default) |
Response
Up to five candidates, each with:
- the address found and its
tipo(building, street, place or municipality); - the
refcatand thedireccion_catastrofrom the Catastro; distancia_m: 0 if the point falls inside the parcel, otherwise the distance to the nearest parcel.
Without a reference, refcat_motivo explains why. publicada set to false means GeoVis does not have that
parcel, and consultable set to false that your company does not have that municipality. aproximada set to
true means the exact address was not found or the point is not the building’s. A municipality has no
cadastral reference: for its parcels, use buscar_parcelas.