[gdal-dev] Help required for building GDAL 1.6.0 with Xerces 3.0.1 support on Windows XP SP2

2009-04-27 Thread Ajmeri Iqbal
Dear All,I am trying to build GDAL 1.6.0 with Xerces 3.0.1 support on windows XP with SP2 using MinGW5.1.4 and MSYS1.0.I have sucessfully built Xerces 3.0.1 and installed in /usr/local. However when I try to build gdal 1.6 with the ./configure  --with-xerces=yes flag the Xerces support is not e

Re: [gdal-dev] Help with first GDAL program

2009-04-27 Thread Leith Bade
Thanks for that. Thanks, Leith Bade le...@leithalweapon.geek.nz 2009/4/28 Roger André > Hi Leith, > > This should help get you started. > > Roger > -- > > On Sun, Apr 26, 2009 at 11:25 PM, Leith Bade < > le...@leithalweapon.geek.nz> wrote: > >> Hi, >> >> I am new to GDAL and would like som

Re: [gdal-dev] Help with first GDAL program

2009-04-27 Thread Roger André
Hi Leith, This should help get you started. Roger -- On Sun, Apr 26, 2009 at 11:25 PM, Leith Bade wrote: > Hi, > > I am new to GDAL and would like some guidance on a simple task that I am > writing a Python script for. > > Given a set of GeoTIFFs I would like to find the max/min lat/long extent

[gdal-dev] bad coordinates after transformation

2009-04-27 Thread David Muse
Hello all, I wrote some code that reads data from a shapefile, converts it to WGS84 and puts it in a database. It works fine with some shapefiles, but with others the lat/lon that I get are really big numbers, like 50 or more. It's possible that there's a bug in my code, but is there a utili

Re: [gdal-dev] problem with ogr2ogr

2009-04-27 Thread Even Rouault
Yes, this is a "feature" of ogr2ogr. See http://trac.osgeo.org/gdal/ticket/2771 which is exactly the same behaviour your see. The solution is to add "-nln out" at the end of your ogr2ogr commandline, as the name of your source dataset is "sssi" (because of sshi.shp) and the name of your destin

[gdal-dev] gdaltindex and nodata pixels

2009-04-27 Thread Greg Fiske
Has anyone modified gdaltindex to return a polygon shapefile indicating only the data extent for each input image and not the full extent of the image (i.e. ignore nodata pixels in the surrounding rectangle)? Thanks for any advice, Greg Greg Fiske Research Associate/GIS Manager The Wo

Re: [gdal-dev] gdal and gras from svn, export problem GTIFF - UINT32

2009-04-27 Thread Jamie Adams
I had a similar issue with gdal gtiff output awhile back and solved it by using the internal gdal libtiff. Try using "--with-libtiff=internal" when compiling gdal. -Jamie On Mon, Apr 27, 2009 at 3:57 AM, massimo di stefano wrote: > Hi All, i'm having problems using gdal (svn version) from gras

[gdal-dev] problem with ogr2ogr

2009-04-27 Thread Matthew Snape
Dear List, I am attempting to use ogr2ogr to append a shapefile to another shapefile. However, when the -update parameter is included the incorrect source filename appears to be used. ogr2ogr -append -update -select meta_type,meta_id,meta_name "C:/downloadworking/out.shp" "SSSI/sssi.shp"

[gdal-dev] gdal and gras from svn, export problem GTIFF - UINT32

2009-04-27 Thread massimo di stefano
Hi All, i'm having problems using gdal (svn version) from grass6.5 to export elevation data in format 'GTIF' type 'Byte' Tring to export an elevation file from grass (elevation.10m from speardfish60 dataset) in format "GTIF" type "UINT32" -- $g.region rast=elevation.10m -ap $r.out.gdal input=