Re: [gdal-dev] compiling gdal under linux + OCI without installing Oracle

2010-09-28 Thread Sebastian E. Ovide
great !... wiki updated: http://trac.osgeo.org/gdal/wiki/BuildingOnUnix On Mon, Sep 27, 2010 at 4:50 PM, Ivan Lucena wrote: > Sebastian, > > That might help you: > > http://forums.oracle.com/forums/thread.jspa?messageID=4570333 "Thread: > Building GDAL with geoRaster support in Linux " > > Regard

[gdal-dev] GDAL Error 4 - Again

2010-09-28 Thread GOO Creations
Hi everyone I've looked through the mailing-list archive and I know this issue was addressed several 100 times, but I still can't find the problem: This is my code I use to open an image: const char* f = "/home/goocreations/Documents/blue.pix"; GDALDataset *d = (GDALDataset*) GDALOpen(f,GA_U

Re: [gdal-dev] GDAL Error 4 - Again

2010-09-28 Thread Chaitanya kumar CH
Chris, Did yo remember to make a call to GDALAllRegister() ? Python automatically calls that when the GDAL module is imported. On Tue, Sep 28, 2010 at 3:31 PM, GOO Creations wrote: > Hi everyone > > I've looked through the mailing-list archive and I know this issue was > addressed several 100 t

Re: [gdal-dev] GDAL Error 4 - Again

2010-09-28 Thread GOO Creations
Yes, but this didn't help either. Chris On 2010/09/28 12:17 PM, Chaitanya kumar CH wrote: Chris, Did yo remember to make a call to GDALAllRegister() ? Python automatically calls that when the GDAL module is imported. On Tue, Sep 28, 2010 at 3:31 PM, GOO Creations

[gdal-dev] Erdas 2010 and OpenEV different views

2010-09-28 Thread Ibrahim Saricicek
Hi List, By Erdas Imagine 2010 I've combined 3 bands (by Spectral/Layer Stack Menu). Saved as 32 bit. And by "Rescale" menu, rescaled to 8 bit. The image is shown the same on Mapserver, QGis, Ossim, OpenEv and different on Erdas Imagine 2010. You may see the differences on the images. And I atta

Re: [gdal-dev] GDAL Error 4 - Again

2010-09-28 Thread GOO Creations
Sorry guys, seems like my process somehow changed the image along the way. It works now. Thanks for the help. Chris On 2010/09/28 12:17 PM, Chaitanya kumar CH wrote: Chris, Did yo remember to make a call to GDALAllRegister() ? Python automatically calls that when the GDAL module is importe

Re: [gdal-dev] Erdas 2010 and OpenEV different views

2010-09-28 Thread Vincent Schut
On 09/28/2010 01:40 PM, Ibrahim Saricicek wrote: Hi List, By Erdas Imagine 2010 I've combined 3 bands (by Spectral/Layer Stack Menu). Saved as 32 bit. And by "Rescale" menu, rescaled to 8 bit. The image is shown the same on Mapserver, QGis, Ossim, OpenEv and different on Erdas Imagine 2010. Yo

Re: [gdal-dev] Erdas 2010 and OpenEV different views

2010-09-28 Thread Chaitanya kumar CH
Ibrahim, Try the buttons in openev toolbar with the slant lines. They perform different kinds of rescaling. On Tue, Sep 28, 2010 at 5:10 PM, Ibrahim Saricicek < ibrahimsarici...@gmail.com> wrote: > > Hi List, > > By Erdas Imagine 2010 I've combined 3 bands (by Spectral/Layer Stack Menu). > Saved

Re: [gdal-dev] Erdas 2010 and OpenEV different views

2010-09-28 Thread ibrahim saricicek
Hi List, Thanks "Linear Stretch/ Enhancement" works. And one more question how can i save the image with "Linear Stretch/ Enhancement" applied? Regards.. On Tue, Sep 28, 2010 at 2:59 PM, Chaitanya kumar CH wrote: > Ibrahim, > > Try the buttons in openev toolbar with the slant lines. They perfor

Re: [gdal-dev] Erdas 2010 and OpenEV different views

2010-09-28 Thread Chaitanya kumar CH
Ibrahim, I don't think you can save the image that way in openev. You can use gdal_translate to perform linear scaling. Use the -scale option. If you think you can stand to lose some info in very dark or very bright areas, specify appropriate values for src_min and src_max. http://www.gdal.org/gd

[gdal-dev] tiff with colortable loses alpha values?

2010-09-28 Thread Vincent Schut
Hi, I'm creating a geotiff with colortable using the python bindings, however, the alpha value of the colorentry is lost / always set to 255 (says gdalinfo on the output image). Does gdal/geotiff with colortable not support rbga? Or, what am I doing wrong? Testcase is below: from osgeo imp

Re: [gdal-dev] Accessing in-memory shapefiles and db

2010-09-28 Thread Ari Jolma
On 09/28/2010 09:41 AM, Alexander Bruy wrote: Hi all, I've develop a small GIS tool and use GDAL/OGR to work with raster and vector data. Is it possible to access shapefiles which loaded in memory with OGR? And same things with SpatiaLite databases? I know that SQLIte/SpatiaLite can create in-m

Re: [gdal-dev] Proposed UTF-8 SWIG Changes

2010-09-28 Thread Ari Jolma
On 09/27/2010 05:31 PM, Frank Warmerdam wrote: Even, Tamas, Ari, Howard, and other SWIG wise men, I got lost last night in the SWIG typemaps we use for GDAL, but eventually I came up with a minimal patch that seems to make sense and work. I would appreciate it if you guys could skim it and le

[gdal-dev] ogr problems with MapInfo

2010-09-28 Thread Sebastian E. Ovide
Hi All, I have built gdal with MapInfo support: g...@mapserver:~/data/us$ ogrinfo --formats Supported Formats: -> "ESRI Shapefile" (read/write) -> "MapInfo File" (read/write) ... ... And I have MapInfo files. Now running ogrinfo: g...@mapserver:~/data/us$ ogrinfo -ro . OGR: OGROpen(.) fail

Re: [gdal-dev] ogr problems with MapInfo

2010-09-28 Thread Chaitanya kumar CH
Sebastian, Can you provide a long list of the directory? On Tue, Sep 28, 2010 at 10:09 PM, Sebastian E. Ovide < sebastian.ov...@gmail.com> wrote: > Hi All, > > I have built gdal with MapInfo support: > > g...@mapserver:~/data/us$ ogrinfo --formats > Supported Formats: > -> "ESRI Shapefile" (re

Re: [gdal-dev] tiff with colortable loses alpha values?

2010-09-28 Thread Even Rouault
Vincent, The TIFF format doesn't allow storing the alpha component, so it is ignored. See the TIFF specification, section 5 : http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf Possible workarounds : * work with RGBA tiff * add a mask band Best regards, Even Le mardi 28 septembre 2

Re: [gdal-dev] Re: NITF driver reads GEOLOB, but does not write it.

2010-09-28 Thread Even Rouault
Cool, thanks for your feedback. I could also test it successfully with GeoGenesis LITE that visibly takes into account the GEOLOB & GEOPSB TRE when available. I've commited the changes in trunk in r20708 with minor variations (comments, and so on). The only change that you'd notice is that I re

[gdal-dev] Re: Erdas 2010 and OpenEV different views

2010-09-28 Thread Jukka Rahkonen
ibrahim saricicek gmail.com> writes: > > > Hi List,Thanks "Linear Stretch/ Enhancement" works.And one more question > how can i save the image with "Linear Stretch/ Enhancement" applied?Regards.. I was goint to suggest you to try OSSIM Image linker, it is rather a lot ERDAS-like, but I notised

Re: [gdal-dev] Erdas 2010 and OpenEV different views

2010-09-28 Thread ibrahim saricicek
Dear List, >From OpenEv, Exporting with "Advanced Options/Scale to View Settings" works now. Thanks a lot... Regards.. On Tue, Sep 28, 2010 at 4:49 PM, Chaitanya kumar CH wrote: > Ibrahim, > > I don't think you can save the image that way in openev. > You can use gdal_translate to perform linea