Re: [gdal-dev] problem with CloseRings

2012-08-23 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

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

2012-08-23 Thread Stefan Keller
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 wrong. Yours, S. [1] http://trac.osgeo.org/gdal/wi

Re: [gdal-dev] Converting a .dat(X-Plane) file to a shapefile

2012-08-23 Thread Peter Mallen
I tried removing the leading anti-slash as well as adding "c:" to the path and the same error message was received for both instances. I was able to convert the other.dat files from the downloaded data to shapefiles but for some reason the apt.dat file is not working. -Original Message---

Re: [gdal-dev] Converting a .dat(X-Plane) file to a shapefile

2012-08-23 Thread Even Rouault
Le jeudi 23 août 2012 20:57:19, Peter Mallen a écrit : > Hi Klye, > > > > The errors received are below: > > > > FAILURE: > > Unable to open datasource '\APTNav201107XP900\apt.dat' with the > following drivers. Ah, this is just that the input filename is likely incorrect. Perhaps try remov

Re: [gdal-dev] Converting a .dat(X-Plane) file to a shapefile

2012-08-23 Thread Peter Mallen
Hi Klye, The errors received are below: FAILURE: Unable to open datasource '\APTNav201107XP900\apt.dat' with the following drivers. -> ESRI Shapefile -> MapInfo File -> UK .NTF -> SDTS -> TIGER -> S57 -> DGN -> VRT -> REC -> Memory -> BNA ->

Re: [gdal-dev] Converting a .dat(X-Plane) file to a shapefile

2012-08-23 Thread Even Rouault
Le jeudi 23 août 2012 20:27:12, Peter Mallen a écrit : > Hi Everyone, > > I am attempting to convert data from a .dat file (X-Plane data) into > shapefiles. Below is the ogr2ogr command I found online, but this > always gives errors: > > ogr2ogr apt_shapes apt.dat > > If anyone has any experien

Re: [gdal-dev] Converting a .dat(X-Plane) file to a shapefile

2012-08-23 Thread Kyle Shannon
What are the errors? On Thu, Aug 23, 2012 at 12:27 PM, Peter Mallen wrote: > Hi Everyone, > > ** ** > > I am attempting to convert data from a .dat file (X-Plane data) into > shapefiles. Below is the ogr2ogr command I found online, but this always > gives errors: > > ** ** > > ogr2ogr ap

[gdal-dev] Converting a .dat(X-Plane) file to a shapefile

2012-08-23 Thread Peter Mallen
Hi Everyone, I am attempting to convert data from a .dat file (X-Plane data) into shapefiles. Below is the ogr2ogr command I found online, but this always gives errors: ogr2ogr apt_shapes apt.dat If anyone has any experience or tips on how to correctly do this I would really appreciate

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

2012-08-23 Thread Even Rouault
> 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 underlying library that GDAL uses to decode GRIB files. Or perhaps GDAL isn't using it correctl

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

2012-08-23 Thread Margherita Di Leo
In order to check what is inside the grib file, I just installed the grib API [1] and ran grib_dump dwd_grib1_ispra_gmi202_2012063000 > tst.txt The information I get looking into the txt file is: * FILE: dwd_grib1_ispra_gmi202_2012063000 #== MESSAGE 1 ( length=68884 )

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

2012-08-23 Thread Even Rouault
> Until it get fixed in GDAL we can use > > if ( GDALGetDriverShortName() == "ECW") > > and once you fix that > > #if defined(GDAL_VERSION_NUM) && GDAL_VERSION_NUM < x.x > if ( GDALGetDriverShortName() == "ECW") Seems reasonnable. Except I suggest using a string comparison function and

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

2012-08-23 Thread Radim Blazek
On Wed, Aug 22, 2012 at 8:34 PM, Even Rouault wrote: >> > I suppose your workaround in QGIS will be to read 1x2 pixel or something >> > like that. >> >> Yes, I have used 2x2. > > Hum, I humbly suggest that the fix should be done in the ECW driver rather > than > in QGIS. The issue with the 2x2 wo