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

2009-01-14 Thread Stefan Keller
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 -nln file_merged Then convert to GPX: % ogr2ogr

[gdal-dev] gdal 1.6.0 successfully built on Linux, Windows XP and Solaris 9

2009-01-14 Thread Gong, Shawn (Contractor)
hi list, gdal 1.6.0 has been successfully built on Linux, Windows XP and Solaris 9 Linux: OS - Redhat gcc - 4.2.2 frmts: netcdf-3.6.3, hdf5-1.8.2, HDF4.2r3 python 2.4.6 (for OpenEV) Solaris 9: gcc - 3.4.6 frmts: netcdf-3.6.3, hdf5-1.6.7 (because hdf5-1.8.2 did not work), HDF4.2r3

Re: [gdal-dev] Auto-clip collar for DRGs/DOQQs/BSBs

2009-01-14 Thread Christopher Barker
Klokan Petr Přidal wrote: I wonder if there is a script for image analyze and automatic clipping for the freely available USGS DRGs and NOAA BSBs map sheets... I have no idea, but... Or are there some already pre-calculated masks/bounding boxes or polygons for the DRGs and BSBs popular sheets

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

2009-01-14 Thread Frank Warmerdam
lidiriel wrote: hi, I work with several pds files and i have many idea for improve driver : Add several domaine (for obtain a classification) with standard Metadata like describe in "PDS standars reference" document (chapter5 v3.7) each domain can contains a minimum number of keys. domaine nam

[gdal-dev] improve PDS and Isis drivers

2009-01-14 Thread lidiriel
hi, I work with several pds files and i have many idea for improve driver : Add several domaine (for obtain a classification) with standard Metadata like describe in "PDS standars reference" document (chapter5 v3.7) each domain can contains a minimum number of keys. domaine name (dn): LABEL_STAN

[gdal-dev] Re: how to acces to PDS meta data

2009-01-14 Thread lidiriel
Ok it work thanks. But i have cheked the three drivers (PDS, Isisi2 and Isis3) and for each drivers there are several lacks : (filename, nnn ) is not implemented. i think i will try to implement this. I will open a new message thread in this list for discuss of it. regards On 14 jan, 09:20, lid

Re: [gdal-dev] BigTIFF overview with gdaladdo?

2009-01-14 Thread Frank Warmerdam
Jukka Rahkonen wrote: Hi, Is there a switch for telling gdaladdo to create external overview in BigTIFF format? Would BigTIFF overviews even work? I tried to create external overviews for such a big BigTIFF image that even jpeg compressed .ovr file exceeded the 4 GB limit and creation failed t

Re: [gdal-dev] S57 field definition incorrect

2009-01-14 Thread Frank Warmerdam
ogr user wrote: I see that now in code. I added my own wrapper to parse the list, but there are two issues remaining: 1) efficiency - if a field must be read multiple times, string will have to be parsed multiple times, whereas if it were treated as integer list from the start, string parsing wou

Re: [gdal-dev] Destroying OGRGeometry objects

2009-01-14 Thread Frank Warmerdam
Kor de Jong wrote: Hi all, In my code I am stealing the OGRFeature's OGRGeometry objects (OGRFeature::StealGeometry). Am I correct that there currently is not a safe way for me to destroy these geometry objects (within the context of the GDAL/OGR heap)? I am looking for an equivalent of OGRDataS

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

2009-01-14 Thread Jean-Claude Repetto
Duarte Carreira a écrit : Can OGR convert 2 shapefiles to a single GPX? The objective is to add tracks from a line shapefile and waypoints from a point shapefile… Hello, I don't know the answer to your question, but since GPX files are text files, it is very easy to merge two GPX files wi

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

2009-01-14 Thread Duarte Carreira
Can OGR convert 2 shapefiles to a single GPX? The objective is to add tracks from a line shapefile and waypoints from a point shapefile... Thanks, Duarte Carreira ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinf

[gdal-dev] Destroying OGRGeometry objects

2009-01-14 Thread Kor de Jong
Hi all, In my code I am stealing the OGRFeature's OGRGeometry objects (OGRFeature::StealGeometry). Am I correct that there currently is not a safe way for me to destroy these geometry objects (within the context of the GDAL/OGR heap)? I am looking for an equivalent of OGRDataSource::DestroyDataSou

Re: [gdal-dev] S57 field definition incorrect

2009-01-14 Thread ogr user
I see that now in code. I added my own wrapper to parse the list, but there are two issues remaining: 1) efficiency - if a field must be read multiple times, string will have to be parsed multiple times, whereas if it were treated as integer list from the start, string parsing would be done once. T

[gdal-dev] BigTIFF overview with gdaladdo?

2009-01-14 Thread Jukka Rahkonen
Hi, Is there a switch for telling gdaladdo to create external overview in BigTIFF format? Would BigTIFF overviews even work? I tried to create external overviews for such a big BigTIFF image that even jpeg compressed .ovr file exceeded the 4 GB limit and creation failed therefore. Regards, -Ju

[gdal-dev] Re: how to acces to PDS meta data

2009-01-14 Thread lidiriel
Thanks for your response. I will look your changeset and try for my requirements. On 13 jan, 19:46, Frank Warmerdam wrote: > Ludovic Mercier wrote: > > Hi all, > > > I try to use gdal and otb (http://smsc.cnes.fr/PLEIADES/lien3_vm.htm) > > with pds file. > > I try to get value associated to a key

[gdal-dev] Auto-clip collar for DRGs/DOQQs/BSBs

2009-01-14 Thread Klokan Petr Přidal
Hello! I wonder if there is a script for image analyze and automatic clipping for the freely available USGS DRGs and NOAA BSBs map sheets... I guess it is quite often requested functionality and I am sure there are some implementations for that already available, maybe even open-source. Do you k