[gdal-dev] Re: delete feature without fid

2012-02-01 Thread Imran Rajjad
i think its f.GetFID() I`m guessing to show these changes on the file we need to call layer.SyncToDisk(); regards, Imran On Thu, Feb 2, 2012 at 11:59 AM, Imran Rajjad wrote: > hi list, > > in the gdal java bindings I need to delete a feature from layer, but it > seems the only way to delete th

[gdal-dev] delete feature without fid

2012-02-01 Thread Imran Rajjad
hi list, in the gdal java bindings I need to delete a feature from layer, but it seems the only way to delete the feature is its FID, which in my case is unknown. Is there anyway to find the true FID of a feature in layer or remove a feature by reference just like it can be updated or re-written.

Re: [gdal-dev] Getting VPF data via OGR java bindings

2012-02-01 Thread Chaitanya kumar CH
Billy, These programs run very similar to the original programs described in the OGR utilities page[2]. They just have less functionality and not updated as regularly. PS: The gdal.org site is down at the moment. [2]: http://www.gdal.org/ogr_utilities.html On Thu, Feb 2, 2012 at 12:23 AM, Billy

[gdal-dev] Web site downtime

2012-02-01 Thread Frank Warmerdam
Folks, The OSGeo ProjectsVM is down while we upgrade the OS (an upgrade that has encountered some issues). While this is being resolved the hosted sites including gdal.org, mapserver.org, grass.org will be down. http://wiki.osgeo.org/wiki/ProjectsVM Downtime could potentially be in the hours

Re: [gdal-dev] Motion: Commit Rights for Robert Coup

2012-02-01 Thread Daniel Morissette
+1 Daniel On 12-02-01 4:44 PM, Robert Coup wrote: Hi All, On Thu, Feb 2, 2012 at 10:26 AM, Even Rouault mailto:even.roua...@mines-paris.org>> wrote: Motion: GDAL/OGR Commit rights are extended to Robert Coup Thank you sir :) Robert, could you publically reply to this message indica

Re: [gdal-dev] Motion: Commit Rights for Robert Coup

2012-02-01 Thread Tamas Szekeres
+1 Tamas 2012/2/1 Even Rouault > Motion: GDAL/OGR Commit rights are extended to Robert Coup > --- > > Folks, > > Robert Coup has been working over the last few weeks in submitting patches > to > improve and fix the new FileGDB driver. I have integrated them until now, > but > I think it would

Re: [gdal-dev] numpy array to raster

2012-02-01 Thread questions anon
Thanks for responding Anton, I have been playing with the datatype but so far it hasn't fixed the problem. Also I do have access to ArcGIS to check the output. I will keep trying, this is where I am at currently: from osgeo import gdal from osgeo import gdal_array from osgeo import osr myarray=my

Re: [gdal-dev] Motion: Commit Rights for Robert Coup

2012-02-01 Thread Robert Coup
Hi All, On Thu, Feb 2, 2012 at 10:26 AM, Even Rouault wrote: > Motion: GDAL/OGR Commit rights are extended to Robert Coup > Thank you sir :) > Robert, could you publically reply to this message indicating your > willingness to follow RFC3? > > http://trac.osgeo.org/gdal/wiki/rfc3_commiters

Re: [gdal-dev] Using -overwrite to create empty feature class

2012-02-01 Thread Even Rouault
Le mercredi 01 février 2012 22:22:42, Donovan Cameron a écrit : > Afternoon List. > > I am trying to generate an empty feature (shp or gml) from a template that > retains both the attribute-table schema and map projection. > > I can't get the *-overwrite *flag to work, it just copies the entire >

[gdal-dev] Ingres patch uploaded to trac

2012-02-01 Thread Tyler Mitchell
Thanks Zhen (and Frank) for his work on helping improve the Windows build for the Ingres driver. More details at http://trac.osgeo.org/gdal/ticket/4483 I can provide libs if anyone else wants to test it. Tyler___ gdal-dev mailing list gdal-dev@lists.os

Re: [gdal-dev] Motion: Commit Rights for Robert Coup

2012-02-01 Thread Howard Butler
On Feb 1, 2012, at 3:29 PM, Frank Warmerdam wrote: > On Wed, Feb 1, 2012 at 1:26 PM, Even Rouault > wrote: >> Motion: GDAL/OGR Commit rights are extended to Robert Coup >> --- > > +1 Frank +1 Howard ___ gdal-dev mailing list gdal-dev@lists.osgeo.org

Re: [gdal-dev] Motion: Commit Rights for Robert Coup

2012-02-01 Thread Frank Warmerdam
On Wed, Feb 1, 2012 at 1:26 PM, Even Rouault wrote: > Motion: GDAL/OGR Commit rights are extended to Robert Coup > --- +1 Frank -- ---+-- I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com light a

[gdal-dev] Motion: Commit Rights for Robert Coup

2012-02-01 Thread Even Rouault
Motion: GDAL/OGR Commit rights are extended to Robert Coup --- Folks, Robert Coup has been working over the last few weeks in submitting patches to improve and fix the new FileGDB driver. I have integrated them until now, but I think it would make the process smoother to give him commit access

[gdal-dev] Using -overwrite to create empty feature class

2012-02-01 Thread Donovan Cameron
Afternoon List. I am trying to generate an empty feature (shp or gml) from a template that retains both the attribute-table schema and map projection. I can't get the *-overwrite *flag to work, it just copies the entire feature (ie, makes a duplicate): *ogr2ogr -overwrite -f "GML" geoname.gml /vs

[gdal-dev] subdatasets not read in a HDF file - CONT

2012-02-01 Thread Joaquim Luis
Hi, A couple of months ago I posted a message here about subdatsets not being read by the HDF4 driver and opened this ticked. http://trac.osgeo.org/gdal/ticket/4305 Jose Gomez-Dans reminded me that this was a even older issue and pointed me to http://osgeo-org.1560.n6.nabble.com/gdal-dev-s

Re: [gdal-dev] HDF4 support for gdal 1.8

2012-02-01 Thread Tamas Szekeres
If you have a compiled version of the HDF4 libraries, you could probably use the SDK from gisinternals to include that in the build (Makefile should be edited). I have never tried it by myself, but I'll give it a try as my time permits. Best regards, Tamas 20

Re: [gdal-dev] Getting VPF data via OGR java bindings

2012-02-01 Thread Chaitanya kumar CH
Billy, There are sample java programs that use GDAL's java bindings in the GDAL code tree[1]. There include sample ogrinfo and ogr2ogr codes too. [1]: http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps On Wed, Feb 1, 2012 at 10:12 PM, Billy Newman wrote: > I am able to get VPF (vecto

[gdal-dev] Getting VPF data via OGR java bindings

2012-02-01 Thread Billy Newman
I am able to get VPF (vector product format) info and perform operations (like convert to shape files) command line using ogrinfo and ogr2ogr. What I am wondering is if the java bindings for ogr support the same. i.e. to get a list of layer names ogrinfo gltp:/vrf/usr4/mppl/v0eur/vmaplv0/eurnasia

[gdal-dev] HDF4 support for gdal 1.8

2012-02-01 Thread singnage
I recently installed GDAL 1.8.1 from gisinternals.com/sdk on Windows 7, I was previously using 1.6 from FW Tools, this newer version does not support HDF4 but supports HDF5, can anyone point how can I install the HDF4 support for version 1.8.1. thanks NS -- View this message in context: http://

Re: [gdal-dev] numpy array to raster

2012-02-01 Thread Anton Korosov
Probably the problem is with data type. You obviously have data of float type and you give GDT_Byte to the gdal.GetDriverByName('GTiff').Create(). Either try to create array with Byte data or give GDT_Float32. In the latter case the produced geotiff will have 32 bits fo each pixel. It is not sup