We were also a little concerned about web>template. We didn't see anywhere what exactly we were supposed to put in the TEMPLATE document. its basically the same html document as https://dev.gis.lcc.mn.gov/tmp/mapserver/ but with <!-- MapServer Template --> on top.
CC On Thu, May 4, 2023 at 12:32 PM Chris Cantey <[email protected]> wrote: > I need that t-shirt! The quotes are in the mapfile, I think gmail just > hyperlinked the string. > > 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" > > When I do that, I still get a validation error: > > [Thu May 4 12:18:06 2023].428388 loadParams() QUERY_STRING: > map=/home/map=home/gis/tmp/mapserver/mapserver.map > [Thu May 4 12:18:06 2023].428506 msCGILoadMap(): Web application error. > CGI variable "map" fails to validate. > > I'm wondering on the front end if there's a projection issue, I see green > network activity: https://dev.gis.lcc.mn.gov/tmp/mapserver/ > > On Thu, May 4, 2023 at 12:29 PM Jeff McKenna < > [email protected]> wrote: > >> Also, your onlineresource is missing quotes, such as: >> >> "wms_onlineresource" >> " >> https://dev.gis.lcc.mn.gov/cgi-bin/mapserv?map=/home/web/gis/tmp/mapserver/mapserver.map >> " >> >> >> >> >> -jeff >> >> >> >> -- >> Jeff McKenna >> GatewayGeo: Developers of MS4W, MapServer Consulting and Training >> co-founder of FOSS4G >> http://gatewaygeo.com/ >> >> >> >> On 2023-05-04 2:13 p.m., Jeff McKenna wrote: >> > Thanks. I think you solved any validation issues ( this request would >> > not validate, for example : >> > >> https://dev.gis.lcc.mn.gov/cgi-bin/mapserv?map=/home/web/gis/tmp/mapserver/mapserver.map >> ) so it's something else, very minor likely (I've got that t-shirt too, >> ha) >> > >> > -jeff >> > >> > >> > >> > On 2023-05-04 2:00 p.m., Chris Cantey wrote: >> >> Thanks, Jeff.. I found that out, thanks. >> >> >> >> I will work down from your points. >> >> >> >> Besc, >> >> >> >> On Thu, May 4, 2023 at 11:57 AM Jeff McKenna >> >> <[email protected] <mailto:[email protected]>> >> >> >> wrote: >> >> >> >> Also note, that the regular expression "^" trick applies to the >> >> MS_MAP_PATTERN in the config file (not the MS_ERRORFILE path in the >> >> mapfile). >> >> >> >> >> >> Thanks for using MapServer Chris, >> >> >> >> -jeff >> >> >> >> >> >> >> >> -- Jeff McKenna >> >> GatewayGeo: Developers of MS4W, MapServer Consulting and Training >> >> co-founder of FOSS4G >> >> http://gatewaygeo.com/ <http://gatewaygeo.com/> >> >> >> >> >> >> On 2023-05-04 1:48 p.m., Jeff McKenna wrote: >> >> > More points for your consideration: >> >> > >> >> > - make sure all layers have a PROJECTION object >> >> > - remove any old references to the (non-standard/non-existing) >> >> > EPSG:900913, replace with EPSG:3857 (see https://epsg.io/3857 >> >> <https://epsg.io/3857> ) >> >> > - remove all warnings from your GetCapabilities response, every >> >> single >> >> > warning, there should be no warnings in the response, before you >> >> move to >> >> > testing GetMap requests >> >> > - if you have PostGIS/db connections, consider setting EXTENT >> >> at the >> >> > layer-level, to improve speed for your clients (review >> >> optimizations at >> >> > https://mapserver.org/optimization/vector.html >> >> <https://mapserver.org/optimization/vector.html> ) >> >> > - during GetMap testing, comment any TEMPLATE params in mapfile >> >> > >> >> > >> >> > -jeff >> >> > >> >> > >> >> > >> >> > >> >> >> >> _______________________________________________ >> >> MapServer-users mailing list >> >> [email protected] >> >> <mailto:[email protected]> >> >> https://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> <https://lists.osgeo.org/mailman/listinfo/mapserver-users> >> >> >> >> >> >> >> >> -- >> >> Chris Cantey >> >> geo-odyssey.com <http://geo-odyssey.com> >> > >> >> _______________________________________________ >> MapServer-users mailing list >> [email protected] >> https://lists.osgeo.org/mailman/listinfo/mapserver-users >> > > > -- > Chris Cantey > geo-odyssey.com > -- Chris Cantey geo-odyssey.com
_______________________________________________ MapServer-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users
