<div dir="ltr">I need that t-shirt! The quotes are in the mapfile, I think gmail just hyperlinked the string.<div><br></div><div>I am kind of testing 2 ways: Using the browser(a few methods there), using linux: mapserv "QUERY_STRING=map=/home/map=home/gis/tmp/mapserver/mapserver.map"</div><div><br></div><div>When I do that, I still get a validation error:</div><div><br></div><div>[Thu May  4 12:18:06 2023].428388 loadParams() QUERY_STRING: map=/home/map=home/gis/tmp/mapserver/mapserver.map<br>[Thu May  4 12:18:06 2023].428506 msCGILoadMap(): Web application error. CGI variable "map" fails to validate.<br></div><div><br></div><div>I'm wondering on the front end if there's a projection issue, I see green network activity: <a href="https://dev.gis.lcc.mn.gov/tmp/mapserver/">https://dev.gis.lcc.mn.gov/tmp/mapserver/</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 4, 2023 at 12:29 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">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>"<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><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 request would <br>
> not validate, for example : <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> )   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> <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 to the<br>
>>     MS_MAP_PATTERN in the config file (not the MS_ERRORFILE 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 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>
>>     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 (non-standard/non-existing)<br>
>>      > EPSG:900913, replace with EPSG:3857  (see <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>> )<br>
>>      > - remove all warnings from your GetCapabilities response, every<br>
>>     single<br>
>>      > warning, there should be no warnings in the response, before you<br>
>>     move to<br>
>>      > testing GetMap requests<br>
>>      > - if you have PostGIS/db connections, consider 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>
>>      > - during GetMap testing, comment any TEMPLATE params 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>
>>     <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>
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>