Пікірлер
@stozi92
@stozi92 10 күн бұрын
Thanks for the video. How can I convert X and Y to Lat and Lon in a csv file?
@andressanchez175
@andressanchez175 27 күн бұрын
Amazing video, and love your accent. Muchas gracias!
@jeewankbastola2272
@jeewankbastola2272 Ай бұрын
Please provide the files as well so it wont be confusing to practice the same
@jeewankbastola2272
@jeewankbastola2272 Ай бұрын
Hi. It's a great tutorial. Would you mind to share the files you have used in the tutorial please 🙏❤
@user-qy8yq5ff7y
@user-qy8yq5ff7y Ай бұрын
Extremely helpful! Please keep updating this series!💕
@FocusStudySoundscapes
@FocusStudySoundscapes 2 ай бұрын
Data Set available?
@Kiwinov
@Kiwinov 5 ай бұрын
This is amazing, thank you!
@gz6616
@gz6616 5 ай бұрын
Hi, I'm wondering is it possible to provide the 2nd argument to the Grid() function, not using a "points.shp" file name, but some other format? I don't have a points.shp file, but only the x- and y- and z- coordinates. How do I provide those to the Grid() function?
@user-cb6br7uv7f
@user-cb6br7uv7f 5 ай бұрын
From where will get dem.tif file?
@nikhilkumarkulkarni8798
@nikhilkumarkulkarni8798 5 ай бұрын
How to rotet tif file actioly im trying open tiff file using python but i can able to load but if compated to global mapper image is looking like mirrer image kindly help me to solove this issue
@bruinshockey199
@bruinshockey199 6 ай бұрын
Thank you for this tutorial! Very helpful.
@user-iz5kk4sy6m
@user-iz5kk4sy6m 6 ай бұрын
Perfect explanation, thank you!
@LuckyLAK17
@LuckyLAK17 6 ай бұрын
Hi many thanks for the video. Very interesting allthough I am not yet quite there with my project. Is there a way how to combine hillshading with colormap to show the terrain relief in way that the shading conveys a 3D effect while looking at a 2D map?
@user-xw2xv5zd8t
@user-xw2xv5zd8t 7 ай бұрын
Great tutorial!! I'm stuck on this, and I was wondering if you could help me out. I have a coarse mesh coarse.tif and a fine mesh fine.tif. The extent of coarse.tif is larger and completely includes fine.tif. Both have different resolutions, but I want the points (pixels) of each to be "nested", giving precedence to the arrangement of points in the fine mesh. This means that starting from the fine mesh, I want to construct a coarse mesh where there is one coarse mesh point for every 4 fine mesh points. In other words, the square formed by every 4 fine mesh points has the corresponding coarse mesh point in the center. Once this coarse mesh is created, the average of the involved fine mesh points is considered in the points where both meshes overlap, and interpolation of the coarse mesh points is used outside the overlap. Is it possible by using gdalwarp? Thanks
@seyedpeyman6092
@seyedpeyman6092 7 ай бұрын
Useful and Clear ! Thank You for this Great Tutorial
@KingKzTuts2000
@KingKzTuts2000 7 ай бұрын
is there a way to have gdal working with react project.
@metalthower
@metalthower 8 ай бұрын
Fantastic!!!
@boazmwubahimana7129
@boazmwubahimana7129 9 ай бұрын
Can you please provide solution for gdal cropping RGB images into black and white patches
@kerimmirzeyev4340
@kerimmirzeyev4340 10 ай бұрын
Hello, thank you for this tutorial it helped me a lot of, I just have a 1 question, I modfied your code instead of 1 data, I'm trying to divide folder of sentinel 2 images to 32x32 tiles, even though I don't get error and when printing it does show the coordinates of newly divided tiles, but output folder remains empty I think warp is not doing what it supposed to do and I don't know what else I could to do get it working, can you tell me what I'm doing wrong? This is my code import os from osgeo import gdal # Specify the input folder containing 256x256 images input_folder = r"E:\ytu\PHD\data eslihan_sentinel_testing\kodlar\SmartpolAIProcess\images" # Output folder for 32x32 tiles output_folder = r"E:\ytu\PHD\data eslihan_sentinel_testing\imagesTiles" image_files = [file for file in os.listdir(input_folder) if file.endswith('.tif')] # Loop through each image file for image_file in image_files: sen = gdal.Open(os.path.join(input_folder, image_file)) # Get the geotransform gt = sen.GetGeoTransform() # Get the dimensions of the image xlen = gt[1] * sen.RasterXSize ylen = gt[1] * sen.RasterYSize # Number of tiles in x and y direction div = 8 # Size of a single tile xsize = xlen // div ysize = ylen // div # Create lists of x and y coordinates xsteps = [gt[0] + xsize * i for i in range(div + 1)] ysteps = [gt[3] - ysize * i for i in range(div + 1)] # Loop over min and max x and y coordinates for i in range(div): for j in range(div): xmin = xsteps[i] xmax = xsteps[i + 1] ymax = ysteps[j] ymin = ysteps[j + 1] print("xmin: "+str(xmin)) print("xmax: "+str(xmax)) print("ymin: "+str(ymin)) print("ymax: "+str(ymax)) print(" ") # Use gdal warp to create 32x32 tiles gdal.Warp( os.path.join(output_folder, f"{os.path.splitext(image_file)[0]}_{i}_{j}.tif"), sen, outputBounds=(xmin, ymin, xmax, ymax), dstNodata=-9999, )
@johnegyir9704
@johnegyir9704 10 ай бұрын
Clearly explained! Thank you very much. This is really helpful.
@user-ng4qt7kn7j
@user-ng4qt7kn7j 10 ай бұрын
Graciaaaaas <3
@surajpatil6766
@surajpatil6766 11 ай бұрын
Haw to install gedal in Jupiter notebook
@antonstsezhkin6578
@antonstsezhkin6578 Жыл бұрын
Oh! one more thing: you operate with x and y - which one should be latitude and which one the longitude?
@ecoro_
@ecoro_ 7 ай бұрын
x is lon and y is lat, like in a map ... right?
@antonstsezhkin6578
@antonstsezhkin6578 7 ай бұрын
@@ecoro_ thanks!
@antonstsezhkin6578
@antonstsezhkin6578 Жыл бұрын
Bless you for covering different use cases! And thanks than mine is included.
@saremish
@saremish Жыл бұрын
Very useful and informative!
@navneetsrivastava688
@navneetsrivastava688 Жыл бұрын
Please complete the gdal python series. Also it would be very much helpful if you could create a video on how to convert lat long ( spatial coordinates) to pixel coordinates (x,y) and vice versa, with introduction to different projection and crs. Thank you for the video though
@AfagRizayeva
@AfagRizayeva Жыл бұрын
Thank you for your videos! It's the third video that has been really helpful for me - appreciate it
@hrishikeshkatkar7641
@hrishikeshkatkar7641 Жыл бұрын
my python version is >3.8 and its returning error to import gdal from osgeo what should I do
@livmaritharstad1629
@livmaritharstad1629 Жыл бұрын
Great video! I've merged a couple of datasets with no issue, but now I get this error: ERROR 1: ZIPDecode:Decoding error at scanline 0 ERROR 1: TIFFReadEncodedTile() failed. ERROR 1: \\Path to this file...\DTM_1km_6159_636.tif, band 1: IReadBlock failed at X offset 0, Y offset 0: TIFFReadEncodedTile() failed. the data is from Denmark and I've got different offset values like x=6, 1 or 8 and y=5 or 6 I've been stuck on this problem for a while and tried all the solutions I've found on the internet, have you encountered this problem before?
@rohitraman6257
@rohitraman6257 Жыл бұрын
I am facing difficulty while installing gdal. The error shows 'Environment Not Writable' Please help me.
@guanglou2065
@guanglou2065 Жыл бұрын
Thanks for the tutorial, very awesome! Just wondering where to download your data for reproducing your demo? Thanks. 🙂
@MsTooteh
@MsTooteh Жыл бұрын
These tutorials are so incredibly helpful. Thank you!!!
@JavierParra-bz2rs
@JavierParra-bz2rs Жыл бұрын
Muchas gracias, clarísimo el video, entendí todo!
@ehsankiani542
@ehsankiani542 Жыл бұрын
thanks
@sandeepbhatti3124
@sandeepbhatti3124 Жыл бұрын
Thank you so much! I was looking to convert CSV to Tiff and none of other posts on internet seemed to work. Your tutorial was perfect solution to my use case. Thanks again!
@sahilkamble8750
@sahilkamble8750 Жыл бұрын
I want to generate the raster data, so what should be the method i should follow should be it on python or any other ? Please suggest me some
Жыл бұрын
I tested the code and I found two issues: 1) using gdal warp i got a Warning: "Warning 1: for band 1, destination nodata value has been clamped to 0, the original value being out of range." It seems related with the nodata values. At the end the resulting tiles are not workables. 2) the resolution res is not valid for y-axis, therefore the tiles generated are incomplete. I defined resx and resy (one per axis), at the result was ok. But in general, your code is the best example that I found surfing the web. Thanks a lot.
@amillatali2589
@amillatali2589 Жыл бұрын
thank you so much
@lorhannascimento200
@lorhannascimento200 Жыл бұрын
u're a lifesaver, thank you so much!
@louis-philip
@louis-philip Жыл бұрын
Thanks for all this, it helps a lot!
@rogersc4195
@rogersc4195 Жыл бұрын
Come back pls!!!
@wangbadan1249
@wangbadan1249 Жыл бұрын
Nice Tutor and Tutorial ! where can I get the sample data used in the tutorial? Thanks!
@guilhermetorres928
@guilhermetorres928 Жыл бұрын
first of all congratulations for the content!!! would you know how to inform how the code would be to convert a raster (orthomosaic) tiff into ecw???
@asdfgh7486
@asdfgh7486 Жыл бұрын
how can we do aspect analysis and slope analysis?
@sophiez7952
@sophiez7952 Жыл бұрын
why when I run your code, it appears such errors : 'NoneType' object has no attribute 'GetRasterBand', could you explain it for me a while ! thanks!
@philtoa334
@philtoa334 Жыл бұрын
Nice.
@PlayinGuitar23
@PlayinGuitar23 Жыл бұрын
Is there any way to get access to the files you use here? I want to code along but don't have a tif that works like this one. Thanks!
@samnankadri525
@samnankadri525 Жыл бұрын
Hey, Nice Video. Can I install GDAL library for MATLAB
@mahsabozorgi
@mahsabozorgi Жыл бұрын
Thank you for the video, How can I conver GeoTIFF to Binary?
@pankajkumar-jo5sp
@pankajkumar-jo5sp Жыл бұрын
can u help how can get image data or reflectance by using polygon shape file