0

I am try to convert vector files to raster files from the Corine land use data set which provides vector files in their urban atlas. As per: https://land.copernicus.eu/local/urban-atlas

For example, I downloaded the files for Wien from here: https://land.copernicus.eu/local/urban-atlas/urban-atlas-2012?tab=download

In particular, I am interested in rasterizing the field CODE2012, which provides the integer code for the land classification (ITEM2012 and OBJECTID could possibly be an option but the most direct route is CODE2012).

I tried using the QGIS->Raster->Conversion->Rasterize which uses GDAL but I keep getting empty geotiffs or errors. I have also tried manually with gdal_rasterize which is what QGIS uses:

gdal_rasterize -l AT001L3_WIEN_UA2012_Boundary -a Pop2012 -ts 1.0 1.0 -a_nodata 0.0 -te 1843982.5417865077 6166351.096614478 1848539.9284615591 6169446.97652822 -ot Float32 -of GTiff ./AT001L3_WIEN_013/Data/AT001L3_WIEN_013.gpkg output.tif

I have tried many different versions of the above, that is just for an example.

I have looked at vector to raster conversion posts and understand the concept. I need to figure out how to get this particular data set conversion working.

Any help is appreciated.

1

To save some time used the ArcGIS MapServer option in QGIS

https://image.discomap.eea.europa.eu/arcgis/rest/services/UrbanAtlas/UA_UrbanAtlas_2012/MapServer

enter image description here

enter image description here

| improve this answer | |
  • Mapperz, thank you that is very cool. I was able to get it to work but only for coarser resolutions. Once I try to export with a resolution fine enough to be able to see the streets, I get blank geotiff export files. I also cannot zoom in on the original data set from the server past a certain point. In the vector files, and the online viewers from your link, I am able to zoom into that level without a problem. Also, I would like to be able to do this on a per city basis since I suspect the raster files will be quite large with such fine accuracy. – Janusz Jun 23 at 20:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.