Re: [gdal-dev] GDAL 1.7 issues with SQLite creation from source without geometries

2010-02-19 Thread Roald de Wit
Hi Even, Thanks for the verbose response. Option 2 (SQLITE_LIST_ALL_TABLES=YES) is the easiest and best one for my use case : importing data from both spatial and non-spatial sources into one SQLite file). Realising I had not read the release notes [1] properly and having read them again, I

Re: [gdal-dev] GDAL 1.7 issues with SQLite creation from source without geometries

2010-02-19 Thread Even Rouault
Roald, Several points : * I've tried with 1.6 branch, and even if it can list the tasmania_cities layer, it doesn't seem to be able to read the features in it, as a dumb geometry column name '(null)' was inserted by ogr2ogr into the geometry_columns table. Thus when reading the definition of t

Re: [gdal-dev] Re: Best way to add geo-referencing to a PNG

2010-02-19 Thread Christopher Barker
Jukka Rahkonen wrote: Christopher Barker noaa.gov> writes: That seems to get the basics: QGIS puts it in the right place on the map, and gdal_translate seems to be able to make a geotiff out of it. However, I'd like to be able to put a bit more information in, like that it's wgs84, and geo-c

[gdal-dev] GDAL 1.7 issues with SQLite creation from source without geometries

2010-02-19 Thread Roald de Wit
Hi list, I have the following issue: OGR 1.7.x cannot read the SQLite files it creates from a source *without geometries*. I used the following GDAL: - from http://vbkto.dyndns.org/sdk/ (release-1310-gdal-1-7-mapserver-5-6.zip, based on r9799, r18849) - on a WinXP machine - having no other G

RE: [gdal-dev] Re: Add GCP's to a file

2010-02-19 Thread Dan Greve
Question on the -gcp option in gdal_translate. If i want to use it to specify the geographic referencing of the four corners do i need to specify the center of the pixel, or the UL of the pixel. (e.g. -gcp 0 0 34 115 OR -gcp 0.5 0.5 34 115 ) Dan Greve

Re: [gdal-dev] Re: Add GCP's to a file

2010-02-19 Thread Jan Hartmann
On 19-2-2010 11:46, Manuel Massing wrote: Hi, Gdal_translation has on option [-gcp pixel line easting northing [elevation]]* this should also work using the VRT output format, which has the advantage that the raster data doesn't need to be written to an intermediate file (VRT "wr

Re: [gdal-dev] Re: Add GCP's to a file

2010-02-19 Thread Manuel Massing
Hi, > Gdal_translation has on option > [-gcp pixel line easting northing [elevation]]* this should also work using the VRT output format, which has the advantage that the raster data doesn't need to be written to an intermediate file (VRT "wraps" the original data). E.g.: gdal_translate [-gcp

Re: [gdal-dev] Warp a file from two separate Lat and Long

2010-02-19 Thread Andrew Clegg
Hi Luisa, I think you would need to create the VRTs manually - although it would be a fairly easy task to automate. Regards, Andrew Luisa Peña wrote: Hi Andrew But How can I create those VRT, I never used those, from my original binaries datasets (HDF)? It seems that VRT is the key for

[gdal-dev] Re: Add GCP's to a file

2010-02-19 Thread Jukka Rahkonen
Kim Besson gmail.com> writes: > > > Greetings > > I have a file, in HDF4 format, and I need to add GCP's points in order to later warp that file. How can I add that information to a HDF? it can be a Geotiff if it's easier. Hi, Gdal_translation has on option [-gcp pixel line easting northing

[gdal-dev] Add GCP's to a file

2010-02-19 Thread Kim Besson
Greetings I have a file, in HDF4 format, and I need to add GCP's points in order to later warp that file. How can I add that information to a HDF? it can be a Geotiff if it's easier. Thanks Kim ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://

[gdal-dev] Re: Best way to add geo-referencing to a PNG

2010-02-19 Thread Jukka Rahkonen
Christopher Barker noaa.gov> writes: > That seems to get the basics: QGIS puts it in the right place on the > map, and gdal_translate seems to be able to make a geotiff out of it. > However, I'd like to be able to put a bit more information in, like that > it's wgs84, and geo-coordinates. How