Lucie,

FYI, the osgEarth project contains a SpatialReference class that provides
general coordinate conversion functionality. (It uses GDAL/OGR under the
hood.) You might take a look at this for ideas. http://osgearth.org

Glenn Waldron : Pelican Mapping


On Fri, Oct 1, 2010 at 9:50 AM, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC <[email protected]> wrote:

> Lucie,
>
> If you're on a flat earth, you shouldn't be using the
> convertLatLongHeightToXYZ method. This is only used for mapping spheroid
> coordinates to geocentric (origin is at the center of the spheroid)
> coordinates. Because you were referencing this method, it was assumed that
> you were using this type of mapping.
>
> If you want to get X,Y from a Lat,Long pair, you need to use some other
> projection or mapping. You could use a Plate Carree projection or something
> similar http://en.wikipedia.org/wiki/Equirectangular_projection. May I
> also
> suggest that you use something like GeoTrans or GDAL to assist you in what
> you need to do.
>
> -Shayne
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of lucie
> lemonnier
> Sent: Friday, October 01, 2010 3:06 AM
> To: [email protected]
> Subject: Re: [osg-users] convertLatLongHeightToXYZ
>
> Hi,
>
> In fact, my model is not spheroid, it is a flat terrain.
> That's why I need simply the position.
>
> Thank you!
>
> Cheers,
> lucie
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=32257#32257
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to