[mapserver-users] How to reference ESRI projections that are already in proj.db

Even Rouault even.rouault at spatialys.com
Fri Feb 25 10:06:03 PST 2022


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.

Le 25/02/2022 à 18:44, Mark Volz a écrit :
>
> Hello,
>
> 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.
>
> Here is a snippet of my code:
>
> MAP
>
> PROJECTION
>
> "init=epsg:4326"
>
> END  #Map Projection
>
> LAYER
>
> PROJECTION
>
> #WORKS
>
> "+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  <>"
>
> #Does not work
>
> “init=esri:103749”
>
> “init=esri:103749”
>
>                                 End  #Layer projection
>
>                 END #Layer
>
> END #Map
>
> Please let me know if you have any thoughts regarding how we can use 
> ESRI authority projections.
>
> Thank You
>
>
> _______________________________________________
> MapServer-users mailing list
> MapServer-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users

-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220225/0673e9f2/attachment.htm>


More information about the MapServer-users mailing list