tag:blogger.com,1999:blog-7797431205725571762.post5829707833375271620..comments2024-03-01T22:09:58.980-08:00Comments on Geo tips & tricks: GDAL and OGR utilities as library functionsEven Rouaulthttp://www.blogger.com/profile/13965870607935959853noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-7797431205725571762.post-5836661345380934892018-09-25T03:38:07.540-07:002018-09-25T03:38:07.540-07:00Cool information can be found on your blog. JuneCool information can be found on your blog. <a href="http://www.london-anwings.co.uk/meet-june-girl.html" rel="nofollow">June</a><br />BB.https://www.blogger.com/profile/11046294621847102058noreply@blogger.comtag:blogger.com,1999:blog-7797431205725571762.post-54295647649460173832017-10-24T07:11:50.445-07:002017-10-24T07:11:50.445-07:00This is nice! Used to call the modules through sub...This is nice! Used to call the modules through subprocess.call ... This is much more elegant. Thanks!Thorbjornhttps://www.blogger.com/profile/07130444002635574787noreply@blogger.comtag:blogger.com,1999:blog-7797431205725571762.post-1433381033322490682015-10-14T11:50:52.080-07:002015-10-14T11:50:52.080-07:00Of course. Exactly what you can do currently with ...Of course. Exactly what you can do currently with command line gdalwarp.<br /><br />And I've just added an extra convenience. You can used empty name for temporary VRT output :<br /><br />ds = gdal.Warp('', input_ds, format = 'VRT')Even Rouaulthttps://www.blogger.com/profile/13965870607935959853noreply@blogger.comtag:blogger.com,1999:blog-7797431205725571762.post-56194404003471907482015-10-13T01:42:53.258-07:002015-10-13T01:42:53.258-07:00This is a great addition. It also solves the occas...This is a great addition. It also solves the occasional PATH issues where you are using language bindings but calling the utilities resolves to a different installation somewhere. <br /><br />Is it also possible to output to an in-memory VRT? Or at least something which delays processing until the data is actually read. Because i assume your example already performs the warp and fill memory with the entire file. That would limit its use to outputs which fit entirely in memory. <br /><br />Maybe using VRT as output format and adding the 'vsimem' prefix in the location?Rutgerhttps://www.blogger.com/profile/03351833392154768877noreply@blogger.com