Herramientas de usuario

Herramientas del sitio


airbnb:pregunta:analisis-vut-ordenanza-donostia

¿Cual es el estado de tramitación de las viviendas de uso turístico en Donostia?

Parece que este manual ya no funciona por un cambio de formato en la web, se está trabajando en otra alternativa aquí: https://code.montera34.com/ekaitz/donostiaairbnb

Estos son los pasos a dar para descargar los datos del mapa oficial del Ayuntamiento de Donostia y analizarlos:

  1. Ver en el código html de la página y copiar el script que contiene javascript con los datos (dentro del div del mapa) y convertirlo con https://beautifier.io/ u otra herramienta para poner en varias líneas el javascript. El resultado será algo como esto: https://github.com/montera34/airbnbeuskadi/blob/master/data/original/vut-donostia/censo-viviendas-turisticas-donostia-20180914.js
1) Import it by Layer → Add delimited text layer.
The next dialogue should be fairly self explanatory. After clicking OK from this dialogue you will be asked for the coordinate system of your input coordinates. You can work through the list or use the Filter box to help find the right projection.
2) Once it's imported right click on the layer in the Layers panel, and choose “Save as”.
3) Save it as a shapefile, and change “Layer CRS” to “Selected CRS”, then browse the projections to find WGS84 EPSG:4326. Select to add it to the map and click ok.
4) Once your new shapefile is created, right click on it the layer's dialogue and “Open Attribute Table”. Toggle editing (ctrl-E) and open the calculator (ctrl-I). Select “create a new field”, call it “Longitude”, and make the expression $x. Do the same for a second new attribute called “Latitude” and make the expression $y.
airbnb/pregunta/analisis-vut-ordenanza-donostia.txt · Última modificación: 2019/06/28 16:07 por ekaitz