Re: [gdal-dev] Unable to write in subdataset

2011-07-19 Thread Chaitanya kumar CH
Derek, Why are you trying to write to the dataset after opening it as GA_ReadOnly? On Wed, Jul 20, 2011 at 4:25 AM, Cole, Derek wrote: > Hello, > > I have created an image with multiple subdatasets so that I may store two > images in my NITF. the way I am getting the data set of the second imag

[gdal-dev] Unable to write in subdataset

2011-07-19 Thread Cole, Derek
Hello, I have created an image with multiple subdatasets so that I may store two images in my NITF. the way I am getting the data set of the second image is like so: char **papszSubdatasets = GDALGetMetadata(sharpenedDS,"SUBDATASETS"); eraserDS = (GDALDataset *) GDALOpenShared(CSLFet

Re: [gdal-dev] OGC Compliance

2011-07-19 Thread Peter Baumann
BTW, here is the link to the beta test suites, for what it's worth: http://cite.opengeospatial.org/te2/ -Peter On 07/19/2011 04:56 PM, Peter Baumann wrote: hm can only speak for WCS, in my capacity as chair and spec editor; further disclaimer: all below applies to WCS 2.0. Support for WCS 1.x

Re: [gdal-dev] OGC Compliance

2011-07-19 Thread Peter Baumann
hm can only speak for WCS, in my capacity as chair and spec editor; further disclaimer: all below applies to WCS 2.0. Support for WCS 1.x is discontinued. On 07/19/2011 03:00 PM, Gaurav Garg wrote: Thank Even& Peter. I see some OGC compliance test available on their site (http://cite.opengeos

RE: [gdal-dev] OGC Compliance

2011-07-19 Thread Gaurav Garg
Thank Even & Peter. I see some OGC compliance test available on their site (http://cite.opengeospatial.org/teamengine/ ). As WMS, WFS and WCS will be covering only server side testing; it will be of no use to use. Are the tests available for KML and GML as well? What's the best and fastest way for

Re: [gdal-dev] OGC Compliance

2011-07-19 Thread Peter Baumann
hi all, indeed OGC conformance tests currently cover only the server side. First thoughts have been made on how to include client side testing, but this can be expected to come in a few years. -Peter On 07/19/2011 01:34 PM, Even Rouault wrote: Selon Gaurav Garg: To the best of my knowledge,

Re: [gdal-dev] OGC Compliance

2011-07-19 Thread Even Rouault
Selon Gaurav Garg : To the best of my knowledge, GDAL/OGR is not formally certified to be compliant to OGC specification. It implements clients for the WMS, WCS and WFS specifications. It also implements the GML standard (but not to its full extent). But AFAIK, the OGC compliance tests only deal w

[gdal-dev] OGC Compliance

2011-07-19 Thread Gaurav Garg
Hi, We have a GIS product based on GDAL/OGR. We have been asked if the product is OGC compliant. Is GDAL/OGR compliant to OGC specifications? If yes, what all specifications are supported? Thanks, Gaurav ___ gdal-dev mailing list gdal-dev@lists.

Re: [gdal-dev] ogr2ogr: create a new shapefile with some math

2011-07-19 Thread Chaitanya kumar CH
Candini, You can use the -sql option with the ogr2ogr utility. You can find further details of OGR's SQL capabilities in the RFC28 [1]. It also shows an example with arithmetic operations. Tell us how it worked. [1]: http://trac.osgeo.org/gdal/wiki/rfc28_sqlfunc On Tue, Jul 19, 2011 at 3:24 PM,

[gdal-dev] ogr2ogr: create a new shapefile with some math

2011-07-19 Thread canduc17
Hi everyone. I have a shape file with the following characteristics: INFO: Open of `faggete.shp' using driver `ESRI Shapefile' successful. Layer name: faggete Geometry: Polygon Feature Count: 833 Extent: (341942.975384, 4732949.828158) - (365163.422399, 4773205.622984) Layer SRS WKT: (unknow