[mapserver-users] [MapServer-users] working with ESRI coordinate systems in proj.db
Mark Volz
MarkVolz at co.lyon.mn.us
Fri Jan 7 08:08:32 PST 2022
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) <bob.basques at ci.stpaul.mn.us>
Sent: Friday, January 7, 2022 9:14 AM
To: Mark Volz <MarkVolz at co.lyon.mn.us>; Steve Lime <sdlime at gmail.com>
Cc: mapserver-users at lists.osgeo.org
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 <mapserver-users-bounces at lists.osgeo.org<mailto:mapserver-users-bounces at lists.osgeo.org>> on behalf of Mark Volz <MarkVolz at co.lyon.mn.us<mailto:MarkVolz at co.lyon.mn.us>>
Date: Friday, January 7, 2022 at 8:20 AM
To: Steve Lime <sdlime at gmail.com<mailto:sdlime at gmail.com>>
Cc: "mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>" <mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>>
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 <MarkVolz at co.lyon.mn.us<mailto:MarkVolz at co.lyon.mn.us>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220107/777445ca/attachment.htm>
More information about the MapServer-users
mailing list