Re: [gdal-dev] python ogr feature didn't save attributes

2015-06-23 Thread Luca Delucchi
On 23 June 2015 at 16:02, Even Rouault wrote: > Luca, > Hi Even, >> >> I'm writing a function to cycle inside the feature and update a column >> of attribute table, if I print the feature with DumpReadable() I can >> see the right attributes but when the script finish the final >> shapefile has

[gdal-dev] gdal_calc.py looses the color lookup table

2015-06-23 Thread Stephen Woodbridge
Hi All, I have a geotiff file like: [] ~/work/oceandata/test$ gdalinfo A2015173174000.L0_LAC.L2_OC.tif -noct Driver: GTiff/GeoTIFF Files: A2015173174000.L0_LAC.L2_OC.tif A2015173174000.L0_LAC.L2_OC.tif.aux.xml Size is 2433, 1727 Coordinate System is: GEOGCS["WGS 84", DATUM["WGS_1984",

Re: [gdal-dev] Building GDAL 2.0.0 without ogr on Linux fails

2015-06-23 Thread Even Rouault
Kor, I'm half surprised this ended up being broken. At the time of https://trac.osgeo.org/gdal/wiki/rfc46_gdal_ogr_unification, it still worked apparently but I might have accidentaly broken it later. Anyway I was wondering if it was worth fixing that? as it might be a continuing maintenance

Re: [gdal-dev] dimap pleiades issues

2015-06-23 Thread Even Rouault
Dennis, I believe this would be good material for a ticket, if there isn't one already Even -- Spatialys - Geospatial professional services http://www.spatialys.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/list

[gdal-dev] Building GDAL 2.0.0 without ogr on Linux fails

2015-06-23 Thread Kor de Jong
Dear all, I may have found an issue in the build scripts of gdal 2.0.0. Building gdal without ogr on Linux fails on my machine: ./configure --without-ogr make -j8 I attached the output of configure and copied the snippets from the build output detailing the errors below. When I change --wi

Re: [gdal-dev] Motion: Adopt RFC 26: GDAL Block Cache Improvements

2015-06-23 Thread Daniel Morissette
On 2015-06-23 10:06 AM, Even Rouault wrote: Le vendredi 19 juin 2015 09:52:30, Even Rouault a écrit : Hi, As no points have been raised on the RFC: Motion : I move to adopt RFC 26: GDAL Block Cache Improvements https://trac.osgeo.org/gdal/wiki/rfc26_blockcache Starting with my +1 Hi, Just

[gdal-dev] dimap pleiades issues

2015-06-23 Thread Dennis Gocke
Hi guys, following the discussion http://thread.gmane.org/gmane.comp.gis.gdal.devel/40628 I did some tests with a pleiades dataset. First of all, Astrium’s very own tool (which now vanished from their page) to convert the pleiades RPC*.XML to _RPC.TXT did not change SAMP_OFF and LINE_OFF accord

Re: [gdal-dev] Motion: Adopt RFC 26: GDAL Block Cache Improvements

2015-06-23 Thread Even Rouault
Le vendredi 19 juin 2015 09:52:30, Even Rouault a écrit : > Hi, > > As no points have been raised on the RFC: > > Motion : I move to adopt RFC 26: GDAL Block Cache Improvements > > https://trac.osgeo.org/gdal/wiki/rfc26_blockcache > > Starting with my +1 Hi, Just a reminder this motion is sti

Re: [gdal-dev] python ogr feature didn't save attributes

2015-06-23 Thread Even Rouault
Luca, > > I'm writing a function to cycle inside the feature and update a column > of attribute table, if I print the feature with DumpReadable() I can > see the right attributes but when the script finish the final > shapefile has no attribute table, any idea? > > This is the relevant part of c

Re: [gdal-dev] dimap pleiades issues

2015-06-23 Thread Dennis Gocke
Sorry wrong link. This is the dimap pleiades test dataset: https://drive.google.com/file/d/0B_pKTK9WcAW4RktQUEE2bzVDdGM/view?usp=sharing On Tue, Jun 23, 2015 at 3:43 PM, Dennis Gocke wrote: > Hi guys, > > > > following the discussion > http://thread.gmane.org/gmane.comp.gis.gdal.devel/40628 I d

[gdal-dev] python ogr feature didn't save attributes

2015-06-23 Thread Luca Delucchi
Hi devs, I'm writing a function to cycle inside the feature and update a column of attribute table, if I print the feature with DumpReadable() I can see the right attributes but when the script finish the final shapefile has no attribute table, any idea? This is the relevant part of code feature

Re: [gdal-dev] GDAL/OGR C# wrapper and UTF8

2015-06-23 Thread ipavlik
Hello, now, for Layer.GetName() I need to use: Encoding.UTF8.GetString(Encoding.Default.GetBytes(layer.GetName())); to have correct characters. Is it a subject of this issue? Ivo. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-dev-GDAL-OGR-C-wrapper-and-UTF8-tp5044

Re: [gdal-dev] Set/Get Scale and Offset in GDALRasterBand

2015-06-23 Thread Alexander Bobkov
Even, Ray, thanks for the answers 22.06.2015 23:28, Ray Gardener пишет: The functions are to allow mapping between logical and physical pixel values. This is very common in e.g. elevation DEMs. Applying them is done by the calling code. At least, I haven't seen any routines in GDAL that woul