Re: [gdal-dev] wcs driver not cooperating

2011-08-19 Thread Even Rouault
Le vendredi 19 août 2011 23:46:16, Jachym Cepicky a écrit : Looks like you are running into http://trac.osgeo.org/gdal/ticket/4118 ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] wcs driver not cooperating

2011-08-19 Thread Jachym Cepicky
Hi, using gdal 1.9 (trunk) I try to read data from this service (with following configuration): http://motherlode.ucar.edu:8080/thredds/wcs/fmrc/NCEP/DGEX/Alaska_12km/NCEP-DGEX-Alaska_12km_best.ncd? Geopotential_height gdalinfo says: ERROR 1: HTTP error code : 400 ERROR 1: BBOX [-2382

RE: [gdal-dev] Geocentric Coordinate System Support

2011-08-19 Thread Ben Discoe
Frank et al., I am testing the Geocentric support; in particular, the ability to transform from Geocentric to a SRS with a vertical datum. Since Geocentric was committed in March, and GDAL 1.8.1 was released in July, i thought that 1.8.1 might contain the Geocentric support. But, it does not see

[gdal-dev] NITF reading with GDAL on Android

2011-08-19 Thread dealaskan
I've been able to build and install GDAL onto my Android. Took a little bit of trying, but it appears to be working on some, but not all files. When I try to open some of my NITF files, I get an error stating "Invalid values for block dimension/number" - this occurs when I call GDALOpen. The ima

Re: [gdal-dev] Re: Dump Shapefile into DB using ogr2ogr

2011-08-19 Thread Chaitanya kumar CH
That should work just fine. On Fri, Aug 19, 2011 at 9:23 PM, Hermann Peifer wrote: > On 19/08/2011 15:05, Ingo Weinzierl wrote: > >> Thanks for the quick reply, but the "-select" option only solves one >> of the two parts of my problem. I still need to append a further >> column that does not ex

[gdal-dev] Re: Dump Shapefile into DB using ogr2ogr

2011-08-19 Thread Hermann Peifer
On 19/08/2011 15:05, Ingo Weinzierl wrote: Thanks for the quick reply, but the "-select" option only solves one of the two parts of my problem. I still need to append a further column that does not exist in the shapefile and which should be defined manually. I am not sure if I fully understood

Re: [gdal-dev] transactions and ExecuteSQL

2011-08-19 Thread Even Rouault
Selon Martin Landa : > Hi, > > how to deal with transactions when calling ExecuteSQL()? Example for > PostGIS layer > > """ > poDS = OGRSFDriverRegistrar::Open("PG:dbname=pgis_nc", FALSE); > > poLayer = poDS->GetLayerByName("b_1"); > poLayer->StartTransaction(); > > poDS->ExecuteSQ

Re: [gdal-dev] Dump Shapefile into DB using ogr2ogr

2011-08-19 Thread Chaitanya kumar CH
Ingo, By default a Feature ID column is entered into the database regardless of the fields. No duplicates or null values. Perhaps you might want to modify this column. On Fri, Aug 19, 2011 at 6:35 PM, Ingo Weinzierl < ingo.weinzi...@intevation.de> wrote: > Thanks for the quick reply, but the "-s

Re: [gdal-dev] Dump Shapefile into DB using ogr2ogr

2011-08-19 Thread Ingo Weinzierl
Thanks for the quick reply, but the "-select" option only solves one of the two parts of my problem. I still need to append a further column that does not exist in the shapefile and which should be defined manually. I already played a while with VRT files. I tried to define a node for each column

[gdal-dev] transactions and ExecuteSQL

2011-08-19 Thread Martin Landa
Hi, how to deal with transactions when calling ExecuteSQL()? Example for PostGIS layer """ poDS = OGRSFDriverRegistrar::Open("PG:dbname=pgis_nc", FALSE); poLayer = poDS->GetLayerByName("b_1"); poLayer->StartTransaction(); poDS->ExecuteSQL("update b_1 set objectid = 5 where cat =