Re: [gdal-dev] problem with CloseRings

2012-08-24 Thread Oliver Christen
Thank you Frank, Doug, Chaitanya I effectively didnt notice the degenerate state of the ring :( Now I understand why CloseRings didnt help in some cases. It seems I will have to toy a bit with the geometries. thanks again best regards Oliver Doug, You could rebuild individual polygons by

Re: [gdal-dev] can't handle grib file

2012-08-24 Thread Margherita Di Leo
Even, On Thu, Aug 23, 2012 at 8:36 PM, Even Rouault even.roua...@mines-paris.orgwrote: So it looks like the information is actually there, but the gdal driver can't handle it. Any hint? Margherita, There's a possibility that your data file is of a type that isn't understood by the

Re: [gdal-dev] FWTools outdated on GDAL/OGR download page

2012-08-24 Thread Jean-Claude Repetto
Le 24/08/2012 07:24, Stefan Keller a écrit : Hi, The FWTools mentioned on the bottom of the download page of GDAL/OGR Binaries [1] leads to releases where the latest build dates back to 2007. I think there should be a note that FWTools are outdated and not maintained any more - unless I'm

[gdal-dev] About sqlite tileindex and Mapserver

2012-08-24 Thread Rahkonen Jukka
Hi, There is a trick with using Spatialite tileindex with Mapserver. I have no idea anymore how I came to this solution but most probably I was reading something about it from the internet. Try odd trick is that you cannot user Spatialite directly as tileindex but you must first create a

Re: [gdal-dev] About sqlite tileindex and Mapserver

2012-08-24 Thread Smith, Michael ERDC-RDE-CRREL-NH
Jukka, Perhaps you can document this on the Wiki as a Spatialite example in addition to the example for Oracle (https://github.com/mapserver/mapserver/wiki/MapServer-TILEINDEXes-with-Dat abase-RASTERS) Mike -- Michael Smith US Army Corps Remote Sensing GIS/Center On 8/24/12 7:12 AM,

Re: [gdal-dev] About sqlite tileindex and Mapserver

2012-08-24 Thread Rahkonen Jukka
Hi, It is documented in http://mapserver.org/mapfile/layer.html . TILEINDEX [filename|layername] Name of the tileindex file or layer. A tileindex is similar to an ArcInfo library index. The tileindex contains polygon features for each tile. The item that contains the location of the

[gdal-dev] Large raster (ecw) identify very long

2012-08-24 Thread Rahkonen Jukka
Hi, Even was missing a proper sample image in ECW format. This one comes originally from the geotorrent.org site which obviously disappeared at the same time than ER Mapper. Anyway, I have been trying to keep the image available. Image is a mosaic made from Landsat landcover scenes (bands

Re: [gdal-dev] About sqlite tileindex and Mapserver

2012-08-24 Thread Jeff McKenna
On 12-08-24 8:22 AM, Smith, Michael ERDC-RDE-CRREL-NH wrote: Jukka, Perhaps you can document this on the Wiki as a Spatialite example in addition to the example for Oracle (https://github.com/mapserver/mapserver/wiki/MapServer-TILEINDEXes-with-Dat abase-RASTERS) Mike I would side with

Re: [gdal-dev] [Qgis-developer] Large raster (ecw) identify very long

2012-08-24 Thread Even Rouault
Le mercredi 22 août 2012 20:13:39, Radim Blazek a écrit : Even, thanks for exhaustive explanation and testing. On Wed, Aug 22, 2012 at 2:37 PM, Even Rouault even.roua...@mines-paris.org wrote: I found in GDAL ecwdataset.cpp that it is treating single row requests in IRasterIO in a

Re: [gdal-dev] [Qgis-developer] Large raster (ecw) identify very long

2012-08-24 Thread Frank Warmerdam
On Fri, Aug 24, 2012 at 1:45 PM, Even Rouault even.roua...@mines-paris.org wrote: I've fixed that in http://trac.osgeo.org/gdal/ticket/4790 in trunk and 1.9 branch. So it will be in GDAL 1.9.2. Actually, as I think that the ECW driver is generally available through a plugin (and not built-in in

[gdal-dev] SQL Server Driver

2012-08-24 Thread Duchesne, Jimmy
Hello, I've been using SQL Server Driver for a few days now, and I noticed it was very slow, whatever the parameters, such as GT, I was using. I need to insert millions of rows in a table. To give you an idea, it takes around 1 minute to import 10k records with the driver On the other hand,

Re: [gdal-dev] can't handle grib file

2012-08-24 Thread Giuseppe Amatulli
Ciao Years ago to handling easily grib file i was using CDO http://www.nersc.gov/users/software/vis-analytics/climate-data-operators-cdo/ . it can also convert grib to geoTiff. ciao On 24 August 2012 02:05, Margherita Di Leo direg...@gmail.com wrote: Even, On Thu, Aug 23, 2012 at 8:36 PM,

Re: [gdal-dev] SQL Server Driver

2012-08-24 Thread Tamas Szekeres
Hi, Assuming you refer to the MSSQL driver the driver should provide fast data retrieval, but hasn't yet been optimized to provide fast data upload. Currently the MSSQL driver use WKT for the geometries when submitting data to the server, while when retrieving data we use the native

Re: [gdal-dev] SQL Server Driver

2012-08-24 Thread Frank Warmerdam
Jimmy, From an examination of MSSQLSpatialTableLayer::CreateFeature() it appears a regular INSERT statement is done for each feature written to the db rather than any sort of bulk mechanism. I could be missing something of course. Hopefully Tamas will provide a more experienced answer. Best

Re: [gdal-dev] can't handle grib file

2012-08-24 Thread Etienne Tourigny
On Fri, Aug 24, 2012 at 7:27 PM, Giuseppe Amatulli giuseppe.amatu...@gmail.com wrote: Ciao Years ago to handling easily grib file i was using CDO http://www.nersc.gov/users/software/vis-analytics/climate-data-operators-cdo/ . it can also convert grib to geoTiff. I doubt cdo can convert