Hello,

I figured it out… well sort of anyways.  Since I could not figure out how to 
reference the projection number I instead tried to include the underlying 
parameters within my map file. It works without reporting any errors…  but I 
presume that this solution is not ideal.

MAP
  PROJECTION
    “init=epsg=3857”
  END #Map Projection
  LAYER
    PROJECTION
     "+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  <>"   #Parameters for 
ESRI 103749
    END #Layer Projection
  END #Layer
END #Map

Please let me know if someone has a cleaner way of accessing ESRI 103749 
directly from the projection database.

Thank You!

Sincerely,
Mark Volz, GISP

From: Basques, Bob (CI-StPaul) <[email protected]>
Sent: Friday, January 7, 2022 9:14 AM
To: Mark Volz <[email protected]>; Steve Lime <[email protected]>
Cc: [email protected]
Subject: Re: [mapserver-users] [MapServer-users] working with ESRI coordinate 
systems in proj.db

Caution:
This email was sent from an external account. If you were expecting an internal 
email you would not see this notice. Please exercise caution before clicking on 
any links. Report any suspicious email to the Help Desk.
Question Everything: Were you expecting this email?
________________________________
Mark, will this work :  
https://epsg.io/6505<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fepsg.io%2f6505&c=E,1,-m19Vo45bheJyLgTY2JCBcd_XUrLWQn6QKZjEMSVR8g0gxz3EkgWDHBmvpjU2mPsidunA_PuuFwgYKOheQ1IZR_iW-_8csMBrX15O5L0rIUvxU7Idi16JkyUeIc,&typo=1>
 or are you trying to import data from your ESRI service.

We (Jim) went a little different route here, we read the ESRI rest service and 
stuff everything into a Postgres database as a cache and work against that.  We 
can set whatever EPSG that we need to this way for interoperability.

Bobb



From: MapServer-users 
<[email protected]<mailto:[email protected]>>
 on behalf of Mark Volz <[email protected]<mailto:[email protected]>>
Date: Friday, January 7, 2022 at 8:20 AM
To: Steve Lime <[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [mapserver-users] [MapServer-users] working with ESRI coordinate 
systems in proj.db

Think Before You Click: This email originated outside our organization.


Steve,

I am using ms4w version 4.0.5, which I think comes with PROJ 5.20

Thank You


Hi Mark: Not something I've tried to do so hopefully someone else can weigh in. 
What version of Proj are you using? --Steve

On Thu, Jan 6, 2022 at 11:19 AM Mark Volz 
<[email protected]<mailto:[email protected]>> wrote:
Hello,

Could someone help me with setting up mapserver to use a non ESRI projection 
that is already stored in proj.db?  The coordinate system is for Lyon County, 
MN #103749 and is stored with ESRI as the authority.  I know that we can set up 
Mapserver to use Web Mercator by setting the adding "init=epsg:4326" to a 
projection block.  Unfortunately I cannot access my counties coordinate system 
by setting the projection with “init=esri:103749”.

Thank you for any help!

Sincerely,
Mark Volz, GISP
_______________________________________________
MapServer-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to