From jannat9211 at gmail.com Mon Oct 1 07:09:14 2018 From: jannat9211 at gmail.com (A Rawat) Date: Mon, 1 Oct 2018 19:39:14 +0530 Subject: [mapserver-users] mapserv.exe is not working offline Message-ID: hi I setup the mapserver in my windows machine and can access the map with url http://localhost/cgi-bin/mapserv.exe?mode=browse&template=openlayers&layers=all&map=C:/ms4w/apps/osm/basemaps/osm-google.map I can use the map but it Is not working in offline mode, I want to use it in offline. how can I manage that. another usage problem is I want to zoom to value let say 14 and marker on a particular lat long. Regrads Amit Rawat -------------- next part -------------- An HTML attachment was scrubbed... URL: From joerg.thomsen at wheregroup.com Mon Oct 1 07:27:52 2018 From: joerg.thomsen at wheregroup.com (=?UTF-8?Q?J=c3=b6rg_Thomsen_=28WhereGroup=29?=) Date: Mon, 1 Oct 2018 16:27:52 +0200 Subject: [mapserver-users] mapserv.exe is not working offline In-Reply-To: References: Message-ID: Hello, mapserver wants to get the OL-Template from http://mapserver.org, that's why it doesn't work offline. But you can define your own template-location (from localhost): https://mapserver.org/cgi/openlayers.html#customizing-settings J?rg Am 01.10.2018 um 16:09 schrieb A Rawat: > hi I setup the mapserver in my windows machine and can access the map > with url > http://localhost/cgi-bin/mapserv.exe?mode=browse&template=openlayers&layers=all&map=C:/ms4w/apps/osm/basemaps/osm-google.mapI > can use the map but it Is not working in offline mode, I want to use it > in offline. how can I manage that. > > > another usage problem is I want to zoom to value let say 14 and marker > on a? particular lat long.? > > > Regrads > Amit Rawat > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users > Viele Gr??e, J?rg Thomsen -- ************************************************************ INTERGEO 2018 16.- 18. Oktober 2018 in Frankfurt am Main Treffen Sie die WhereGroup an Stand 12.0A.29 in Halle 12.0 ************************************************************ J?rg Thomsen WhereGroup GmbH & Co. KG Gillweg 3 14193 Berlin Germany Fon: +49 (0)30 / 5130 278 74 Fax: +49 (0)30 / 89 09 53 21 joerg.thomsen at wheregroup.com www.wheregroup.com Amtsgericht Bonn, HRA 6788 ------------------------------- Komplement?rin: WhereGroup Verwaltungs GmbH vertreten durch: Olaf Knopp, Peter Stamm ------------------------------- Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com From jmckenna at gatewaygeomatics.com Mon Oct 1 07:38:43 2018 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Mon, 1 Oct 2018 11:38:43 -0300 Subject: [mapserver-users] mapserv.exe is not working offline In-Reply-To: References: Message-ID: <443a29ef-9e78-4f09-b2be-27e82abcfc82@gatewaygeomatics.com> Hi Amit, You can also view your map through CGI mode, which will work offline, such as: http://localhost/cgi-bin/mapserv.exe?mode=map&layers=all&map=C:/ms4w/apps/osm/basemaps/osm-google.map Thanks for using MS4W to share your geo information :) -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ On 2018-10-01 11:09 AM, A Rawat wrote: > hi I setup the mapserver in my windows machine and can access the map > with url > http://localhost/cgi-bin/mapserv.exe?mode=browse&template=openlayers&layers=all&map=C:/ms4w/apps/osm/basemaps/osm-google.mapI > can use the map but it Is not working in offline mode, I want to use it > in offline. how can I manage that. > > > another usage problem is I want to zoom to value let say 14 and marker > on a? particular lat long. > > > Regrads > Amit Rawat > > From steve.lime at state.mn.us Mon Oct 1 14:00:34 2018 From: steve.lime at state.mn.us (Lime, Steve D (MNIT)) Date: Mon, 1 Oct 2018 21:00:34 +0000 Subject: [mapserver-users] MapServer 7.2.1 Released Message-ID: The maintenance release of MapServer 7.2.1 is now available for download: http://mapserver.org/download.html For a list of changes please see the changelog at https://mapserver.org/development/changelog/changelog-7-2.html Thank you to all of the users, developers, documenters, and packagers for sharing the passion for such a great OSGeo project. -- The MapServer Team -------------- next part -------------- An HTML attachment was scrubbed... URL: From public at postholer.com Tue Oct 2 09:03:37 2018 From: public at postholer.com (Scott) Date: Tue, 2 Oct 2018 09:03:37 -0700 Subject: [mapserver-users] SVG relative points Message-ID: <97e05704-cb66-2c0b-70e0-a532cd23a389@postholer.com> Is there a mapfile configuration option for specifying how the output svg geometry is created? Specifically, relative geometry instead of absolute. For instance, to get relative geometry using postgis I can do this: st_assvg(geom, 1, 0) ...which says output geom, in relative geometry (1) and number of decimal places(0). Relative geometry and no decimal places (ie, epsg 3857, meters) reduces the resulting svg significantly. Your thoughts? -- www.postholer.com From jannat9211 at gmail.com Wed Oct 3 03:42:12 2018 From: jannat9211 at gmail.com (A Rawat) Date: Wed, 3 Oct 2018 16:12:12 +0530 Subject: [mapserver-users] Zoom to a vlaue with center at a latitude and longitude with marker Message-ID: Hi, thanks for your reply, now I can view the map in offline mode with this url http://localhost/cgi-bin/mapserv.exe?template=openlayers&mode=browse&layers=all&map=C:/ms4w/apps/osm/basemaps1/osm-google.map I also want to show a marker on a lat long with zoom. form my application I can get a single lat long, how can I set BBOX. and I think BBox is bounding box, a part of the map I wan to show. am I right? Regards Amit Rawat -------------- next part -------------- An HTML attachment was scrubbed... URL: From jannat9211 at gmail.com Wed Oct 3 06:59:08 2018 From: jannat9211 at gmail.com (A Rawat) Date: Wed, 3 Oct 2018 19:29:08 +0530 Subject: [mapserver-users] Create marker for a lat long and set zoom In-Reply-To: References: Message-ID: Hi, thanks for your reply, now I can view the map in offline mode with this url http://localhost/cgi-bin/mapserv.exe?template=openlayers&mode=browse&layers=all&map=C:/ms4w/apps/osm/basemaps1/osm-google.map I also want to show a marker on a lat long with zoom. form my application I can get a single lat long, how can I set BBOX. and I think BBox is bounding box, a part of the map I wan to show. am I right? how can I get this value for a lat long. Regards Amit Rawat On Wed, 3 Oct 2018 at 00:31, wrote: > Send mapserver-users mailing list submissions to > mapserver-users at lists.osgeo.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.osgeo.org/mailman/listinfo/mapserver-users > or, via email, send a message with subject or body 'help' to > mapserver-users-request at lists.osgeo.org > > You can reach the person managing the list at > mapserver-users-owner at lists.osgeo.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of mapserver-users digest..." > > > Today's Topics: > > 1. MapServer 7.2.1 Released (Lime, Steve D (MNIT)) > 2. SVG relative points (Scott) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 1 Oct 2018 21:00:34 +0000 > From: "Lime, Steve D (MNIT)" > To: "mapserver-dev at lists.osgeo.org" , > "mapserver-users at lists.osgeo.org" > > Subject: [mapserver-users] MapServer 7.2.1 Released > Message-ID: > < > BL0PR0901MB230616E449A2179B60C65289DAEF0 at BL0PR0901MB2306.namprd09.prod.outlook.com > > > > Content-Type: text/plain; charset="utf-8" > > The maintenance release of MapServer 7.2.1 is now available for download: > > > > http://mapserver.org/download.html > > > > For a list of changes please see the changelog at > https://mapserver.org/development/changelog/changelog-7-2.html > > > > Thank you to all of the users, developers, documenters, and packagers for > sharing the passion for such a great OSGeo project. > > > > -- > > The MapServer Team > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.osgeo.org/pipermail/mapserver-users/attachments/20181001/b5c69aad/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Tue, 2 Oct 2018 09:03:37 -0700 > From: Scott > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] SVG relative points > Message-ID: <97e05704-cb66-2c0b-70e0-a532cd23a389 at postholer.com> > Content-Type: text/plain; charset=utf-8; format=flowed > > Is there a mapfile configuration option for specifying how the output > svg geometry is created? Specifically, relative geometry instead of > absolute. > > For instance, to get relative geometry using postgis I can do this: > > st_assvg(geom, 1, 0) > > ...which says output geom, in relative geometry (1) and number of > decimal places(0). > > Relative geometry and no decimal places (ie, epsg 3857, meters) reduces > the resulting svg significantly. > > Your thoughts? > > -- > www.postholer.com > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users > > ------------------------------ > > End of mapserver-users Digest, Vol 129, Issue 2 > *********************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmckenna at gatewaygeomatics.com Wed Oct 3 07:17:17 2018 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Wed, 3 Oct 2018 11:17:17 -0300 Subject: [mapserver-users] Create marker for a lat long and set zoom In-Reply-To: References: Message-ID: <991e2fee-3f8d-f5b4-0172-3f5fd3807bab@gatewaygeomatics.com> Hi Amit, Since you are using MS4W, it comes with many front-end packages that are pre-configured for MS4W users (including GeoMoose, Mapbender, and others), allowing you to easily create those front-end mapping features that you need. You can see the full list of packages here https://ms4w.com/download.html#applications-packaged-for-ms4w (there is a total of around 70 mapfiles and data included in these, configured and ready for you to use; so in other words, you can modify any of those packages and point it to your own mapfile and have a full front-end interface). Packages such as GeoMoose, Mapbender, others of course have their own mailing lists/forums for further questions. But I hope MS4W gets you going in the right direction, and fast :) thanks, -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ On 2018-10-03 10:59 AM, A Rawat wrote: > Hi, > > thanks for your reply, now I can view the map in offline mode with this > url > http://localhost/cgi-bin/mapserv.exe?template=openlayers&mode=browse&layers=all&map=C:/ms4w/apps/osm/basemaps1/osm-google.map > > > I also want to show a marker on a lat long with zoom. > > form my application I can get a single lat long, > how can I set BBOX. > and I think BBox? is bounding box, a part of the map I wan to show. am I > right? > how can I get this value for a lat long. > > Regards > Amit Rawat > > > On Wed, 3 Oct 2018 at 00:31, > wrote: > > Send mapserver-users mailing list submissions to > mapserver-users at lists.osgeo.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.osgeo.org/mailman/listinfo/mapserver-users > or, via email, send a message with subject or body 'help' to > mapserver-users-request at lists.osgeo.org > > > You can reach the person managing the list at > mapserver-users-owner at lists.osgeo.org > > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of mapserver-users digest..." > > > Today's Topics: > > ? ?1. MapServer 7.2.1 Released (Lime, Steve D (MNIT)) > ? ?2. SVG relative points (Scott) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 1 Oct 2018 21:00:34 +0000 > From: "Lime, Steve D (MNIT)" > > To: "mapserver-dev at lists.osgeo.org > " > >, > ? ? ? ? "mapserver-users at lists.osgeo.org > " > > > Subject: [mapserver-users] MapServer 7.2.1 Released > Message-ID: > > > > > Content-Type: text/plain; charset="utf-8" > > The maintenance release of MapServer 7.2.1 is now available for > download: > > > > http://mapserver.org/download.html > > > > For a list of changes please see the changelog at > https://mapserver.org/development/changelog/changelog-7-2.html > > > > Thank you to all of the users, developers, documenters, and > packagers for sharing the passion for such a great OSGeo project. > > > > -- > > The MapServer Team > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > > ------------------------------ > > Message: 2 > Date: Tue, 2 Oct 2018 09:03:37 -0700 > From: Scott > > To: mapserver-users at lists.osgeo.org > > Subject: [mapserver-users] SVG relative points > Message-ID: <97e05704-cb66-2c0b-70e0-a532cd23a389 at postholer.com > > > Content-Type: text/plain; charset=utf-8; format=flowed > > Is there a mapfile configuration option for specifying how the output > svg geometry is created? Specifically, relative geometry instead of > absolute. > > For instance, to get relative geometry using postgis I can do this: > > st_assvg(geom, 1, 0) > > ...which says output geom, in relative geometry (1) and number of > decimal places(0). > > Relative geometry and no decimal places (ie, epsg 3857, meters) reduces > the resulting svg significantly. > > Your thoughts? > > -- > www.postholer.com > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users > > ------------------------------ > > End of mapserver-users Digest, Vol 129, Issue 2 > *********************************************** > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users > From robert.miller at floodbroker.com Fri Oct 5 13:12:49 2018 From: robert.miller at floodbroker.com (Robert Miller) Date: Fri, 5 Oct 2018 16:12:49 -0400 Subject: [mapserver-users] A couple of mapcache questions Message-ID: <01fe801d-7233-1722-d387-c79d4e96b448@floodbroker.com> I'm trying to get my head around mapserver after using geoserver for a year or so.? I'm really impressed so far with the speed and ability of mapserver.? I've got a layer up and running on a WMS service and it works just I'd like. My question pertains to mapcache.? After a fair amount of head scratching, I've got mapcache serving up the tiles, but with a couple of issues... 1. The layer is basically a grid structure - so a bunch of black lines.? When I load the layer in QGIS the lines disappear 5 or 6 zoom levels out.? I adapted the grid from WGS84 (my layer uses epsg:4269), and I don't really understand resolutions, so I'm thinking that might be the issue.? I tried tweaking the values and everything I did just turned the whole layer black. 2. Although the mapserver WMS service generates a transparent layer, webcache is sending me a layer with an opaque white background. I've tried googling and searching the archive for an understanding of #1 and haven't found anything.? As for #2, I don't know where to start.? So any help would be much appreciated. Thanks, Bob Miller From robert.miller at floodbroker.com Fri Oct 5 13:16:43 2018 From: robert.miller at floodbroker.com (Robert Miller) Date: Fri, 5 Oct 2018 16:16:43 -0400 Subject: [mapserver-users] Sorry - config files Message-ID: <0688a2b4-4b56-3de4-3958-1025eaac8f85@floodbroker.com> Sorry, I forgot to include my config! floodbroker.map ............ MAP ??? CONFIG "PROJ_LIB" "/usr/share/proj" ??? CONFIG "MS_ERRORFILE" "log/mapserver.log" ??? DEBUG 1 ??? NAME??? ??? "Floodbroker" ??? SIZE??? 800 600 ??? WEB ??? ??? IMAGEPATH??? "/home/rmiller/mapserver/images/" ??? ??? IMAGEURL??? "http://moss.shimill.net/mapserver/images/" ??? ??? TEMPLATE "template.html" ??? END ??? EXTENT??? -170.875000074836 -14.4375082555395 145.875000039002 66.6250124339811 ??? PROJECTION ??? ??? "init=epsg:4269" ??? END ??? LAYER ??? ??? DEBUG 1 ??? ??? NAME "s_firm_pan" ??? ??? STATUS ON ??? ??? TYPE POLYGON ??? ??? EXTENT??? -124.913291931152 24.4082794189453 66.6804580688477 49.247974395752 ??? ??? CONNECTIONTYPE POSTGIS ??? ??? CONNECTION "host=localhost dbname=newco_dev user=rmiller port=5432" ??? ??? DATA "wkb_geometry FROM public.s_firm_pan" ??? ??? METADATA ??? ??? ??? "wms_enable_request"??? "*" ??? ??? ??? "wms_srs"??? ??? ??? ??? "epsg:4269" ??? ??? ??? "wms_title"??? ??? ??? ??? "DFIRM Panels" ??? ??? ??? "title"??? ??? ??? ??? ??? "DFIRM Panels" ??? ??? END ??? ??? PROJECTION ??? ??? ??? "init=epsg:4269" ??? ??? END mapcache.xml ... ??? ??? ??? Floodbroker Caching WMS Service ??? ??? ??? ??? assemble ??? ??? ??? ??? http://moss.shimilla.net/mapserver/mapserv.fcgi 20 ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? image/png ??? ??? ??? ??? s_firm_pan ??? ??? ??? ??? ??? ??? ??? ??? ??? /var/mapcache ??? ??? ??? ??? ??? ??? fast ??? ??? 256 ??? ??? ??? ??? ??? ??? ??? NAD83 ??? ??? ??? ??? dd ??? ??? -180 -90 180 90 ??? ??? EPSG:4269 ??? ??? dd ??? ??? 256 256 ??? ??? ??? ??? ??? 0.703125000000000 ??? ??? ??? 0.351562500000000 ??? ??? ??? 0.175781250000000 ??? ??? ??? 8.78906250000000e-2 ??? ??? ??? 4.39453125000000e-2 ??? ??? ??? 2.19726562500000e-2 ??? ??? ??? 1.09863281250000e-2 ??? ??? ??? 5.49316406250000e-3 ??? ??? ??? 2.74658203125000e-3 ??? ??? ??? 1.37329101562500e-3 ??? ??? ??? 6.86645507812500e-4 ??? ??? ??? 3.43322753906250e-4 ??? ??? ??? 1.71661376953125e-4 ??? ??? ??? 8.58306884765625e-5 ??? ??? ??? 4.29153442382812e-5 ??? ??? ??? 2.14576721191406e-5 ??? ??? ??? 1.07288360595703e-5 ??? ??? ??? 5.36441802978516e-6 ??? ??? ??? ??? ??? ??? floodbroker ??? ??? floodbroker ??? ??? NAD83 ??? ??? ??? ??? ??? Floodbroker ??? ??? ??? ??? PNGQ_FAST ??? ??? 5 5 ??? ??? 10 ??? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonathan-lists at lightpear.com Sat Oct 6 12:08:45 2018 From: jonathan-lists at lightpear.com (Jonathan Moules) Date: Sat, 6 Oct 2018 20:08:45 +0100 Subject: [mapserver-users] Getting all endpoints on a single MapServer instance Message-ID: <92a837a1-0334-a0e3-6757-bdee4bc223f9@lightpear.com> Hi List, Is there a way to get all the endpoints (maps) that are available from a given server? Or put another way, take this example where these two URL's both use different map files, and so have different layers (one is pointing to "wms_4km_modisa-bbp.map", the other to "wms_9km_seawifs-pp.map"): http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_4km_modisa-bbp.map&service=wms&request=getcapabilities http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_9km_seawifs-pp.map&service=wms&request=getcapabilities If I only knew one of those URL's, would it be possible for me to figure out the other one, ideally via a GET request? Thanks, Jonathan From Robert.Sanson at asurequality.com Sun Oct 7 13:12:06 2018 From: Robert.Sanson at asurequality.com (Robert Sanson) Date: Sun, 7 Oct 2018 20:12:06 +0000 Subject: [mapserver-users] Getting all endpoints on a single MapServer instance In-Reply-To: <92a837a1-0334-a0e3-6757-bdee4bc223f9@lightpear.com> References: <92a837a1-0334-a0e3-6757-bdee4bc223f9@lightpear.com> Message-ID: Hi Jonathan No, you can't get all end points. The GetCapabilities response only rturns what is listed in the specific map file. Regards Robert -----Original Message----- From: mapserver-users On Behalf Of Jonathan Moules Sent: Sunday, 7 October 2018 8:09 a.m. To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Getting all endpoints on a single MapServer instance Hi List, Is there a way to get all the endpoints (maps) that are available from a given server? Or put another way, take this example where these two URL's both use different map files, and so have different layers (one is pointing to "wms_4km_modisa-bbp.map", the other to "wms_9km_seawifs-pp.map"): http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_4km_modisa-bbp.map&service=wms&request=getcapabilities http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_9km_seawifs-pp.map&service=wms&request=getcapabilities If I only knew one of those URL's, would it be possible for me to figure out the other one, ideally via a GET request? Thanks, Jonathan _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users From deduikertjes at xs4all.nl Sun Oct 7 23:24:31 2018 From: deduikertjes at xs4all.nl (Marco) Date: Mon, 8 Oct 2018 08:24:31 +0200 Subject: [mapserver-users] Getting all endpoints on a single MapServer instance In-Reply-To: <92a837a1-0334-a0e3-6757-bdee4bc223f9@lightpear.com> References: <92a837a1-0334-a0e3-6757-bdee4bc223f9@lightpear.com> Message-ID: No. Mapserver is completely stateless. It loads the file specified in the request and parses it as a map file. That file can be any file on the file system which is readable by mapserver. Mapserver has no configuration file holding the files which are regarded as mapfiles. MArcp On 06-10-18 21:08, Jonathan Moules wrote: > Hi List, > > Is there a way to get all the endpoints (maps) that are available from > a given server? > > Or put another way, take this example where these two URL's both use > different map files, and so have different layers (one is pointing to > "wms_4km_modisa-bbp.map", the other to "wms_9km_seawifs-pp.map"): > > http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_4km_modisa-bbp.map&service=wms&request=getcapabilities > > > http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_9km_seawifs-pp.map&service=wms&request=getcapabilities > > > If I only knew one of those URL's, would it be possible for me to > figure out the other one, ideally via a GET request? > > Thanks, > Jonathan > > > From jonathan-lists at lightpear.com Mon Oct 8 01:14:17 2018 From: jonathan-lists at lightpear.com (Jonathan Moules) Date: Mon, 8 Oct 2018 09:14:17 +0100 Subject: [mapserver-users] Getting all endpoints on a single MapServer instance In-Reply-To: References: <92a837a1-0334-a0e3-6757-bdee4bc223f9@lightpear.com> Message-ID: <5f8467e1-8bd4-8083-26bd-d8dc87423974@lightpear.com> Thanks both for the answer. That's a shame, but it's good to know. Thanks again! On 2018-10-08 07:24, Marco wrote: > No. > > Mapserver is completely stateless. It loads the file specified in the > request and parses it as a map file. That file can be any file on the > file system which is readable by mapserver. > > Mapserver has no configuration file holding the files which are > regarded as mapfiles. > > MArcp > > > On 06-10-18 21:08, Jonathan Moules wrote: >> Hi List, >> >> Is there a way to get all the endpoints (maps) that are available >> from a given server? >> >> Or put another way, take this example where these two URL's both use >> different map files, and so have different layers (one is pointing to >> "wms_4km_modisa-bbp.map", the other to "wms_9km_seawifs-pp.map"): >> >> http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_4km_modisa-bbp.map&service=wms&request=getcapabilities >> >> >> http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_9km_seawifs-pp.map&service=wms&request=getcapabilities >> >> >> If I only knew one of those URL's, would it be possible for me to >> figure out the other one, ideally via a GET request? >> >> Thanks, >> Jonathan >> >> >> From jpass at bgs.ac.uk Mon Oct 8 02:59:31 2018 From: jpass at bgs.ac.uk (Passmore, James H.) Date: Mon, 8 Oct 2018 09:59:31 +0000 Subject: [mapserver-users] Getting all endpoints on a single MapServer instance Message-ID: > Is there a way to get all the endpoints (maps) that are available from a given server? I hope not, each service should be isolated from another. To find different services from a single provider you should search some metadata catalogue, perhaps: http://mcc.jrc.ec.europa.eu/emis/dev.py?N=42&O=277&titre_page=Catalogue%20Service%20(CSW)&titre_chap=Data%20access James -----Original Message----- Today's Topics: 1. Getting all endpoints on a single MapServerinstance (Jonathan Moules) ---------------------------------------------------------------------- Message: 1 Date: Sat, 6 Oct 2018 20:08:45 +0100 From: Jonathan Moules To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Getting all endpoints on a single MapServer instance Message-ID: <92a837a1-0334-a0e3-6757-bdee4bc223f9 at lightpear.com> Content-Type: text/plain; charset=utf-8; format=flowed Hi List, Is there a way to get all the endpoints (maps) that are available from a given server? Or put another way, take this example where these two URL's both use different map files, and so have different layers (one is pointing to "wms_4km_modisa-bbp.map", the other to "wms_9km_seawifs-pp.map"): http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_4km_modisa-bbp.map&service=wms&request=getcapabilities http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_9km_seawifs-pp.map&service=wms&request=getcapabilities If I only knew one of those URL's, would it be possible for me to figure out the other one, ideally via a GET request? Thanks, Jonathan ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ From steve.lime at state.mn.us Mon Oct 8 07:53:52 2018 From: steve.lime at state.mn.us (Lime, Steve D (MNIT)) Date: Mon, 8 Oct 2018 14:53:52 +0000 Subject: [mapserver-users] Getting all endpoints on a single MapServer instance In-Reply-To: References: Message-ID: Correct, MapServer doesn't provide this capability. You'd have to uses a catalog services or write something custom. -----Original Message----- From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Passmore, James H. Sent: Monday, October 08, 2018 5:00 AM To: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Getting all endpoints on a single MapServer instance > Is there a way to get all the endpoints (maps) that are available from a given server? I hope not, each service should be isolated from another. To find different services from a single provider you should search some metadata catalogue, perhaps: http://mcc.jrc.ec.europa.eu/emis/dev.py?N=42&O=277&titre_page=Catalogue%20Service%20(CSW)&titre_chap=Data%20access James -----Original Message----- Today's Topics: 1. Getting all endpoints on a single MapServerinstance (Jonathan Moules) ---------------------------------------------------------------------- Message: 1 Date: Sat, 6 Oct 2018 20:08:45 +0100 From: Jonathan Moules To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Getting all endpoints on a single MapServer instance Message-ID: <92a837a1-0334-a0e3-6757-bdee4bc223f9 at lightpear.com> Content-Type: text/plain; charset=utf-8; format=flowed Hi List, Is there a way to get all the endpoints (maps) that are available from a given server? Or put another way, take this example where these two URL's both use different map files, and so have different layers (one is pointing to "wms_4km_modisa-bbp.map", the other to "wms_9km_seawifs-pp.map"): http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_4km_modisa-bbp.map&service=wms&request=getcapabilities http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_9km_seawifs-pp.map&service=wms&request=getcapabilities If I only knew one of those URL's, would it be possible for me to figure out the other one, ideally via a GET request? Thanks, Jonathan ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users From ahmettemiz88 at gmail.com Tue Oct 9 06:28:00 2018 From: ahmettemiz88 at gmail.com (Ahmet Temiz) Date: Tue, 9 Oct 2018 16:28:00 +0300 Subject: [mapserver-users] confused on WCS Message-ID: Hi, I am highly confused on WCS. I need to get one band and its data. But I think I couldn't configure my map file properly: here are the relavant parts: OUTPUTFORMAT NAME GEOTIFF_32 DRIVER "GDAL/GTiff" MIMETYPE "image/tiff" IMAGEMODE FLOAT32 #IMAGEMODE BYTE EXTENSION "tif" END ... LAYER NAME ivm_gray METADATA "wcs_label" "ivnm" ### required "wcs_rangeset_name" "ivm" ### required to support DescribeCoverage request "wcs_rangeset_label" "ivm" ### required to support DescribeCoverage request "wcs_bandcount" "1" "wcs_enable_request" "*" END TYPE RASTER ### required STATUS ON DATA 'deptiled.tif' PROJECTION "init=epsg:3857" END # if you need only the data not to display CLASS EXPRESSION ([pixel] >= 0.0 AND [pixel] < 1.0) STYLE COLORRANGE 255 255 255 0 0 0 DATARANGE 0.0 1.0 RANGEITEM "pixel" END #STYLE END #end class END --- shp2img gives one band and data . It is ok But, qgis wcs three band and data is not available. How can I solve the problem? -- Ahmet Temiz Jeoloji M?h. Afet ve Acil Durum Y?netimi Ba?kanl??? Bilgi ??lem Dairesi Ba?kanl???-CBS Grubu ________________________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob.basques at ci.stpaul.mn.us Tue Oct 9 09:54:01 2018 From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul)) Date: Tue, 9 Oct 2018 16:54:01 +0000 Subject: [mapserver-users] [Reminder] OSGeo Local Chapter (aka TCMUG) Meeting Message-ID: <09B51A78-AB52-4415-ACBC-5CF6FE12BD2A@ci.stpaul.mn.us> All, Sorry I?m late with this update, busy last half of last week. Nice meetup this past Wednesday at Lake Monster in the Midway. Didn?t catch everyone in the photo, some left before I remembered to take one. You know who you are. Anyway, some new faces and some old. Next meeting at: Location: Happy Gnome. Date: Oct. 10th. (hope folks aren?t too worn out from GIS/LIS) Time : 4:30 See you there. bobb Don?t ever wrestle with a pig. You?ll both get dirty, but the pig will enjoy it. ?Cale Yarborough -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve.lime at state.mn.us Wed Oct 10 08:37:13 2018 From: steve.lime at state.mn.us (Lime, Steve D (MNIT)) Date: Wed, 10 Oct 2018 15:37:13 +0000 Subject: [mapserver-users] A couple of mapcache questions In-Reply-To: <01fe801d-7233-1722-d387-c79d4e96b448@floodbroker.com> References: <01fe801d-7233-1722-d387-c79d4e96b448@floodbroker.com> Message-ID: Not sure if others replied off-list or not. It's hard to advise on issue 1 since the mapfile and layer definition you sent in the subsequent email was incomplete. Knowing what styles you're using and any min/max scale values would help. For issue 2 this is what I do for transparent tiles - I think you can just do one or the other but it doesn't hurt to do both: - set "true" in the WMS source definition params section. - set "TRANSPARENT TRUE" in the mapfile (at the map level). You might need to set an IMAGECOLOR too depending on what you're drawing. In this example: http://maps1.dnr.state.mn.us/lakefinder/map.html I only did the latter... --Steve -----Original Message----- From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Robert Miller Sent: Friday, October 05, 2018 3:13 PM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] A couple of mapcache questions I'm trying to get my head around mapserver after using geoserver for a year or so.? I'm really impressed so far with the speed and ability of mapserver.? I've got a layer up and running on a WMS service and it works just I'd like. My question pertains to mapcache.? After a fair amount of head scratching, I've got mapcache serving up the tiles, but with a couple of issues... 1. The layer is basically a grid structure - so a bunch of black lines.? When I load the layer in QGIS the lines disappear 5 or 6 zoom levels out.? I adapted the grid from WGS84 (my layer uses epsg:4269), and I don't really understand resolutions, so I'm thinking that might be the issue.? I tried tweaking the values and everything I did just turned the whole layer black. 2. Although the mapserver WMS service generates a transparent layer, webcache is sending me a layer with an opaque white background. I've tried googling and searching the archive for an understanding of #1 and haven't found anything.? As for #2, I don't know where to start.? So any help would be much appreciated. Thanks, Bob Miller _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users From robert.miller at floodbroker.com Wed Oct 10 09:40:14 2018 From: robert.miller at floodbroker.com (Robert Miller) Date: Wed, 10 Oct 2018 12:40:14 -0400 Subject: [mapserver-users] A couple of mapcache questions In-Reply-To: References: <01fe801d-7233-1722-d387-c79d4e96b448@floodbroker.com> Message-ID: Thanks very much for your reply.? I actually worked #1 out - I had the wrong units set in the grid. I'm only using the style in the .map file, and haven't set min and max scale at this point.? Linecolor and width are (I think) sufficient, since it's just drawing a grid. I've tried various combinations of TRANSPARENT TRUE, IMAGECOLOR "#FFFFFF" and IMAGECOLOR #000000" in the mapfile, and turning transparent on and off in the mapcache file, and I get either white or black backgrounds in the cached tiles.? The mapserver tiles look fine in all cases. Cheers, Bob On 10/10/2018 11:37 AM, Lime, Steve D (MNIT) wrote: > Not sure if others replied off-list or not. It's hard to advise on issue 1 since the mapfile and layer definition you sent in the subsequent email was incomplete. Knowing what styles you're using and any min/max scale values would help. > > For issue 2 this is what I do for transparent tiles - I think you can just do one or the other but it doesn't hurt to do both: > > - set "true" in the WMS source definition params section. > - set "TRANSPARENT TRUE" in the mapfile (at the map level). You might need to set an IMAGECOLOR too depending on what you're drawing. > > In this example: > > http://maps1.dnr.state.mn.us/lakefinder/map.html > > I only did the latter... > > --Steve > > -----Original Message----- > From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Robert Miller > Sent: Friday, October 05, 2018 3:13 PM > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] A couple of mapcache questions > > I'm trying to get my head around mapserver after using geoserver for a > year or so.? I'm really impressed so far with the speed and ability of > mapserver.? I've got a layer up and running on a WMS service and it > works just I'd like. > > My question pertains to mapcache.? After a fair amount of head > scratching, I've got mapcache serving up the tiles, but with a couple of > issues... > > 1. The layer is basically a grid structure - so a bunch of black lines. > When I load the layer in QGIS the lines disappear 5 or 6 zoom levels > out.? I adapted the grid from WGS84 (my layer uses epsg:4269), and I > don't really understand resolutions, so I'm thinking that might be the > issue.? I tried tweaking the values and everything I did just turned the > whole layer black. > > 2. Although the mapserver WMS service generates a transparent layer, > webcache is sending me a layer with an opaque white background. > > I've tried googling and searching the archive for an understanding of #1 > and haven't found anything.? As for #2, I don't know where to start.? So > any help would be much appreciated. > > Thanks, > Bob Miller > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users From steve.lime at state.mn.us Wed Oct 10 10:21:45 2018 From: steve.lime at state.mn.us (Lime, Steve D (MNIT)) Date: Wed, 10 Oct 2018 17:21:45 +0000 Subject: [mapserver-users] A couple of mapcache questions In-Reply-To: References: <01fe801d-7233-1722-d387-c79d4e96b448@floodbroker.com> Message-ID: For my example below the mapfile has: TRANSPARENT TRUE IMAGECOLOR 181 181 181 and mapcache.xml has: http://maps2.dnr.state.mn.us/cgi-bin/mapserv64? dummy false PNG24 LAKEFINDER_TILES_MAPFILE lakefinder_wms mn_google disk PNGQ_FAST 8 8 20 My mn_google grid is just the standard Google grid mapcache defines along with a limited extent. --Steve -----Original Message----- From: Robert Miller [mailto:robert.miller at floodbroker.com] Sent: Wednesday, October 10, 2018 11:40 AM To: Lime, Steve D (MNIT) ; mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] A couple of mapcache questions Thanks very much for your reply.? I actually worked #1 out - I had the wrong units set in the grid. I'm only using the style in the .map file, and haven't set min and max scale at this point.? Linecolor and width are (I think) sufficient, since it's just drawing a grid. I've tried various combinations of TRANSPARENT TRUE, IMAGECOLOR "#FFFFFF" and IMAGECOLOR #000000" in the mapfile, and turning transparent on and off in the mapcache file, and I get either white or black backgrounds in the cached tiles.? The mapserver tiles look fine in all cases. Cheers, Bob On 10/10/2018 11:37 AM, Lime, Steve D (MNIT) wrote: > Not sure if others replied off-list or not. It's hard to advise on issue 1 since the mapfile and layer definition you sent in the subsequent email was incomplete. Knowing what styles you're using and any min/max scale values would help. > > For issue 2 this is what I do for transparent tiles - I think you can just do one or the other but it doesn't hurt to do both: > > - set "true" in the WMS source definition params section. > - set "TRANSPARENT TRUE" in the mapfile (at the map level). You might need to set an IMAGECOLOR too depending on what you're drawing. > > In this example: > > http://maps1.dnr.state.mn.us/lakefinder/map.html > > I only did the latter... > > --Steve > > -----Original Message----- > From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Robert Miller > Sent: Friday, October 05, 2018 3:13 PM > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] A couple of mapcache questions > > I'm trying to get my head around mapserver after using geoserver for a > year or so.? I'm really impressed so far with the speed and ability of > mapserver.? I've got a layer up and running on a WMS service and it > works just I'd like. > > My question pertains to mapcache.? After a fair amount of head > scratching, I've got mapcache serving up the tiles, but with a couple of > issues... > > 1. The layer is basically a grid structure - so a bunch of black lines. > When I load the layer in QGIS the lines disappear 5 or 6 zoom levels > out.? I adapted the grid from WGS84 (my layer uses epsg:4269), and I > don't really understand resolutions, so I'm thinking that might be the > issue.? I tried tweaking the values and everything I did just turned the > whole layer black. > > 2. Although the mapserver WMS service generates a transparent layer, > webcache is sending me a layer with an opaque white background. > > I've tried googling and searching the archive for an understanding of #1 > and haven't found anything.? As for #2, I don't know where to start.? So > any help would be much appreciated. > > Thanks, > Bob Miller > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users From jannat9211 at gmail.com Thu Oct 11 05:21:54 2018 From: jannat9211 at gmail.com (A Rawat) Date: Thu, 11 Oct 2018 17:51:54 +0530 Subject: [mapserver-users] PHP set zoom and lat long Message-ID: Hi, I run quickmap.php file and I can get the map, how can set a zoom value and lat long for center. Thanks & Regards Amit Rawat -------------- next part -------------- An HTML attachment was scrubbed... URL: From Glenn.Burkhardt at utas.utc.com Thu Oct 11 09:59:51 2018 From: Glenn.Burkhardt at utas.utc.com (Burkhardt, Glenn B UTAS) Date: Thu, 11 Oct 2018 16:59:51 +0000 Subject: [mapserver-users] mapcache's Mapserver mapfile feature Message-ID: I came across a previous post that has piqued my interest: https://lists.osgeo.org/pipermail/mapserver-users/2013-September/075296.html The code to have Mapcache use a Mapserver's map file is still in the code base. Why isn't this feature documented? Was it experimental at one time, and didn't quite make it to prime time? It looks like it could be very useful to minimize the configuration needed to get Mapcache up and running. From bob.basques at ci.stpaul.mn.us Thu Oct 11 11:09:35 2018 From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul)) Date: Thu, 11 Oct 2018 18:09:35 +0000 Subject: [mapserver-users] [Reminder] OSGeo Local Chapter (aka TCMUG) Meeting Message-ID: All, Last meetup was a good one. A good time was had by all. Next meeting will be at: Location: Birch?s Lowertown 289 5th Street E St. Paul, MN 55101 www.birchslowertown.com Date: Wednesday Nov. 14th Time: 4:30 See you there. bobb -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonathan-lists at lightpear.com Sat Oct 13 07:33:24 2018 From: jonathan-lists at lightpear.com (Jonathan Moules) Date: Sat, 13 Oct 2018 15:33:24 +0100 Subject: [mapserver-users] Getting all endpoints on a single MapServer instance In-Reply-To: References: Message-ID: <542945e4-eb83-7fc6-d297-a3a298ef0aa8@lightpear.com> I figure it's reasonable to assume that not all services end up in the catalogues (for lots of reasons) - I'm already looking in lots of catalogues - so I was hoping there was another way to get the other endpoints if you already had at least one map on that server. But if it can't be done, then it can't be done. Thanks again, Jonathan On 2018-10-08 15:53, Lime, Steve D (MNIT) wrote: > Correct, MapServer doesn't provide this capability. You'd have to uses a catalog services or write something custom. > > -----Original Message----- > From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Passmore, James H. > Sent: Monday, October 08, 2018 5:00 AM > To: mapserver-users at lists.osgeo.org > Subject: Re: [mapserver-users] Getting all endpoints on a single MapServer instance > >> Is there a way to get all the endpoints (maps) that are available from a given server? > I hope not, each service should be isolated from another. > > To find different services from a single provider you should search some metadata catalogue, perhaps: > > http://mcc.jrc.ec.europa.eu/emis/dev.py?N=42&O=277&titre_page=Catalogue%20Service%20(CSW)&titre_chap=Data%20access > > James > > -----Original Message----- > Today's Topics: > > 1. Getting all endpoints on a single MapServerinstance > (Jonathan Moules) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 6 Oct 2018 20:08:45 +0100 > From: Jonathan Moules > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] Getting all endpoints on a single MapServer > instance > Message-ID: <92a837a1-0334-a0e3-6757-bdee4bc223f9 at lightpear.com> > Content-Type: text/plain; charset=utf-8; format=flowed > > Hi List, > > Is there a way to get all the endpoints (maps) that are available from a given server? > > Or put another way, take this example where these two URL's both use different map files, and so have different layers (one is pointing to "wms_4km_modisa-bbp.map", the other to "wms_9km_seawifs-pp.map"): > > http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_4km_modisa-bbp.map&service=wms&request=getcapabilities > > http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_9km_seawifs-pp.map&service=wms&request=getcapabilities > > If I only knew one of those URL's, would it be possible for me to figure out the other one, ideally via a GET request? > > Thanks, > Jonathan > ________________________________ > This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. > ________________________________ > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users From jukka.rahkonen at maanmittauslaitos.fi Wed Oct 17 04:30:28 2018 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Wed, 17 Oct 2018 11:30:28 +0000 Subject: [mapserver-users] mapcache fastcgi Message-ID: Hi, Could you explain your plan with some more details? What I have understood is that you have experienced that SQLite cache is slower than disk cache in your environment. What I do not understand is what you are going to reach by running Mapcache as fastcgi instead of running it as Apache module which should be the faster option, and if this has some connection with the SQLite cache vs. disk cache comparison. Do you guess that fastcgi woud make SQLite cache faster? -Jukka Rahkonen- L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Sebastiano Laini L?hetetty: 17. lokakuuta 2018 12:16 Vastaanottaja: 'mapserver-users at lists.osgeo.org' Aihe: [mapserver-users] mapcache fastcgi Hi all, In the end I tried MapCache with sqlite3 cache but it's very slow compared with the disk cache, so I want to setup MapCache with fastCGI on CentOS 7. I don't understand what I need to install as the fastCGI link in the documentation is broken and I don't know if is up to date. I already have apache fgcid installed from default in the httpd folder and I use PHP in fastCGI in all the domains, so I'm sure that fastCGI it works, though, I still need the fastCGI library? How can I install it in CentOS 7? In my apache conf I've already added the lines to load the mapcache module and the mapcache.xml file LoadModule mapcache_module modules/mod_mapcache.so Require all granted MapCacheAlias /mapcache "/path/to/directory/mapcache.xml" I need to leave the previous configuration and add these new lines in the conf files? FcgidInitialEnv "MAPCACHE_CONFIG_FILE" "/path/to/mapcache/mapcache.xml IPCCommTimeout 120 MaxProcessCount 10 FcgidInitialEnv "MAPCACHE_CONFIG_FILE" "/path/to/mapcache/mapcache.xml" Order Allow,Deny Allow from all SetHandler fcgid-script ScriptAlias /map.fcgi "/path/to/mapcache/src/mapcache" And then instead of http://myserver/mapcache I need to use http://myserver/fcgi-bin to access mapcache fcgi? Regards, Sebastiano Laini Web Developer Buchanan Computing -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at maanmittauslaitos.fi Wed Oct 17 04:39:06 2018 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Wed, 17 Oct 2018 11:39:06 +0000 Subject: [mapserver-users] mapcache fastcgi In-Reply-To: <3e25da6da37d40419c9db335274f9b3a@BCExchange.BuchananComputing.co.uk> References: <3e25da6da37d40419c9db335274f9b3a@BCExchange.BuchananComputing.co.uk> Message-ID: Hi, That documentation is about Mapserver, Mapcache is another software. It does belong to the same Mapserver but is not the same. MapCache is documented here: https://mapserver.org/mapcache/index.html#mapcache -Jukka Rahkonen- L?hett?j?: Sebastiano Laini [mailto:Sebastiano.Laini at BuchananComputing.co.uk] L?hetetty: 17. lokakuuta 2018 14:33 Vastaanottaja: 'mapserver-users at lists.osgeo.org' Kopio: Rahkonen Jukka (MML) Aihe: RE: mapcache fastcgi Well, for what I can read in the documentation of mapserver: https://mapserver.org/optimization/fastcgi.html FastCGI is a protocol for keeping cgi-bin style web applications running as a daemon to take advantage of preserving memory caches, and amortizing other high startup costs (like heavy database connections) over many requests. It seems that using mapcache as fastCGI over apache modules it that should improve speed also. Sebastiano Laini Web Developer Buchanan Computing From: Rahkonen Jukka (MML) [mailto:jukka.rahkonen at maanmittauslaitos.fi] Sent: 17 October 2018 12:30 To: Sebastiano Laini >; 'mapserver-users at lists.osgeo.org' > Subject: Re: mapcache fastcgi Hi, Could you explain your plan with some more details? What I have understood is that you have experienced that SQLite cache is slower than disk cache in your environment. What I do not understand is what you are going to reach by running Mapcache as fastcgi instead of running it as Apache module which should be the faster option, and if this has some connection with the SQLite cache vs. disk cache comparison. Do you guess that fastcgi woud make SQLite cache faster? -Jukka Rahkonen- L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Sebastiano Laini L?hetetty: 17. lokakuuta 2018 12:16 Vastaanottaja: 'mapserver-users at lists.osgeo.org' > Aihe: [mapserver-users] mapcache fastcgi Hi all, In the end I tried MapCache with sqlite3 cache but it's very slow compared with the disk cache, so I want to setup MapCache with fastCGI on CentOS 7. I don't understand what I need to install as the fastCGI link in the documentation is broken and I don't know if is up to date. I already have apache fgcid installed from default in the httpd folder and I use PHP in fastCGI in all the domains, so I'm sure that fastCGI it works, though, I still need the fastCGI library? How can I install it in CentOS 7? In my apache conf I've already added the lines to load the mapcache module and the mapcache.xml file LoadModule mapcache_module modules/mod_mapcache.so Require all granted MapCacheAlias /mapcache "/path/to/directory/mapcache.xml" I need to leave the previous configuration and add these new lines in the conf files? FcgidInitialEnv "MAPCACHE_CONFIG_FILE" "/path/to/mapcache/mapcache.xml IPCCommTimeout 120 MaxProcessCount 10 FcgidInitialEnv "MAPCACHE_CONFIG_FILE" "/path/to/mapcache/mapcache.xml" Order Allow,Deny Allow from all SetHandler fcgid-script ScriptAlias /map.fcgi "/path/to/mapcache/src/mapcache" And then instead of http://myserver/mapcache I need to use http://myserver/fcgi-bin to access mapcache fcgi? Regards, Sebastiano Laini Web Developer Buchanan Computing -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at maanmittauslaitos.fi Wed Oct 17 04:44:13 2018 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Wed, 17 Oct 2018 11:44:13 +0000 Subject: [mapserver-users] mapcache fastcgi Message-ID: <5c2cc75f7a114a90a3caba1ba8764500@C119S212VM042.msvyvi.vaha.local> Sorry, MapCache documentation has link to that page as well. Anyway, my understanding is that Apache module is the fastest alternative and cgi/fcgi exist mainly to be used with other http servers than Apache. Keywords from presentation https://www.slideshare.net/tbonfort/modgeocache-mapcache-a-fast-tiling-solution-for-the-apache-web-server. I hope that developers can confirm if I have understood right. Apache module?? Module = code run by the apache processes that treat requests?? Native code?? No overhead (e.g. CGI, FastCGI)?? Does not require spawning an interpreter per concurrent request?? Caveats: ?? Thread/process synchronization ?? Memory management ?? Security -Jukka- Rahkonen- L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Rahkonen Jukka (MML) L?hetetty: 17. lokakuuta 2018 14:39 Vastaanottaja: Sebastiano Laini ; 'mapserver-users at lists.osgeo.org' Aihe: Re: [mapserver-users] mapcache fastcgi Hi, That documentation is about Mapserver, Mapcache is another software. It does belong to the same Mapserver but is not the same. MapCache is documented here: https://mapserver.org/mapcache/index.html#mapcache -Jukka Rahkonen- L?hett?j?: Sebastiano Laini [mailto:Sebastiano.Laini at BuchananComputing.co.uk] L?hetetty: 17. lokakuuta 2018 14:33 Vastaanottaja: 'mapserver-users at lists.osgeo.org' > Kopio: Rahkonen Jukka (MML) > Aihe: RE: mapcache fastcgi Well, for what I can read in the documentation of mapserver: https://mapserver.org/optimization/fastcgi.html FastCGI is a protocol for keeping cgi-bin style web applications running as a daemon to take advantage of preserving memory caches, and amortizing other high startup costs (like heavy database connections) over many requests. It seems that using mapcache as fastCGI over apache modules it that should improve speed also. Sebastiano Laini Web Developer Buchanan Computing From: Rahkonen Jukka (MML) [mailto:jukka.rahkonen at maanmittauslaitos.fi] Sent: 17 October 2018 12:30 To: Sebastiano Laini >; 'mapserver-users at lists.osgeo.org' > Subject: Re: mapcache fastcgi Hi, Could you explain your plan with some more details? What I have understood is that you have experienced that SQLite cache is slower than disk cache in your environment. What I do not understand is what you are going to reach by running Mapcache as fastcgi instead of running it as Apache module which should be the faster option, and if this has some connection with the SQLite cache vs. disk cache comparison. Do you guess that fastcgi woud make SQLite cache faster? -Jukka Rahkonen- L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Sebastiano Laini L?hetetty: 17. lokakuuta 2018 12:16 Vastaanottaja: 'mapserver-users at lists.osgeo.org' > Aihe: [mapserver-users] mapcache fastcgi Hi all, In the end I tried MapCache with sqlite3 cache but it?s very slow compared with the disk cache, so I want to setup MapCache with fastCGI on CentOS 7. I don?t understand what I need to install as the fastCGI link in the documentation is broken and I don?t know if is up to date. I already have apache fgcid installed from default in the httpd folder and I use PHP in fastCGI in all the domains, so I?m sure that fastCGI it works, though, I still need the fastCGI library? How can I install it in CentOS 7? In my apache conf I?ve already added the lines to load the mapcache module and the mapcache.xml file LoadModule mapcache_module modules/mod_mapcache.so Require all granted MapCacheAlias /mapcache "/path/to/directory/mapcache.xml" I need to leave the previous configuration and add these new lines in the conf files? FcgidInitialEnv "MAPCACHE_CONFIG_FILE" "/path/to/mapcache/mapcache.xml IPCCommTimeout 120 MaxProcessCount 10 FcgidInitialEnv "MAPCACHE_CONFIG_FILE" "/path/to/mapcache/mapcache.xml" Order Allow,Deny Allow from all SetHandler fcgid-script ScriptAlias /map.fcgi "/path/to/mapcache/src/mapcache" And then instead of http://myserver/mapcache I need to use http://myserver/fcgi-bin to access mapcache fcgi? Regards, Sebastiano Laini Web Developer Buchanan Computing -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at maanmittauslaitos.fi Wed Oct 17 05:34:30 2018 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Wed, 17 Oct 2018 12:34:30 +0000 Subject: [mapserver-users] mapcache fastcgi Message-ID: <1d7dfcf942714a0e9f9660f3ca6c090a@C119S212VM042.msvyvi.vaha.local> Hi, In which way does the slowness appear? Is it when seeding or when serving from a pre-seeded cache? Can you give metrics about the difference in speed? In this comparison the differences were rather small http://blog.sogeo.services/blog/2016/07/01/mapcache-disk-vs-sqlite.html Also by the documentation the speed should be only "a bit slower" The SQLite based caches are a bit slower than the disk based caches, and may have write-locking issues at seed time if a high number of threads all try to insert new tiles concurrently. You wrote that SQLite cache is very slow for you which makes me think that there is something sub-optimal in your installation. First thing to check is if the SQLite database is on a fast disk. If SQLite cache is slow then MBTiles cache should be slow as well but I would make a test to be sure. -Jukka Rahkonen- L?hett?j?: Sebastiano Laini [mailto:Sebastiano.Laini at BuchananComputing.co.uk] L?hetetty: 17. lokakuuta 2018 15:00 Vastaanottaja: 'mapserver-users at lists.osgeo.org' Kopio: Rahkonen Jukka (MML) Aihe: RE: mapcache fastcgi Is there a way to improve the speed and match the speed of the sqLite3 cache with the disk one? We have 80 websites connected to MapCache and when I tried the sqLite3 I was testing it just on one website and on a complete different server with nothing in it. Sebastiano Laini Web Developer Buchanan Computing From: Sebastiano Laini Sent: 17 October 2018 12:43 To: 'mapserver-users at lists.osgeo.org' > Cc: 'Rahkonen Jukka (MML)' > Subject: RE: mapcache fastcgi Still it redirect you to that link, and btw it seems that mapcache can be used also as a fastCGI. https://mapserver.org/mapcache/install.html#cgi-fastcgi-specific-instructions Though is true that I'm reading now in the CMaker Builder section MapCache can run as a FastCGI executable. Note that the overhead of FastCGI is non-negligible with respect to the throughput you may obtain with a native Apache module. The FastCGI build is less tested, and may lag behind the Apache module version on some minor details. YMMV. Sebastiano Laini Web Developer Buchanan Computing From: Rahkonen Jukka (MML) [mailto:jukka.rahkonen at maanmittauslaitos.fi] Sent: 17 October 2018 12:39 To: Sebastiano Laini >; 'mapserver-users at lists.osgeo.org' > Subject: VS: mapcache fastcgi Hi, That documentation is about Mapserver, Mapcache is another software. It does belong to the same Mapserver but is not the same. MapCache is documented here: https://mapserver.org/mapcache/index.html#mapcache -Jukka Rahkonen- L?hett?j?: Sebastiano Laini [mailto:Sebastiano.Laini at BuchananComputing.co.uk] L?hetetty: 17. lokakuuta 2018 14:33 Vastaanottaja: 'mapserver-users at lists.osgeo.org' > Kopio: Rahkonen Jukka (MML) > Aihe: RE: mapcache fastcgi Well, for what I can read in the documentation of mapserver: https://mapserver.org/optimization/fastcgi.html FastCGI is a protocol for keeping cgi-bin style web applications running as a daemon to take advantage of preserving memory caches, and amortizing other high startup costs (like heavy database connections) over many requests. It seems that using mapcache as fastCGI over apache modules it that should improve speed also. Sebastiano Laini Web Developer Buchanan Computing From: Rahkonen Jukka (MML) [mailto:jukka.rahkonen at maanmittauslaitos.fi] Sent: 17 October 2018 12:30 To: Sebastiano Laini >; 'mapserver-users at lists.osgeo.org' > Subject: Re: mapcache fastcgi Hi, Could you explain your plan with some more details? What I have understood is that you have experienced that SQLite cache is slower than disk cache in your environment. What I do not understand is what you are going to reach by running Mapcache as fastcgi instead of running it as Apache module which should be the faster option, and if this has some connection with the SQLite cache vs. disk cache comparison. Do you guess that fastcgi woud make SQLite cache faster? -Jukka Rahkonen- L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Sebastiano Laini L?hetetty: 17. lokakuuta 2018 12:16 Vastaanottaja: 'mapserver-users at lists.osgeo.org' > Aihe: [mapserver-users] mapcache fastcgi Hi all, In the end I tried MapCache with sqlite3 cache but it's very slow compared with the disk cache, so I want to setup MapCache with fastCGI on CentOS 7. I don't understand what I need to install as the fastCGI link in the documentation is broken and I don't know if is up to date. I already have apache fgcid installed from default in the httpd folder and I use PHP in fastCGI in all the domains, so I'm sure that fastCGI it works, though, I still need the fastCGI library? How can I install it in CentOS 7? In my apache conf I've already added the lines to load the mapcache module and the mapcache.xml file LoadModule mapcache_module modules/mod_mapcache.so Require all granted MapCacheAlias /mapcache "/path/to/directory/mapcache.xml" I need to leave the previous configuration and add these new lines in the conf files? FcgidInitialEnv "MAPCACHE_CONFIG_FILE" "/path/to/mapcache/mapcache.xml IPCCommTimeout 120 MaxProcessCount 10 FcgidInitialEnv "MAPCACHE_CONFIG_FILE" "/path/to/mapcache/mapcache.xml" Order Allow,Deny Allow from all SetHandler fcgid-script ScriptAlias /map.fcgi "/path/to/mapcache/src/mapcache" And then instead of http://myserver/mapcache I need to use http://myserver/fcgi-bin to access mapcache fcgi? Regards, Sebastiano Laini Web Developer Buchanan Computing -------------- next part -------------- An HTML attachment was scrubbed... URL: From traviskirstine at gmail.com Wed Oct 17 07:33:28 2018 From: traviskirstine at gmail.com (Travis Kirstine) Date: Wed, 17 Oct 2018 10:33:28 -0400 Subject: [mapserver-users] mapcache fastcgi In-Reply-To: <5cbb8ca84ab04595bd5a725c95c42067@BCExchange.BuchananComputing.co.uk> References: <1d7dfcf942714a0e9f9660f3ca6c090a@C119S212VM042.msvyvi.vaha.local> <5cbb8ca84ab04595bd5a725c95c42067@BCExchange.BuchananComputing.co.uk> Message-ID: My experience with SQLite is that it is significantly slower than a disk based cache. My guess is this is related to how mapcache structures the transaction and inserts into the sqlitedb. It appears that the mapcache creates a transaction based on the defined in the config, if the metatile is set to 5 5, mapcache will create a transaction with 25 inserts per process. Problems seem to arise when multiple threads / processes attempt to concurrently seed the cache and are backlogged / waiting due to a transaction in progress. Disk cache appear to be only limited based on disk io. On Wed, 17 Oct 2018 at 08:47, Sebastiano Laini < Sebastiano.Laini at buchanancomputing.co.uk> wrote: > This is my cache setup > > > > > > > /var/www/path?./maps/cache/{tileset}/{grid}/{z}/{x}-{y}.sqlite3 > > 10000 > > 10000 > > 1573741823 > > > > > > > > > > this is a custom grid I made up for > an example > > > > EPSG:27700 > > 128 128 > > 0 0 700000 1250000 > > 70 28 14 7 6.16 2.8 1.4 0.7 0.28 0.14 0.07 > > > > > > > > bcmaps > > cache_sqlite > > bcgrid > > JPEG > > 4 4 > > 0 > > 31536000 > > > > > > > > Sebastiano Laini > > Web Developer > > Buchanan Computing > > 227 Shepherds Bush Road London W6 7AS > > 020 8846 3220 > > > > Web: http://www.BuchananComputing.co.uk > > > For general or urgent enquiries please write to: *support at BuchananComputing.co.uk > * > > > > Buchanan Computing Ltd. Registered at the above office, no. 3274424 > (England & Wales) > > > > This message is intended solely for the individual/entity to whom it is > addressed. It may contain confidential or legally privileged information. > Any unauthorised disclosure or copying is prohibited and my be unlawful. > If you have received this communication in error, please notify the sender > immediately and delete it from your system. > > > > *From:* Sebastiano Laini > *Sent:* 17 October 2018 13:39 > *To:* 'mapserver-users at lists.osgeo.org' > *Cc:* 'Rahkonen Jukka (MML)' > *Subject:* RE: mapcache fastcgi > > > > Hi, > > > > It appears in both ways, when I?m seeding and when is requested from a > pre-seeded cache, today I can?t because I need to move the dev domain in > another server but tomorrow I will pass you the link to the 2 cache so you > can see the difference. > > > > Tonight I will let it seed the whole area. > > > > The cache is on a normal HDD, I think all out servers are 10000 RPM, and > the test was done on a brand new server so the disk is new. > > > > Sebastiano Laini > > Web Developer > > Buchanan Computing > > *From:* Rahkonen Jukka (MML) [mailto:jukka.rahkonen at maanmittauslaitos.fi > ] > *Sent:* 17 October 2018 13:35 > *To:* Sebastiano Laini ; ' > mapserver-users at lists.osgeo.org' > *Subject:* RE: mapcache fastcgi > > > > Hi, > > > > In which way does the slowness appear? Is it when seeding or when serving > from a pre-seeded cache? Can you give metrics about the difference in speed? > > > > In this comparison the differences were rather small > http://blog.sogeo.services/blog/2016/07/01/mapcache-disk-vs-sqlite.html > > > > Also by the documentation the speed should be only ?a bit slower? > > > > The SQLite based caches are a bit slower than the disk based caches, and > may have write-locking issues at seed time if a high number of threads all > try to insert new tiles concurrently. > > > > You wrote that SQLite cache is very slow for you which makes me think that > there is something sub-optimal in your installation. First thing to check > is if the SQLite database is on a fast disk. > If SQLite cache is slow then MBTiles cache should be slow as well but I > would make a test to be sure. > > > > -Jukka Rahkonen- > > > > > > *L?hett?j?:* Sebastiano Laini [ > mailto:Sebastiano.Laini at BuchananComputing.co.uk > ] > *L?hetetty:* 17. lokakuuta 2018 15:00 > *Vastaanottaja:* 'mapserver-users at lists.osgeo.org' < > mapserver-users at lists.osgeo.org> > *Kopio:* Rahkonen Jukka (MML) > *Aihe:* RE: mapcache fastcgi > > > > Is there a way to improve the speed and match the speed of the sqLite3 > cache with the disk one? > > > > We have 80 websites connected to MapCache and when I tried the sqLite3 I > was testing it just on one website and on a complete different server with > nothing in it. > > > > Sebastiano Laini > > Web Developer > > Buchanan Computing > > *From:* Sebastiano Laini > *Sent:* 17 October 2018 12:43 > *To:* 'mapserver-users at lists.osgeo.org' > *Cc:* 'Rahkonen Jukka (MML)' > *Subject:* RE: mapcache fastcgi > > > > Still it redirect you to that link, and btw it seems that mapcache can be > used also as a fastCGI. > > > > > https://mapserver.org/mapcache/install.html#cgi-fastcgi-specific-instructions > > > > Though is true that I?m reading now in the CMaker Builder section > > > > MapCache can run as a FastCGI executable. Note that the overhead of > FastCGI is non-negligible with respect to the throughput you may obtain > with a native Apache module. The FastCGI build is less tested, and may lag > behind the Apache module version on some minor details. YMMV. > > > > Sebastiano Laini > > Web Developer > > Buchanan Computing > > > > *From:* Rahkonen Jukka (MML) [mailto:jukka.rahkonen at maanmittauslaitos.fi > ] > *Sent:* 17 October 2018 12:39 > *To:* Sebastiano Laini ; ' > mapserver-users at lists.osgeo.org' > *Subject:* VS: mapcache fastcgi > > > > Hi, > > > > That documentation is about Mapserver, Mapcache is another software. It > does belong to the same Mapserver but is not the same. > > > > MapCache is documented here: > https://mapserver.org/mapcache/index.html#mapcache > > > > -Jukka Rahkonen- > > > > *L?hett?j?:* Sebastiano Laini [ > mailto:Sebastiano.Laini at BuchananComputing.co.uk > ] > *L?hetetty:* 17. lokakuuta 2018 14:33 > *Vastaanottaja:* 'mapserver-users at lists.osgeo.org' < > mapserver-users at lists.osgeo.org> > *Kopio:* Rahkonen Jukka (MML) > *Aihe:* RE: mapcache fastcgi > > > > Well, for what I can read in the documentation of mapserver: > > https://mapserver.org/optimization/fastcgi.html > > FastCGI is a protocol for keeping cgi-bin style web applications running > as a daemon to take advantage of preserving memory caches, and amortizing > other high startup costs (like heavy database connections) over many > requests. > > > > It seems that using mapcache as fastCGI over apache modules it that should > improve speed also. > > > > Sebastiano Laini > > Web Developer > > Buchanan Computing > > > > *From:* Rahkonen Jukka (MML) [mailto:jukka.rahkonen at maanmittauslaitos.fi > ] > *Sent:* 17 October 2018 12:30 > *To:* Sebastiano Laini ; ' > mapserver-users at lists.osgeo.org' > *Subject:* Re: mapcache fastcgi > > > > Hi, > > > > Could you explain your plan with some more details? What I have understood > is that you have experienced that SQLite cache is slower than disk cache in > your environment. > > > > What I do not understand is what you are going to reach by running > Mapcache as fastcgi instead of running it as Apache module which should be > the faster option, and if this has some connection with the SQLite cache > vs. disk cache comparison. Do you guess that fastcgi woud make SQLite cache > faster? > > > > -Jukka Rahkonen- > > > > > > *L?hett?j?:* mapserver-users [ > mailto:mapserver-users-bounces at lists.osgeo.org > ] *Puolesta *Sebastiano Laini > *L?hetetty:* 17. lokakuuta 2018 12:16 > *Vastaanottaja:* 'mapserver-users at lists.osgeo.org' < > mapserver-users at lists.osgeo.org> > *Aihe:* [mapserver-users] mapcache fastcgi > > > > Hi all, > > > > In the end I tried MapCache with sqlite3 cache but it?s very slow compared > with the disk cache, so I want to setup MapCache with fastCGI on CentOS 7. > > > > I don?t understand what I need to install as the fastCGI link in the > documentation is broken and I don?t know if is up to date. > > > > I already have apache fgcid installed from default in the httpd folder and > I use PHP in fastCGI in all the domains, so I?m sure that fastCGI it works, > though, I still need the fastCGI library? How can I install it in CentOS 7? > > > > In my apache conf I?ve already added the lines to load the mapcache module > and the mapcache.xml file > > > > LoadModule mapcache_module modules/mod_mapcache.so > > > > > > > > Require all granted > > > > MapCacheAlias /mapcache "/path/to/directory/mapcache.xml" > > > > > > > > I need to leave the previous configuration and add these new lines in the > conf files? > > > > FcgidInitialEnv "MAPCACHE_CONFIG_FILE" "/path/to/mapcache/mapcache.xml > > > > > > IPCCommTimeout 120 > > MaxProcessCount 10 > > FcgidInitialEnv "MAPCACHE_CONFIG_FILE" "/path/to/mapcache/mapcache.xml" > > > > Order Allow,Deny > > Allow from all > > SetHandler fcgid-script > > > > ScriptAlias /map.fcgi "/path/to/mapcache/src/mapcache" > > > > > > > > And then instead of http://myserver/mapcache I need to use > http://myserver/fcgi-bin to access mapcache fcgi? > > > > Regards, > > > > Sebastiano Laini > > Web Developer > > Buchanan Computing > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpass at bgs.ac.uk Fri Oct 19 03:48:23 2018 From: jpass at bgs.ac.uk (Passmore, James H.) Date: Fri, 19 Oct 2018 10:48:23 +0000 Subject: [mapserver-users] Disable automatic metadata in MapServer 7.2 Message-ID: Is it possible to disable/prevent the automatically created ISO metadata links appearing in WMS GetCapabilities response? The reason for asking is that at the moment these created links are making the GetCapabilities response invalid. Thanks James Passmore ------------------------------- British Geological Survey, Environmental Science Centre, KEYWORTH, United Kingdom, NG12 5GG orcid: https://orcid.org/0000-0002-9891-6265 ------------------------------- Phone: +44 (0)115 936 3125 ------------------------------- Skype: BGSjames ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ From jukka.rahkonen at maanmittauslaitos.fi Fri Oct 19 04:02:32 2018 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Fri, 19 Oct 2018 11:02:32 +0000 Subject: [mapserver-users] Disable automatic metadata in MapServer 7.2 Message-ID: <0f9f9551c8ab46b7a993710435a161f7@C119S212VM042.msvyvi.vaha.local> Hi, I do not see any metadata links at all in our WMS services made with Mapserver 7.2.0 and I have certainly not disabled them in any way. I guess that something that you have done has enabled those. Have you played for example with some Inspire configurations? -Jukka Rahkonen- -----Alkuper?inen viesti----- L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Passmore, James H. L?hetetty: 19. lokakuuta 2018 13:48 Vastaanottaja: mapserver-users at lists.osgeo.org Aihe: [mapserver-users] Disable automatic metadata in MapServer 7.2 Is it possible to disable/prevent the automatically created ISO metadata links appearing in WMS GetCapabilities response? The reason for asking is that at the moment these created links are making the GetCapabilities response invalid. Thanks James Passmore ------------------------------- British Geological Survey, Environmental Science Centre, KEYWORTH, United Kingdom, NG12 5GG orcid: https://orcid.org/0000-0002-9891-6265 ------------------------------- Phone: +44 (0)115 936 3125 ------------------------------- Skype: BGSjames ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users From jpass at bgs.ac.uk Fri Oct 19 04:08:37 2018 From: jpass at bgs.ac.uk (Passmore, James H.) Date: Fri, 19 Oct 2018 11:08:37 +0000 Subject: [mapserver-users] Disable automatic metadata in MapServer 7.2 In-Reply-To: <0f9f9551c8ab46b7a993710435a161f7@C119S212VM042.msvyvi.vaha.local> References: <0f9f9551c8ab46b7a993710435a161f7@C119S212VM042.msvyvi.vaha.local> Message-ID: So I do have INSPIRE configurations set, but the links I refer to are in the body of GetCapabilities response not the INSPIRE extended capabilities section. -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:03 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi, I do not see any metadata links at all in our WMS services made with Mapserver 7.2.0 and I have certainly not disabled them in any way. I guess that something that you have done has enabled those. Have you played for example with some Inspire configurations? -Jukka Rahkonen- -----Alkuper?inen viesti----- L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Passmore, James H. L?hetetty: 19. lokakuuta 2018 13:48 Vastaanottaja: mapserver-users at lists.osgeo.org Aihe: [mapserver-users] Disable automatic metadata in MapServer 7.2 Is it possible to disable/prevent the automatically created ISO metadata links appearing in WMS GetCapabilities response? The reason for asking is that at the moment these created links are making the GetCapabilities response invalid. Thanks James Passmore ------------------------------- British Geological Survey, Environmental Science Centre, KEYWORTH, United Kingdom, NG12 5GG orcid: https://orcid.org/0000-0002-9891-6265 ------------------------------- Phone: +44 (0)115 936 3125 ------------------------------- Skype: BGSjames ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ From jpass at bgs.ac.uk Fri Oct 19 04:10:40 2018 From: jpass at bgs.ac.uk (Passmore, James H.) Date: Fri, 19 Oct 2018 11:10:40 +0000 Subject: [mapserver-users] Disable automatic metadata in MapServer 7.2 In-Reply-To: References: Message-ID: So I already raised some metadata related issues, such as https://github.com/mapserver/mapserver/issues/5680 and this was really a question of how to avoid having the metadata at all, until that and other issues can be resolved. I will raise another issue though for this point. -----Original Message----- From: Kralidis, Tom (EC) Sent: 19 October 2018 12:03 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: RE: Disable automatic metadata in MapServer 7.2 James: can you open an issue on GitHub? I'll take a look. > -----Original Message----- > From: mapserver-users On > Behalf Of Passmore, James H. > Sent: October 19, 2018 06:48 > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] Disable automatic metadata in MapServer 7.2 > > Is it possible to disable/prevent the automatically created ISO > metadata links appearing in WMS GetCapabilities response? > > The reason for asking is that at the moment these created links are > making the GetCapabilities response invalid. > > Thanks > > James Passmore > ------------------------------- > British Geological Survey, > Environmental Science Centre, > KEYWORTH, > United Kingdom, > NG12 5GG > > orcid: https://orcid.org/0000-0002-9891-6265 > ------------------------------- > Phone: +44 (0)115 936 3125 > ------------------------------- > Skype: BGSjames > > ________________________________ > This message (and any attachments) is for the recipient only. NERC is > subject to the Freedom of Information Act 2000 and the contents of > this email and any reply you make may be disclosed by NERC unless it > is exempt from release under the Act. Any material supplied to NERC > may be stored in an electronic records management system. > ________________________________ > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ From tom.kralidis at canada.ca Fri Oct 19 04:02:49 2018 From: tom.kralidis at canada.ca (Kralidis, Tom (EC)) Date: Fri, 19 Oct 2018 11:02:49 +0000 Subject: [mapserver-users] Disable automatic metadata in MapServer 7.2 In-Reply-To: References: Message-ID: James: can you open an issue on GitHub? I'll take a look. > -----Original Message----- > From: mapserver-users On Behalf > Of Passmore, James H. > Sent: October 19, 2018 06:48 > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] Disable automatic metadata in MapServer 7.2 > > Is it possible to disable/prevent the automatically created ISO metadata links > appearing in WMS GetCapabilities response? > > The reason for asking is that at the moment these created links are making the > GetCapabilities response invalid. > > Thanks > > James Passmore > ------------------------------- > British Geological Survey, > Environmental Science Centre, > KEYWORTH, > United Kingdom, > NG12 5GG > > orcid: https://orcid.org/0000-0002-9891-6265 > ------------------------------- > Phone: +44 (0)115 936 3125 > ------------------------------- > Skype: BGSjames > > ________________________________ > This message (and any attachments) is for the recipient only. NERC is subject > to the Freedom of Information Act 2000 and the contents of this email and any > reply you make may be disclosed by NERC unless it is exempt from release > under the Act. Any material supplied to NERC may be stored in an electronic > records management system. > ________________________________ > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users From jukka.rahkonen at maanmittauslaitos.fi Fri Oct 19 04:14:16 2018 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Fri, 19 Oct 2018 11:14:16 +0000 Subject: [mapserver-users] Disable automatic metadata in MapServer 7.2 Message-ID: <7f22645d3c4c42b99205b1edbcbd66bb@C119S212VM042.msvyvi.vaha.local> Hi James, I do not have INSPIRE configurations set and I do not have any metadata links in the body of GetCapabilities. Without reading the code we can't know if adding INSPIRE stuff adds also something to the body. Fortunately it is easy to test by commenting out everything that seems to relate to INSPIRE in your mapfile. Or write a new as-simple-as-possible mapfile and see how it behaves. -Jukka- -----Alkuper?inen viesti----- L?hett?j?: Passmore, James H. [mailto:jpass at bgs.ac.uk] L?hetetty: 19. lokakuuta 2018 14:09 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users at lists.osgeo.org Aihe: RE: Disable automatic metadata in MapServer 7.2 So I do have INSPIRE configurations set, but the links I refer to are in the body of GetCapabilities response not the INSPIRE extended capabilities section. -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:03 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi, I do not see any metadata links at all in our WMS services made with Mapserver 7.2.0 and I have certainly not disabled them in any way. I guess that something that you have done has enabled those. Have you played for example with some Inspire configurations? -Jukka Rahkonen- -----Alkuper?inen viesti----- L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Passmore, James H. L?hetetty: 19. lokakuuta 2018 13:48 Vastaanottaja: mapserver-users at lists.osgeo.org Aihe: [mapserver-users] Disable automatic metadata in MapServer 7.2 Is it possible to disable/prevent the automatically created ISO metadata links appearing in WMS GetCapabilities response? The reason for asking is that at the moment these created links are making the GetCapabilities response invalid. Thanks James Passmore ------------------------------- British Geological Survey, Environmental Science Centre, KEYWORTH, United Kingdom, NG12 5GG orcid: https://orcid.org/0000-0002-9891-6265 ------------------------------- Phone: +44 (0)115 936 3125 ------------------------------- Skype: BGSjames ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ From jpass at bgs.ac.uk Fri Oct 19 04:18:59 2018 From: jpass at bgs.ac.uk (Passmore, James H.) Date: Fri, 19 Oct 2018 11:18:59 +0000 Subject: [mapserver-users] Disable automatic metadata in MapServer 7.2 In-Reply-To: <7f22645d3c4c42b99205b1edbcbd66bb@C119S212VM042.msvyvi.vaha.local> References: <7f22645d3c4c42b99205b1edbcbd66bb@C119S212VM042.msvyvi.vaha.local> Message-ID: Hi Jukka, I disabled the INSPIRE content in my service and I still have the generated metadata sections like below in my layers. text/xml James -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:14 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi James, I do not have INSPIRE configurations set and I do not have any metadata links in the body of GetCapabilities. Without reading the code we can't know if adding INSPIRE stuff adds also something to the body. Fortunately it is easy to test by commenting out everything that seems to relate to INSPIRE in your mapfile. Or write a new as-simple-as-possible mapfile and see how it behaves. -Jukka- -----Alkuper?inen viesti----- L?hett?j?: Passmore, James H. [mailto:jpass at bgs.ac.uk] L?hetetty: 19. lokakuuta 2018 14:09 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users at lists.osgeo.org Aihe: RE: Disable automatic metadata in MapServer 7.2 So I do have INSPIRE configurations set, but the links I refer to are in the body of GetCapabilities response not the INSPIRE extended capabilities section. -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:03 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi, I do not see any metadata links at all in our WMS services made with Mapserver 7.2.0 and I have certainly not disabled them in any way. I guess that something that you have done has enabled those. Have you played for example with some Inspire configurations? -Jukka Rahkonen- -----Alkuper?inen viesti----- L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Passmore, James H. L?hetetty: 19. lokakuuta 2018 13:48 Vastaanottaja: mapserver-users at lists.osgeo.org Aihe: [mapserver-users] Disable automatic metadata in MapServer 7.2 Is it possible to disable/prevent the automatically created ISO metadata links appearing in WMS GetCapabilities response? The reason for asking is that at the moment these created links are making the GetCapabilities response invalid. Thanks James Passmore ------------------------------- British Geological Survey, Environmental Science Centre, KEYWORTH, United Kingdom, NG12 5GG orcid: https://orcid.org/0000-0002-9891-6265 ------------------------------- Phone: +44 (0)115 936 3125 ------------------------------- Skype: BGSjames ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ From jukka.rahkonen at maanmittauslaitos.fi Fri Oct 19 04:44:07 2018 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Fri, 19 Oct 2018 11:44:07 +0000 Subject: [mapserver-users] Disable automatic metadata in MapServer 7.2 Message-ID: <3ed0a51b95b2493b9754406090e078f1@C119S212VM042.msvyvi.vaha.local> Hi James, Could you make one more test by using the "states.shp" file from the Geoserver demo data and with this mapfile: MAP NAME "METADATATEST" SIZE 800 800 EXTENT -180 -90 180 90 UNITS DD IMAGECOLOR 20 250 250 SHAPEPATH "c:\ms4w\tmp" IMAGETYPE "png" WEB METADATA "ows_enable_request" "*" "wms_srs" "EPSG:4326" "wms_onlineresource" "http://localhost:8060/cgi-bin/mapserv.exe?" END END # DEBUG 5 CONFIG "PROJ_LIB" "C:/ms4w/proj/nad" CONFIG "CPL_DEBUG" "ON" CONFIG "MS_ERRORFILE" "c:/ms4w/tmp/debug.txt" PROJECTION "init=epsg:4326" END LAYER NAME "states" STATUS ON DATA "c:\ms4w\apps\states" TYPE POLYGON PROJECTION "init=epsg:4326" END METADATA "wms_title" "states "wms_srs" "EPSG:4326" END CLASS STYLE COLOR 100 200 100 OUTLINECOLOR 0 0 0 END END END END Do you still see the metadata links? If you do feel free to include this mapfile and test data into the GitHub issue. -Jukka- -----Alkuper?inen viesti----- L?hett?j?: Passmore, James H. [mailto:jpass at bgs.ac.uk] L?hetetty: 19. lokakuuta 2018 14:19 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users at lists.osgeo.org Aihe: RE: Disable automatic metadata in MapServer 7.2 Hi Jukka, I disabled the INSPIRE content in my service and I still have the generated metadata sections like below in my layers. text/xml James -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:14 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi James, I do not have INSPIRE configurations set and I do not have any metadata links in the body of GetCapabilities. Without reading the code we can't know if adding INSPIRE stuff adds also something to the body. Fortunately it is easy to test by commenting out everything that seems to relate to INSPIRE in your mapfile. Or write a new as-simple-as-possible mapfile and see how it behaves. -Jukka- -----Alkuper?inen viesti----- L?hett?j?: Passmore, James H. [mailto:jpass at bgs.ac.uk] L?hetetty: 19. lokakuuta 2018 14:09 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users at lists.osgeo.org Aihe: RE: Disable automatic metadata in MapServer 7.2 So I do have INSPIRE configurations set, but the links I refer to are in the body of GetCapabilities response not the INSPIRE extended capabilities section. -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:03 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi, I do not see any metadata links at all in our WMS services made with Mapserver 7.2.0 and I have certainly not disabled them in any way. I guess that something that you have done has enabled those. Have you played for example with some Inspire configurations? -Jukka Rahkonen- -----Alkuper?inen viesti----- L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Passmore, James H. L?hetetty: 19. lokakuuta 2018 13:48 Vastaanottaja: mapserver-users at lists.osgeo.org Aihe: [mapserver-users] Disable automatic metadata in MapServer 7.2 Is it possible to disable/prevent the automatically created ISO metadata links appearing in WMS GetCapabilities response? The reason for asking is that at the moment these created links are making the GetCapabilities response invalid. Thanks James Passmore ------------------------------- British Geological Survey, Environmental Science Centre, KEYWORTH, United Kingdom, NG12 5GG orcid: https://orcid.org/0000-0002-9891-6265 ------------------------------- Phone: +44 (0)115 936 3125 ------------------------------- Skype: BGSjames ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ From tom.kralidis at canada.ca Fri Oct 19 04:58:04 2018 From: tom.kralidis at canada.ca (Kralidis, Tom (EC)) Date: Fri, 19 Oct 2018 11:58:04 +0000 Subject: [mapserver-users] Disable automatic metadata in MapServer 7.2 In-Reply-To: References: Message-ID: Thanks. FYI I've added a metadata label to GitHub issues to help delineate them: https://github.com/mapserver/mapserver/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+GetMetadata+ Thanks ..Tom > -----Original Message----- > From: Passmore, James H. > Sent: October 19, 2018 07:11 > To: Kralidis, Tom (EC) ; mapserver- > users at lists.osgeo.org > Subject: RE: Disable automatic metadata in MapServer 7.2 > > So I already raised some metadata related issues, such as > https://github.com/mapserver/mapserver/issues/5680 and this was really a > question of how to avoid having the metadata at all, until that and other issues > can be resolved. > > I will raise another issue though for this point. > > -----Original Message----- > From: Kralidis, Tom (EC) > Sent: 19 October 2018 12:03 > To: Passmore, James H. ; mapserver-users at lists.osgeo.org > Subject: RE: Disable automatic metadata in MapServer 7.2 > > James: can you open an issue on GitHub? I'll take a look. > > > -----Original Message----- > > From: mapserver-users On > > Behalf Of Passmore, James H. > > Sent: October 19, 2018 06:48 > > To: mapserver-users at lists.osgeo.org > > Subject: [mapserver-users] Disable automatic metadata in MapServer 7.2 > > > > Is it possible to disable/prevent the automatically created ISO > > metadata links appearing in WMS GetCapabilities response? > > > > The reason for asking is that at the moment these created links are > > making the GetCapabilities response invalid. > > > > Thanks > > > > James Passmore > > ------------------------------- > > British Geological Survey, > > Environmental Science Centre, > > KEYWORTH, > > United Kingdom, > > NG12 5GG > > > > orcid: https://orcid.org/0000-0002-9891-6265 > > ------------------------------- > > Phone: +44 (0)115 936 3125 > > ------------------------------- > > Skype: BGSjames > > > > ________________________________ > > This message (and any attachments) is for the recipient only. NERC is > > subject to the Freedom of Information Act 2000 and the contents of > > this email and any reply you make may be disclosed by NERC unless it > > is exempt from release under the Act. Any material supplied to NERC > > may be stored in an electronic records management system. > > ________________________________ > > _______________________________________________ > > mapserver-users mailing list > > mapserver-users at lists.osgeo.org > > https://lists.osgeo.org/mailman/listinfo/mapserver-users > ________________________________ > This message (and any attachments) is for the recipient only. NERC is subject > to the Freedom of Information Act 2000 and the contents of this email and any > reply you make may be disclosed by NERC unless it is exempt from release > under the Act. Any material supplied to NERC may be stored in an electronic > records management system. > ________________________________ From jpass at bgs.ac.uk Fri Oct 19 05:33:07 2018 From: jpass at bgs.ac.uk (Passmore, James H.) Date: Fri, 19 Oct 2018 12:33:07 +0000 Subject: [mapserver-users] Disable automatic metadata in MapServer 7.2 In-Reply-To: <3ed0a51b95b2493b9754406090e078f1@C119S212VM042.msvyvi.vaha.local> References: <3ed0a51b95b2493b9754406090e078f1@C119S212VM042.msvyvi.vaha.local> Message-ID: Hi Jukka, I'm not using MS4W, as per your example map file, could that be the difference between our implementations? I realise too looking at the MapServer documentation https://mapserver.org/ogc/layer_metadata.html that one way around the problem would be to edit the generated metadata to a static file, then add a formal XML metadata link to the edited static content. James -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:44 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi James, Could you make one more test by using the "states.shp" file from the Geoserver demo data and with this mapfile: MAP NAME "METADATATEST" SIZE 800 800 EXTENT -180 -90 180 90 UNITS DD IMAGECOLOR 20 250 250 SHAPEPATH "c:\ms4w\tmp" IMAGETYPE "png" WEB METADATA "ows_enable_request" "*" "wms_srs" "EPSG:4326" "wms_onlineresource" "http://localhost:8060/cgi-bin/mapserv.exe?" END END # DEBUG 5 CONFIG "PROJ_LIB" "C:/ms4w/proj/nad" CONFIG "CPL_DEBUG" "ON" CONFIG "MS_ERRORFILE" "c:/ms4w/tmp/debug.txt" PROJECTION "init=epsg:4326" END LAYER NAME "states" STATUS ON DATA "c:\ms4w\apps\states" TYPE POLYGON PROJECTION "init=epsg:4326" END METADATA "wms_title" "states "wms_srs" "EPSG:4326" END CLASS STYLE COLOR 100 200 100 OUTLINECOLOR 0 0 0 END END END END Do you still see the metadata links? If you do feel free to include this mapfile and test data into the GitHub issue. -Jukka- -----Alkuper?inen viesti----- L?hett?j?: Passmore, James H. [mailto:jpass at bgs.ac.uk] L?hetetty: 19. lokakuuta 2018 14:19 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users at lists.osgeo.org Aihe: RE: Disable automatic metadata in MapServer 7.2 Hi Jukka, I disabled the INSPIRE content in my service and I still have the generated metadata sections like below in my layers. text/xml James -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:14 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi James, I do not have INSPIRE configurations set and I do not have any metadata links in the body of GetCapabilities. Without reading the code we can't know if adding INSPIRE stuff adds also something to the body. Fortunately it is easy to test by commenting out everything that seems to relate to INSPIRE in your mapfile. Or write a new as-simple-as-possible mapfile and see how it behaves. -Jukka- -----Alkuper?inen viesti----- L?hett?j?: Passmore, James H. [mailto:jpass at bgs.ac.uk] L?hetetty: 19. lokakuuta 2018 14:09 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users at lists.osgeo.org Aihe: RE: Disable automatic metadata in MapServer 7.2 So I do have INSPIRE configurations set, but the links I refer to are in the body of GetCapabilities response not the INSPIRE extended capabilities section. -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:03 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi, I do not see any metadata links at all in our WMS services made with Mapserver 7.2.0 and I have certainly not disabled them in any way. I guess that something that you have done has enabled those. Have you played for example with some Inspire configurations? -Jukka Rahkonen- -----Alkuper?inen viesti----- L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Passmore, James H. L?hetetty: 19. lokakuuta 2018 13:48 Vastaanottaja: mapserver-users at lists.osgeo.org Aihe: [mapserver-users] Disable automatic metadata in MapServer 7.2 Is it possible to disable/prevent the automatically created ISO metadata links appearing in WMS GetCapabilities response? The reason for asking is that at the moment these created links are making the GetCapabilities response invalid. Thanks James Passmore ------------------------------- British Geological Survey, Environmental Science Centre, KEYWORTH, United Kingdom, NG12 5GG orcid: https://orcid.org/0000-0002-9891-6265 ------------------------------- Phone: +44 (0)115 936 3125 ------------------------------- Skype: BGSjames ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ From jukka.rahkonen at maanmittauslaitos.fi Fri Oct 19 05:56:34 2018 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Fri, 19 Oct 2018 12:56:34 +0000 Subject: [mapserver-users] Disable automatic metadata in MapServer 7.2 Message-ID: Hi, Our Mapserver 7.2.0 is running on Linux and that does not write metadata links to GetCapabilities. I just wrote and tested that simplistic mapfile for the states shapefile on my own Windows computer. Did you already adapt my mapfile for your environment and test how GetCapabilities look with it? -Jukka- -----Alkuper?inen viesti----- L?hett?j?: Passmore, James H. [mailto:jpass at bgs.ac.uk] L?hetetty: 19. lokakuuta 2018 15:33 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users at lists.osgeo.org Aihe: RE: Disable automatic metadata in MapServer 7.2 Hi Jukka, I'm not using MS4W, as per your example map file, could that be the difference between our implementations? I realise too looking at the MapServer documentation https://mapserver.org/ogc/layer_metadata.html that one way around the problem would be to edit the generated metadata to a static file, then add a formal XML metadata link to the edited static content. James -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:44 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi James, Could you make one more test by using the "states.shp" file from the Geoserver demo data and with this mapfile: MAP NAME "METADATATEST" SIZE 800 800 EXTENT -180 -90 180 90 UNITS DD IMAGECOLOR 20 250 250 SHAPEPATH "c:\ms4w\tmp" IMAGETYPE "png" WEB METADATA "ows_enable_request" "*" "wms_srs" "EPSG:4326" "wms_onlineresource" "http://localhost:8060/cgi-bin/mapserv.exe?" END END # DEBUG 5 CONFIG "PROJ_LIB" "C:/ms4w/proj/nad" CONFIG "CPL_DEBUG" "ON" CONFIG "MS_ERRORFILE" "c:/ms4w/tmp/debug.txt" PROJECTION "init=epsg:4326" END LAYER NAME "states" STATUS ON DATA "c:\ms4w\apps\states" TYPE POLYGON PROJECTION "init=epsg:4326" END METADATA "wms_title" "states "wms_srs" "EPSG:4326" END CLASS STYLE COLOR 100 200 100 OUTLINECOLOR 0 0 0 END END END END Do you still see the metadata links? If you do feel free to include this mapfile and test data into the GitHub issue. -Jukka- -----Alkuper?inen viesti----- L?hett?j?: Passmore, James H. [mailto:jpass at bgs.ac.uk] L?hetetty: 19. lokakuuta 2018 14:19 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users at lists.osgeo.org Aihe: RE: Disable automatic metadata in MapServer 7.2 Hi Jukka, I disabled the INSPIRE content in my service and I still have the generated metadata sections like below in my layers. text/xml James -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:14 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi James, I do not have INSPIRE configurations set and I do not have any metadata links in the body of GetCapabilities. Without reading the code we can't know if adding INSPIRE stuff adds also something to the body. Fortunately it is easy to test by commenting out everything that seems to relate to INSPIRE in your mapfile. Or write a new as-simple-as-possible mapfile and see how it behaves. -Jukka- -----Alkuper?inen viesti----- L?hett?j?: Passmore, James H. [mailto:jpass at bgs.ac.uk] L?hetetty: 19. lokakuuta 2018 14:09 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users at lists.osgeo.org Aihe: RE: Disable automatic metadata in MapServer 7.2 So I do have INSPIRE configurations set, but the links I refer to are in the body of GetCapabilities response not the INSPIRE extended capabilities section. -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:03 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi, I do not see any metadata links at all in our WMS services made with Mapserver 7.2.0 and I have certainly not disabled them in any way. I guess that something that you have done has enabled those. Have you played for example with some Inspire configurations? -Jukka Rahkonen- -----Alkuper?inen viesti----- L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Passmore, James H. L?hetetty: 19. lokakuuta 2018 13:48 Vastaanottaja: mapserver-users at lists.osgeo.org Aihe: [mapserver-users] Disable automatic metadata in MapServer 7.2 Is it possible to disable/prevent the automatically created ISO metadata links appearing in WMS GetCapabilities response? The reason for asking is that at the moment these created links are making the GetCapabilities response invalid. Thanks James Passmore ------------------------------- British Geological Survey, Environmental Science Centre, KEYWORTH, United Kingdom, NG12 5GG orcid: https://orcid.org/0000-0002-9891-6265 ------------------------------- Phone: +44 (0)115 936 3125 ------------------------------- Skype: BGSjames ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ From jpass at bgs.ac.uk Fri Oct 19 06:02:42 2018 From: jpass at bgs.ac.uk (Passmore, James H.) Date: Fri, 19 Oct 2018 13:02:42 +0000 Subject: [mapserver-users] Disable automatic metadata in MapServer 7.2 In-Reply-To: References: Message-ID: Hi Jukka, Yes I did, and I have the same issues: http://ogc2.bgs.ac.uk/cgi-bin/mdtest/ows?service=WMS&request=GetCapabilities& i.e. I get the metadata link, and the GetCapabilities response is invalid because of it. James -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 13:57 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi, Our Mapserver 7.2.0 is running on Linux and that does not write metadata links to GetCapabilities. I just wrote and tested that simplistic mapfile for the states shapefile on my own Windows computer. Did you already adapt my mapfile for your environment and test how GetCapabilities look with it? -Jukka- -----Alkuper?inen viesti----- L?hett?j?: Passmore, James H. [mailto:jpass at bgs.ac.uk] L?hetetty: 19. lokakuuta 2018 15:33 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users at lists.osgeo.org Aihe: RE: Disable automatic metadata in MapServer 7.2 Hi Jukka, I'm not using MS4W, as per your example map file, could that be the difference between our implementations? I realise too looking at the MapServer documentation https://mapserver.org/ogc/layer_metadata.html that one way around the problem would be to edit the generated metadata to a static file, then add a formal XML metadata link to the edited static content. James -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:44 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi James, Could you make one more test by using the "states.shp" file from the Geoserver demo data and with this mapfile: MAP NAME "METADATATEST" SIZE 800 800 EXTENT -180 -90 180 90 UNITS DD IMAGECOLOR 20 250 250 SHAPEPATH "c:\ms4w\tmp" IMAGETYPE "png" WEB METADATA "ows_enable_request" "*" "wms_srs" "EPSG:4326" "wms_onlineresource" "http://localhost:8060/cgi-bin/mapserv.exe?" END END # DEBUG 5 CONFIG "PROJ_LIB" "C:/ms4w/proj/nad" CONFIG "CPL_DEBUG" "ON" CONFIG "MS_ERRORFILE" "c:/ms4w/tmp/debug.txt" PROJECTION "init=epsg:4326" END LAYER NAME "states" STATUS ON DATA "c:\ms4w\apps\states" TYPE POLYGON PROJECTION "init=epsg:4326" END METADATA "wms_title" "states "wms_srs" "EPSG:4326" END CLASS STYLE COLOR 100 200 100 OUTLINECOLOR 0 0 0 END END END END Do you still see the metadata links? If you do feel free to include this mapfile and test data into the GitHub issue. -Jukka- -----Alkuper?inen viesti----- L?hett?j?: Passmore, James H. [mailto:jpass at bgs.ac.uk] L?hetetty: 19. lokakuuta 2018 14:19 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users at lists.osgeo.org Aihe: RE: Disable automatic metadata in MapServer 7.2 Hi Jukka, I disabled the INSPIRE content in my service and I still have the generated metadata sections like below in my layers. text/xml James -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:14 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi James, I do not have INSPIRE configurations set and I do not have any metadata links in the body of GetCapabilities. Without reading the code we can't know if adding INSPIRE stuff adds also something to the body. Fortunately it is easy to test by commenting out everything that seems to relate to INSPIRE in your mapfile. Or write a new as-simple-as-possible mapfile and see how it behaves. -Jukka- -----Alkuper?inen viesti----- L?hett?j?: Passmore, James H. [mailto:jpass at bgs.ac.uk] L?hetetty: 19. lokakuuta 2018 14:09 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users at lists.osgeo.org Aihe: RE: Disable automatic metadata in MapServer 7.2 So I do have INSPIRE configurations set, but the links I refer to are in the body of GetCapabilities response not the INSPIRE extended capabilities section. -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:03 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi, I do not see any metadata links at all in our WMS services made with Mapserver 7.2.0 and I have certainly not disabled them in any way. I guess that something that you have done has enabled those. Have you played for example with some Inspire configurations? -Jukka Rahkonen- -----Alkuper?inen viesti----- L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Passmore, James H. L?hetetty: 19. lokakuuta 2018 13:48 Vastaanottaja: mapserver-users at lists.osgeo.org Aihe: [mapserver-users] Disable automatic metadata in MapServer 7.2 Is it possible to disable/prevent the automatically created ISO metadata links appearing in WMS GetCapabilities response? The reason for asking is that at the moment these created links are making the GetCapabilities response invalid. Thanks James Passmore ------------------------------- British Geological Survey, Environmental Science Centre, KEYWORTH, United Kingdom, NG12 5GG orcid: https://orcid.org/0000-0002-9891-6265 ------------------------------- Phone: +44 (0)115 936 3125 ------------------------------- Skype: BGSjames ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ From jukka.rahkonen at maanmittauslaitos.fi Fri Oct 19 07:33:32 2018 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Fri, 19 Oct 2018 14:33:32 +0000 Subject: [mapserver-users] Disable automatic metadata in MapServer 7.2 Message-ID: <2780ff73629f4350890524fd42cfc23c@C119S212VM042.msvyvi.vaha.local> Hi James, It appeared that all our Linux services were not yet using Mapserver 7.2. But now we have a small test case and I can confirm that Mapserver 7.2 creates those metadata elements into GetCapabilities while version 7.0.6 doesn't. -Jukka- -----Alkuper?inen viesti----- L?hett?j?: Passmore, James H. [mailto:jpass at bgs.ac.uk] L?hetetty: 19. lokakuuta 2018 16:03 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users at lists.osgeo.org Aihe: RE: Disable automatic metadata in MapServer 7.2 Hi Jukka, Yes I did, and I have the same issues: http://ogc2.bgs.ac.uk/cgi-bin/mdtest/ows?service=WMS&request=GetCapabilities& i.e. I get the metadata link, and the GetCapabilities response is invalid because of it. James -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 13:57 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi, Our Mapserver 7.2.0 is running on Linux and that does not write metadata links to GetCapabilities. I just wrote and tested that simplistic mapfile for the states shapefile on my own Windows computer. Did you already adapt my mapfile for your environment and test how GetCapabilities look with it? -Jukka- -----Alkuper?inen viesti----- L?hett?j?: Passmore, James H. [mailto:jpass at bgs.ac.uk] L?hetetty: 19. lokakuuta 2018 15:33 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users at lists.osgeo.org Aihe: RE: Disable automatic metadata in MapServer 7.2 Hi Jukka, I'm not using MS4W, as per your example map file, could that be the difference between our implementations? I realise too looking at the MapServer documentation https://mapserver.org/ogc/layer_metadata.html that one way around the problem would be to edit the generated metadata to a static file, then add a formal XML metadata link to the edited static content. James -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:44 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi James, Could you make one more test by using the "states.shp" file from the Geoserver demo data and with this mapfile: MAP NAME "METADATATEST" SIZE 800 800 EXTENT -180 -90 180 90 UNITS DD IMAGECOLOR 20 250 250 SHAPEPATH "c:\ms4w\tmp" IMAGETYPE "png" WEB METADATA "ows_enable_request" "*" "wms_srs" "EPSG:4326" "wms_onlineresource" "http://localhost:8060/cgi-bin/mapserv.exe?" END END # DEBUG 5 CONFIG "PROJ_LIB" "C:/ms4w/proj/nad" CONFIG "CPL_DEBUG" "ON" CONFIG "MS_ERRORFILE" "c:/ms4w/tmp/debug.txt" PROJECTION "init=epsg:4326" END LAYER NAME "states" STATUS ON DATA "c:\ms4w\apps\states" TYPE POLYGON PROJECTION "init=epsg:4326" END METADATA "wms_title" "states "wms_srs" "EPSG:4326" END CLASS STYLE COLOR 100 200 100 OUTLINECOLOR 0 0 0 END END END END Do you still see the metadata links? If you do feel free to include this mapfile and test data into the GitHub issue. -Jukka- -----Alkuper?inen viesti----- L?hett?j?: Passmore, James H. [mailto:jpass at bgs.ac.uk] L?hetetty: 19. lokakuuta 2018 14:19 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users at lists.osgeo.org Aihe: RE: Disable automatic metadata in MapServer 7.2 Hi Jukka, I disabled the INSPIRE content in my service and I still have the generated metadata sections like below in my layers. text/xml James -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:14 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi James, I do not have INSPIRE configurations set and I do not have any metadata links in the body of GetCapabilities. Without reading the code we can't know if adding INSPIRE stuff adds also something to the body. Fortunately it is easy to test by commenting out everything that seems to relate to INSPIRE in your mapfile. Or write a new as-simple-as-possible mapfile and see how it behaves. -Jukka- -----Alkuper?inen viesti----- L?hett?j?: Passmore, James H. [mailto:jpass at bgs.ac.uk] L?hetetty: 19. lokakuuta 2018 14:09 Vastaanottaja: Rahkonen Jukka (MML) ; mapserver-users at lists.osgeo.org Aihe: RE: Disable automatic metadata in MapServer 7.2 So I do have INSPIRE configurations set, but the links I refer to are in the body of GetCapabilities response not the INSPIRE extended capabilities section. -----Original Message----- From: Rahkonen Jukka (MML) Sent: 19 October 2018 12:03 To: Passmore, James H. ; mapserver-users at lists.osgeo.org Subject: Re: Disable automatic metadata in MapServer 7.2 Hi, I do not see any metadata links at all in our WMS services made with Mapserver 7.2.0 and I have certainly not disabled them in any way. I guess that something that you have done has enabled those. Have you played for example with some Inspire configurations? -Jukka Rahkonen- -----Alkuper?inen viesti----- L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Passmore, James H. L?hetetty: 19. lokakuuta 2018 13:48 Vastaanottaja: mapserver-users at lists.osgeo.org Aihe: [mapserver-users] Disable automatic metadata in MapServer 7.2 Is it possible to disable/prevent the automatically created ISO metadata links appearing in WMS GetCapabilities response? The reason for asking is that at the moment these created links are making the GetCapabilities response invalid. Thanks James Passmore ------------------------------- British Geological Survey, Environmental Science Centre, KEYWORTH, United Kingdom, NG12 5GG orcid: https://orcid.org/0000-0002-9891-6265 ------------------------------- Phone: +44 (0)115 936 3125 ------------------------------- Skype: BGSjames ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________ From jmckenna at gatewaygeomatics.com Tue Oct 23 11:16:15 2018 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Tue, 23 Oct 2018 15:16:15 -0300 Subject: [mapserver-users] mapserver 6 mapcache 1.6 tileindex limit In-Reply-To: <6f448330e75e4f3b8cfe10a3af222398@BCExchange.BuchananComputing.co.uk> References: <2e681ee1750d431fa7c62d2cacc6ac4c@BCExchange.BuchananComputing.co.uk> <6f448330e75e4f3b8cfe10a3af222398@BCExchange.BuchananComputing.co.uk> Message-ID: Hi Sebastiano, There shouldn't be any limit (there was a limit in pre-MapServer 5 versions, of a MAXLAYERS, but that was removed). For testing I always use shp2img commandline utility on the mapfile, to get the exact error, with the switch: -map_debug 3 That should likely return an error for your problem index record like: Unable to access file. \ms4w\apps\tileindex\ttt.tif It might also be good to share your exact error here to everyone. (if it is a lot of text, be sure to paste the link instead here, from https://pastebin.com/ -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ On 2018-10-23 10:52 AM, Sebastiano Laini wrote: > Hi All, > > Since I reimaged the server and installed CentOS 7 (previously was > centOS 6) , mapserver 6.2.1 and Mapcache 1.6 (previously was v.1) I > can?t make work my .MAP file that call inside the Raster tileindex of > the whole UK (created with GDAL). > > The only way to make it works it to create a new index with less images, > and if I go over that limit mapserver doesn?t load the layer. > > It?s a settings that I can change within mapserver or is related with > something else? > > Sebastiano Laini > > Web Developer > > Buchanan Computing > > From jukka.rahkonen at maanmittauslaitos.fi Tue Oct 23 11:46:37 2018 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Tue, 23 Oct 2018 18:46:37 +0000 Subject: [mapserver-users] mapserver 6 mapcache 1.6 tileindex limit Message-ID: Hi Sebastiano, Excuse me if I guess wrong, but do you mean that you have thousands or tens of thousands of images in the tileindex and you try to load the whole UK on the map? It means that Mapserver should open every image and pick a pixel or two from each of the thousands of files. It may work but it is not the right way to do it. The right way is to make a scale dependent layer group and use some other imagery with much bigger pixel size and much less files for small scales. Switch to full resolution images when it is enough to open about 20 files for filling up the screen. And make sure that your images are tiled and they have overviews. Slides 1-18 about preparing rasters for Geoserver are also valid for Mapserver. https://www.slideshare.net/geosolutions/gs-steroids-sgiannecfoss4g20130103 -Jukka Rahkonen- -----Alkuper?inen viesti----- L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Jeff McKenna L?hetetty: 23. lokakuuta 2018 21:16 Vastaanottaja: mapserver-users at lists.osgeo.org Aihe: Re: [mapserver-users] mapserver 6 mapcache 1.6 tileindex limit Hi Sebastiano, There shouldn't be any limit (there was a limit in pre-MapServer 5 versions, of a MAXLAYERS, but that was removed). For testing I always use shp2img commandline utility on the mapfile, to get the exact error, with the switch: -map_debug 3 That should likely return an error for your problem index record like: Unable to access file. \ms4w\apps\tileindex\ttt.tif It might also be good to share your exact error here to everyone. (if it is a lot of text, be sure to paste the link instead here, from https://pastebin.com/ -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ On 2018-10-23 10:52 AM, Sebastiano Laini wrote: > Hi All, > > Since I reimaged the server and installed CentOS 7 (previously was > centOS 6) , mapserver 6.2.1 and Mapcache 1.6 (previously was v.1) I > can?t make work my .MAP file that call inside the Raster tileindex of > the whole UK (created with GDAL). > > The only way to make it works it to create a new index with less > images, and if I go over that limit mapserver doesn?t load the layer. > > It?s a settings that I can change within mapserver or is related with > something else? > > Sebastiano Laini > > Web Developer > > Buchanan Computing > > _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users