[gdal-dev] Calling GDAL directly from within Python

2017-06-13 Thread Siebe Bosch
Dear list, Below you will find a question from my intern Bram. Unfortunately I could not help him out either since I only use the gdal executables. We would highly appreciate your help calling GDAL functions from within Python. Kind regards, Siebe Bosch Hi devs, This is my first time using

[gdal-dev] gdal_translate truncates nodata_value -4.21358e-09

2015-04-10 Thread Siebe Bosch
Forwarded Message Subject: Re: [gdal-dev] gdal_translate truncates nodata_value -4.21358e-09 Date: Fri, 10 Apr 2015 18:28:04 +0200 From: Even Rouault even.roua...@spatialys.com To: gdal-dev@lists.osgeo.org CC: Siebe Bosch si...@hydroconsult.nl Le vendredi

Re: [gdal-dev] VRTBuilder class

2014-05-28 Thread Siebe Bosch
Dear Gordon, If you want to use the VRTBuilder inside your own programming environment (on Windows) you could also start using the MapWinGIS ActiveX control. Version 4.9 and later supports GDAL, including the VRTBuilder function. The activeX control can be downloaded here:

Re: [gdal-dev] Gdal_translate won't crop VRT-file

2014-02-14 Thread Siebe Bosch
Dear Joost, Yes, the extents are as follows: upper left: 136000, 541250 lower right: 198000, 473750 So as you can see, my crop extent falls within the boundaries of the VRT file Kind regards, Siebe On 13-02-14 16:49, Andre Joost wrote: Am 13.02.2014 12:31, schrieb Siebe Bosch: Any

[gdal-dev] Gdal_translate won't crop VRT-file

2014-02-13 Thread Siebe Bosch
=2000 ySize=2500 // / DstRect xOff=74000 yOff=5000 xSize=2000 ySize=2500 // / /SimpleSource/ Any ideas? Thanks, Siebe Bosch -- - Hydroconsult Lulofsstraat 55, unit 47 2521 AL Den Haag The Netherlands web:http://www.hydroconsult.nl e

Re: [gdal-dev] Aggregate bands

2013-06-14 Thread Siebe Bosch
Hi List, The question was originally mine. Thanks to Paul for posting it. Here's what I did (calling GDAL tools from VB.NET): 1. Warping the NetCDF-file to match my desired co-ordinate system and crop the image. outputFile = OutputDir \ Str(OrderNum).Trim _NSL_ Str(i).Trim .nc

Re: [gdal-dev] Open Source GIS Raster Viewer

2012-10-12 Thread Siebe Bosch
Hi Kishore, You can also use the Mapwindow OCX map control. Here's a link to some tutorials that cover the use of this library http://www.mapwindow.org/tutorials/ Kind regards, Siebe Bosch On 12-10-12 15:21, Nikhil Sai Parupalli wrote: Hey Kishore, We can use DotSpatial library

Re: [gdal-dev] Reading NetCDF using VB.NET

2012-06-16 Thread Siebe Bosch
with FWTools version 2.4.7. It's supposed to support VB.NET as well; am I right? However, the application already crashes at the line Call GDAL.Registerall() Here's the code: Imports System Imports OSGeo.GDAL Imports OSGeo.OGR Module MeteoBase 'Copyright Siebe Bosch Hydroconsult, 2012 'Lulofsstraat

Re: [gdal-dev] Reading NetCDF using VB.NET

2012-06-16 Thread Siebe Bosch
Well, it looks like the pre-built DLL's *are* available in the SDK. It's only that in VS2008 I seem not to be able to add a reference to them. Some remarks on the web suggest that it should work in VS2005 and VS2010 however. I'm therefore currently installing VS2010 express, just to try that

Re: [gdal-dev] Reading NetCDF using VB.NET

2012-06-16 Thread Siebe Bosch
That explains a lot :) Thanks again and have a great weekend. Siebe On 16-06-12 22:19, Etienne Tourigny wrote: On Sat, Jun 16, 2012 at 4:33 PM, Siebe Boschsi...@hydroconsult.nl wrote: Following your third link, I had already found the section that reads: GDAL and MapServer build SDK

[gdal-dev] Reading NetCDF using VB.NET

2012-06-14 Thread Siebe Bosch
GDAL.Registerall() Here's the code: Imports System Imports OSGeo.GDAL Imports OSGeo.OGR Module MeteoBase 'Copyright Siebe Bosch Hydroconsult, 2012 'Lulofsstraat 55, unit 47 Den Haag, The Netherlands 'this program creates subsets from precipitation data in NetCDF-files 'as requested

Re: [gdal-dev] Reading NetCDF using VB.NET

2012-06-14 Thread Siebe Bosch
Dear all, Never mind; I figured out that it's a problem that has been described before: Either place the dll's from the BIN directory of FWTools next to the executable or add the the bin directory to the PATH environment... Cheers, Siebe ___