diff --git a/src/pipelines/EMT/emt_bus_stop.sh b/src/pipelines/EMT/emt_bus_stop.sh
new file mode 100644
index 0000000..af5ade0
--- /dev/null
+++ b/src/pipelines/EMT/emt_bus_stop.sh
@@ -0,0 +1,68 @@
+#!/bin/bash
+# Descarga y procesa paradas de la EMT
+# Santiago Crespo 2022
+
+#wget http://opendata.emtmadrid.es/data/opendata/XML/NodesLines.xml
+
+TMPDIR="/tmp/emtstops"
+date
+INITIALDIR=`pwd`
+mkdir -p $TMPDIR
+rm -f $TMPDIR/*
+
+echo "Descargamos coordenadas y ID's del CRTM y reproyectamos. Usamos estas coordenadas cuando sea posible"
+./reproyecta_coordenadas_emt_crtm.sh && cp emt-stops-4326.csv $TMPDIR/ && echo "Reproyección completada con éxito" || exit 1
+
+cd $TMPDIR
+
+# Para el timestamp
+DIA=`date +%Y-%m-%d`
+HORA=`date +%H:%M:%S`
+
+wget -nv http://servicios.emtmadrid.es:8080/GTFS/transitEMT.zip
+unzip transitEMT.zip
+grep -v "stop_id" stops.txt > a ; mv a stops.txt
+
+echo '
+' > emt_stops.osm
+
+ID="70000380000"
+
+# PENDIENTE: por ahora usamos la fecha de la descarga
+SOURCEDATE=$DIA
+
+echo "Procesando..."
+while IFS='' read -r linea; do
+
+ REF=`echo $linea | awk -F ',' '{print $1}'`
+ NAME=`echo $linea | awk -F ',' '{print $3}'`
+ URL=`echo $linea | awk -F ',' '{print $8}'`
+
+ if grep -q '"'$REF'"' emt-stops-4326.csv ; then # Si tenemos coordenadas reproyectadas del CRTM, usamos esas
+ LAT=`grep '"'$REF'"' emt-stops-4326.csv | awk -F ',' '{print $3}'`
+ LON=`grep '"'$REF'"' emt-stops-4326.csv | awk -F ',' '{print $2}'`
+ else # Si no hay match, usamos las coordenadas de la EMT
+ LAT=`echo $linea | awk -F ',' '{print $5}'`
+ LON=`echo $linea | awk -F ',' '{print $6}'`
+fi
+
+ echo '
+
+
+
+
+
+
+
+
+' >> emt_stops.osm
+
+# '
+
+ ID=$((ID + 1))
+
+done < stops.txt
+
+echo '' >> emt_stops.osm && cp emt_stops.osm "$INITIALDIR/emt_stops.osm" && cd "$INITIALDIR" && echo "emt_stops.osm creado!" && date && exit 0
+
+
diff --git a/src/pipelines/EMT/reproyecta_coordenadas_emt_crtm.sh b/src/pipelines/EMT/reproyecta_coordenadas_emt_crtm.sh
new file mode 100644
index 0000000..33b742b
--- /dev/null
+++ b/src/pipelines/EMT/reproyecta_coordenadas_emt_crtm.sh
@@ -0,0 +1,72 @@
+#!/bin/bash
+# Reproyecta coordenadas de UTM UD50 to WGS84
+# Santiago Crespo 2022
+
+INITIALDIR=`pwd`
+TMPDIR=/tmp/emtstops
+rm -rf $TMPDIR
+mkdir -p $TMPDIR
+cd $TMPDIR
+
+CSVOUT=emt-stops-4326.csv
+
+## Download XML with all stops from CRTM's open data site
+
+# GOOD: m6-estaciones: Our stop ID = CODIGOEMPRESA http://datos-movilidad.crtm.es/datasets/m6-estaciones
+wget -nv "https://services5.arcgis.com/UxADft6QPcvFyDU1/arcgis/rest/services/M6_Red/FeatureServer/0/query?where=1%3D1&objectIds=&time=&geometry=&geometryType=esriGeometryEnvelope&inSR=&spatialRel=esriSpatialRelIntersects&resultType=none&distance=0.0&units=esriSRUnit_Meter&returnGeodetic=false&outFields=*&returnGeometry=true&featureEncoding=esriDefault&multipatchOption=xyFootprint&maxAllowableOffset=&geometryPrecision=&outSR=&datumTransformation=&applyVCSProjection=false&returnIdsOnly=false&returnUniqueIdsOnly=false&returnCountOnly=false&returnExtentOnly=false&returnQueryGeometry=false&returnDistinctValues=false&cacheHint=false&orderByFields=&groupByFieldsForStatistics=&outStatistics=&having=&resultOffset=&resultRecordCount=&returnZ=false&returnM=false&returnExceededLimitFeatures=true&quantizationParameters=&sqlFormat=none&f=pgeojson&token=" -O m6-estaciones.geojson
+
+# BAD?: COORDS IN THE MIDDLE OF THE STREET -> m6-postes: Our stop ID = OBJECTID http://datos-movilidad.crtm.es/datasets/m6-postes
+#wget "https://services5.arcgis.com/UxADft6QPcvFyDU1/arcgis/rest/services/M6_Red/FeatureServer/1/query?where=1%3D1&objectIds=&time=&geometry=&geometryType=esriGeometryEnvelope&inSR=&spatialRel=esriSpatialRelIntersects&resultType=none&distance=0.0&units=esriSRUnit_Meter&returnGeodetic=false&outFields=*&returnGeometry=true&featureEncoding=esriDefault&multipatchOption=xyFootprint&maxAllowableOffset=&geometryPrecision=&outSR=&datumTransformation=&applyVCSProjection=false&returnIdsOnly=false&returnUniqueIdsOnly=false&returnCountOnly=false&returnExtentOnly=false&returnQueryGeometry=false&returnDistinctValues=false&cacheHint=false&orderByFields=&groupByFieldsForStatistics=&outStatistics=&having=&resultOffset=&resultRecordCount=&returnZ=false&returnM=false&returnExceededLimitFeatures=true&quantizationParameters=&sqlFormat=none&f=pgeojson&token=" -O m6-postes.geojson
+
+# BAD?: NOT UPDATED. OLD OPEN DATA FILE Download XML with all stops from https://opendata.emtmadrid.es/Datos-estaticos/Datos-generales
+#curl 'https://opendata.emtmadrid.es/Datos-estaticos/Datos-generales.aspx' -H 'Connection: keep-alive' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' -H 'Origin: https://opendata.emtmadrid.es' -H 'Upgrade-Insecure-Requests: 1' -H 'DNT: 1' -H 'Content-Type: application/x-www-form-urlencoded' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36' -H 'Sec-Fetch-Mode: navigate' -H 'Sec-Fetch-User: ?1' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3' -H 'Sec-Fetch-Site: same-origin' -H 'Referer: https://opendata.emtmadrid.es/Datos-estaticos/Datos-generales' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: es,en-US;q=0.9,en;q=0.8,pt;q=0.7' -H 'Cookie: CMSPreferredCulture=es-ES; ASP.NET_SessionId=3nrv2fuo5y5oeufo0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NwZWNpZmljYSRpbWdCdXR0b25fMgV0cCRsdCRjdGwwNSRwYWdlcGxhY2Vob2xkZXJIZWFkZXIkcCRsdCRjdGwwMSRyZXBlYXRlckNvbnRlbmlkb0dlbmVyYWwkcmVwSXRlbXMkY3RsMDQkY3RsMDAkaW5mb0VzcGVjaWZpY2EkaW1nQnV0dG9uXzEFdHAkbHQkY3RsMDUkcGFnZXBsYWNlaG9sZGVySGVhZGVyJHAkbHQkY3RsMDEkcmVwZWF0ZXJDb250ZW5pZG9HZW5lcmFsJHJlcEl0ZW1zJGN0bDA0JGN0bDAwJGluZm9Fc3BlY2lmaWNhJGltZ0J1dHRvbl8yBXRwJGx0JGN0bDA1JHBhZ2VwbGFjZWhvbGRlckhlYWRlciRwJGx0JGN0bDAxJHJlcGVhdGVyQ29udGVuaWRvR2VuZXJhbCRyZXBJdGVtcyRjdGwwNSRjdGwwMCRpbmZvRXNwZWNpZmljYSRpbWdCdXR0b25fMQV0cCRsdCRjdGwwNSRwYWdlcGxhY2Vob2xkZXJIZWFkZXIkcCRsdCRjdGwwMSRyZXBlYXRlckNvbnRlbmlkb0dlbmVyYWwkcmVwSXRlbXMkY3RsMDUkY3RsMDAkaW5mb0VzcGVjaWZpY2EkaW1nQnV0dG9uXzJ87xzzYM39T%2BrxSDkN1Ei1P6e5oRYRi%2F24lYZQuvU5tQ%3D%3D&lng=es-ES&__VIEWSTATEGENERATOR=A5343185&__SCROLLPOSITIONX=0&__SCROLLPOSITIONY=265&p%24lt%24ctl05%24pageplaceholderHeader%24p%24lt%24ctl01%24repeaterContenidoGeneral%24repItems%24ctl05%24ctl00%24infoEspecifica%24imgButton_1.x=18&p%24lt%24ctl05%24pageplaceholderHeader%24p%24lt%24ctl01%24repeaterContenidoGeneral%24repItems%24ctl05%24ctl00%24infoEspecifica%24imgButton_1.y=17' --compressed > stops.xml
+
+
+# ESTACIONES CRTM
+# extract "ID", "x" and "y" and write csv
+grep "CODIGOEMPRESA\|\"X\"\|\"Y\"" m6-estaciones.geojson | perl -pe 's/ : //g' | perl -pe 's/ //g' | perl -pe 's/"CODIGOEMPRESA"/ID/g' | perl -pe 's/, \r\n/,/g' | tr -d '"X"' | tr -d '"Y"' | perl -pe 's/,ID/\n/g' | perl -pe 's/,/;/g' | tr -d 'CODIGOEMPRESA' > all-stops-23030.csv
+grep -v null all-stops-23030.csv > stops-23030.csv
+
+
+# POSTES CRTM
+# extract "ID", "x" and "y" and write csv
+#grep "OBJECT\|X\|Y" m6-postes.geojson | perl -pe 's/ : //g' | perl -pe 's/ //g' | perl -pe 's/"OBJECTID"/ID/g' | perl -pe 's/, \r\n/,/g' | tr -d '"X"' | tr -d '"Y"' | perl -pe 's/,ID/\n/g' | perl -pe 's/,/;/g' | perl -pe 's/CODIGOTIPOPOSTE;//g' | tr -d 'ID' > all-stops-23030.csv
+#grep -v null all-stops-23030.csv > stops-23030.csv
+
+# STOPS EMT
+#grep Node stops.xml | perl -pe 's/\n//g' | perl -pe 's//\n/g' | sed -e "s/\r//g" | perl -pe 's/<\/Node> /;/g' | perl -pe 's/<\/PosxNode> /;/g' | perl -pe 's/<\/PosyNode>//g' | grep ';' > stops-23030.csv
+
+# add headers to csv
+sed -i '1s/^/ID;x;y\n/' stops-23030.csv
+
+# Download datum grid from IGN
+# NOTE: WGS 84 is almost identical to the ETRS89 datum, so we can use this grid
+wget -nv http://www.ign.es/web/resources/docs/IGNCnig/GDS-TOOLS-PENR2009.zip
+unzip GDS-TOOLS-PENR2009.zip
+
+# Prepare reprojection from EPSG:23030 to EPSG:4326 with the datum grid:
+echo '
+
+ stops-23030.csv
+ wkbPoint
+ +init=epsg:23030 +nadgrids=./PENR2009.gsb +wktext
+
+
+
+ ' > stops-23030.vrt
+
+# Reproject with ogr2ogr
+ogr2ogr -lco GEOMETRY=AS_XY -overwrite -f CSV -t_srs EPSG:4326 stops-4326.csv stops-23030.vrt
+
+if [ ! -f stops-4326.csv ]; then
+ echo "ERROR: failed to generate stops-4326.csv"
+ exit 1
+fi
+
+# Sort columns (ID,x,y) and limit coordinate precision
+awk -F ',' '{print $3","$1","$2}' stops-4326.csv | awk -F, '{print $1","substr($2,1,9)","substr($3,1,9) }' | perl -pe 's/"X":"/"LON":/g' | perl -pe 's/","Y":"/,"LAT":/g' > $CSVOUT
+
+cp $CSVOUT "$INITIALDIR"
+
+exit 0
+