<html><head><style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style><style><!--
p.MsoNormal, li.MsoNormal, div.MsoNormal {
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
}
a:link, span.MsoHyperlink {
color:blue;
text-decoration:underline;
}
span.MsoHyperlinkFollowed {
color:purple;
text-decoration:underline;
}
span.EmailStyle17 {
font-family:"Calibri","sans-serif";
color:#1F497D;
}
span.apple-converted-space {
}
span.bold {
}
.MsoChpDefault {
font-family:"Calibri","sans-serif";
}
div.WordSection1 {
}
--></style></head><body><div data-externalstyle="false" dir="ltr" style="font-family:Calibri,'Segoe UI',Meiryo,'Microsoft YaHei UI','Microsoft JhengHei UI','Malgun Gothic','Khmer UI','Nirmala UI',Tunga,'Lao UI',Ebrima,sans-serif;font-size:12pt;"><p class="MsoNormal"><span style='color: black; font-family: "Verdana","sans-serif"; font-size: 10pt;'><span style="background: white;">>I checked the<span class="apple-converted-space"> </span></span><span class="bold"><b><span style="background: rgb(255, 255, 153);">vtkGeoProjection</span></b></span><span style="background: white;">. The description says 'Represent a<span class="apple-converted-space"> </span></span><span class="bold"><b><span style="background: rgb(255, 255, 153);">projection</span></b></span><span class="apple-converted-space"><span style="background: white;"> </span></span><span style="background: white;">from a</span></span></p><p class="MsoNormal"><span style='color: black; font-family: "Verdana","sans-serif"; font-size: 10pt;'><span style="background: white;">> sphere to a plane'. Is this used only for geographic coordinate<span class="apple-converted-space"> </span></span><span class="bold"><b><span style="background: rgb(255, 255, 153);">projections</span></b></span><span style="background: white;">? can it be</span></span></p><p class="MsoNormal"><span style='color: black; font-family: "Verdana","sans-serif"; font-size: 10pt;'><span style="background: white;">> modified for other purposes as well? </span></span><span style='color: black; font-family: "Calibri","sans-serif"; font-size: 11pt;'>Could you please point me to a good example for this?</span><span style='background: white; color: black; font-family: "Verdana","sans-serif"; font-size: 10pt;'></span></p><div> </div><div> </div><div>vtkGeoProjection looks to be a simple wrapper class to help use the PROJ library. See <a title="https://trac.osgeo.org/proj/" href="https://trac.osgeo.org/proj/" target="_parent">https://trac.osgeo.org/proj/</a> for more info on that library.</div><div> </div><div>You instantiate a vtkGeoProjection object, and then call SetName to a known projection name, and then you can set parameters for the projection, and call GetProjection, ...</div><div> </div><div>Test source code looks like this for that class:</div><div><a title="http://www.vtk.org/doc/nightly/html/c2_vtk_t_7.html#c2_vtk_t_vtkGeoProjection" href="http://www.vtk.org/doc/nightly/html/c2_vtk_t_7.html#c2_vtk_t_vtkGeoProjection" target="_parent">http://www.vtk.org/doc/nightly/html/c2_vtk_t_7.html#c2_vtk_t_vtkGeoProjection</a></div><div><a title="http://vtk.org/gitweb?p=VTK.git;a=blob;f=Geovis/Core/Testing/Cxx/TestGeoProjection.cxx" href="http://vtk.org/gitweb?p=VTK.git;a=blob;f=Geovis/Core/Testing/Cxx/TestGeoProjection.cxx" target="_parent">http://vtk.org/gitweb?p=VTK.git;a=blob;f=Geovis/Core/Testing/Cxx/TestGeoProjection.cxx</a></div><div> </div><div> </div><div>HTH,</div><div>David</div><div> </div>
</div></body></html>