Re: [gdal-dev] problem on function "OGR_FD_GetName"

2010-06-16 Thread Chaitanya kumar CH
randyqiuxy, OGR_FD_GetName() returns the name of the feature definition set during it's creation. It doesn't have to be unique and doesn't represent the object type or geometry type. It is not affected by any environment variables. On Thu, Jun 17, 2010 at 11:53 AM, randyqiu wrote: > Hi list, >

[gdal-dev] problem on function "OGR_FD_GetName"

2010-06-16 Thread randyqiu
Hi list, I reinstalled my OS (Ubuntu10.04) recently and now the OGR_FD_GetName function results in "layername" with "point,Line,Area,Meta",but I believe this function could get a layer's object name but not its geometry type. I'm not sure the problem exist in environment variable or not and, if so,

[gdal-dev] Re: ESRI file geodatabase support

2010-06-16 Thread Matt Wilkie
> So the question is: is it true that for a new "universal" spatial format to > be born it has to have at least read support in the closed source world? If spatialite, or something like it, sees widespread use elsewhere ESRI will read it. Heck they already incorporate gdal, even to the point of d

Re: [gdal-dev] Proper parameters for GDALBeginAsyncReader() for RGB images

2010-06-16 Thread Frank Warmerdam
On Wed, Jun 16, 2010 at 12:51 PM, Zermeno, Robert J CIV NAVAIR, 472100D wrote: > Do I call GDALBeginAsyncReader() three times like RasterIO?  One call for > Red, one for Blue, > and Green? Robert, The AsyncReader API allows reading multiple bands in one pass, much like the RasterIO call on the

[gdal-dev] Proper parameters for GDALBeginAsyncReader() for RGB images

2010-06-16 Thread Zermeno, Robert J CIV NAVAIR, 472100D
Hi everyone, I hope someone can clarify my issue when it comes to an RGB jpeg2000 image call Using GDALBeginAsyncReader(). I can use this function already for Grayscale images, but Having problems getting RGB colors to work. In streaming jpeg2000 images (JPIP),How do you properly use GDALBegin

RE: [gdal-dev] Re: ESRI file geodatabase support

2010-06-16 Thread Duarte Carreira
Matt, the only reason I have seen presented for some reluctance in pushing spatialite as a de facto standard following shapefile's success, is not having a foothold in the closed source sector. That's the only thing ESRI's fgdb could potentially offer, since the extra data types supported will n

Re: [gdal-dev] GDAL/OGR+PostGIS training

2010-06-16 Thread christopher.schmidt
On Jun 16, 2010, at 10:15 AM, ext Imran Rajjad wrote: > will the training material be available online for people who cannot come? Given the cost: http://www.credativ.us/pg_w_spatial/ • $1975 per student • Includes “Bootstrap Support”(tm) I doubt it. (Though they might sell i

Re: [gdal-dev] GDAL/OGR+PostGIS training

2010-06-16 Thread Imran Rajjad
will the training material be available online for people who cannot come? On Wed, Jun 16, 2010 at 6:47 PM, Jeff Hamann wrote: > Dear GDAL/OGR users and developers, > Yesterday, Forest Informatics, Inc., a provider of turnkey and custom > solutions for forest resource management announced a partn

[gdal-dev] GDAL/OGR+PostGIS training

2010-06-16 Thread Jeff Hamann
Dear GDAL/OGR users and developers, Yesterday, Forest Informatics, Inc., a provider of turnkey and custom solutions for forest resource management announced a partnership with credativ, a global open source consulting, service, and support company. Together, credativ and Forest Informatics wil

Re: [gdal-dev] Ninjo tiff tags

2010-06-16 Thread Chaitanya kumar CH
Martin, GDAL cannot the tags you want in the tiff file. You may be able to set the tags using tiffset or some other application through python. (my two cents) On Wed, Jun 16, 2010 at 6:53 PM, Martin Raspaud wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Chaitanya kumar CH skrev: >

Re: [gdal-dev] Ninjo tiff tags

2010-06-16 Thread Martin Raspaud
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chaitanya kumar CH skrev: > Martin, > > Please provide more details. What was the error message. > Refer to > (http://trac.osgeo.org/gdal/browser/trunk/autotest/gcore/tiff_write.py) > for examples. > The metadata items are stored according to the prof

Re: [gdal-dev] Ninjo tiff tags

2010-06-16 Thread Chaitanya kumar CH
Martin, Please provide more details. What was the error message. Refer to ( http://trac.osgeo.org/gdal/browser/trunk/autotest/gcore/tiff_write.py) for examples. The metadata items are stored according to the profile used. ( http://gdal.org/frmt_gtiff.html) On Wed, Jun 16, 2010 at 2:26 PM, Martin

AW: AW: [gdal-dev] gdalwarp and GTiff creation option NBITS

2010-06-16 Thread Schmitz, Uwe
Frank, I don't know if it's of interrest here, but I always put a gdalwarp'ed output file through gdal_translate to get a "clean" file. Beside some other things, this step rearranges the stripes and, IIRC, some older versions of gdalwarp had problems in writing compressed NBITS=1 files. But just

[gdal-dev] Ninjo tiff tags

2010-06-16 Thread Martin Raspaud
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm using the python interface of gdal to save files to geotiff format. Now we need to add custom tags to the file: I know the name, the number and the type of the metadata. Is there a way I can write it in the geotiff file ? SetMetadata does n