JRoehrig / dgm1

DGM1
MIT License
1 stars 0 forks source link

How to use dgm1 #1

Open Omerhassanali opened 4 years ago

Omerhassanali commented 4 years ago

I'm trying to download some .xyz file from NRW geoportal. I did that but the data was unreadable because of some issues that you know. I tried to use your package, I followed all the steps but I couldn't get the .xyz or tiff. I don't want to do mosaic, I just want to download usable .xyz files.

JRoehrig commented 4 years ago

If you a giving a shapefile in DGM1NRW('~/dgm1', my_shapefile), be sure the my_shapefile intersects the NRW region, otherwise nothing will be downloaded.

I tried:

from dgm1.dgm1_nrw import DGM1NRW dgm1 = DGM1NRW('~/dgm1') dgm1.create_shapefile() dgm1.download()

It is working for me, I also checked in QGIS, the tif files are ok. It downloads all xyz-tiles, sets the coordinate system and tranform them into tif-files on the fly. You will not find any .xyz files, only .tif files are created.

I uploaded a new version (0.0.4) with test routines in github and pipy.