[Proj] Convert X and Y to Lat and Lon

don_nell don_nell at yahoo.com
Fri Dec 18 10:23:24 EST 2009


Hamish,

Thank you very much !!!

Don


hamish-2 wrote:
> 
> don_nell wrote:
>> Would you happen to know how to go the other way too? If I
>> have the Lat and Lon, how would I know the X and Y.  I'm still
>> very new to this.
> 
> 
> instead of
> 
> 
> cs2cs [LCC +proj= terms]  +to  [longlat +proj= terms]
> 
> just reverse them:
> 
> cs2cs [longlat +proj= terms]  +to  [LCC +proj= terms]
> 
> 
> IIUC you can't count on all projections to be fully reversible, but in
> your case I think it'll be ok.
> 
> cs2cs expects input data in the form of "x y", i.e. "longitude latitude"
> Use the -r flag if your data has reversed columns. be careful with
> hemisphere signs and command line quoting for DDDdMM'SS.SSSS" style
> input.
> 
> if you haven't already found the +nadgrids=nad83 term, you may want to
> investigate that.
> 
> 
> Hamish
> 
> 
> 
>       
> _______________________________________________
> Proj mailing list
> Proj at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/proj
> 
> 

-- 
View this message in context: http://n2.nabble.com/Convert-X-and-Y-to-Lat-and-Lon-tp4181089p4187124.html
Sent from the PROJ.4 mailing list archive at Nabble.com.


More information about the Proj mailing list