Re: File format question
Hamish <[email protected]> Thu, 23 Mar 2006 21:42:10 +1200
| Newsgroups | gmane.games.flightgear.terragear.devel |
|---|---|
| Message-ID | <[email protected]> |
> > piped them thro cs2cs: > > $ echo "139.56361111111113 35.454722222222223"|cs2cs +proj=longlat > > +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs > > 139d33'49"E 35d27'17"N 0.000 oh, you need "+to" something $ echo "139.56361111111113 35.454722222222223" | cs2cs -f "%.13f" \ +proj=longlat +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs \ +to +proj=longlat +towgs84=0.000,0.000,0.000 > also to get cs2cs to output in decimal form use: > cs2cs -f'%.8f' oops, need a space after the -f. Hamish _______________________________________________ Terragear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/terragear-devel 2f585eeea02e2c79d7b1d8c4963bae2d