Re: [gdal-dev] Converting from Lambert (LCC) to latlong/mercator

2009-02-22 Thread Brian Murray
l. On Sun, Feb 22, 2009 at 1:24 PM, Joaquim Luis wrote: > Brian Murray wrote: >> >> I know. I left that on there in the mean time while I figured out the >> translations. It wasn't even bending the map at all before. The >> software just sees the image as a blob o

Re: [gdal-dev] Converting from Lambert (LCC) to latlong/mercator

2009-02-22 Thread Brian Murray
54993160055,-0.000475285171103) >> Metadata: >> AREA_OR_POINT=Area >> TIFFTAG_SOFTWARE=Adobe Photoshop CS3 Macintosh >> TIFFTAG_DATETIME=2009:02:21 16:15:49 >> TIFFTAG_XRESOLUTION=0 >> TIFFTAG_YRESOLUTION=0 >> TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch) &g

Re: [gdal-dev] Converting from Lambert (LCC) to latlong/mercator

2009-02-22 Thread Brian Murray
I finally have positive results, that I figured I should share here (especially since this thread is already indexed on google...) First, I created the world file for my map. I calculated the pixel size by getting the number of pixels between each line of longitude. I found this to be 65.5 (1 divi

Re: [gdal-dev] Converting from Lambert (LCC) to latlong/mercator

2009-02-22 Thread Brian Murray
00, 56.000) (115d 0'5.77"W, 54d 0'1.81"N) Lower Right (-105.000, 54.000) (115d 0'5.77"W, 54d 0'1.75"N) Center (-110.000, 55.000) (115d 0'6.04"W, 54d 0'1.78"N) Band 1 Block=11696x1 Type=Byte, ColorInterp=Red Band 2

Re: [gdal-dev] Converting from Lambert (LCC) to latlong/mercator

2009-02-21 Thread Brian Murray
Hm, so maybe that value is correct. 1/0.000854993160055 is 1169.56163712, which would mean its about 1px per km. I think I found an issue even before I warp: gdal_translate -of gtiff -CO TFW=YES -a_ullr -115 56 -105 54 -a_srs "+proj=lcc +lat_0=56 +lon_0=-115 +lat_2=49.33 +lat_1=54.66

Re: [gdal-dev] Converting from Lambert (LCC) to latlong/mercator

2009-02-21 Thread Brian Murray
>From the gdal_translate line, the images are identical, but with added information to the tif, in a geotif style. Once I warp it, the image is squished (as I would expect), but the width is the same. I have also tried embedding all of the geotiff data within the intermediate image, but for some

[gdal-dev] Converting from Lambert (LCC) to latlong/mercator

2009-02-21 Thread Brian Murray
I have a map that is in Lambert Conformal Conical, that I am attempting to convert to something that is more "web friendly". That is, vertical lines of longitude and straight lines of latitude, hopefully with equal distance between latitudes. I have attempted to use gdalwarp, but have had absolutel