Re: [gdal-dev] CADRG subdataset access help

2008-07-25 Thread Frank Warmerdam
Christiaan Janssen wrote: I'm working programmatically. I sort of understand the mechanism described in the suggested document but would greatly appreciate a short snippet to show how one goes about opening the subdataset. I'm guessing in the example described on the web page that to open the

RE: [gdal-dev] CADRG subdataset access help

2008-07-25 Thread Christiaan Janssen
I'm working programmatically. I sort of understand the mechanism described in the suggested document but would greatly appreciate a short snippet to show how one goes about opening the subdataset. I'm guessing in the example described on the web page that to open the first dataset I would call G

Re: [gdal-dev] CADRG subdataset access help

2008-07-25 Thread Frank Warmerdam
Christiaan Janssen wrote: How exactly does one go about accessing the raster data in an format that contains subdatasets like CADRG? Any help would be greatly appreciated. Christiaan, Are you working programmatically or as a user with end-user tools like gdalinfo and gdal_translate? For an e

Re: [gdal-dev] CADRG subdataset access help

2008-07-25 Thread Even Rouault
Not so difficult. Example taken from the GDAL autotest suite: $ gdalinfo A.TOC Driver: RPFTOC/Raster Product Format TOC format Files: A.TOC Size is 1536, 1536 Coordinate System is: GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS 84",6378137,298.257223563, AUTHORITY["EPSG",

[gdal-dev] CADRG subdataset access help

2008-07-25 Thread Christiaan Janssen
How exactly does one go about accessing the raster data in an format that contains subdatasets like CADRG? Any help would be greatly appreciated. Christiaan ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal

RE: [gdal-dev] OT: subversion configuration

2008-07-25 Thread Norman Vine
Ari Jolma writes: > > I'm annoyed because I can't configure subversion properly for > my local > copy of GDAL repository. > > I want to keep all files locally LF also in Windows. I've set > > [auto-props] > *.* = svn:eol-style=LF > > in svn config. However, when I commit, the file is converte

[gdal-dev] GDALSetGeoTransform, & using masks

2008-07-25 Thread Patrick Cannon
Hello Everyone, I have what I hope to be just a couple of quick questions. I am in the process of writting my own driver/dataset for BSB files so I can support version 4 and 5 files.  This way the code for handling these files is not in the standard GDAL library and should isolate it from Mapte

Re: [gdal-dev] ogrinfo and gml?

2008-07-25 Thread Mateusz Loskot
Christopher Schmidt wrote: On Fri, Jul 25, 2008 at 02:06:38PM +0200, Mateusz Loskot wrote: Christopher Schmidt wrote: On Fri, Jul 25, 2008 at 12:37:38PM +0200, Mateusz Loskot wrote: Wendell Turner wrote: Why do the examples of ogrinfo not work? That is, the example shows a coal_dep.gml with c

Re: [gdal-dev] ogrinfo and gml?

2008-07-25 Thread Christopher Schmidt
On Fri, Jul 25, 2008 at 02:06:38PM +0200, Mateusz Loskot wrote: > Christopher Schmidt wrote: > >On Fri, Jul 25, 2008 at 12:37:38PM +0200, Mateusz Loskot wrote: > >>Wendell Turner wrote: > >>>Why do the examples of ogrinfo not work? That is, the > >>>example shows a coal_dep.gml with contents of: >

Re: [gdal-dev] ogrinfo and gml?

2008-07-25 Thread Mateusz Loskot
Mateusz Loskot wrote: Christopher Schmidt wrote: On Fri, Jul 25, 2008 at 12:37:38PM +0200, Mateusz Loskot wrote: Wendell Turner wrote: Why do the examples of ogrinfo not work? That is, the example shows a coal_dep.gml with contents of: 0.000 0.000 2 2 7 110 110 78.531,50.694 Yet ogri

Re: [gdal-dev] ogrinfo and gml?

2008-07-25 Thread Mateusz Loskot
Christopher Schmidt wrote: On Fri, Jul 25, 2008 at 12:37:38PM +0200, Mateusz Loskot wrote: Wendell Turner wrote: Why do the examples of ogrinfo not work? That is, the example shows a coal_dep.gml with contents of: 0.000 0.000 2 2 7 110 110 78.531,50.694 Yet ogrinfo doesn't recognize i

Re: [gdal-dev] ogrinfo and gml?

2008-07-25 Thread Christopher Schmidt
On Fri, Jul 25, 2008 at 12:37:38PM +0200, Mateusz Loskot wrote: > Wendell Turner wrote: > > Why do the examples of ogrinfo not work? That is, the > > example shows a coal_dep.gml with contents of: > > > > > > > > 0.000 > > 0.000 > > 2 > > 2 > > 7 > > 110 > > 110 > > > > > > 78.531,50.694 > >

Re: [gdal-dev] ogrinfo and gml?

2008-07-25 Thread Mateusz Loskot
Wendell Turner wrote: > Why do the examples of ogrinfo not work? That is, the > example shows a coal_dep.gml with contents of: > > > > 0.000 > 0.000 > 2 > 2 > 7 > 110 > 110 > > > 78.531,50.694 > > > > > > Yet ogrinfo doesn't recognize it: > > ogrinfo coal_dep.gml > FAILURE: > Unabl