Re: [gdal-dev] Add z values to polylines

2008-09-18 Thread Hamish
Steven Mullins wrote: > I have a large set of contoured data which has a z value in > an attribute field. I would like to copy this value to the > spatial z. I think this is going to require a bit of > python. Any pointers? this will do it: (hcolumn=) http://grass.osgeo.org/grass64/manuals/ht

Re: [gdal-dev] Add z values to polylines

2008-09-18 Thread Frank Warmerdam
On 9/18/08, Mullins, Steven <[EMAIL PROTECTED]> wrote: > I have a large set of contoured data which has a z value in an attribute > field. I would like to copy this value to the spatial z. I think this is > going to require a bit of python. Any pointers? Steve, I would suggest you look at:

Re: [gdal-dev] Fastest way to add the GeoTransform to a raster file with Python

2008-09-18 Thread Frank Warmerdam
On 9/18/08, Lucena, Ivan <[EMAIL PROTECTED]> wrote: > Frank, ... > Wouldn't be fair to say that some formats also requires a call to > FlushCache() afterwards? Ivan, FlushCache may help push the updated geotransform out to the file immediately for some formats. But if you are just going to clos

[gdal-dev] Add z values to polylines

2008-09-18 Thread Mullins, Steven
I have a large set of contoured data which has a z value in an attribute field. I would like to copy this value to the spatial z. I think this is going to require a bit of python. Any pointers? Thanks ahead, Steve ___ gdal-dev mailing list gdal-dev

Re: [gdal-dev] Fastest way to add the GeoTransform to a raster file with Python

2008-09-18 Thread Matt Wilkie
Will this work? http://maphew.googlecode.com/svn/trunk/gis/gdal_extras/bin/gdalcopyproj.py matt wilkie Geographic Information, Information Management and Technology, Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-

RE: [gdal-dev] projection locating image incorrectly.

2008-09-18 Thread Robert Beckwith
Yes, had the aux.xml There is internal referencing in the sid file (I removed all other files to check) I assume this as it was able to build a projection, but the wrong one (Maybe missing the origin?). Gdalinfo for the aux file looks good. Could not run gdalinfo on the .sid or .aux.xml file. B

RE: [gdal-dev] Error in libjasper.a during 'make' in gdal 1.5.2: relocation R_X86_64_32 against `a local symbol' can not be used

2008-09-18 Thread Patton, Eric
>You want to build jasper with CFLAGS="-fPIC -m64", as you've done. But >you just want CXXFLAGS="-m64", without "-fPIC", for the gdal build. Be >sure to unset CFLAGS, or open a new terminal to get a fresh environment, >before gdal build. Also, might need to run ldconfig after building >jasper, b

Re: [gdal-dev] Fastest way to add the GeoTransform to a raster file with Python

2008-09-18 Thread Lucena, Ivan
Frank, > ---Original Message--- > From: Frank Warmerdam <[EMAIL PROTECTED]> > Subject: Re: [gdal-dev] Fastest way to add the GeoTransform to a raster file > with Python > Sent: Sep 18 '08 16:09 > > On 9/18/08, Matthieu Rigal <[EMAIL PROTECTED]> wrote: > > Hi all, > >  Since the m

Re: [gdal-dev] projection locating image incorrectly.

2008-09-18 Thread Frank Warmerdam
On 9/18/08, Robert Beckwith <[EMAIL PROTECTED]> wrote: > > > > > I downloaded idaho9798landsatencw.sid and its companion files from > > http://www.idwr.idaho.gov/ftp/gisdata/Spatial/Datareq/ > > > > When using gdal this image is re-projected in the wrong location (Africa) Robert, I review the .au

Re: [gdal-dev] Fastest way to add the GeoTransform to a raster file with Python

2008-09-18 Thread Frank Warmerdam
On 9/18/08, Matthieu Rigal <[EMAIL PROTECTED]> wrote: > Hi all, > Since the method of Create, SetGeoTransform, etc... is "complicated" and > unefficient from a performance point of view, what is the way to quickly add > the GeoTransform, taken from a referenced raster to a raster that have lost

Re: [gdal-dev] images with different resolution.

2008-09-18 Thread Oliver Eichler
On Thursday, 18. September 2008 17:32:36 Michele Sanges wrote: > Hello all, > > what is the best way to represent two raster images with different > resolution? > In other words, how do I calculate the offset respect to the upper left > corner of the region that includes both the images? > Is there

Re: [gdal-dev] images with different resolution.

2008-09-18 Thread Frank Warmerdam
On 9/18/08, Michele Sanges <[EMAIL PROTECTED]> wrote: > Hello all, > > what is the best way to represent two raster images with different > resolution? > In other words, how do I calculate the offset respect to the upper left > corner of the region that includes both the images? > Is there a code

[gdal-dev] images with different resolution.

2008-09-18 Thread Michele Sanges
Hello all, what is the best way to represent two raster images with different resolution? In other words, how do I calculate the offset respect to the upper left corner of the region that includes both the images? Is there a code example? Thanks. Michele Sanges ___

[gdal-dev] Fastest way to add the GeoTransform to a raster file with Python

2008-09-18 Thread Matthieu Rigal
Hi all, Since the method of Create, SetGeoTransform, etc... is "complicated" and unefficient from a performance point of view, what is the way to quickly add the GeoTransform, taken from a referenced raster to a raster that have lost the information. Best regards, Matthieu -- Matthieu Rigal Pr

[gdal-dev] projection locating image incorrectly.

2008-09-18 Thread Robert Beckwith
I downloaded idaho9798landsatencw.sid and its companion files from http://www.idwr.idaho.gov/ftp/gisdata/Spatial/Datareq/ When using gdal this image is re-projected in the wrong location (Africa) Using ArcCatalog it ends up in the correct location. Other MrSid files I have used work corr

Re: [gdal-dev] can gdal be used under linux arm

2008-09-18 Thread legeochen
That's what i want! thank you you guys. Col 2008/9/17 Hamish <[EMAIL PROTECTED]> > legeochen: > > I used to write wince embeded programs with gdal reading > > image data. but now i wanna to port them to linux arm. can > > any tell me, is it possible? How can I complie gdal for > > linux arm