Hi J-S, As Chris mentioned, PROJ4 is the definitive toolkit for coordinate conversions. In addition:
OGR (http://www.gdal.org/ogr) has an easier-to-use wrapper around PROJ4's capabilities (http://www.gdal.org/ogr/classOGRSpatialReference.html) which is handy because it can read OSG WKT projection definitions, which are the most common way to describe spatial reference systems. osgGIS (http://osggis.org) has yet another convenience layer on top of OGR that incorporates support for a couple things like geocentric data and local-origin matrices. Anyway the first task is to figure out whether you need to reproject your data at all. UTM is a flat-earth XYZ system. Do you have a terrain? What spatial reference system is it in? Glenn On Tue, Jun 10, 2008 at 4:21 PM, Jean-Sébastien Guay < [EMAIL PROTECTED]> wrote: > Hi fellow OSGers, > > I was wondering if I could ask some questions about GIS in general on this > list. I know there are some really knowledgeable people on this list (Glenn, > I'm looking at you!). We have no one here who has any expertise in this > subject... :-) > > In one of the subprojects of our current project, we get some coordinates > for objects from a network feed, in "UTM projected using ED50 based on > international 1924 spheroid, on zone 32". We'd need to use those to position > objects in a given world space, and I was wondering if there was a general > way to convert such values to something that we can use in OSG. > > I suspect values such as "Easting" and "Northing" are not really linear, > since they map to a sphere (note that as I said, I'm a total newbie to > this). Also, the coordinate standard used could potentially change in > mid-project, which is why I'd like a general way. > > Can GDAL do this? Can osgGIS? Would that be the way you would recommend > doing it? For now we just need conversion of coordinates, but eventually we > could need more, so if using osgGIS in our project would scale well, we'll > possibly do that. > > Thanks in advance, > > J-S > -- > ______________________________________________________ > Jean-Sebastien Guay [EMAIL PROTECTED] > http://www.cm-labs.com/ > http://whitestar02.webhop.org/ > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : 703-652-4791
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org