[gdal-dev] OGR error

2009-01-15 Thread nicholas . g . lawrence
I am using ogr2ogr to append several shapefiles into one shapefile. The command ogr2ogr -update -append C:\DATA\neville\fire.shp C:\DATA\neville\bundaberg.shp -nln fire which is repeated many times in a batch file to append more and more shapefiles to the destination file. After about a dozen

[gdal-dev] Intersect of two shapefiles

2009-01-15 Thread nicholas . g . lawrence
I have two shapefiles containing polygons. Can OGR derive an intersection of these two layers? Regards, nick *** WARNING: This e-mail (including any attachments) may contain legally privileged, confidential or private informat

Re: [gdal-dev] swig error on SVN trunk in python

2009-01-15 Thread Frank Warmerdam
Gregory, Matthew wrote: Hi all, I updated trunk (revision 16087) and rebuilt GDAL. My configuration is Windows XP/VC7/Python24/swigwin-1.3.33. I rebuilt the core using makegdal71 without issues, but when I do 'nmake /f makefile.vc python' from within the swig directory, I get an error message:

[gdal-dev] swig error on SVN trunk in python

2009-01-15 Thread Gregory, Matthew
Hi all, I updated trunk (revision 16087) and rebuilt GDAL. My configuration is Windows XP/VC7/Python24/swigwin-1.3.33. I rebuilt the core using makegdal71 without issues, but when I do 'nmake /f makefile.vc python' from within the swig directory, I get an error message: ../include/python\ogr_

Re: [gdal-dev] S57 field definition incorrect

2009-01-15 Thread ogr user
In case anyone is interested, here is a patch that adds appropriate handling of IntegerList field types to S57 parser. For backwards compatibility it is only activated if specific option is passed to the reader (actually to class registrar). This is for 1.5.3. Frank Warmerdam wrote: > > Dear OGR U

Re: [gdal-dev] Writing a Tiff

2009-01-15 Thread Frank Warmerdam
Henning Bredel wrote: Hi there, (not sure if my last mail came through) I have read http://www.gdal.org/frmt_gtiff.html and I am wondering if I have to build GDAL on my own to get the possibility writing tiffs .. I tried something like ,---. bm.writeTiff <- fun

[gdal-dev] Writing a Tiff

2009-01-15 Thread Henning Bredel
Hi there, (not sure if my last mail came through) I have read http://www.gdal.org/frmt_gtiff.html and I am wondering if I have to build GDAL on my own to get the possibility writing tiffs .. I tried something like ,---. bm.writeTiff <- function(bm,filename) {

[gdal-dev] Writing a tiff

2009-01-15 Thread Henning Bredel
Hi there, I have read http://www.gdal.org/frmt_gtiff.html and I am wondering if I have to build GDAL on my own to get the possibility writing tiffs .. I try something like ,---. bm.writeTiff <- function(bm,filename) { # GTiff ist standard but show

[gdal-dev] Re: improve PDS and Isis drivers

2009-01-15 Thread lidiriel
Thanks Frank, for your response. I have uploaded a patch for isi2dataset.cpp http://gdal.googlegroups.com/web/isis2dataset.patch this patch add new functionalities : detached dataset with using the pointer object key : ^QUBE = "data.xxx" ^QUBE = ("data.xxx") ^QUBE = ("data.xxx", nnn) ^QUBE = ("d

RE: [gdal-dev] convert 2 shapefiles to a single GPX?

2009-01-15 Thread Duarte Carreira
Maybe the same approach can be used with 2 gpx files? That would be very good. I cannot merge 2 shapefiles with different geometry types. I could convert line shape>gpx1 and point shape->gpx2 and then merge gpx2+gpx2->gpx3... Thanks, Duarte De: Stefan Keller [mailto:sfkel...@gmail.com] Enviada

[gdal-dev] Re: convert 2 shapefiles to a single GPX?

2009-01-15 Thread Jukka Rahkonen
Stefan Keller gmail.com> writes: > > > A merge of two shapefiles 'file1.shp' and 'file2.shp' into a new file 'file_merged.shp' is performed like this (See http://www.gdal.org/ogr/drv_shapefile.html): > > % ogr2ogr file_merged.shp file1.shp% ogr2ogr -update -append file_merged.shp file2.shp -nl