Re: obj.read_bin() followed by obj.write_bin() or obj.write_ascii()

Hamish <[email protected]> Thu, 13 Jan 2005 18:31:04 +1300
Newsgroups gmane.games.flightgear.terragear.devel
Message-ID <[email protected]>
> If anybody is interested in the offset UTM code I'll be glad to make
> it available.  I simply change the ::write_spx() call to
> ::write_ascii().  It requires a large change to
> simgear/math/sg_geodesy.[ch]xx but shouldn't affect normal operations.
>  The UTM code is that sent to me 
> from Frederic B. of FGSD.
> 
> This code is useful for converting to models that have a x=east, 
> y=north, z=altitude with a center of (0,0).
> I apply a common offset to every tile by storing the same constant
> point in gbs_center.


just wondering if this isn't a job for the widely used PROJ.4 library; I
know it's an added dependancy, but it would mean less code to maintain,
understand, debug..

http://www.remotesensing.org/proj/



regards,
Hamish

_______________________________________________
Terragear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d