RE: [gdal-dev] Converting raster pixel space to geospace

2009-07-21 Thread Smart, Gary
files I used, and the response they give, are included in the attachment as comments. Gary From: Martin Chapman [mailto:chapm...@pixia.com] Sent: 20 July 2009 22:46 To: Smart, Gary Subject: RE: [gdal-dev] Converting raster pixel space to geospace Gary,

RE: [gdal-dev] Converting raster pixel space to geospace

2009-07-20 Thread Martin Chapman
@lists.osgeo.org Subject: RE: [gdal-dev] Converting raster pixel space to geospace Gary, Set your paths like such on startup or as an environment variable: GDAL_DATA points at the data dir that comes with gdal source. PROJ_LIB point to the nad directory that you download from proj4 website

RE: [gdal-dev] Converting raster pixel space to geospace

2009-07-20 Thread Smart, Gary
009 14:49 To: Smart, Gary; gdal-dev@lists.osgeo.org Subject: RE: [gdal-dev] Converting raster pixel space to geospace Gary, Set your paths like such on startup or as an environment variable: GDAL_DATA points at the data dir that comes with gdal source. PROJ_LIB point to the nad directo

RE: [gdal-dev] Converting raster pixel space to geospace

2009-07-20 Thread Martin Chapman
osgeo.org] On Behalf Of Smart, Gary Sent: Monday, July 20, 2009 7:38 AM To: gdal-dev@lists.osgeo.org Subject: RE: [gdal-dev] Converting raster pixel space to geospace OK - I can get it to compile and not crash instantly (bonanza!) However, when I try to create the OGR transform us

RE: [gdal-dev] Converting raster pixel space to geospace

2009-07-20 Thread Smart, Gary
R["central_meridian",-124.5],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]]] ...and I am looking to output WGS84 lat/longs. > -----Orig

Re: [gdal-dev] Converting raster pixel space to geospace

2009-07-16 Thread Even Rouault
Le Thursday 16 July 2009 10:41:02 Smart, Gary, vous avez écrit : > > But how do I load a OGRSpatialRef object with the output from the > GDALApplyGeoTransform? Presumably I can prime the OGRSpatialReference > using the result of GDALDataset::GetProjectionRef? Yes, almost. See below > I'm not ye

RE: [gdal-dev] Converting raster pixel space to geospace

2009-07-16 Thread Smart, Gary
> -Original Message- > From: Even Rouault [mailto:even.roua...@mines-paris.org] > Sent: 15 July 2009 21:14 > To: Smart, Gary > Cc: gdal-dev@lists.osgeo.org > Subject: Re: [gdal-dev] Converting raster pixel space to geospace > > Le Wednesday 15 July 2009 20:50:1

Re: [gdal-dev] Converting raster pixel space to geospace

2009-07-15 Thread Even Rouault
Le Wednesday 15 July 2009 20:50:15 Smart, Gary, vous avez écrit : > Thanks for that! :-) > > ... without appearing too cheeky, > Could you point me to a page which would help me translate the x/y returned > from the transformation (presumably easting/northing in metres?), into > WGS84 Lat/Long? Th

Re: [gdal-dev] Converting raster pixel space to geospace

2009-07-14 Thread Even Rouault
Le Tuesday 14 July 2009 20:58:01 Smart, Gary, vous avez écrit : > OK - having messed with GDAL for a couple of days now, I can display > imagery using the GDAL c++ classes to extract raster tiles. > > > > However, I now need to be able to convert xPixel/Line couplets to > geo-positions (UTM, LL or

[gdal-dev] Converting raster pixel space to geospace

2009-07-14 Thread Smart, Gary
OK - having messed with GDAL for a couple of days now, I can display imagery using the GDAL c++ classes to extract raster tiles. However, I now need to be able to convert xPixel/Line couplets to geo-positions (UTM, LL or whatever). I have scanned the classes and have failed to come across a me