Boost logo

Geometry :

Subject: [ggl] Projections: Patch to get access to parameters
From: Mateusz Loskot (mateusz)
Date: 2009-06-18 19:23:56


Chris Browet wrote:
> It would definitely be great to have WKT projection support!
> BTW, note that I encountered some discrepencies between ESRI WKT in
> Shapefiles and OSGeo standard. This might be interesting to tackle this.
> GDAL uses a special "morphFromESRI()" function for this.

Frank did a great job here

http://home.gdal.org/projects/opengis/wktproblems.html

> BTW, I don't quite get the reasoning behind templatizing the
> "parameters" struct... It's quite static and expected by all
> proj4 related functions. It only obfuscates/complicates the
> code, IMHO.

Hmm, it is not a template, is it?

struct parameters : public impl::pj_const_pod
{
    std::string name;
    std::vector<impl::pvalue> params;
};

or I don't understand the problem :-)

Cheers,

-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org

Geometry list run by mateusz at loskot.net