RE: [gdal-dev] Building a Mercator Image from Un-projected data..Major confusion and help requested.

2009-11-02 Thread Cassanova, Bill
Thanks for the guidance.The results are correct in the sense that the transformations are correct in terms of the meters values being returned. My question is how does this convert to pixel location FROM the data set and then INTO the image. In the below code example the bolded values are m

Re: [gdal-dev] Building a Mercator Image from Un-projected data..Major confusion and help requested.

2009-11-02 Thread Adam Nowacki
Cassanova, Bill wrote: *Well, I sorta tried that:* gdalwarp -s_src '+proj=WGS84' -t_srs '+proj=merc' hiradff_200910121800_f180_weather_radar.tiff foo.tiff -s_srs not -s_src Please, before posting on this list, at least check for typos! ___ gdal-dev m

Re: [gdal-dev] Building a Mercator Image from Un-projected data.. Major confusion and help requested.

2009-11-02 Thread Adam Nowacki
Cassanova, Bill wrote: result = GDALGenImgProjTransform(hTransformArg, TRUE, 1, &x, &y, NULL, &success); std::cout << std::fixed; std::cout << result << " " << lower_right.first << ", " << lower_right.second << " = " << x << ", " << y << std::endl; *//** 1 -65.656

RE: [gdal-dev] Building a Mercator Image from Un-projected data..Major confusion and help requested.

2009-11-02 Thread Cassanova, Bill
Well, I sorta tried that: gdalwarp -s_src '+proj=WGS84' -t_srs '+proj=merc' hiradff_200910121800_f180_weather_radar.tiff foo.tiff And the reply is: Usage: gdalwarp [--help-general] [--formats] [-s_srs srs_def] [-t_srs srs_def] [-to "NAME=VALUE"] [-order n] [-tps] [-rpc] [-g

Re: [gdal-dev] Building a Mercator Image from Un-projected data.. Major confusion and help requested.

2009-11-02 Thread Christopher Barker
Cassanova, Bill wrote: I am looking to gain a better understanding of how I can use GDAL to build a Mercator Image from un-projected data. Do you need to write your own code for this?, or could you just use the gdalwarp utility? (maybe after converting to a format gdal knows). If you do nee

[gdal-dev] Building a Mercator Image from Un-projected data.. Major confusion and help requested.

2009-11-02 Thread Cassanova, Bill
Hi all, I am looking to gain a better understanding of how I can use GDAL to build a Mercator Image from un-projected data. The data I have is contained in proprietary format. For all intensive purposes it is a grid consisting of 2464 rows by 5796 columns of data. The origin of the data is in th

Re: [gdal-dev] Help by merge jpg-files - gdal_merge

2009-11-02 Thread Frank Warmerdam
Jan Tappenbeck wrote: Hallo ! in my secound post for this mail a had a secound question about gdal_merge. using following command: gdal_merge -v -o c:\temp\outputfile.tif --optfile c:\temp\sfilelist.txt and 16 jpg-filenames (size 4-5 mb) in sfilelist.txt i create a new file outputfile.tif wi

Re: [gdal-dev] Shapefiles & AVL files

2009-11-02 Thread Howard Butler
On Nov 2, 2009, at 8:36 AM, David Staveley wrote: Hi there, I'm new to gdal/ogr, so please be kind. I was using ogr2ogr to convert some geological shapefiles to kml, and found I was just getting the geological areas outlined in red as a result, in other words, it wasn't reading the ArcVie

[gdal-dev] Help by merge jpg-files - gdal_merge

2009-11-02 Thread Jan Tappenbeck
Hallo ! in my secound post for this mail a had a secound question about gdal_merge. using following command: gdal_merge -v -o c:\temp\outputfile.tif --optfile c:\temp\sfilelist.txt and 16 jpg-filenames (size 4-5 mb) in sfilelist.txt i create a new file outputfile.tif with 2.3 gb a size u

[gdal-dev] Shapefiles & AVL files

2009-11-02 Thread David Staveley
Hi there, I'm new to gdal/ogr, so please be kind. I was using ogr2ogr to convert some geological shapefiles to kml, and found I was just getting the geological areas outlined in red as a result, in other words, it wasn't reading the ArcView Legend (AVL) files. Undeterred, I wrote some code to rea