|
Geometry : |
Subject: [ggl] point conversion geographic <-> cartesian
From: Krzysztof Czainski (1czajnik)
Date: 2010-11-06 12:25:50
2010/11/5 Barend Gehrels <barend.gehrels_at_[hidden]>
> You can find actual examples of projections in the
> examples/extensions/gis/projection folder, here:
>
> https://svn.boost.org/svn/boost/sandbox/geometry/libs/geometry/example/extensions/gis/projections/
>
[...]
> Anyway, I hope this samples will help you with respect to Boost.Geometry.
> The projection initializations strings, and projections themselves, all
> taken from proj4, are documented quite well, here:
> http://trac.osgeo.org/proj/
Thanks again for the reply, Barend. I looked at the examples and proj4 docs,
and I figured it out:
bg::projection::eqdc_ellipsoid<Geo,Xy> prj( projection::init(
"+ellps=WGS84 +lat_1=20 +lat_2=20 +lat_0=20 +lon_0=50" ) );
Cheers, Kris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/ggl/attachments/20101106/5b6a0c22/attachment.html
Geometry list run by mateusz at loskot.net