<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Tweak implemented in
<a class="moz-txt-link-freetext" href="https://github.com/MapServer/MapServer/pull/6484">https://github.com/MapServer/MapServer/pull/6484</a><br>
</p>
<div class="moz-cite-prefix">Le 25/02/2022 à 19:06, Even Rouault a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:c913c6f3-7dca-a9a6-8367-9de63524a1a5@spatialys.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>A tweak in MapServer code would be required to accept syntax
like "ESRI:XXXXX". The +init=epsg: stuff that is a compatibility
syntax which only works for EPSG.<br>
</p>
<div class="moz-cite-prefix">Le 25/02/2022 à 18:44, Mark Volz a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:74d8fb1ef2f64c54ac1a0ac7db746a60@co.lyon.mn.us">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am having trouble trying to reference
ESRI authority coordinate systems that are within proj.db
within MapServer. I know this should work because I can
use the QGIS can use the ESRI authority coordinate systems
and QGIS apparently uses the same proj.db database as
MapServer. I tried referencing the projection using
init=esri:103749 and init=epsg 103749. Neither option
appears to work. I can however manually and the projection
parameters.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here is a snippet of my code:<o:p></o:p></p>
<p class="MsoNormal">MAP<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in">PROJECTION<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">"init=epsg:4326"<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in">END #Map
Projection<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in">LAYER<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">PROJECTION<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">#WORKS<o:p></o:p></p>
<p class="MsoNormal"
style="margin-left:1.0in;text-indent:.5in">"+proj=lcc
+lat_1=44.25 +lat_2=44.58333333333334
+lat_0=44.19555555555555 +lon_0=-95.85000000000001
+x_0=152400.3048006096 +y_0=30480.06096012192 +a=6378559.758
+ b=6357173.65471281 +units=ft +no_defs <>"<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">#Does
not work<o:p></o:p></p>
<p class="MsoNormal"
style="margin-left:1.0in;text-indent:.5in">“init=esri:103749”<o:p></o:p></p>
<p class="MsoNormal"
style="margin-left:1.0in;text-indent:.5in">“init=esri:103749”<o:p></o:p></p>
<p class="MsoNormal"> End
#Layer projection<o:p></o:p></p>
<p class="MsoNormal"> END #Layer<o:p></o:p></p>
<p class="MsoNormal">END #Map<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Please let me know if you have any
thoughts regarding how we can use ESRI authority
projections.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank You<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
MapServer-users mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:MapServer-users@lists.osgeo.org" moz-do-not-send="true">MapServer-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com" moz-do-not-send="true">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
MapServer-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:MapServer-users@lists.osgeo.org">MapServer-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>