<div dir="ltr">No problem: <a href="https://pastebin.com/Ssk0cp1b">https://pastebin.com/Ssk0cp1b</a><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 4, 2023 at 12:51 PM Jeff McKenna <<a href="mailto:jmckenna@gatewaygeomatics.com">jmckenna@gatewaygeomatics.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Chris can you paste your latest mapfile at <a href="https://pastebin.com/" rel="noreferrer" target="_blank">https://pastebin.com/</a> and <br>
paste the link here for everyone?  (and for any future mailing list <br>
messages, please use that method, for sharing your mapfile and config files)<br>
<br>
thanks,<br>
<br>
-jeff<br>
<br>
<br>
<br>
On 2023-05-04 2:45 p.m., Chris Cantey wrote:<br>
> We were also a little concerned about web>template. We didn't see <br>
> anywhere what exactly we were supposed to put in the TEMPLATE document. <br>
> its basically the same html document as <br>
> <a href="https://dev.gis.lcc.mn.gov/tmp/mapserver/" rel="noreferrer" target="_blank">https://dev.gis.lcc.mn.gov/tmp/mapserver/</a> <br>
> <<a href="https://dev.gis.lcc.mn.gov/tmp/mapserver/" rel="noreferrer" target="_blank">https://dev.gis.lcc.mn.gov/tmp/mapserver/</a>> but with <!-- MapServer <br>
> Template --> on top.<br>
> <br>
> CC<br>
> <br>
> On Thu, May 4, 2023 at 12:32 PM Chris Cantey <<a href="mailto:cantey0701@gmail.com" target="_blank">cantey0701@gmail.com</a> <br>
> <mailto:<a href="mailto:cantey0701@gmail.com" target="_blank">cantey0701@gmail.com</a>>> wrote:<br>
> <br>
>     I need that t-shirt! The quotes are in the mapfile, I think gmail<br>
>     just hyperlinked the string.<br>
> <br>
>     I am kind of testing 2 ways: Using the browser(a few methods there),<br>
>     using linux: mapserv<br>
>     "QUERY_STRING=map=/home/map=home/gis/tmp/mapserver/mapserver.map"<br>
> <br>
>     When I do that, I still get a validation error:<br>
> <br>
>     [Thu May  4 12:18:06 2023].428388 loadParams() QUERY_STRING:<br>
>     map=/home/map=home/gis/tmp/mapserver/mapserver.map<br>
>     [Thu May  4 12:18:06 2023].428506 msCGILoadMap(): Web application<br>
>     error. CGI variable "map" fails to validate.<br>
> <br>
>     I'm wondering on the front end if there's a projection issue, I see<br>
>     green network activity: <a href="https://dev.gis.lcc.mn.gov/tmp/mapserver/" rel="noreferrer" target="_blank">https://dev.gis.lcc.mn.gov/tmp/mapserver/</a><br>
>     <<a href="https://dev.gis.lcc.mn.gov/tmp/mapserver/" rel="noreferrer" target="_blank">https://dev.gis.lcc.mn.gov/tmp/mapserver/</a>><br>
> <br>
>     On Thu, May 4, 2023 at 12:29 PM Jeff McKenna<br>
>     <<a href="mailto:jmckenna@gatewaygeomatics.com" target="_blank">jmckenna@gatewaygeomatics.com</a><br>
>     <mailto:<a href="mailto:jmckenna@gatewaygeomatics.com" target="_blank">jmckenna@gatewaygeomatics.com</a>>> wrote:<br>
> <br>
>         Also, your onlineresource is missing quotes, such as:<br>
> <br>
>         "wms_onlineresource"<br>
>         "<a href="https://dev.gis.lcc.mn.gov/cgi-bin/mapserv?map=/home/web/gis/tmp/mapserver/mapserver.map" rel="noreferrer" target="_blank">https://dev.gis.lcc.mn.gov/cgi-bin/mapserv?map=/home/web/gis/tmp/mapserver/mapserver.map</a> <<a href="https://dev.gis.lcc.mn.gov/cgi-bin/mapserv?map=/home/web/gis/tmp/mapserver/mapserver.map" rel="noreferrer" target="_blank">https://dev.gis.lcc.mn.gov/cgi-bin/mapserv?map=/home/web/gis/tmp/mapserver/mapserver.map</a>>"<br>
> <br>
> <br>
> <br>
> <br>
>         -jeff<br>
> <br>
> <br>
> <br>
>         -- <br>
>         Jeff McKenna<br>
>         GatewayGeo: Developers of MS4W, MapServer Consulting and Training<br>
>         co-founder of FOSS4G<br>
>         <a href="http://gatewaygeo.com/" rel="noreferrer" target="_blank">http://gatewaygeo.com/</a> <<a href="http://gatewaygeo.com/" rel="noreferrer" target="_blank">http://gatewaygeo.com/</a>><br>
> <br>
> <br>
> <br>
>         On 2023-05-04 2:13 p.m., Jeff McKenna wrote:<br>
>          > Thanks.  I think you solved any validation issues ( this<br>
>         request would<br>
>          > not validate, for example :<br>
>          ><br>
>         <a href="https://dev.gis.lcc.mn.gov/cgi-bin/mapserv?map=/home/web/gis/tmp/mapserver/mapserver.map" rel="noreferrer" target="_blank">https://dev.gis.lcc.mn.gov/cgi-bin/mapserv?map=/home/web/gis/tmp/mapserver/mapserver.map</a> <<a href="https://dev.gis.lcc.mn.gov/cgi-bin/mapserv?map=/home/web/gis/tmp/mapserver/mapserver.map" rel="noreferrer" target="_blank">https://dev.gis.lcc.mn.gov/cgi-bin/mapserv?map=/home/web/gis/tmp/mapserver/mapserver.map</a>> )   so it's something else, very minor likely (I've got that t-shirt too, ha)<br>
>          ><br>
>          > -jeff<br>
>          ><br>
>          ><br>
>          ><br>
>          > On 2023-05-04 2:00 p.m., Chris Cantey wrote:<br>
>          >> Thanks, Jeff.. I found that out, thanks.<br>
>          >><br>
>          >> I will work down from your points.<br>
>          >><br>
>          >> Besc,<br>
>          >><br>
>          >> On Thu, May 4, 2023 at 11:57 AM Jeff McKenna<br>
>          >> <<a href="mailto:jmckenna@gatewaygeomatics.com" target="_blank">jmckenna@gatewaygeomatics.com</a><br>
>         <mailto:<a href="mailto:jmckenna@gatewaygeomatics.com" target="_blank">jmckenna@gatewaygeomatics.com</a>><br>
>         <mailto:<a href="mailto:jmckenna@gatewaygeomatics.com" target="_blank">jmckenna@gatewaygeomatics.com</a><br>
>         <mailto:<a href="mailto:jmckenna@gatewaygeomatics.com" target="_blank">jmckenna@gatewaygeomatics.com</a>>>><br>
>          >> wrote:<br>
>          >><br>
>          >>     Also note, that the regular expression "^" trick applies<br>
>         to the<br>
>          >>     MS_MAP_PATTERN in the config file (not the MS_ERRORFILE<br>
>         path in the<br>
>          >>     mapfile).<br>
>          >><br>
>          >><br>
>          >>     Thanks for using MapServer Chris,<br>
>          >><br>
>          >>     -jeff<br>
>          >><br>
>          >><br>
>          >><br>
>          >>     --     Jeff McKenna<br>
>          >>     GatewayGeo: Developers of MS4W, MapServer Consulting and<br>
>         Training<br>
>          >>     co-founder of FOSS4G<br>
>          >> <a href="http://gatewaygeo.com/" rel="noreferrer" target="_blank">http://gatewaygeo.com/</a> <<a href="http://gatewaygeo.com/" rel="noreferrer" target="_blank">http://gatewaygeo.com/</a>><br>
>         <<a href="http://gatewaygeo.com/" rel="noreferrer" target="_blank">http://gatewaygeo.com/</a> <<a href="http://gatewaygeo.com/" rel="noreferrer" target="_blank">http://gatewaygeo.com/</a>>><br>
>          >><br>
>          >><br>
>          >>     On 2023-05-04 1:48 p.m., Jeff McKenna wrote:<br>
>          >>      > More points for your consideration:<br>
>          >>      ><br>
>          >>      > - make sure all layers have a PROJECTION object<br>
>          >>      > - remove any old references to the<br>
>         (non-standard/non-existing)<br>
>          >>      > EPSG:900913, replace with EPSG:3857  (see<br>
>         <a href="https://epsg.io/3857" rel="noreferrer" target="_blank">https://epsg.io/3857</a> <<a href="https://epsg.io/3857" rel="noreferrer" target="_blank">https://epsg.io/3857</a>><br>
>          >>     <<a href="https://epsg.io/3857" rel="noreferrer" target="_blank">https://epsg.io/3857</a> <<a href="https://epsg.io/3857" rel="noreferrer" target="_blank">https://epsg.io/3857</a>>> )<br>
>          >>      > - remove all warnings from your GetCapabilities<br>
>         response, every<br>
>          >>     single<br>
>          >>      > warning, there should be no warnings in the response,<br>
>         before you<br>
>          >>     move to<br>
>          >>      > testing GetMap requests<br>
>          >>      > - if you have PostGIS/db connections, consider<br>
>         setting EXTENT<br>
>          >> at the<br>
>          >>      > layer-level, to improve speed for your clients (review<br>
>          >>     optimizations at<br>
>          >>      > <a href="https://mapserver.org/optimization/vector.html" rel="noreferrer" target="_blank">https://mapserver.org/optimization/vector.html</a><br>
>         <<a href="https://mapserver.org/optimization/vector.html" rel="noreferrer" target="_blank">https://mapserver.org/optimization/vector.html</a>><br>
>          >>     <<a href="https://mapserver.org/optimization/vector.html" rel="noreferrer" target="_blank">https://mapserver.org/optimization/vector.html</a><br>
>         <<a href="https://mapserver.org/optimization/vector.html" rel="noreferrer" target="_blank">https://mapserver.org/optimization/vector.html</a>>> )<br>
>          >>      > - during GetMap testing, comment any TEMPLATE params<br>
>         in mapfile<br>
>          >>      ><br>
>          >>      ><br>
>          >>      > -jeff<br>
>          >>      ><br>
>          >>      ><br>
>          >>      ><br>
>          >>      ><br>
>          >><br>
>          >>     _______________________________________________<br>
>          >>     MapServer-users mailing list<br>
>          >> <a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a><br>
>         <mailto:<a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a>><br>
>          >> <mailto:<a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a><br>
>         <mailto:<a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a>>><br>
>          >> <a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
>         <<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a>><br>
>          >>    <br>
>         <<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
>         <<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a>>><br>
>          >><br>
>          >><br>
>          >><br>
>          >> --<br>
>          >> Chris Cantey<br>
>          >> <a href="http://geo-odyssey.com" rel="noreferrer" target="_blank">geo-odyssey.com</a> <<a href="http://geo-odyssey.com" rel="noreferrer" target="_blank">http://geo-odyssey.com</a>><br>
>         <<a href="http://geo-odyssey.com" rel="noreferrer" target="_blank">http://geo-odyssey.com</a> <<a href="http://geo-odyssey.com" rel="noreferrer" target="_blank">http://geo-odyssey.com</a>>><br>
>          ><br>
> <br>
>         _______________________________________________<br>
>         MapServer-users mailing list<br>
>         <a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a><br>
>         <mailto:<a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a>><br>
>         <a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
>         <<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a>><br>
> <br>
> <br>
> <br>
>     -- <br>
>     Chris Cantey<br>
>     <a href="http://geo-odyssey.com" rel="noreferrer" target="_blank">geo-odyssey.com</a> <<a href="http://geo-odyssey.com" rel="noreferrer" target="_blank">http://geo-odyssey.com</a>><br>
> <br>
> <br>
> <br>
> -- <br>
> Chris Cantey<br>
> <a href="http://geo-odyssey.com" rel="noreferrer" target="_blank">geo-odyssey.com</a> <<a href="http://geo-odyssey.com" rel="noreferrer" target="_blank">http://geo-odyssey.com</a>><br>
<br>
-- <br>
Jeff McKenna<br>
GatewayGeo: Developers of MS4W, MapServer Consulting and Training<br>
co-founder of FOSS4G<br>
<a href="http://gatewaygeo.com/" rel="noreferrer" target="_blank">http://gatewaygeo.com/</a><br>
<br>
_______________________________________________<br>
MapServer-users mailing list<br>
<a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">Chris Cantey<div><a href="http://geo-odyssey.com" target="_blank">geo-odyssey.com</a><br></div></div></div>