RE: [gdal-dev] How can I do to load into a Bitmap an ECW image from GDAL?

2011-04-19 Thread Francisco José Reyes Peralta
Dear friends, anybody can help me to setup the GDAL_DRIVER_PATH environment and GDAL_DATA_PATH and others variables? I don't know how can I do. Thanks.Francisco J. Date: Mon, 18 Apr 2011 19:35:07 +0200 From: jrepe...@free.fr To: gistd...@hotmail.es; gdal-dev@lists.osgeo.org Subject: Re:

Re: [gdal-dev] How can I do to load into a Bitmap an ECW image from GDAL?

2011-04-19 Thread Jean-Claude Repetto
On 04/19/11 08:00, Francisco José Reyes Peralta wrote: Dear friends, anybody can help me to setup the GDAL_DRIVER_PATH environment and GDAL_DATA_PATH and others variables? I don't know how can I do. You can find these informations in the Windows XP documentation.

[gdal-dev] Modis data level1b

2011-04-19 Thread Nikolaos Hatzopoulos
Hi, I have modis level1b data and I have two hdf files a mod03 with the georeference and a mod02 with the bands how I can combine these files to make a nice geotif in gdal? note: hdfeos files are files with the georeference and the bands but for disk space reasons I have two files --Nikos

RE: [gdal-dev] How can I do to load into a Bitmap an ECW image from GDAL?

2011-04-19 Thread Francisco José Reyes Peralta
Dear friend, I got it finally Dim gdal_bin_path As String = c:\myGdalFolder\GDAL\Dim gdal_driver_path As String = c:\myGdalFolder\GDAL\gdalpluginsDim path = Environment.GetEnvironmentVariable(PATH)If Not (path.Contains(gdal_bin_path)) Then

[gdal-dev] gdal_translate segfault with large netCDF

2011-04-19 Thread Josh.Vote
Hi, I'm new to GDAL so please forgive any glaring ignorance :) Currently I have an 8GB ER Mapper (ERS) dataset that I want to convert to a NetCDF file with gdal_translate which always results in a segfault when using the following command. gdal_translate -of netCDF input.ers output.nc

[gdal-dev] Problem with GDALDatasetRasterIO.cs and ECW files

2011-04-19 Thread Francisco José Reyes Peralta
Dear friends, I'm vieweing the GDALDatasetRasterIO.cs from the Csharp samples of GDAL and I'm getting an error in the following line Bitmap bitmap = new Bitmap(imageWidth, imageHeight, pixelFormat); In the pixelFormat argument. I'm trying to load an ECW image into a BitMap. Anybody can help

[gdal-dev] geos for windows ce

2011-04-19 Thread Micka
Hello everyone, i would like to know if geos will be enabled one day for GDAL on windows ce ? I was planning to develop my shapefile viewer on windows ce. I was able to open a shapefile without problem, but because there is too much of vector inside it takes a lot of time to read it. I was

Re: [gdal-dev] Problem with GDALDatasetRasterIO.cs and ECW files

2011-04-19 Thread Tamas Szekeres
2011/4/19 Francisco José Reyes Peralta gistd...@hotmail.es Dear friends, I'm vieweing the *GDALDatasetRasterIO.cs* from the Csharp samples of GDAL and I'm getting an error in the following line *Bitmap bitmap = new Bitmap(imageWidth, imageHeight, pixelFormat);* In the * pixelFormat*

[gdal-dev] Problem with GDALDatasetRasterIO.cs and ECW files

2011-04-19 Thread Francisco José Reyes Peralta
);* In the * pixelFormat* argument. Hi, What is the error message specifically? Best regards, Tamas -- next part -- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110419/cc8baab2/attachment-0001.html

[gdal-dev] ogr2ogr and spatialite

2011-04-19 Thread iomeneandrei
Dear all, I'm using ogr2ogr (GDAL 1.8.0) to import a shapefile in a spatialite db. If I use spatialite gui to make it (without check with spatial index option), I have only a new one table in my sqlite db. If I use ogr2ogr ogr2ogr -append -s_srs EPSG:3004 -t_srs EPSG:3004 -f SQLite -dsco

[gdal-dev] Windows SDK support (at vbkto.dyndns.org) site has been relocated

