Docs
Contents

buscar_lugar

Turns a street, a building number or a place in Spain into cadastral references. It uses Google and the Catastro.

Arguments

ArgumentTypeWhat it is
textotext, requiredStreet, building number or place, ideally with the municipality (“Calle Mayor 5, Fresno de Torote”)
limiteintegerCandidates, 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 refcat and the direccion_catastro from 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.