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 Bosch wrote: Following your third link, I had already found the section that reads: GDAL and MapServer build SDK packages (provides to compil

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

2012-06-16 Thread Etienne Tourigny
On Sat, Jun 16, 2012 at 4:33 PM, Siebe Bosch wrote: > Following your third link, I had already found the section that reads: > > GDAL and MapServer build SDK packages (provides to compile MapServer and > GDAL by yourself): > > I assumed that this meant that I had to compile the DLL myself. Hence m

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 hyp

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

2012-06-16 Thread Etienne Tourigny
Sorry I thought that included pre-built libraries - perhaps someone else can help here? I don't know much about building in windows, sorry Etienne On Sat, Jun 16, 2012 at 4:33 PM, Siebe Bosch wrote: > Following your third link, I had already found the section that reads: > > GDAL and MapServer b

Re: [gdal-dev] convert .tif/.tfwx/.aux.xml to a geotiff?

2012-06-16 Thread Jukka Rahkonen
Martin Ouellet gmail.com> writes: > > > Thanks Florent, > > Can you provide me a simple example on how to set coordinates of an image with gdal_translate? This is setting 4 ground control points to corner pixels of a 1 by 1 pixel image. If you want to be accurate, remember that the an

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

2012-06-16 Thread Siebe Bosch
Following your third link, I had already found the section that reads: GDAL and MapServer build SDK packages (provides to compile MapServer and GDAL by yourself): I assumed that this meant that I had to compile the DLL myself. Hence my previous mail. Considering your last mail

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

2012-06-16 Thread Etienne Tourigny
Read my last email more attentively, you will see links the SDK built by Tamas Szekeres, which supposedly work with csharp On Sat, Jun 16, 2012 at 4:03 PM, Siebe Bosch wrote: > Thanks Etienne, > > You're probably right that I will need the latest GDAL in stead of the one > in FWTools. > Currently

[gdal-dev] Reading NetCDF using VB.NET

2012-06-16 Thread Siebe Bosch
Thanks Etienne, You're probably right that I will need the latest GDAL in stead of the one in FWTools. Currently however I'm struggling with NMAKE to build the CSHARP-libraries. It gives me all sorts of error messages. Anyone up for some guidance on NMAKE via screen sharing in Skype (usernam

Re: [gdal-dev] convert .tif/.tfwx/.aux.xml to a geotiff?

2012-06-16 Thread Jean-Claude Repetto
On 06/15/2012 04:46 PM, Martin Ouellet wrote: > Hi, > > I manually georeferenced some images in ArcGIS and at the end, I got a > .tfwx file and a aux.xml. > > I wish to convert them into geotiff with the georeferenced info in the > header: > > 1) I've renamed the .tfwx into .tfw and run a gdal_t

Re: [gdal-dev] convert .tif/.tfwx/.aux.xml to a geotiff?

2012-06-16 Thread Kyle Shannon
Martin, see the -a_ullr option here: http://gdal.org/gdal_translate.html (or gdal_translate --help). The option allows you to set the upper left and lower right corners. You probably want to set the spatial reference as well with -a_srs: gdal_translate -a_ullr -117.0 45.0 -116.0 44.0 -a_srs ep

Re: [gdal-dev] convert .tif/.tfwx/.aux.xml to a geotiff?

2012-06-16 Thread Martin Ouellet
Thanks Florent, Can you provide me a simple example on how to set coordinates of an image with gdal_translate? MartinO On Sat, Jun 16, 2012 at 3:46 AM, Florent JITIAUX wrote: > Hi Martin, > > if you georeference your images manually you can use gdalwarp to do it or > set coordinates of images

Re: [gdal-dev] intersecting two shapefiles in OGR C API

2012-06-16 Thread Chaitanya kumar CH
Mutlu, The only thing the tutorial didn't cover was the intersection. Please provide details of the errors you are getting. On 6/16/12, Mutlu Ozdogan wrote: > Hello All, > > I am writing a C code that reads in two shapefiles with very large > number of polygons and intersects them and writes th

Re: [gdal-dev] convert .tif/.tfwx/.aux.xml to a geotiff?

2012-06-16 Thread Florent JITIAUX
Hi Martin, if you georeference your images manually you can use gdalwarp to do it or set coordinates of images with gdal_translate. Florent 2012/6/15 Martin Ouellet > Hi, > > I manually georeferenced some images in ArcGIS and at the end, I got a > .tfwx file and a aux.xml. > > I wish to conver