2011-04-19 Thread Tamas Szekeres
Looks like my account on dyndns has been lost :-( Since I'm getting tired to update the account in every month, I've already registered a domain to point to this location which is: http://www.gisinternals.com/sdk/ If you have any links or bookmarks to point to the support site then update them

Re: [gdal-dev] ogr2ogr and spatialite

2011-04-19 Thread Even Rouault
Selon iomeneandrei aborr...@tin.it: Dear all, I'm using ogr2ogr (GDAL 1.8.0) to import a shapefile in a spatialite db. If I use spatialite gui to make it (without check with spatial index option), I have only a new one table in my sqlite db. If I use ogr2ogr ogr2ogr -append -s_srs

[gdal-dev] Re: ogr2ogr and spatialite

2011-04-19 Thread iomeneandrei
Hi Even, Even Rouault wrote: So try replacing -dsco SPATIALITE=NO with -lco SPATIAL_INDEX=NO my fault, I'm stupid :) Thank you very much - Andrea Borruso email: aborr...@tin.it website: http://blog.spaziogis.it my 2.0 life:

Re: [gdal-dev] Problem with GDALDatasetRasterIO.cs and ECW files

2011-04-19 Thread Chaitanya kumar CH
specifically? Best regards, Tamas -- next part -- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110419/cc8baab2/attachment-0001.html ___ gdal-dev mailing list gdal-dev

Re: [gdal-dev] Problem with GDALDatasetRasterIO.cs and ECW files

2011-04-19 Thread Tamas Szekeres
);* In the *** pixelFormat* argument.*** Hi, What is the error message specifically? Best regards, Tamas -- next part -- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110419/cc8baab2/attachment-0001.html

RE: [gdal-dev] Problem with GDALDatasetRasterIO.cs and ECW files

2011-04-19 Thread Francisco José Reyes Peralta
-- next part -- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110419/cc8baab2/attachment-0001.html ___ gdal-dev mailing list gdal-dev

Re: [gdal-dev] gdal_translate segfault with large netCDF

2011-04-19 Thread Frank Warmerdam
On 11-04-19 05:01 AM, josh.v...@csiro.au wrote: Hi, I’m new to GDAL so please forgive any glaring ignorance J Currently I have an 8GB ER Mapper (ERS) dataset that I want to convert to a NetCDF file with gdal_translate which always results in a segfault when using the following command.

Re: [gdal-dev] gdal_translate segfault with large netCDF

2011-04-19 Thread Kyle Shannon
Josh, As frank said, file a ticket and provide the output of ncdump -h yourfile.ncwith the ticket. I will take a look at it as soon as I can, although I am pretty busy. Thanks. kss /** * * Kyle Shannon * ksshan...@gmail.com * */ On Tue, Apr 19, 2011 at 09:57, Frank Warmerdam

[gdal-dev] How load in memory bitmap without save a GDAL image local file?

2011-04-19 Thread Francisco José Reyes Peralta
Dear friends, In the csharp sample files located in the path gdal\swig\csharp\apps\ as GDARead.cs, GDALReadDirect.cs and so much, the developer always store in a local file. Is possible to save in a Bitmap without need of a physical file location? It is because if you need to load an up to 2GB

Re: [gdal-dev] dev-version of HDF4

2011-04-19 Thread Nikolaos Hatzopoulos
hdf4 libraries not found that's what the log says :) do a locate libhdf4 to see where the library is On Tue, Apr 19, 2011 at 10:24 AM, Knut-Frode Dagestad knutfrodesop...@hotmail.com wrote: I am trying to compile GDAL from source with support for HDF4 with: ./configure --with-hdf4 but get

Re: [gdal-dev] gdal_translate segfault with large netCDF

2011-04-19 Thread Nikolaos Hatzopoulos
What kind of netcdf file is causing the problem? is a netcdf4 or netcdf3 file? there is a compiling option in netcdf4 --enable-netcdf-4 On Tue, Apr 19, 2011 at 11:35 AM, Kyle Shannon ksshan...@gmail.com wrote: Josh, As frank said, file a ticket and provide the output of ncdump -h

[gdal-dev] GDAL / OGR 64bit - PINVOKE Exception

2011-04-19 Thread Jordan Stoffer
Hello, I am getting the message The type initializer for 'OSGeo.OGR.OgrPINVOKE' threw an exception. in my C# program that is referencing the ogr_csharp.dll file. When trying to instantiate a class that is extended from the OGR.Geometry class . After doing some research it appears that the

[gdal-dev] RE: GDAL / OGR 64bit - PINVOKE Exception

2011-04-19 Thread Jordan Stoffer
Thanks for the response Jay. Unfourtunately, I have already tried each configuration (x64, Any CPU, and x86) with the same results. I have also tried both Release and Debug mode for each configuration. Still no luck... From: Jay Jennings [mailto:jennings@geoeye.com] Sent: Tuesday, April 19,

[gdal-dev] GDAL / OGR 64bit - PINVOKE Exception

2011-04-19 Thread Jordan Stoffer
From: Jordan Stoffer Sent: Tuesday, April 19, 2011 4:38 PM To: Jay Jennings Cc: gdal-dev@lists.osgeo.org Subject: RE: GDAL / OGR 64bit - PINVOKE Exception Here is an example of the code we are using. It is a very simple example and breaks as soon as we try to register the GDAL driver.

RE: [gdal-dev] gdal_translate segfault with large netCDF

2011-04-19 Thread Josh.Vote
Thanks for the suggestions - I would like to suggest that you do a gdal_translate from a subset of the ERS file at the bottom right corner of the source just to ensure that it isn't a problem with reading past the 4GB mark in the ERS file. I just managed to run 'gdal_translate -of netCDF