<div dir="ltr"><div><div><div><div>Hi<br><br></div>yes proj4 is able to accept epsg or other dictionnary code. You have to use the &quot;+init&quot; parameter on definition string : <br><br></div>const char* my_pj_def=&quot;+init=epsg:26711&quot;<br>
<br></div>Moreover you HAVE to set the &quot;PROJ_LIB&quot; env var to the path where the epsg and other dictionnary are located.<br><br></div>Nicolas DAVID<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/8/7 Han Hu <span dir="ltr">&lt;<a href="mailto:huhan@whu.edu.cn" target="_blank">huhan@whu.edu.cn</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>





<div style="MARGIN:10px">
<div>Hi, </div>
<div> </div>
<div>In PROJ API, I can use</div>
<div> </div>
<div><strong><font><font face="Verdana">projPJ<span> </span></font></font></strong><a style="BORDER-BOTTOM:rgb(187,187,187) 1px dotted;COLOR:rgb(187,0,0);TEXT-DECORATION:none" href="https://trac.osgeo.org/proj/wiki/pj_init_plus" target="_blank"><strong><font face="Verdana">pj_init_plus</font></strong></a><strong><font face="Verdana">(const char *definition);</font></strong></div>

<div><strong><font face="Verdana"></font></strong> </div>
<div><font style="FONT-SIZE:10.5pt;FONT-WEIGHT:normal" size="1">to set 
projection information like &quot;+proj=tmerc +ellps=krass ....&quot; , however is this 
api able to accept epsg code?</font></div>
<div> </div>
<div> </div>
<hr style="min-height:1px;WIDTH:210px" color="#b5c4df" align="left" size="1">

<div><span>
<div style="margin-right:10px;line-height:1.5;font-size:10.5pt;margin-left:10px;font-family:微软雅黑;margin-top:10px">
<div><span style="font-size:14pt;font-family:Times New Roman">Han 
Hu</span></div>
<div><span style="font-size:14pt;font-family:Times New Roman">PhD 
Candidate</span></div>
<div><span style="font-size:10.5pt;font-family:宋体"></span> </div>
<div><span style="font-size:10.5pt;font-family:宋体"><span style="FONT-SIZE:14pt;FONT-FAMILY:Times New Roman"><font style="FONT-SIZE:14pt;FONT-FAMILY:Times New Roman" face="" size="1"><a style="MARGIN-BOTTOM:0px;MARGIN-TOP:0px" href="http://www.lmars.whu.edu.cn/" target="_blank">State Key Laboratory of Information 
Engineering in Surveying, Mapping and Remote 
Sensing</a></font></span></span></div>
<div><span style="font-size:10.5pt;font-family:宋体"><span style="FONT-SIZE:14pt;FONT-FAMILY:Times New Roman"><font style="FONT-SIZE:14pt;FONT-FAMILY:Times New Roman" face="" size="1"><a style="MARGIN-BOTTOM:0px;MARGIN-TOP:0px" href="http://www.whu.edu.cn/index.html" target="_blank">Wuhan 
University</a></font></span></span></div>
<div><span style="font-size:10.5pt;font-family:宋体"><span style="FONT-SIZE:14pt;FONT-FAMILY:Times New Roman"><font style="FONT-SIZE:14pt;FONT-FAMILY:Times New Roman" face="" size="1">Luoyu Road 
129, Wuhan, P.R. China</font></span></span></div>
<div><span style="font-size:10.5pt;font-family:宋体"><span style="FONT-SIZE:14pt;FONT-FAMILY:Times New Roman"><font style="FONT-SIZE:14pt;FONT-FAMILY:Times New Roman" face="" size="1">Tel: +86 
<a href="tel:13437119857" value="+13437119857" target="_blank">13437119857</a></font></span></span></div>
<div><span style="font-size:10.5pt;font-family:宋体"><span style="FONT-SIZE:14pt;FONT-FAMILY:Times New Roman"><font style="FONT-SIZE:14pt;FONT-FAMILY:Times New Roman" face="" size="1">Email: <a style="MARGIN-BOTTOM:0px;MARGIN-TOP:0px" href="mailto:huhan@whu.edu.cn" target="_blank">huhan@whu.edu.cn</a></font></span></span></div>
</div></span></div></div>
<br>_______________________________________________<br>
Proj mailing list<br>
<a href="mailto:Proj@lists.maptools.org">Proj@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/proj" target="_blank">http://lists.maptools.org/mailman/listinfo/proj</a><br></blockquote></div><br></div>