And I was hoping for an easy solution with FWTools or something... Thanks for the suggestions boys. Looks like I've got a long night a head of me. <br><br><div class="gmail_quote">On Fri, Jun 20, 2008 at 6:51 PM, Martin Chapman <<a href="mailto:mchapman@texelinc.com">mchapman@texelinc.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Yes, I would try Frank's suggestion first though. If it doesn't work then you could re-write the file and assign a projection with create() or createCopy() on the driver object..<br>
<div class="Ih2E3d"><br>
Martin<br>
<br>
Sent via BlackBerry by AT&T<br>
<br>
-----Original Message-----<br>
From: "Courtney Schitka" <<a href="mailto:c.schitka@gmail.com">c.schitka@gmail.com</a>><br>
<br>
</div><div class="Ih2E3d">Date: Fri, 20 Jun 2008 18:51:24<br>
To:"Frank Warmerdam" <<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>><br>
<a href="mailto:Cc%3Agdal-dev@lists.osgeo.org">Cc:gdal-dev@lists.osgeo.org</a><br>
Subject: Re: [gdal-dev] Urgent GDal failing to open a file.<br>
<br>
<br>
Frank & Martian<br>
<br>
Thanks for your prompt replies.<br>
<br>
If I know the coordinate system the file is supposed to be, is there a way I can inject that into the file it's self ? Without needing to edit the code or setting the GDAL_DATA environment variable ? The file is a GeoTiff ? I'd provide a sample but the file is 100+ M could take a bit.<br>
<br>
Court<br>
<br>
<br>
</div><div class="Ih2E3d">On Fri, Jun 20, 2008 at 6:46 PM, Frank Warmerdam <<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a> <mailto:<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>> > wrote:<br>
<br>
<br>
<br>
Courtney Schitka wrote:<br>
Good Day list.<br>
<br>
I write you with kind of an urgent problem today. The company I am doing some consulting for is using GDAL to read a majority of their data. They just purchased 800$ worth of some GeoData from a third party company. Everytime we try an dopen the data through Gdal I get. A problem with trying to create a Coordinate Transform. See error<br>
<br>
ERROR: No PROJ.4 translation for source SRS, coordinate<br>
<br>
When I did a Gdal Info on the file. I find this information out<br>
<br>
Coordinate System is:<br>
PROJCS[,<br>
GEOGCS["unnamed",<br>
DATUM["unknown",<br>
SPHEROID["unretrievable - using WGS84",6378137,298.257223563]],<br>
PRIMEM["Greenwich",0],<br>
UNIT[,0.0174532925199433]],<br>
UNIT["unknown",1],<br>
AUTHORITY["EPSG","0"]]<br>
<br>
<br>
Which I think is the root of my problem. Is ther ea good/easy way for me to fix this ? quickly ?<br>
<br>
Court,<br>
<br>
I *suspect* GDAL is failing to find it's supporting coordinate system<br>
files. Try setting the GDAL_DATA environment variable to point to the<br>
directory with the files like pcs.csv and ecw_cs.wkt.<br>
<br>
It would also be helpful if you were able to indicate the file format<br>
with the problem, the version of GDAL, and ideally a sample file.<br>
<br>
Best regards,<br>
--<br>
---------------------------------------+--------------------------------------<br>
</div> I set the clouds in motion - turn up | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a> <mailto:<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>><br>
light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a> <<a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/%7Ewarmerdam</a>><br>
and watch the world go round - Rush | President OSGeo, <a href="http://osgeo.org" target="_blank">http://osgeo.org</a> <<a href="http://osgeo.org" target="_blank">http://osgeo.org</a>><br>
<div><div></div><div class="Wj3C7c"><br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</div></div></blockquote></div><br>