Re: [gdal-dev] Deleting fields OGR

2011-01-01 Thread Chaitanya kumar CH
Håvard, Currently there is no option for this in ogr2ogr but this looks like a usable feature. You can file a ticket at http://trac.osgeo.org/gdal/newticket for this enhancement. 2011/1/2 Håvard Wahl Kongsgård > With ogr2ogr is it also possible to deselect("reverse selecting") fields? > > > >>

Re: [gdal-dev] Deleting fields OGR

2011-01-01 Thread Håvard Wahl Kongsgård
With ogr2ogr is it also possible to deselect("reverse selecting") fields? > 2011/1/1 Chaitanya kumar CH > > Håvard, >> >> You can create a copy of the dataset while skipping the field. For >> shapefiles you won't have to mention the .shp file. Opening just the .dbf >> file will be enough. >> Sim

Re: [gdal-dev] Deleting fields OGR

2011-01-01 Thread Chaitanya kumar CH
Håvard, You can create a copy of the dataset while skipping the field. For shapefiles you won't have to mention the .shp file. Opening just the .dbf file will be enough. Similar thing can be done using ogr2ogr by specifying the -select option without the specified field's name. http://www.gdal.org

Re: [gdal-dev] Deleting fields OGR

2011-01-01 Thread Håvard Wahl Kongsgård
OK; what it the best alternative method in Python etc. to delete shapefile fields? Using the shapefile functions in R (via python is one alternative). 2011/1/1 Even Rouault > Le samedi 01 janvier 2011 19:08:23, Håvard Wahl Kongsgård a écrit : > > Hi, in gdal/ogr is there a function to delete fie

Re: [gdal-dev] Deleting fields OGR

2011-01-01 Thread Even Rouault
Le samedi 01 janvier 2011 19:08:23, Håvard Wahl Kongsgård a écrit : > Hi, in gdal/ogr is there a function to delete fields(like CreateField())? Not yet, but this has been discussed in http://trac.osgeo.org/gdal/ticket/2671 ___ gdal-dev mailing list gdal-

[gdal-dev] Deleting fields OGR

2011-01-01 Thread Håvard Wahl Kongsgård
Hi, in gdal/ogr is there a function to delete fields(like CreateField())? ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Problem with gdal 1.8 -- segmentation fault on large image with gdaladdo

2011-01-01 Thread Stephen Mather
Seems large enough for me. Stephen Mather On Jan 1, 2011, at 5:47 AM, Even Rouault wrote: >> >> What's the new ceiling on image size for overview calculation? > > The same as before hopefully. I'm not sure what the limit is. From a quick > look > at the code, I'd say perhaps if the raster_wi

Re: [gdal-dev] help with gdaladdo overviews resolution

2011-01-01 Thread Imran Rajjad
hmmm.. well I think I kind of figured it out, we need to multiply the orginal resolution with the respective overview number. Thanks anyway regards. Imran On Sat, Jan 1, 2011 at 3:49 PM, Even Rouault wrote: > Imran, > > You'd probably get more helpful advice on the geoserver mailing list. > >

Re: [gdal-dev] help with gdaladdo overviews resolution

2011-01-01 Thread Even Rouault
Imran, You'd probably get more helpful advice on the geoserver mailing list. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Problem with gdal 1.8 -- segmentation fault on large image with gdaladdo

2011-01-01 Thread Even Rouault
> > What's the new ceiling on image size for overview calculation? The same as before hopefully. I'm not sure what the limit is. From a quick look at the code, I'd say perhaps if the raster_width * 64 > 2 billion. This could be probably overcomeby modifying the algorithm if it became a limit in re

[gdal-dev] help with gdaladdo overviews resolution

2011-01-01 Thread Imran Rajjad
Hi list, I`m trying to add overview to a geotiff files that is to be served through geoserver's image mosaic plugin. I have generated overview of the file but I`m not sure about what resoltuions to put in the plugin's properties files. this is my gdalinfo result of the file D:\data\coverages>gda