Re: [gdal-dev] ogr python pg GetLayerByName / CreateLayer

2014-05-20 Thread Martin Landa
2014-05-20 10:29 GMT+02:00 Even Rouault : > Is it new to the -dev version ? I don't think so, but anyway, feel free to > change the error into a CPLDebug message. The error seems to be emitted there > http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/pg/ogrpgtablelayer.cpp#L380 no, it'

Re: [gdal-dev] gdal_translate .vrt issue

2014-05-20 Thread Even Rouault
Le mardi 20 mai 2014 18:18:37, David Fawcett a écrit : > As usual Even, spot on! > > Thank you for precise diagnosis and the quick solution. My project is back > on track and the product can be delivered soon. I am guessing that I could > bump the pool_size up somewhat. I plan to play around wi

Re: [gdal-dev] Question on scaling between tif and vrt

2014-05-20 Thread Even Rouault
Le mardi 20 mai 2014 02:22:12, Stephen Woodbridge a écrit : > Even, > > Thanks! > > I didn't set his up, I just inherited the maintenance of it and I'm just > trying to understand how it works and eventually make changes to it and > fix some of the processing that does not seem to be grounded in

Re: [gdal-dev] gdal_translate .vrt issue

2014-05-20 Thread David Fawcett
As usual Even, spot on! Thank you for precise diagnosis and the quick solution. My project is back on track and the product can be delivered soon. I am guessing that I could bump the pool_size up somewhat. I plan to play around with that value and maybe get a little more performance (on my old

Re: [gdal-dev] Motion: Adopt RFC 46 : GDAL/OGR unification

2014-05-20 Thread Mateusz Łoskot
On 20 May 2014 17:29, Even Rouault wrote: > Selon Mateusz : > >> AFAIU, this voting request targets PSC members [1] only. >> Or, does it target the whole community? >> >> [1] http://trac.osgeo.org/gdal/wiki/GovernanceAndCommunity > > Mateusz, > > Officially, only votes from PSC members is taken i

Re: [gdal-dev] Motion: Adopt RFC 46 : GDAL/OGR unification

2014-05-20 Thread Even Rouault
Selon Mateusz : > AFAIU, this voting request targets PSC members [1] only. > Or, does it target the whole community? > > [1] http://trac.osgeo.org/gdal/wiki/GovernanceAndCommunity Mateusz, Officially, only votes from PSC members is taken into account, so as it remains manageable (e.g. if a rand

Re: [gdal-dev] Motion: Adopt RFC 46 : GDAL/OGR unification

2014-05-20 Thread Mateusz Łoskot
AFAIU, this voting request targets PSC members [1] only. Or, does it target the whole community? [1] http://trac.osgeo.org/gdal/wiki/GovernanceAndCommunity Mateusz On 20 May 2014 15:43, xavier lhomme wrote: > +1 > xl > > > 2014-05-20 14:49 GMT+02:00 Daniel Morissette : >> >> +1 >> >> Daniel >>

Re: [gdal-dev] Motion: Adopt RFC 46 : GDAL/OGR unification

2014-05-20 Thread xavier lhomme
+1 xl 2014-05-20 14:49 GMT+02:00 Daniel Morissette : > +1 > > Daniel > > > On 14-05-19 4:29 PM, Even Rouault wrote: > >> Hi, >> >> I think that the points raised in the discussion have been answered. I've >> just >> done a minor edit to the RFC text to mention RFC 36, as rightly suggested >> by

Re: [gdal-dev] Motion: Adopt RFC 46 : GDAL/OGR unification

2014-05-20 Thread Daniel Morissette
+1 Daniel On 14-05-19 4:29 PM, Even Rouault wrote: Hi, I think that the points raised in the discussion have been answered. I've just done a minor edit to the RFC text to mention RFC 36, as rightly suggested by Ivan. So: Motion : I move to adopt RFC 46: GDAL/OGR unification http://tra

Re: [gdal-dev] [OSGeo-Standards] Idea: GeoTIFF box in JPEG to addgeoreferencing

2014-05-20 Thread Emmanuel Devys
Thanks Peter, Carl, Even, Jukka et al for this interesting discussion on adding Georeferencing to image file standards, and capabilities of GMLJP2 2.0 (and its GMLCOV capabilities for rectified Grid coverages or Georeferenceable Grid coverages), GeoJP2 ... I appreciate this idea and action from

Re: [gdal-dev] [OSGeo-Standards] Idea: GeoTIFF box in JPEG to addgeoreferencing

2014-05-20 Thread Emmanuel Devys
Peter, Carl et al For the sake of clarification, I'd like to know in the " this includes GMLCOV and WCS." What does the "this" relates to ? (GMLJP2 ?, OGC/ISO discussion ? both ? Moreover, I believe WCS is not directly related (or included) ... IMHO, the relationship between WCS (Web coverage Se

Re: [gdal-dev] OpenJPEG driver

2014-05-20 Thread Even Rouault
Selon Guillaume Pasero : > Hi Even, > > Le 19/05/2014 20:01, Even Rouault a écrit : > > Guillaume, > > > >> I am using the OpenJPEG driver from GDAL and I noticed some differences > >> with the behaviour of an other OpenJPEG "driver" that I used before in > >> the library Orfeo ToolBox. The GDAL

Re: [gdal-dev] OpenJPEG driver

2014-05-20 Thread Jukka Rahkonen
SAVINAUD Mickaël c-s.fr> writes: > > IMHO the test case seems to be a bit too artificial to justify any change, > > unless there are real world cases where that would cause issues. > > > Yes it is not a real case but it is a conformance data which allow to > define if a decoder is JPEG decodi

Re: [gdal-dev] OpenJPEG driver

2014-05-20 Thread Even Rouault
Mickaël, > > > >> * The size of the overview at level 'n' is computed as : ovr_size = > >> raster_size / 2^n , whereas it should be ovr_size = ceil( > >> raster_size / float(2^n) ) > >> > > > > Hum, any reason to particularly round to the upper value rather than > > the lower > > value ?

Re: [gdal-dev] OpenJPEG driver

2014-05-20 Thread Guillaume Pasero
Hi Even, Le 19/05/2014 20:01, Even Rouault a écrit : Guillaume, I am using the OpenJPEG driver from GDAL and I noticed some differences with the behaviour of an other OpenJPEG "driver" that I used before in the library Orfeo ToolBox. The GDAL driver fails to pass a conformance test : using the

[gdal-dev] Missing include in MSG driver

2014-05-20 Thread Christian Authmann
Hello, I tried to compile GDAL 1.11.0 with the meteosat 2 (MSG) driver, but compilation failed in frmts/msg/msgcommand.cpp with a message stating that sprintf() was unknown. Adding #include at the top of the file fixed the problem. A trivial patch is attached; I release it under the licen

Re: [gdal-dev] gdal_translate .vrt issue

2014-05-20 Thread Even Rouault
Selon David Fawcett : > I am using gdal_translate and a .vrt to take 115 .jp2 files from the USGS, > pull them together and then export a lower resolution .jp2. > > This is with GDAL 1.10 on OSX. > gdalinfo --version > GDAL 1.10.1, released 2013/08/26 > > When I run gdal_translate, it gets about 3

Re: [gdal-dev] ogr python pg GetLayerByName / CreateLayer

2014-05-20 Thread Even Rouault
Selon Martin Landa : > Hi all, > > sample script to reproduce: > > """ > from osgeo import ogr > > odrv = ogr.GetDriverByName("PostgreSQL") > ods = odrv.Open("PG:dbname=pgis_vfr", True) > layerName = 'obce' > if not ods.GetLayerByName(layerName): > print "Layer not found, creating..." > od

[gdal-dev] ogr python pg GetLayerByName / CreateLayer

2014-05-20 Thread Martin Landa
Hi all, sample script to reproduce: """ from osgeo import ogr odrv = ogr.GetDriverByName("PostgreSQL") ods = odrv.Open("PG:dbname=pgis_vfr", True) layerName = 'obce' if not ods.GetLayerByName(layerName): print "Layer not found, creating..." ods.CreateLayer(layerName, None, ogr.wkbPoint,

Re: [gdal-dev] qgis 2.2 : gdal error message for display postgis raster layer

2014-05-20 Thread dandrigo
Following to my previous message, the host value seems to be not specified. COuld you tell me how i can specified this host value in order to load postgis raster ? Thanks. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/qgis-2-2-gdal-error-message-for-display-postgis-r

Re: [gdal-dev] [OSGeo-Standards] Idea: GeoTIFF box in JPEG to addgeoreferencing

2014-05-20 Thread Peter Baumann
On 05/19/2014 10:50 PM, Carl Reed wrote: Thanks, Peter. Also, FYI, version 2 of the OGC GML in JP2000 (GMLJP2) candidate standard is in an OGC adoption vote until June 29. There is also an OGC/ISO discussion this week as to whether this OGC standards should also become an ISO standard. Just