From stephenwoodbridge37 at gmail.com Thu Jul 4 08:15:56 2019 From: stephenwoodbridge37 at gmail.com (Stephen Woodbridge) Date: Thu, 4 Jul 2019 11:15:56 -0400 Subject: [mapserver-users] Adding cache control headers to wms requests Message-ID: <50542216-eb6e-7c8c-f63c-72114604fd9e@gmail.com> Hi all, I need to add the following headers to some wms responses: |Cache-Control: no-cache, no-store, must-revalidate Pragma: no-cache Expires: 0 I am aware that I can set: MAP WEB METADATA ... "ows_http_max_age" "0" END END ... END But it seems like it would be a good idea to be able to set additional headers also. Maybe something like: WEB HEADERS "||Cache-Control: no-cache, no-store, must-revalidate|" "|Pragma: no-cache|" "Expires: 0" END METADATA ... END END This would provide an easy way to add arbitrary response header. The various headers are because browsers are not consistent which headers they respond to. See|| https://stackoverflow.com/questions/49547/how-do-we-control-web-page-caching-across-all-browsers || Maybe we can already do this and I'm not aware of how. I could write a wrapper around mapserver and funnel some requests through it to do this, but it would be nice if mapserver via the mapfile can do it. Thoughts? -Steve W --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus From mailing at tam.si Thu Jul 4 08:34:55 2019 From: mailing at tam.si (Matej Mailing) Date: Thu, 4 Jul 2019 17:34:55 +0200 Subject: [mapserver-users] Mapcache seeder question Message-ID: Hello, I am having issues with running Mapcache Seeder with extent options. My grid is defined like: 256 256 373233,31868 625985,194134 EPSG:3912 m 180000 90000 45000 22500 11250 5000 2500 1250 600 300 200 100 50 25 12 6 3 1 0.5 0.25 0.12 0.06 and when I try to run seeder with: mapcache_seed -c mapcache.xml -t dof025 -g SLOGRID -z 3,10 -n 6 -e 533124,86639,544462,103589 I get an output 0 tiles needed to be seeded, exiting, which is certainly not true since plenty of those do not exist in the cache directory. What am I missing? Thanks, Matej From steve.lime at state.mn.us Fri Jul 5 12:43:03 2019 From: steve.lime at state.mn.us (Lime, Steve D (MNIT)) Date: Fri, 5 Jul 2019 19:43:03 +0000 Subject: [mapserver-users] Adding cache control headers to wms requests In-Reply-To: <50542216-eb6e-7c8c-f63c-72114604fd9e@gmail.com> References: <50542216-eb6e-7c8c-f63c-72114604fd9e@gmail.com> Message-ID: I guess the question is whether this belongs in MapServer or if it should be done at the web server level - you shouldn't need to write a wrapper process. The mod_headers module provides this for Apache and since you can use the module in any container (e.g. ) you could set headers based on things like the value of the map parameter or the WMS request type. I would guess other web servers provide similar functionality but I don't know that for sure. That seems extremely flexible IMHO. Currently the setting max-age is supported in 3 spots within MapServer: WMS/GetMap (1), mode=map (2) and mode=legendicon (3) CGI requests. Other request responses don't look for or set it and probably should in a more general solution. --Steve -----Original Message----- From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Stephen Woodbridge Sent: Thursday, July 04, 2019 10:16 AM To: mapserver-users Subject: [mapserver-users] Adding cache control headers to wms requests Hi all, I need to add the following headers to some wms responses: |Cache-Control: no-cache, no-store, must-revalidate Pragma: no-cache Expires: 0 I am aware that I can set: MAP WEB METADATA ... "ows_http_max_age" "0" END END ... END But it seems like it would be a good idea to be able to set additional headers also. Maybe something like: WEB HEADERS "||Cache-Control: no-cache, no-store, must-revalidate|" "|Pragma: no-cache|" "Expires: 0" END METADATA ... END END This would provide an easy way to add arbitrary response header. The various headers are because browsers are not consistent which headers they respond to. See|| https://stackoverflow.com/questions/49547/how-do-we-control-web-page-caching-across-all-browsers || Maybe we can already do this and I'm not aware of how. I could write a wrapper around mapserver and funnel some requests through it to do this, but it would be nice if mapserver via the mapfile can do it. Thoughts? -Steve W --- This email has been checked for viruses by Avast antivirus software. https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fantivirus&data=02%7C01%7Csteve.lime%40state.mn.us%7C1af86007bc1f4912624008d7009286dc%7Ceb14b04624c445198f26b89c2159828c%7C0%7C0%7C636978501633400154&sdata=AdIpAUJ50fRgV5qyalgsGa%2BVvJzoTezeeL%2BdvCXWGJ4%3D&reserved=0 _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users&data=02%7C01%7Csteve.lime%40state.mn.us%7C1af86007bc1f4912624008d7009286dc%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C636978501633410140&sdata=vQFd1f%2BWlo%2Bc5Hf651WMklqv9%2B5fmPWuLYX%2B0RHZkM8%3D&reserved=0 From steve.lime at state.mn.us Fri Jul 5 14:00:17 2019 From: steve.lime at state.mn.us (Lime, Steve D (MNIT)) Date: Fri, 5 Jul 2019 21:00:17 +0000 Subject: [mapserver-users] Mapcache seeder question In-Reply-To: References: Message-ID: I believe the in your grid should be space delimited - no commas. At least that's how I have things setup, for example... Standard Minnesota UTM Grid 105000 4785000 809000 5489000 epsg:26915 256 256 5500 2750 1375 687.5 343.75 171.875 85.9375 42.96875 21.484375 10.7421875 5.37109375 2.685546875 1.3427734375 --Steve -----Original Message----- From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Matej Mailing Sent: Thursday, July 04, 2019 10:35 AM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Mapcache seeder question This message may be from an external email source. Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center. Hello, I am having issues with running Mapcache Seeder with extent options. My grid is defined like: 256 256 373233,31868 625985,194134 EPSG:3912 m 180000 90000 45000 22500 11250 5000 2500 1250 600 300 200 100 50 25 12 6 3 1 0.5 0.25 0.12 0.06 and when I try to run seeder with: mapcache_seed -c mapcache.xml -t dof025 -g SLOGRID -z 3,10 -n 6 -e 533124,86639,544462,103589 I get an output 0 tiles needed to be seeded, exiting, which is certainly not true since plenty of those do not exist in the cache directory. What am I missing? Thanks, Matej _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users&data=02%7C01%7Csteve.lime%40state.mn.us%7Ca8f92e6de3474b3eb52608d7009534a0%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C636978513162884312&sdata=FdCj%2F%2F704BA8lCcJ7cO0t7erzHPXs56%2BpgCXLIugok8%3D&reserved=0 From ahmettemiz88 at gmail.com Sun Jul 7 07:25:52 2019 From: ahmettemiz88 at gmail.com (Ahmet Temiz) Date: Sun, 7 Jul 2019 17:25:52 +0300 Subject: [mapserver-users] Projection library error. Message-ID: after I install mapserver binary version in ubuntu 19, I received proj related error message. shp2img msProcessProjection(): Projection library error. proj error "no arguments in initialization list" for "init=epsg:3857" here is the related code fragment: CONFIG "PROJ_LIB" "/usr/share/" CONFIG "MS_ERRORFILE" "/var/www/ms_map/ms_error.log" PROJECTION "init=epsg:3857" END regards -- 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 mailing at tam.si Sun Jul 7 22:26:26 2019 From: mailing at tam.si (Matej Mailing) Date: Mon, 8 Jul 2019 07:26:26 +0200 Subject: [mapserver-users] Mapcache seeder question In-Reply-To: References: Message-ID: Hello Steve, thanks for answering. I have changed the extent definition in grid declaration, but I still get the "0 tiles needed to be seeded, exiting" message back from mapcache_seed. Any ideas will be appreciated. Thanks, Matej V V pet., 5. jul. 2019 ob 23:00 je oseba Lime, Steve D (MNIT) napisala: > > I believe the in your grid should be space delimited - no commas. At least that's how I have things setup, for example... > > > > Standard Minnesota UTM Grid > > 105000 4785000 809000 5489000 > epsg:26915 > 256 256 > 5500 2750 1375 687.5 343.75 171.875 85.9375 42.96875 21.484375 10.7421875 5.37109375 2.685546875 1.3427734375 > > > --Steve > > -----Original Message----- > From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Matej Mailing > Sent: Thursday, July 04, 2019 10:35 AM > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] Mapcache seeder question > > This message may be from an external email source. > Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center. > > > > Hello, > I am having issues with running Mapcache Seeder with extent options. > My grid is defined like: > > 256 256 > 373233,31868 625985,194134 > EPSG:3912 > m > 180000 90000 45000 22500 11250 5000 2500 1250 600 300 > 200 100 50 25 12 6 3 1 0.5 0.25 0.12 0.06 > > > and when I try to run seeder with: > mapcache_seed -c mapcache.xml -t dof025 -g SLOGRID -z 3,10 -n 6 -e > 533124,86639,544462,103589 > > I get an output 0 tiles needed to be seeded, exiting, which is > certainly not true since plenty of those do not exist in the cache > directory. > > What am I missing? > > Thanks, > Matej > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users&data=02%7C01%7Csteve.lime%40state.mn.us%7Ca8f92e6de3474b3eb52608d7009534a0%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C636978513162884312&sdata=FdCj%2F%2F704BA8lCcJ7cO0t7erzHPXs56%2BpgCXLIugok8%3D&reserved=0 From bob.basques at ci.stpaul.mn.us Mon Jul 8 06:16:02 2019 From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul)) Date: Mon, 8 Jul 2019 13:16:02 +0000 Subject: [mapserver-users] REMINDER: OSGeo Local Chapter (aka TCMUG) Meeting Message-ID: Hi All, Had a good meeting in June. Some old and new faces. Oh, and Steve's thumb . . . Forgot a link to the picture from last months meeting: https://www.dropbox.com/s/wyzgqg5pctibs33/20190612_175321-01.urban_growler.jpeg?dl=0 Next Meeting is at Wabasha Brewing Co. OSGeo Local Chapter (aka TCMUG) Meeting Scheduled: Jul 10, 2019 at 4:30 PM to 6:00 PM Location: Wabasha Brewing Company 429 Wabasha Street South, Saint Paul, MN 55107, United States -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: iCal-20190708-080903.ics Type: text/calendar Size: 1219 bytes Desc: iCal-20190708-080903.ics URL: From jmckenna at gatewaygeomatics.com Mon Jul 8 08:22:28 2019 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Mon, 8 Jul 2019 12:22:28 -0300 Subject: [mapserver-users] Projection library error. In-Reply-To: References: Message-ID: Hi Ahmet, Did you resolve this issue? I don't use the binary that you mention, but I guess it depends on which version of PROJ you are using, as PROJ 5.2.0 requires the file "epsg" and PROJ 6 requires "proj.db". MapServer 7.4.0 should be able to find either one. -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ On 2019-07-07 11:25 AM, Ahmet Temiz wrote: > after I install mapserver binary version in ubuntu 19, > I received proj related error message. > > shp2img > msProcessProjection(): Projection library error. proj error "no > arguments in initialization list" for "init=epsg:3857" > > here is the related code fragment: > ? ? CONFIG "PROJ_LIB" "/usr/share/" > ? ? CONFIG "MS_ERRORFILE" "/var/www/ms_map/ms_error.log" > > ? PROJECTION > ? ? ?"init=epsg:3857" > ? END > > regards > > -- > Ahmet Temiz > Jeoloji M?h. > Afet ve Acil Durum Y?netimi Ba?kanl??? > Bilgi ??lem ?Dairesi Ba?kanl???-CBS Grubu > > > __ From steve.lime at state.mn.us Mon Jul 8 08:29:22 2019 From: steve.lime at state.mn.us (Lime, Steve D (MNIT)) Date: Mon, 8 Jul 2019 15:29:22 +0000 Subject: [mapserver-users] Mapcache seeder question In-Reply-To: References: Message-ID: And regular tile generation (no seeding) works ok? -----Original Message----- From: Matej Mailing [mailto:mailing at tam.si] Sent: Monday, July 08, 2019 12:26 AM To: Lime, Steve D (MNIT) ; mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Mapcache seeder question This message may be from an external email source. Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center. Hello Steve, thanks for answering. I have changed the extent definition in grid declaration, but I still get the "0 tiles needed to be seeded, exiting" message back from mapcache_seed. Any ideas will be appreciated. Thanks, Matej V V pet., 5. jul. 2019 ob 23:00 je oseba Lime, Steve D (MNIT) napisala: > > I believe the in your grid should be space delimited - no commas. At least that's how I have things setup, for example... > > > > Standard Minnesota UTM Grid > > 105000 4785000 809000 5489000 > epsg:26915 > 256 256 > 5500 2750 1375 687.5 343.75 171.875 85.9375 42.96875 21.484375 10.7421875 5.37109375 2.685546875 1.3427734375 > > > --Steve > > -----Original Message----- > From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Matej Mailing > Sent: Thursday, July 04, 2019 10:35 AM > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] Mapcache seeder question > > This message may be from an external email source. > Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center. > > > > Hello, > I am having issues with running Mapcache Seeder with extent options. > My grid is defined like: > > 256 256 > 373233,31868 625985,194134 > EPSG:3912 > m > 180000 90000 45000 22500 11250 5000 2500 1250 600 300 > 200 100 50 25 12 6 3 1 0.5 0.25 0.12 0.06 > > > and when I try to run seeder with: > mapcache_seed -c mapcache.xml -t dof025 -g SLOGRID -z 3,10 -n 6 -e > 533124,86639,544462,103589 > > I get an output 0 tiles needed to be seeded, exiting, which is > certainly not true since plenty of those do not exist in the cache > directory. > > What am I missing? > > Thanks, > Matej > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users&data=02%7C01%7Csteve.lime%40state.mn.us%7C202cd663129445fe4f3908d70364db3a%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C636981604044024635&sdata=H7Hfyb9kyJueMQ%2Bh9puMB4C1WyTzrI3I8RzeFqvLXVI%3D&reserved=0 From ian.walberg at airborne.aero Mon Jul 8 17:44:13 2019 From: ian.walberg at airborne.aero (Ian Walberg) Date: Tue, 9 Jul 2019 00:44:13 +0000 Subject: [mapserver-users] Layer - conditional on image size Message-ID: <4617836288eb4249b803579f292fd8ac@airborne.aero> Hello, Is there a way of making layers or features conditional on the image width and/or height? We are trying to use the same map file for different resolution images generated by passing the image with and height as part of the cgi request. Thanks, Ian -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmckenna at gatewaygeomatics.com Tue Jul 9 06:28:31 2019 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Tue, 9 Jul 2019 10:28:31 -0300 Subject: [mapserver-users] MapCache 1.8.0-rc1 ready for testing Message-ID: Today the project team has packaged the first release candidate of MapCache 1.8.0, which includes a long list of changes. changelog: https://mapserver.org/development/changelog/mapcache/changelog-1-8.html#changelog-mapcache-1-8-0-rc1 download: https://mapserver.org/download.html#development-releases thanks, -MapServer / MapCache team From traviskirstine at gmail.com Tue Jul 9 10:15:23 2019 From: traviskirstine at gmail.com (Travis Kirstine) Date: Tue, 9 Jul 2019 13:15:23 -0400 Subject: [mapserver-users] Layer - conditional on image size In-Reply-To: <4617836288eb4249b803579f292fd8ac@airborne.aero> References: <4617836288eb4249b803579f292fd8ac@airborne.aero> Message-ID: Would the scaletoken work https://mapserver.org/development/rfc/ms-rfc-86.html#rfc86 Otherwise there is run time substitution https://mapserver.org/cgi/runsub.html On Mon, 8 Jul 2019 at 20:59, Ian Walberg wrote: > Hello, > > > > Is there a way of making layers or features conditional on the image width > and/or height? > > > > We are trying to use the same map file for different resolution images > generated by passing the image with and height as part of the cgi request. > > > > Thanks, Ian > _______________________________________________ > 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 pschmitt at gmail.com Tue Jul 9 12:21:05 2019 From: pschmitt at gmail.com (Peter Schmitt) Date: Tue, 9 Jul 2019 13:21:05 -0600 Subject: [mapserver-users] Layer - conditional on image size In-Reply-To: References: <4617836288eb4249b803579f292fd8ac@airborne.aero> Message-ID: I have had the best luck with SCALETOKEN. Occasionally I'll have two layers: a and b which each set MINSCALEDENOM and MAXSCALEDENOM https://mapserver.org/mapfile/layer.html#index-52 https://mapserver.org/mapfile/layer.html#index-49 Set the MINSCALEDENOM of one layer to the MAXSCALEDENOM of the other. Then for the WMS request, set layers=a,b. You can use two layers with the MINSCALEDENOM/MAXSCALEDENOM and add "GROUP c" to each layer. Then you can make a single request for `layers=c`. https://mapserver.org/mapfile/layer.html#index-38 One downside with using GROUP: Some metadata, like extents, are not calculated correctly with a GROUP. SCALETOKEN with runtime substitution seems to have largely solved this problem for me. Cheers, Pete On Tue, Jul 9, 2019 at 11:15 AM Travis Kirstine wrote: > Would the scaletoken work > https://mapserver.org/development/rfc/ms-rfc-86.html#rfc86 > > Otherwise there is run time substitution > https://mapserver.org/cgi/runsub.html > > On Mon, 8 Jul 2019 at 20:59, Ian Walberg > wrote: > >> Hello, >> >> >> >> Is there a way of making layers or features conditional on the image >> width and/or height? >> >> >> >> We are trying to use the same map file for different resolution images >> generated by passing the image with and height as part of the cgi request. >> >> >> >> Thanks, Ian >> _______________________________________________ >> 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 -- Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmckenna at gatewaygeomatics.com Tue Jul 9 11:35:23 2019 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Tue, 9 Jul 2019 15:35:23 -0300 Subject: [mapserver-users] Projection library error. In-Reply-To: References: Message-ID: <579b583a-b4b4-5a55-e543-29351aaf53f4@gatewaygeomatics.com> Hi Ahmet, As luck would have it, I just now hit your exact same issue, same error message ("no arguments in initialization list"). In my case, this was due to a mapfile pointing to the wrong location of the epsg file through: CONFIG "PROJ_LIB" "C:/bad/path" So be sure to point to the correct location, for your binary. (as I mentioned earlier, it may depend on what PROJ version you have) -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ On 2019-07-07 11:25 AM, Ahmet Temiz wrote: > after I install mapserver binary version in ubuntu 19, > I received proj related error message. > > shp2img > msProcessProjection(): Projection library error. proj error "no > arguments in initialization list" for "init=epsg:3857" > > here is the related code fragment: > ? ? CONFIG "PROJ_LIB" "/usr/share/" > ? ? CONFIG "MS_ERRORFILE" "/var/www/ms_map/ms_error.log" > > ? PROJECTION > ? ? ?"init=epsg:3857" > ? END > > regards > > -- > Ahmet Temiz > Jeoloji M?h. > Afet ve Acil Durum Y?netimi Ba?kanl??? > Bilgi ??lem ?Dairesi Ba?kanl???-CBS Grubu > > From sacha.fouchard at gmail.com Wed Jul 10 06:12:13 2019 From: sacha.fouchard at gmail.com (Sacha Fouchard) Date: Wed, 10 Jul 2019 15:12:13 +0200 Subject: [mapserver-users] mapcache configuration for openlayers XYZ source Message-ID: Dear mapserver users, I am pretty new with mapcache configuration and try without success to manage an openlayers 4 ol.source.XYZ cache. Url I need to cache is: http://{1-4}. basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png This is working in openlayers directly. For a mapcache use, what would be the simplest mapcache.xml configuration? For ol.source.TileWMS, i fallowed mapcache configuration example and it works prefectly. Best regards for all of you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmckenna at gatewaygeomatics.com Wed Jul 10 06:18:41 2019 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Wed, 10 Jul 2019 10:18:41 -0300 Subject: [mapserver-users] mapcache configuration for openlayers XYZ source In-Reply-To: References: Message-ID: <9e659390-9666-6e41-3701-44eab278f4bc@gatewaygeomatics.com> I don't know that it applies directly to your current needs, but there is a wiki page outlining specific steps to enable OpenLayers + MapCache at https://ms4w.com/trac/wiki/MapCacheOpenLayers -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ On 2019-07-10 10:12 AM, Sacha Fouchard wrote: > Dear mapserver users, > I am pretty new with mapcache configuration and try without success to > manage an openlayers 4 ol.source.XYZ cache. > Url I need to cache is: > http://{1-4}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png > > This is working in openlayers directly. > For a mapcache use, what would be the simplest mapcache.xml configuration? > > For ol.source.TileWMS, i fallowed mapcache configuration example and it > works prefectly. > > Best regards for all of you. > > From MarkVolz at co.lyon.mn.us Wed Jul 10 11:43:05 2019 From: MarkVolz at co.lyon.mn.us (Mark Volz) Date: Wed, 10 Jul 2019 18:43:05 +0000 Subject: [mapserver-users] Trouble when serving mapcache WMTS to ArcMap clients - custom county projection for Minnesota? Message-ID: <6290ae2cff5b4550891c4480d2eb837f@co.lyon.mn.us> Hello, I am having trouble serving a Mapserver / Mapcache WMTS service to ArcMAP clients when using my counties projection which is 103749 for Lyon County, MN. At most tile zoom levels the air photo are further South than where they should otherwise be located. The only exception is that around 1:6000 the image lines up perfectly. When I connect ArcMAP to the Mapcache Service using WMS the service works fine however ArcGIS wants to consume the service in WGS_84 instead of county projections. Is there anything I need to do so that my WMTS service works better between MapServer(Mapcache), ArcGIS, and possibly QGIS? Reference: http://geomoose.lyonco.org/mapcache/wmts/1.0.0/WMTSCapabilities.xml Thank You! Sincerely, Mark Volz, GISP Lyon County GIS Coordinator -------------- next part -------------- An HTML attachment was scrubbed... URL: From sacha.fouchard at gmail.com Thu Jul 11 01:20:53 2019 From: sacha.fouchard at gmail.com (Sacha Fouchard) Date: Thu, 11 Jul 2019 10:20:53 +0200 Subject: [mapserver-users] mapcache configuration for openlayers XYZ source Message-ID: Hi Jeff, I followed the link you gave and it works perfectly but for ol.source.tileWMS. I need to use ol.source.XYZ and get tiles with http://my.server/z/x/y.png scheme. In my example, i have a source: http://{1-4}. basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png , declared in openlayers as ol.source.XYZ < http://ol.source.XYZ >. In line, no problem. Off line, I really don't know how to cache it. What could be a simple mapcache configuration? and what url from openlayers? regards Sacha -------------- next part -------------- An HTML attachment was scrubbed... URL: From sacha.fouchard at gmail.com Thu Jul 11 05:51:05 2019 From: sacha.fouchard at gmail.com (Sacha Fouchard) Date: Thu, 11 Jul 2019 05:51:05 -0700 (MST) Subject: [mapserver-users] mapcache configuration for openlayers XYZ source In-Reply-To: <9e659390-9666-6e41-3701-44eab278f4bc@gatewaygeomatics.com> References: <9e659390-9666-6e41-3701-44eab278f4bc@gatewaygeomatics.com> Message-ID: <1562849465341-0.post@n6.nabble.com> Hi Jeff, I followed the link you gave and it works perfectly but for ol.source.tileWMS. I need to use ol.source.XYZ and get tiles with http://my.server/z/x/y.png scheme. In my example, i have a source: http://{1-4}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png, declared in openlayers as ol.source.XYZ . In line, no problem. Off line, I really don't know how to cache it. What could be a simple mapcache configuration? and what url from openlayers? regards Sacha -- Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html From Andreas.Eichner at sid.sachsen.de Thu Jul 11 07:26:37 2019 From: Andreas.Eichner at sid.sachsen.de (Eichner, Andreas - SID) Date: Thu, 11 Jul 2019 14:26:37 +0000 Subject: [mapserver-users] mapcache configuration for openlayers XYZ source In-Reply-To: References: Message-ID: <6F331135492B944D90731CE93743D56814D6504A@FS-EX-DB102.fs.sachsen.de> Hello Sacha, according to https://mapserver.org/mapcache/sources.html#wmts-sources MapCache has no direct support for such source. You might try the support through GDAL mentioned there using a service description (https://gdal.org/drivers/raster/wmts.html#local-service-description-xml-file ). HTH > -----Original Message----- > From: mapserver-users [mailto:mapserver-users- > bounces at lists.osgeo.org] On Behalf Of Sacha Fouchard > Sent: Thursday, July 11, 2019 10:21 AM > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] mapcache configuration for openlayers > XYZ source > > Hi Jeff, > I followed the link you gave and it works perfectly but for > ol.source.tileWMS. > I need to use ol.source.XYZ and get tiles with > http://my.server/z/x/y.png scheme. > In my example, i have a source: http://{1- > 4}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png > D.png> , declared in openlayers as ol.source.XYZ > >. > In line, no problem. Off line, I really don't know how to cache > it. What could be a simple mapcache configuration? and what url > from openlayers? > regards > Sacha From bob.basques at ci.stpaul.mn.us Thu Jul 11 07:55:15 2019 From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul)) Date: Thu, 11 Jul 2019 14:55:15 +0000 Subject: [mapserver-users] Aug. 14th, 2019: OSGeo Local Chapter (aka TCMUG) Meeting Message-ID: All, Had a good time at Wabasha Brewing meet-up last evening. The next Meeting will be at Lake Monster Brewing. Lake Monster Brewing 550 Vandalia St, Unit 160, Saint Paul, MN 55114, United States bobb OSGeo Local Chapter (aka TCMUG) Meeting Scheduled: Aug 14, 2019 at 4:30 PM to 6:00 PM Location: Lake Monster Brewing 550 Vandalia St, Unit 160, Saint Paul, MN 55114, United States -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: iCal-20190711-094533.ics Type: text/calendar Size: 1642 bytes Desc: iCal-20190711-094533.ics URL: From jpass at bgs.ac.uk Thu Jul 11 09:19:17 2019 From: jpass at bgs.ac.uk (Passmore, James H.) Date: Thu, 11 Jul 2019 16:19:17 +0000 Subject: [mapserver-users] Trouble when serving mapcache WMTS to ArcMap clients - custom Message-ID: I see you have in the GetCapabilities file urn:ogc:def:crs:EPSG:6.3:103744 That's surely wrong, as 103744 is not a valid EPSG code, but one defined by ESRI (https://github.com/Esri/projection-engine-db-doc/blob/master/proj4/esri) I'm not sure if it would work if you stated it like urn:ogc:def:crs:ESRI::103744 or just ESRI::103744, but it's possible that ArcMap is trying to do an EPSG lookup, failing and reverting to WGS84 James Message: 1 Date: Wed, 10 Jul 2019 18:43:05 +0000 From: Mark Volz To: "mapserver-users at lists.osgeo.org" Subject: [mapserver-users] Trouble when serving mapcache WMTS to ArcMap clients - custom county projection for Minnesota? Message-ID: <6290ae2cff5b4550891c4480d2eb837f at co.lyon.mn.us> Content-Type: text/plain; charset="utf-8" Hello, I am having trouble serving a Mapserver / Mapcache WMTS service to ArcMAP clients when using my counties projection which is 103749 for Lyon County, MN. At most tile zoom levels the air photo are further South than where they should otherwise be located. The only exception is that around 1:6000 the image lines up perfectly. When I connect ArcMAP to the Mapcache Service using WMS the service works fine however ArcGIS wants to consume the service in WGS_84 instead of county projections. Is there anything I need to do so that my WMTS service works better between MapServer(Mapcache), ArcGIS, and possibly QGIS? Reference: http://geomoose.lyonco.org/mapcache/wmts/1.0.0/WMTSCapabilities.xml Thank You! Sincerely, Mark Volz, GISP Lyon County GIS Coordinator This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. UK Research and Innovation has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UK Research and Innovation does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. Opinions, conclusions or other information in this message and attachments that are not related directly to UK Research and Innovation business are solely those of the author and do not represent the views of UK Research and Innovation. From MarkVolz at co.lyon.mn.us Thu Jul 11 13:27:16 2019 From: MarkVolz at co.lyon.mn.us (Mark Volz) Date: Thu, 11 Jul 2019 20:27:16 +0000 Subject: [mapserver-users] Trouble when serving mapcache WMTS to ArcMap clients - Message-ID: <93d59299bf9e4a3c9204a7e708ab1033@co.lyon.mn.us> James and Others, Exactly how should SRS in the grid? Should change from "EPSG:103749" to " ESRI::103744" Lyon County, MN 352256 90112 614400 352256 EPSG:103749 1024 512 256 128 64 32 16 8 4 2 1 0.5 0.25 ft 256 256 Also, I did try setting up a mapcache and I think things are starting to work. However it bugs me because I don?t know exactly why they are working, and if there is anything else I need to do to make the WMTS work even better for other clients. After making these changes on mapcache on my local machine everything worked fine in ArcMap *I removed all of the other projections except for Lyon County Coordinates 103749 (note 103744 is for another projection) *I changed the resolutions to make sure they are powers of two. Remaining questions 1)Is it required that WMTS services have resolutions with a power of 2? 2)Do I need to share my data at a certain DPI? I have two ArcGIS test services. With ArcGIS Online one service works with a DPI of 96, the other with a DPI of 72 does not work in ArcGIS Online. This may be a limitation of ArcGIS Online as both services work in ArcMap. 3)Is there a reason why ArcMap only wanted to consume WGS_84 instead of Lyon County Coordinates? Thank You! Sincerely, Mark Volz, GISP Lyon County GIS Coordinator -----Original Message----- From: mapserver-users On Behalf Of mapserver-users-request at lists.osgeo.org Sent: Thursday, July 11, 2019 2:00 PM To: mapserver-users at lists.osgeo.org Subject: mapserver-users Digest, Vol 138, Issue 8 SWHHS/LYON/LINCOLN COUNTY SECURITY NOTICE: This email originated from an external sender. Exercise caution before clicking on any links or attachments and consider whether you know the sender. For more information please contact IT support. ________________________________ Send mapserver-users mailing list submissions to mapserver-users at lists.osgeo.org To subscribe or unsubscribe via the World Wide Web, visit https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.osgeo.org%2fmailman%2flistinfo%2fmapserver-users&c=E,1,ANUOwSyHB32pc0mB6lckKm9GYPsZo3v4I58sBJ1Q-p6gyPiwn2RpnKtexO4K2SWwpkIurPglLxK--lnOH9HNn95yrTWIngPzAb_jadmfbe6KQ_No2YLwtvnGbW4,&typo=1 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. Re: Trouble when serving mapcache WMTS to ArcMap clients - custom (Passmore, James H.) ---------------------------------------------------------------------- Message: 1 Date: Thu, 11 Jul 2019 16:19:17 +0000 From: "Passmore, James H." To: "mapserver-users at lists.osgeo.org" Subject: Re: [mapserver-users] Trouble when serving mapcache WMTS to ArcMap clients - custom Message-ID: Content-Type: text/plain; charset="utf-8" I see you have in the GetCapabilities file urn:ogc:def:crs:EPSG:6.3:103744 That's surely wrong, as 103744 is not a valid EPSG code, but one defined by ESRI (https://github.com/Esri/projection-engine-db-doc/blob/master/proj4/esri) I'm not sure if it would work if you stated it like urn:ogc:def:crs:ESRI::103744 or just ESRI::103744, but it's possible that ArcMap is trying to do an EPSG lookup, failing and reverting to WGS84 James Message: 1 Date: Wed, 10 Jul 2019 18:43:05 +0000 From: Mark Volz To: "mapserver-users at lists.osgeo.org" Subject: [mapserver-users] Trouble when serving mapcache WMTS to ArcMap clients - custom county projection for Minnesota? Message-ID: <6290ae2cff5b4550891c4480d2eb837f at co.lyon.mn.us> Content-Type: text/plain; charset="utf-8" Hello, I am having trouble serving a Mapserver / Mapcache WMTS service to ArcMAP clients when using my counties projection which is 103749 for Lyon County, MN. At most tile zoom levels the air photo are further South than where they should otherwise be located. The only exception is that around 1:6000 the image lines up perfectly. When I connect ArcMAP to the Mapcache Service using WMS the service works fine however ArcGIS wants to consume the service in WGS_84 instead of county projections. Is there anything I need to do so that my WMTS service works better between MapServer(Mapcache), ArcGIS, and possibly QGIS? Reference: https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fgeomoose.lyonco.org%2fmapcache%2fwmts%2f1.0.0%2fWMTSCapabilities.xml&c=E,1,VAvarNs7aGQKm-cK9kstof_MLmX9XuLjGHuOg5DEXzAEjdJKbLcWTbEGjt-Ql_-yS1OppE29i5-0hyBUhwP2UR0scAyxP7O8tCtRChjdfa6yiTHy8KOY&typo=1 Thank You! Sincerely, Mark Volz, GISP Lyon County GIS Coordinator This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. UK Research and Innovation has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UK Research and Innovation does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. Opinions, conclusions or other information in this message and attachments that are not related directly to UK Research and Innovation business are solely those of the author and do not represent the views of UK Research and Innovation. ------------------------------ Subject: Digest Footer _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.osgeo.org%2fmailman%2flistinfo%2fmapserver-users&c=E,1,bxJdgJCpjdoFUEglr3mdeH89D0cOwrXUb1H7OOSgTMsNvkGsuQetZ67H1_XVXwiKNVakFS3u85mIPTvacCjxD_miX3cGhT3t8o_mJ_fdmmvo6to,&typo=1 ------------------------------ End of mapserver-users Digest, Vol 138, Issue 8 *********************************************** From jmckenna at gatewaygeomatics.com Fri Jul 12 08:42:10 2019 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Fri, 12 Jul 2019 12:42:10 -0300 Subject: [mapserver-users] maintenance version 7.4.1 released Message-ID: The maintenance release of MapServer 7.4.1 is now available for download: http://mapserver.org/download.html For a list of the many changes please see the changelog: https://mapserver.org/development/changelog/changelog-7-4.html Thank you to all of the users, developers, documenters, and packagers for sharing the passion for such a great project. -- The MapServer Team From Kai.Behncke at ibbenbueren.de Mon Jul 15 08:43:37 2019 From: Kai.Behncke at ibbenbueren.de (Kai Behncke) Date: Mon, 15 Jul 2019 17:43:37 +0200 Subject: [mapserver-users] MapServer with oracle-spatial on a linuxsystem Message-ID: <5D2C9F290200008B0003B8A2@mail.ibbenbueren.de> Dear users, on a SUSE System (SLES 15) I try to configure mapserver 7.4. with Oracle-spatial support. Important: The Oracle Database is installed on another server. I wonder if I need also the oracle-installation on the SLES 15-server or if the oracle client is enough? So far I installed the client at /usr/lib64/oracle/11.2.0.4.0/client/lib/ I try to configure with: cmake .. -DCMAKE_PREFIX_PATH=/usr/lib64:/usr/share/gdal:/usr/lib64/oracle/11.2.0.4.0/client/lib -DWITH_ORACLESPATIAL=1 -DWITH_HARFBUZZ=0 -DWITH_PROTOBUFC=0 -DWITH_FRIBIDI=0 ...but in the output I always get: CMake Error at CMakeLists.txt:73 (message): ORACLESPATIAL library/component/dependency could not be found. Does that mean I definetely need an oracle installation? Thank you very much, Kai Mit freundlichen Gr??en Im Auftrag Kai Behncke Geoinformation Tel.: +49 5451 931-7125 E-Mail: kai.behncke at ibbenbueren.de Rathaus II Roncallistra?e 3-5 1. Stock, Raum 105 49477 Ibbenb?ren -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.smith.erdc at gmail.com Mon Jul 15 09:19:37 2019 From: michael.smith.erdc at gmail.com (Michael Smith) Date: Mon, 15 Jul 2019 12:19:37 -0400 Subject: [mapserver-users] MapServer with oracle-spatial on a linuxsystem In-Reply-To: <5D2C9F290200008B0003B8A2@mail.ibbenbueren.de> References: <5D2C9F290200008B0003B8A2@mail.ibbenbueren.de> Message-ID: Kai, To compile mapserver with oracle support, you need the sdk and the oracle client library. The instant client library and sdk files are fine for this. You do not need a local install of the database or the full client. You need Instant Client Package ? SDK and the Basic (or Basic Light) Package. Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers From: mapserver-users on behalf of Kai Behncke Date: Monday, July 15, 2019 at 11:49 AM To: "mapserver-users at lists.osgeo.org" Subject: [mapserver-users] MapServer with oracle-spatial on a linuxsystem Dear users, on a SUSE System (SLES 15) I try to configure mapserver 7.4. with Oracle-spatial support. Important: The Oracle Database is installed on another server. I wonder if I need also the oracle-installation on the SLES 15-server or if the oracle client is enough? So far I installed the client at /usr/lib64/oracle/11.2.0.4.0/client/lib/ I try to configure with: cmake .. -DCMAKE_PREFIX_PATH=/usr/lib64:/usr/share/gdal:/usr/lib64/oracle/11.2.0.4.0/client/lib -DWITH_ORACLESPATIAL=1 -DWITH_HARFBUZZ=0 -DWITH_PROTOBUFC=0 -DWITH_FRIBIDI=0 ...but in the output I always get: CMake Error at CMakeLists.txt:73 (message): ORACLESPATIAL library/component/dependency could not be found. Does that mean I definetely need an oracle installation? Thank you very much, Kai Mit freundlichen Gr??en Im Auftrag Kai Behncke Geoinformation Tel.: +49 5451 931-7125 E-Mail: kai.behncke at ibbenbueren.de Rathaus II Roncallistra?e 3-5 1. Stock, Raum 105 49477 Ibbenb?ren _______________________________________________ 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 jmckenna at gatewaygeomatics.com Mon Jul 15 09:40:22 2019 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Mon, 15 Jul 2019 13:40:22 -0300 Subject: [mapserver-users] MapServer with oracle-spatial on a linuxsystem In-Reply-To: References: <5D2C9F290200008B0003B8A2@mail.ibbenbueren.de> Message-ID: Further to what Mike said, I usually grab the instant client from this page (it is often hard to find): https://www.oracle.com/database/technologies/instant-client/downloads.html -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ On 2019-07-15 1:19 PM, Michael Smith wrote: > Kai, > > To compile mapserver with oracle support, you need the sdk and the > oracle client library. The instant client library and sdk files are fine > for this. You do not need a local install of the database or the full > client. > > You need Instant Client Package ? SDK and the Basic (or Basic Light) > Package. > > Mike > > -- > > Michael Smith > > Remote Sensing/GIS Center > > US Army Corps of Engineers > > *From: *mapserver-users on > behalf of Kai Behncke > *Date: *Monday, July 15, 2019 at 11:49 AM > *To: *"mapserver-users at lists.osgeo.org" > *Subject: *[mapserver-users] MapServer with oracle-spatial on a linuxsystem > > Dear users, > > on a SUSE System (SLES 15) I try to configure mapserver 7.4. with > Oracle-spatial support. > > Important: The Oracle Database is installed on another server. > > I wonder if I need also the oracle-installation on the SLES 15-server or > if the oracle client is enough? So far I installed the client at > /usr/lib64/oracle/11.2.0.4.0/client/lib/ > > I try to configure with: > > cmake .. > -DCMAKE_PREFIX_PATH=/usr/lib64:/usr/share/gdal:/usr/lib64/oracle/11.2.0.4.0/client/lib > -DWITH_ORACLESPATIAL=1 -DWITH_HARFBUZZ=0 -DWITH_PROTOBUFC=0 -DWITH_FRIBIDI=0 > > ...but in the output I always get: CMake Error at CMakeLists.txt:73 > (message): ORACLESPATIAL library/component/dependency could not be found. > > Does that mean I definetely need an oracle installation? > > Thank you very much, Kai > > > > Mit freundlichen Gr??en > Im Auftrag > > Kai Behncke > Geoinformation > Tel.: +49 5451 931-7125 > > E-Mail: kai.behncke at ibbenbueren.de > > Rathaus II > Roncallistra?e 3-5 > 1. Stock, Raum 105 > 49477 Ibbenb?ren > From jmckenna at gatewaygeomatics.com Mon Jul 15 09:42:20 2019 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Mon, 15 Jul 2019 13:42:20 -0300 Subject: [mapserver-users] MapServer with oracle-spatial on a linuxsystem In-Reply-To: References: <5D2C9F290200008B0003B8A2@mail.ibbenbueren.de> Message-ID: Oh and I always use the "Basic" package, but I guess "lite" will work as Mike said. -jeff On 2019-07-15 1:40 PM, Jeff McKenna wrote: > Further to what Mike said, I usually grab the instant client from this > page (it is often hard to find): > https://www.oracle.com/database/technologies/instant-client/downloads.html > > -jeff > > > -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ From Kai.Behncke at ibbenbueren.de Mon Jul 15 23:59:22 2019 From: Kai.Behncke at ibbenbueren.de (Kai Behncke) Date: Tue, 16 Jul 2019 08:59:22 +0200 Subject: [mapserver-users] Antw: Re: MapServer with oracle-spatial on a linuxsystem In-Reply-To: References: <5D2C9F290200008B0003B8A2@mail.ibbenbueren.de> Message-ID: <5D2D75CA0200008B0003B8D0@mail.ibbenbueren.de> Hi Michael, Hi Jeff, First of all thank you very much for your responses. Meanwhile I have installed from that page: https://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html a) in version 11.2: Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications b) Instant Client Package - SDK: Additional header files and an example makefile for developing Oracle applications with Instant Client by "rpm -i". But (so far) nevertheless I don`t get mapserver configured with oracle spatial. For me it`s not clear with path I have to set. I have (e.g.) tried: cmake .. -DCMAKE_PREFIX_PATH=/usr/lib64:/usr/share/gdal:/usr/share/oracle/11.2/client64 -DWITH_ORACLESPATIAL=1 -DWITH_HARFBUZZ=0 -DWITH_PROTOBUFC=0 -DWITH_FRIBIDI=0 -DWITH_FCGI=0 ...without success. On SUSE SLES 15 I have "oracle-entires" at: /usr/share/oracle/11.2/client64 /usr/lib/oracle/11.2/client64/ /usr/include/oracle/11.2/client64/ I there any other step I have to do? Thank you very much, Kai Mit freundlichen Gr??en Im Auftrag Kai Behncke Geoinformation Tel.: +49 5451 931-7125 E-Mail: kai.behncke at ibbenbueren.de Rathaus II Roncallistra?e 3-5 1. Stock, Raum 105 49477 Ibbenb?ren >>> Michael Smith 15.07.2019 18:19 >>> Kai, To compile mapserver with oracle support, you need the sdk and the oracle client library. The instant client library and sdk files are fine for this. You do not need a local install of the database or the full client. You need Instant Client Package ? SDK and the Basic (or Basic Light) Package. Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers From: mapserver-users on behalf of Kai Behncke Date: Monday, July 15, 2019 at 11:49 AM To: "mapserver-users at lists.osgeo.org" Subject: [mapserver-users] MapServer with oracle-spatial on a linuxsystem Dear users, on a SUSE System (SLES 15) I try to configure mapserver 7.4. with Oracle-spatial support. Important: The Oracle Database is installed on another server. I wonder if I need also the oracle-installation on the SLES 15-server or if the oracle client is enough? So far I installed the client at /usr/lib64/oracle/11.2.0.4.0/client/lib/ I try to configure with: cmake .. -DCMAKE_PREFIX_PATH=/usr/lib64:/usr/share/gdal:/usr/lib64/oracle/11.2.0.4.0/client/lib -DWITH_ORACLESPATIAL=1 -DWITH_HARFBUZZ=0 -DWITH_PROTOBUFC=0 -DWITH_FRIBIDI=0 ...but in the output I always get: CMake Error at CMakeLists.txt:73 (message): ORACLESPATIAL library/component/dependency could not be found. Does that mean I definetely need an oracle installation? Thank you very much, Kai Mit freundlichen Gr??en Im Auftrag Kai Behncke Geoinformation Tel.: +49 5451 931-7125 E-Mail: kai.behncke at ibbenbueren.de Rathaus II Roncallistra?e 3-5 1. Stock, Raum 105 49477 Ibbenb?ren _______________________________________________ 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 mailing at tam.si Tue Jul 16 02:24:30 2019 From: mailing at tam.si (Matej Mailing) Date: Tue, 16 Jul 2019 11:24:30 +0200 Subject: [mapserver-users] Mapcache seeder question In-Reply-To: References: Message-ID: Yes, it works and the cache directory size is increasing. V V pon., 8. jul. 2019 ob 17:29 je oseba Lime, Steve D (MNIT) napisala: > > And regular tile generation (no seeding) works ok? > > -----Original Message----- > From: Matej Mailing [mailto:mailing at tam.si] > Sent: Monday, July 08, 2019 12:26 AM > To: Lime, Steve D (MNIT) ; mapserver-users at lists.osgeo.org > Subject: Re: [mapserver-users] Mapcache seeder question > > This message may be from an external email source. > Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center. > > > > Hello Steve, > > thanks for answering. I have changed the extent definition in grid > declaration, but I still get the "0 tiles needed to be seeded, > exiting" message back from mapcache_seed. > > Any ideas will be appreciated. > > Thanks, > Matej > > V V pet., 5. jul. 2019 ob 23:00 je oseba Lime, Steve D (MNIT) > napisala: > > > > I believe the in your grid should be space delimited - no commas. At least that's how I have things setup, for example... > > > > > > > > Standard Minnesota UTM Grid > > > > 105000 4785000 809000 5489000 > > epsg:26915 > > 256 256 > > 5500 2750 1375 687.5 343.75 171.875 85.9375 42.96875 21.484375 10.7421875 5.37109375 2.685546875 1.3427734375 > > > > > > --Steve > > > > -----Original Message----- > > From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Matej Mailing > > Sent: Thursday, July 04, 2019 10:35 AM > > To: mapserver-users at lists.osgeo.org > > Subject: [mapserver-users] Mapcache seeder question > > > > This message may be from an external email source. > > Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center. > > > > > > > > Hello, > > I am having issues with running Mapcache Seeder with extent options. > > My grid is defined like: > > > > 256 256 > > 373233,31868 625985,194134 > > EPSG:3912 > > m > > 180000 90000 45000 22500 11250 5000 2500 1250 600 300 > > 200 100 50 25 12 6 3 1 0.5 0.25 0.12 0.06 > > > > > > and when I try to run seeder with: > > mapcache_seed -c mapcache.xml -t dof025 -g SLOGRID -z 3,10 -n 6 -e > > 533124,86639,544462,103589 > > > > I get an output 0 tiles needed to be seeded, exiting, which is > > certainly not true since plenty of those do not exist in the cache > > directory. > > > > What am I missing? > > > > Thanks, > > Matej > > _______________________________________________ > > mapserver-users mailing list > > mapserver-users at lists.osgeo.org > > https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users&data=02%7C01%7Csteve.lime%40state.mn.us%7C202cd663129445fe4f3908d70364db3a%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C636981604044024635&sdata=H7Hfyb9kyJueMQ%2Bh9puMB4C1WyTzrI3I8RzeFqvLXVI%3D&reserved=0 From Kai.Behncke at ibbenbueren.de Tue Jul 16 03:24:16 2019 From: Kai.Behncke at ibbenbueren.de (Kai Behncke) Date: Tue, 16 Jul 2019 12:24:16 +0200 Subject: [mapserver-users] Antw: Re: MapServer with oracle-spatial on a linuxsystem In-Reply-To: References: <5D2C9F290200008B0003B8A2@mail.ibbenbueren.de> Message-ID: <5D2DA5D00200008B0003B90C@mail.ibbenbueren.de> Allright, finally I got it. I declared: export ORACLE_HOME=/usr/lib/oracle/12.2/client64 export LD_LIBRARY_PATH=${ORACLE_HOME}:/usr/lib and in my case I got a problem with the ORACLE_INCLUDE_DIR. I changed in the cmake-directory cmake/FindOracle.cmake: if(DEFINED ENV{ORACLE_HOME}) 27 28 set(ORACLE_HOME $ENV{ORACLE_HOME}) 29 message("ORACLE_HOME=${ORACLE_HOME}") 30 31 find_path(ORACLE_INCLUDE_DIR 32 NAMES oci.h 33 PATHS 34 35 /usr/include/oracle/12.2/client64) And I configured mapserver by: cmake .. -DCMAKE_BUILD_TYPE='debug' -DCMAKE_INSTALL_PREFIX=/opt/mapserver -DCMAKE_PREFIX_PATH=/usr/lib/oracle/12.2/client64:/usr/include/oracle/12.2/client64: /usr/lib:/usr/lib64:/usr/share/gdal -DWITH_ORACLESPATIAL=1 -DWITH_PROTOBUFC=0 -DWITH_FCGI=0 -DWITH_CURL=1 and then I got it: -- * LIBXML2: /usr/lib64/libxml2.so -- * POSTGIS: /usr/lib64/libpq.so -- * GEOS: /usr/lib64/libgeos_c.so -- * FastCGI: disabled -- * PROTOBUFC: disabled -- * Oracle Spatial: /usr/lib/oracle/12.2/client64/lib/libclntsh.so;/usr/lib/oracle/12.2/client64/lib/libocci.so;/usr/lib/oracle/12.2/client64/lib/libnnz12.so -- * Exempi XMP: disabled -- * Optional features -- * WMS SERVER: ENABLED -- * WFS SERVER: ENABLED -- * WCS SERVER: ENABLED Thank you very much, Kai Mit freundlichen Gr??en Im Auftrag Kai Behncke Geoinformation Tel.: +49 5451 931-7125 E-Mail: kai.behncke at ibbenbueren.de Rathaus II Roncallistra?e 3-5 1. Stock, Raum 105 49477 Ibbenb?ren >>> Jeff McKenna 15.07.2019 18:42 >>> Oh and I always use the "Basic" package, but I guess "lite" will work as Mike said. -jeff On 2019-07-15 1:40 PM, Jeff McKenna wrote: > Further to what Mike said, I usually grab the instant client from this > page (it is often hard to find): > https://www.oracle.com/database/technologies/instant-client/downloads.html > > -jeff > > > -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ _______________________________________________ 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 michael.smith.erdc at gmail.com Tue Jul 16 03:56:18 2019 From: michael.smith.erdc at gmail.com (michael.smith.erdc at gmail.com) Date: Tue, 16 Jul 2019 06:56:18 -0400 Subject: [mapserver-users] Antw: Re: MapServer with oracle-spatial on a linuxsystem In-Reply-To: <5D2D75CA0200008B0003B8D0@mail.ibbenbueren.de> References: <5D2C9F290200008B0003B8A2@mail.ibbenbueren.de> <5D2D75CA0200008B0003B8D0@mail.ibbenbueren.de> Message-ID: Kai, Check the cmake build log too. You also need the libaio library. I also set the following ENV variables ORACLE_HOME - set to the path to the instantclient location LD_LIBRARY_PATH - set to the path to the instantclient location Michael Smith > On Jul 16, 2019, at 2:59 AM, Kai Behncke wrote: > > Hi Michael, Hi Jeff, > > First of all thank you very much for your responses. > > Meanwhile I have installed from that page: > https://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html > > a) in version 11.2: Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications > b) Instant Client Package - SDK: Additional header files and an example makefile for developing Oracle applications with Instant Client > > by "rpm -i". > > But (so far) nevertheless I don`t get mapserver configured with oracle spatial. > > For me it`s not clear with path I have to set. I have (e.g.) tried: > > cmake .. -DCMAKE_PREFIX_PATH=/usr/lib64:/usr/share/gdal:/usr/share/oracle/11.2/client64 -DWITH_ORACLESPATIAL=1 -DWITH_HARFBUZZ=0 -DWITH_PROTOBUFC=0 -DWITH_FRIBIDI=0 -DWITH_FCGI=0 > > > ...without success. > > On SUSE SLES 15 I have "oracle-entires" at: > > > /usr/share/oracle/11.2/client64 > /usr/lib/oracle/11.2/client64/ > /usr/include/oracle/11.2/client64/ > > I there any other step I have to do? > > Thank you very much, Kai > > > > > > Mit freundlichen Gr??en > Im Auftrag > > Kai Behncke > Geoinformation > Tel.: +49 5451 931-7125 > > E-Mail: kai.behncke at ibbenbueren.de > > Rathaus II > Roncallistra?e 3-5 > 1. Stock, Raum 105 > 49477 Ibbenb?ren > > > >>> Michael Smith 15.07.2019 18:19 >>> > Kai, > > To compile mapserver with oracle support, you need the sdk and the oracle client library. The instant client library and sdk files are fine for this. You do not need a local install of the database or the full client. > > You need Instant Client Package ? SDK and the Basic (or Basic Light) Package. > > Mike > > > -- > Michael Smith > Remote Sensing/GIS Center > US Army Corps of Engineers > > > From: mapserver-users on behalf of Kai Behncke > Date: Monday, July 15, 2019 at 11:49 AM > To: "mapserver-users at lists.osgeo.org" > Subject: [mapserver-users] MapServer with oracle-spatial on a linuxsystem > > Dear users, > > on a SUSE System (SLES 15) I try to configure mapserver 7.4. with Oracle-spatial support. > > Important: The Oracle Database is installed on another server. > > I wonder if I need also the oracle-installation on the SLES 15-server or if the oracle client is enough? So far I installed the client at /usr/lib64/oracle/11.2.0.4.0/client/lib/ > > I try to configure with: > > cmake .. -DCMAKE_PREFIX_PATH=/usr/lib64:/usr/share/gdal:/usr/lib64/oracle/11.2.0.4.0/client/lib -DWITH_ORACLESPATIAL=1 -DWITH_HARFBUZZ=0 -DWITH_PROTOBUFC=0 -DWITH_FRIBIDI=0 > > ...but in the output I always get: CMake Error at CMakeLists.txt:73 (message): ORACLESPATIAL library/component/dependency could not be found. > > Does that mean I definetely need an oracle installation? > > Thank you very much, Kai > Mit freundlichen Gr??en > Im Auftrag > Kai Behncke > Geoinformation > Tel.: +49 5451 931-7125 > E-Mail: kai.behncke at ibbenbueren.de > Rathaus II > Roncallistra?e 3-5 > 1. Stock, Raum 105 > 49477 Ibbenb?ren > > _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikael.gronfeldt at visma.com Tue Jul 16 06:37:44 2019 From: mikael.gronfeldt at visma.com (=?utf-8?q?Mikael=20Gr=c3=b8nfeldt?=) Date: Tue, 16 Jul 2019 13:37:44 +0000 Subject: [mapserver-users] MapServer with oracle-spatial on a linuxsystem Message-ID: Hi Kai On a Oracle Linux 7 I have compiled Mapserver 7.0.6 with Oraclespatial using these parameters Note the path to Oracle at the DWITH_ORACLESPATIAL parameter. %cmake -DWITH_CLIENT_WFS=ON \ -DWITH_CLIENT_WMS=ON \ -DWITH_CURL=ON \ -DWITH_SOS=ON \ -DWITH_PHP=OFF \ -DWITH_PYTHON=OFF \ -DWITH_PERL=OFF \ -DWITH_JAVA=OFF \ -DWITH_POSTGIS=OFF \ -DWITH_OGR=ON \ -DWITH_PROJ=ON \ -DWITH_RSVG=ON \ -DWITH_KML=ON \ -DWITH_SOS=ON \ -DWITH_FRIBIDI=ON \ -DWITH_ICONV=ON \ -DWITH_CAIRO=ON \ -DWITH_FCGI=ON \ -DWITH_GEOS=ON \ -DWITH_GDAL=ON \ -DWITH_WFS=ON \ -DWITH_WCS=ON \ -DWITH_LIBXML2=ON \ -DWITH_THREAD_SAFETY=ON \ -DWITH_GIF=ON \ -DWITH_HARFBUZZ=ON \ -DWITH_ORACLESPATIAL=/u01/app/oracle/product/12.1.0/client_1 .. Best regards, / Med venlig hilsen Mikael Gr?nfeldt Business Manager Mobile +45 23 72 31 81 | Switchboard +45 72 18 30 00 Visma Consulting A/S N?rgaardsvej 32, DK-2800 Kongens Lyngby | www.visma.dk Stay ahead with leading cloud software This communication is intended for the person(s) named above only. It contains information that is confidential and legally privileged. If received in error, please delete this e-mail and notify the sender. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmck at interactive.co.uk Tue Jul 16 07:37:15 2019 From: dmck at interactive.co.uk (David McKelvie) Date: Tue, 16 Jul 2019 15:37:15 +0100 Subject: [mapserver-users] A suggestion to improve error messages: Message-ID: <87tvbmm4f8.fsf@interactive.co.uk> A suggestion to improve error messages: Trying to get a maptile I got the error page msCGILoadMap(): Web application error. Parameter 'map' value fails to validate. It would be really helpful if this could have said msCGILoadMap(): Web application error. Parameter 'map' value '/var/opt/mapserver/mymap.map' fails to match the MS_MAP_PATTERN value '/home/data'. Or something similar, with more details about what went wrong. This should not be a large and complicated change to mapserver-7.2.2/mapservutil.c to update the error message. ./mapserver-7.2.2/mapservutil.c: if(getenv("MS_MAP_PATTERN") && msEvalRegex(getenv("MS_MAP_PATTERN"), mapserv->request->ParamValues[i]) != MS_TRUE) { msSetError(MS_WEBERR, "Parameter 'map' value fails to validate.", "msCGILoadMap()"); return NULL; } David McKelvie From ijturton at gmail.com Tue Jul 16 08:21:50 2019 From: ijturton at gmail.com (Ian Turton) Date: Tue, 16 Jul 2019 16:21:50 +0100 Subject: [mapserver-users] A suggestion to improve error messages: In-Reply-To: <87tvbmm4f8.fsf@interactive.co.uk> References: <87tvbmm4f8.fsf@interactive.co.uk> Message-ID: On Tue, 16 Jul 2019 at 16:03, David McKelvie wrote: > > A suggestion to improve error messages: > > Trying to get a maptile I got the error page > > msCGILoadMap(): Web application error. Parameter 'map' value fails to > validate. > > It would be really helpful if this could have said > > msCGILoadMap(): Web application error. Parameter 'map' value > '/var/opt/mapserver/mymap.map' fails to match the MS_MAP_PATTERN value > '/home/data'. > > That would leak potentially "secret" information that I might not want "hackers" to see. But if it went into the log file that would be helpful. Ian -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmck at interactive.co.uk Tue Jul 16 09:32:10 2019 From: dmck at interactive.co.uk (David McKelvie) Date: Tue, 16 Jul 2019 17:32:10 +0100 Subject: [mapserver-users] A suggestion to improve error messages: In-Reply-To: (message from Ian Turton on Tue, 16 Jul 2019 16:21:50 +0100) Message-ID: <87lfwylz3p.fsf@interactive.co.uk> Thanks. OK, so you dont want to leak potentially "secret" information. That is fair enough. If the visible error message had said 'map parameter does not match the MS_MAP_PATTERN regular expression' then that would I think not leak useful information to malicious parties but would have helped me track down what was misconfigured in my setup. David From jmckenna at gatewaygeomatics.com Tue Jul 16 10:16:51 2019 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Tue, 16 Jul 2019 14:16:51 -0300 Subject: [mapserver-users] Antw: Re: MapServer with oracle-spatial on a linuxsystem In-Reply-To: <5D2DA5D00200008B0003B90C@mail.ibbenbueren.de> References: <5D2C9F290200008B0003B8A2@mail.ibbenbueren.de> <5D2DA5D00200008B0003B90C@mail.ibbenbueren.de> Message-ID: <315d6155-120f-f853-8a77-a4af60173cb8@gatewaygeomatics.com> I also took the time to update the OracleSpatial docs (https://mapserver.org/input/vector/oracle.html). If you have any enhancements please be sure to file your new issue or pull request to the "docs" instance at https://github.com/mapserver/docs thanks! -jeff On 2019-07-16 7:24 AM, Kai Behncke wrote: > Allright, finally I got it. > > > I declared: > export ORACLE_HOME=/usr/lib/oracle/12.2/client64 > export LD_LIBRARY_PATH=${ORACLE_HOME}:/usr/lib > > and in my case I got a problem with the ORACLE_INCLUDE_DIR. > > I changed in the cmake-directory cmake/FindOracle.cmake: > > ?if(DEFINED ENV{ORACLE_HOME}) > ?27 > ?28?? set(ORACLE_HOME $ENV{ORACLE_HOME}) > ?29?? message("ORACLE_HOME=${ORACLE_HOME}") > ?30 > ?31?? find_path(ORACLE_INCLUDE_DIR > ?32???? NAMES oci.h > ?33???? PATHS > ?34 > ?35???? /usr/include/oracle/12.2/client64) > > > And I configured mapserver by: > > cmake .. -DCMAKE_BUILD_TYPE='debug' > -DCMAKE_INSTALL_PREFIX=/opt/mapserver > -DCMAKE_PREFIX_PATH=/usr/lib/oracle/12.2/client64:/usr/include/oracle/12.2/client64: > /usr/lib:/usr/lib64:/usr/share/gdal -DWITH_ORACLESPATIAL=1 > -DWITH_PROTOBUFC=0 -DWITH_FCGI=0 -DWITH_CURL=1 > > and then I got it: > > > --?? * LIBXML2: /usr/lib64/libxml2.so > --?? * POSTGIS: /usr/lib64/libpq.so > --?? * GEOS: /usr/lib64/libgeos_c.so > --?? * FastCGI: disabled > --?? * PROTOBUFC: disabled > --?? * Oracle Spatial: > /usr/lib/oracle/12.2/client64/lib/libclntsh.so;/usr/lib/oracle/12.2/client64/lib/libocci.so;/usr/lib/oracle/12.2/client64/lib/libnnz12.so > --?? * Exempi XMP: disabled > --? * Optional features > --?? * WMS SERVER: ENABLED > --?? * WFS SERVER: ENABLED > --?? * WCS SERVER: ENABLED > > > Thank you very much, Kai > > Mit freundlichen Gr??en > Im Auftrag > > Kai Behncke > Geoinformation > Tel.: +49 5451 931-7125 > > E-Mail: kai.behncke at ibbenbueren.de > > Rathaus II > Roncallistra?e 3-5 > 1. Stock, Raum 105 > 49477 Ibbenb?ren > > >>>> Jeff McKenna 15.07.2019 18:42 >>> > Oh and I always use the "Basic" package, but I guess "lite" will work as > Mike said.?? -jeff > > > > On 2019-07-15 1:40 PM, Jeff McKenna wrote: > > Further to what Mike said, I usually grab the instant client from this > > page (it is often hard to find): > > > https://www.oracle.com/database/technologies/instant-client/downloads.html > > > > > -jeff > > > > > > > From michael.smith.erdc at gmail.com Tue Jul 16 10:17:35 2019 From: michael.smith.erdc at gmail.com (Michael Smith) Date: Tue, 16 Jul 2019 13:17:35 -0400 Subject: [mapserver-users] Antw: Re: MapServer with oracle-spatial on a linuxsystem In-Reply-To: <315d6155-120f-f853-8a77-a4af60173cb8@gatewaygeomatics.com> References: <5D2C9F290200008B0003B8A2@mail.ibbenbueren.de> <5D2DA5D00200008B0003B90C@mail.ibbenbueren.de> <315d6155-120f-f853-8a77-a4af60173cb8@gatewaygeomatics.com> Message-ID: Thanks Jeff! M ?On 7/16/19, 1:17 PM, "mapserver-users on behalf of Jeff McKenna" wrote: I also took the time to update the OracleSpatial docs (https://mapserver.org/input/vector/oracle.html). If you have any enhancements please be sure to file your new issue or pull request to the "docs" instance at https://github.com/mapserver/docs thanks! -jeff On 2019-07-16 7:24 AM, Kai Behncke wrote: > Allright, finally I got it. > > > I declared: > export ORACLE_HOME=/usr/lib/oracle/12.2/client64 > export LD_LIBRARY_PATH=${ORACLE_HOME}:/usr/lib > > and in my case I got a problem with the ORACLE_INCLUDE_DIR. > > I changed in the cmake-directory cmake/FindOracle.cmake: > > if(DEFINED ENV{ORACLE_HOME}) > 27 > 28 set(ORACLE_HOME $ENV{ORACLE_HOME}) > 29 message("ORACLE_HOME=${ORACLE_HOME}") > 30 > 31 find_path(ORACLE_INCLUDE_DIR > 32 NAMES oci.h > 33 PATHS > 34 > 35 /usr/include/oracle/12.2/client64) > > > And I configured mapserver by: > > cmake .. -DCMAKE_BUILD_TYPE='debug' > -DCMAKE_INSTALL_PREFIX=/opt/mapserver > -DCMAKE_PREFIX_PATH=/usr/lib/oracle/12.2/client64:/usr/include/oracle/12.2/client64: > /usr/lib:/usr/lib64:/usr/share/gdal -DWITH_ORACLESPATIAL=1 > -DWITH_PROTOBUFC=0 -DWITH_FCGI=0 -DWITH_CURL=1 > > and then I got it: > > > -- * LIBXML2: /usr/lib64/libxml2.so > -- * POSTGIS: /usr/lib64/libpq.so > -- * GEOS: /usr/lib64/libgeos_c.so > -- * FastCGI: disabled > -- * PROTOBUFC: disabled > -- * Oracle Spatial: > /usr/lib/oracle/12.2/client64/lib/libclntsh.so;/usr/lib/oracle/12.2/client64/lib/libocci.so;/usr/lib/oracle/12.2/client64/lib/libnnz12.so > -- * Exempi XMP: disabled > -- * Optional features > -- * WMS SERVER: ENABLED > -- * WFS SERVER: ENABLED > -- * WCS SERVER: ENABLED > > > Thank you very much, Kai > > Mit freundlichen Gr??en > Im Auftrag > > Kai Behncke > Geoinformation > Tel.: +49 5451 931-7125 > > E-Mail: kai.behncke at ibbenbueren.de > > Rathaus II > Roncallistra?e 3-5 > 1. Stock, Raum 105 > 49477 Ibbenb?ren > > >>>> Jeff McKenna 15.07.2019 18:42 >>> > Oh and I always use the "Basic" package, but I guess "lite" will work as > Mike said. -jeff > > > > On 2019-07-15 1:40 PM, Jeff McKenna wrote: > > Further to what Mike said, I usually grab the instant client from this > > page (it is often hard to find): > > > https://www.oracle.com/database/technologies/instant-client/downloads.html > > > > > -jeff > > > > > > > _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users From jerryfaust1 at gmail.com Wed Jul 17 11:12:36 2019 From: jerryfaust1 at gmail.com (Jerry Faust) Date: Wed, 17 Jul 2019 11:12:36 -0700 Subject: [mapserver-users] Programmatically refresh the current view Message-ID: Hello all. We have set up MapServer using MS4W, running against IIS. We have a .map file defined to include about a dozen layers contained in an ESRI GDB format. All of this works fine for the initial load of the map, but following any data changes, we would like to be able to force a refresh of the map without having to reload the entire page. For example, if we simply drag/pan the map, the layers will refresh with the latest data using the current zoom-level/extents; but we would like to programmatically refresh the view when data has changed. Up to this point we have exhausted what we feel are the relevant OpenLayers API calls found at http://dev.openlayers.org/docs/files/OpenLayers-js.html (OpenLayers.Layer, OpenLayers.MapServer, & OpenLayers.Map). Everything that we?ve tried so far seems to simply reload the last cached image. Another developer working with this has set up buttons that recenter the map to predetermined locations. This is what he has reported. - Whenever we press one of these, we create a new OpenLayers.Map object (always with the same extents) and OpenLayers.Layer.MapServer (always with the same params). Then, we add the layer to the map object and call setCenter, with the lat-long and scale. - If we center on Location A, then move a map marker (via a separate application) and go to Location B, the marker is seen in its new position. But if we click the button to recenter back on Location A, the marker appears to return to its old position. We suspect this is because the browser or the server is reusing a previously generated map image. If we reload the entire page, the marker is shown at its correct position. Thank you for any insight/feedback you could provide. Kind Regards. Jerry. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbo-ads at laposte.net Wed Jul 17 13:09:38 2019 From: jbo-ads at laposte.net (=?UTF-8?B?SsOpcm9tZSBCb3XDqQ==?=) Date: Wed, 17 Jul 2019 22:09:38 +0200 Subject: [mapserver-users] MapCache 1.8.0-rc2 ready for testing Message-ID: <772e400c-05c5-26e1-730d-fbd787179fc0@laposte.net> Today the project team has packaged the second release candidate of MapCache 1.8.0, which includes a? bug fix in addition to a long list of changes from first release candidate. Changelog: Download: Thanks, - MapServer / MapCache team From steve.lime at state.mn.us Wed Jul 17 14:51:12 2019 From: steve.lime at state.mn.us (Lime, Steve D (MNIT)) Date: Wed, 17 Jul 2019 21:51:12 +0000 Subject: [mapserver-users] Programmatically refresh the current view In-Reply-To: References: Message-ID: This isn't a MapServer issue per se. I mean MapServer isn't caching anything. If I understand your question you could bust the browser cache by adding another parameter to the call to mapserver - something to make each map call unique even if the layers and extent don't change. Just tagging on the current unix timestamp would do it (e.g. &_timestamp=134232523). ________________________________ From: mapserver-users on behalf of Jerry Faust Sent: Wednesday, July 17, 2019 1:12:36 PM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Programmatically refresh the current view This message may be from an external email source. Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center. Hello all. We have set up MapServer using MS4W, running against IIS. We have a .map file defined to include about a dozen layers contained in an ESRI GDB format. All of this works fine for the initial load of the map, but following any data changes, we would like to be able to force a refresh of the map without having to reload the entire page. For example, if we simply drag/pan the map, the layers will refresh with the latest data using the current zoom-level/extents; but we would like to programmatically refresh the view when data has changed. Up to this point we have exhausted what we feel are the relevant OpenLayers API calls found at http://dev.openlayers.org/docs/files/OpenLayers-js.html (OpenLayers.Layer, OpenLayers.MapServer, & OpenLayers.Map). Everything that we?ve tried so far seems to simply reload the last cached image. Another developer working with this has set up buttons that recenter the map to predetermined locations. This is what he has reported. * Whenever we press one of these, we create a new OpenLayers.Map object (always with the same extents) and OpenLayers.Layer.MapServer (always with the same params). Then, we add the layer to the map object and call setCenter, with the lat-long and scale. * If we center on Location A, then move a map marker (via a separate application) and go to Location B, the marker is seen in its new position. But if we click the button to recenter back on Location A, the marker appears to return to its old position. We suspect this is because the browser or the server is reusing a previously generated map image. If we reload the entire page, the marker is shown at its correct position. Thank you for any insight/feedback you could provide. Kind Regards. Jerry. -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve.lime at state.mn.us Wed Jul 17 15:09:45 2019 From: steve.lime at state.mn.us (Lime, Steve D (MNIT)) Date: Wed, 17 Jul 2019 22:09:45 +0000 Subject: [mapserver-users] Programmatically refresh the current view In-Reply-To: References: , Message-ID: BTW What version of OL are you using? ________________________________ From: Lime, Steve D (MNIT) Sent: Wednesday, July 17, 2019 4:51:12 PM To: Jerry Faust; mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Programmatically refresh the current view This isn't a MapServer issue per se. I mean MapServer isn't caching anything. If I understand your question you could bust the browser cache by adding another parameter to the call to mapserver - something to make each map call unique even if the layers and extent don't change. Just tagging on the current unix timestamp would do it (e.g. &_timestamp=134232523). ________________________________ From: mapserver-users on behalf of Jerry Faust Sent: Wednesday, July 17, 2019 1:12:36 PM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Programmatically refresh the current view This message may be from an external email source. Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center. Hello all. We have set up MapServer using MS4W, running against IIS. We have a .map file defined to include about a dozen layers contained in an ESRI GDB format. All of this works fine for the initial load of the map, but following any data changes, we would like to be able to force a refresh of the map without having to reload the entire page. For example, if we simply drag/pan the map, the layers will refresh with the latest data using the current zoom-level/extents; but we would like to programmatically refresh the view when data has changed. Up to this point we have exhausted what we feel are the relevant OpenLayers API calls found at http://dev.openlayers.org/docs/files/OpenLayers-js.html (OpenLayers.Layer, OpenLayers.MapServer, & OpenLayers.Map). Everything that we?ve tried so far seems to simply reload the last cached image. Another developer working with this has set up buttons that recenter the map to predetermined locations. This is what he has reported. * Whenever we press one of these, we create a new OpenLayers.Map object (always with the same extents) and OpenLayers.Layer.MapServer (always with the same params). Then, we add the layer to the map object and call setCenter, with the lat-long and scale. * If we center on Location A, then move a map marker (via a separate application) and go to Location B, the marker is seen in its new position. But if we click the button to recenter back on Location A, the marker appears to return to its old position. We suspect this is because the browser or the server is reusing a previously generated map image. If we reload the entire page, the marker is shown at its correct position. Thank you for any insight/feedback you could provide. Kind Regards. Jerry. -------------- next part -------------- An HTML attachment was scrubbed... URL: From radim.blazek at gmail.com Thu Jul 18 01:59:06 2019 From: radim.blazek at gmail.com (Radim Blazek) Date: Thu, 18 Jul 2019 10:59:06 +0200 Subject: [mapserver-users] PostGIS layer projection Message-ID: Hi, can you please explain how does re-projection of PostGIS layers work? If there is a POSTGIS layer with DATA without "using srid=" but PostGIS column has SRID defined, there is constraint for that SRID on the column and geometries have SRID set, is it necessary to define PROJECTION for that layer if SRID of the column is different from that of mapfile? For example, geometry column has SRID=4326, geometries have SRID set, mapfile: NAME test PROJECTION "init=epsg:3857" END LAYER test CONNECTIONTYPE postgis DATA "geo FROM test" END END if a request comes to render a map in 3857, will be geometries re-projected correctly from 4326 to 3857? Radim From jmckenna at gatewaygeomatics.com Thu Jul 18 03:31:29 2019 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Thu, 18 Jul 2019 07:31:29 -0300 Subject: [mapserver-users] PostGIS layer projection In-Reply-To: References: Message-ID: <58f531e3-067a-e89b-13bb-106d66cce94c@gatewaygeomatics.com> Hi Radim, Give the Projection document a good read specifically the "Important Notes" section which I believe answers your questions: https://mapserver.org/mapfile/projection.html#important-notes There are no specific driver rules; for something like a PostGIS connection you should be able to follow the "Important Notes" above. MapServer will assume that you have configured the driver properly (in the case of PostGIS, setting the SRID as well, since PostGIS requires that parameter to do a projection) -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ On 2019-07-18 5:59 AM, Radim Blazek wrote: > Hi, > can you please explain how does re-projection of PostGIS layers work? > If there is a POSTGIS layer with DATA without "using srid=" but > PostGIS column has SRID defined, there is constraint for that SRID on > the column and geometries have SRID set, is it necessary to define > PROJECTION for that layer if SRID of the column is different from that > of mapfile? > > For example, geometry column has SRID=4326, geometries have SRID set, mapfile: > > NAME test > PROJECTION > "init=epsg:3857" > END > LAYER test > CONNECTIONTYPE postgis > DATA "geo FROM test" > END > END > > if a request comes to render a map in 3857, will be geometries > re-projected correctly from 4326 to 3857? > From radim.blazek at gmail.com Thu Jul 18 04:04:32 2019 From: radim.blazek at gmail.com (Radim Blazek) Date: Thu, 18 Jul 2019 13:04:32 +0200 Subject: [mapserver-users] PostGIS layer projection In-Reply-To: <58f531e3-067a-e89b-13bb-106d66cce94c@gatewaygeomatics.com> References: <58f531e3-067a-e89b-13bb-106d66cce94c@gatewaygeomatics.com> Message-ID: Hi Jeff, thanks, yes I have read that. But I also read that "using srid= is optional but improves performance" so there was a little chance that re-projection could be done anyway if a different SRID is found on geometry. If there is no further transformation, what difference "using srid=" does? What happens if SRID is not set on column and there are mixed geoms' SRIDs. I mean, where is CRS transformation done if request CRS != layer CRS != column CRS? I would expect calling directly PostGIS ST_Transform(geom, request_srid), which would by pass LAYER.PROJECTION. Radim On Thu, Jul 18, 2019 at 12:31 PM Jeff McKenna wrote: > > Hi Radim, > > Give the Projection document a good read specifically the "Important > Notes" section which I believe answers your questions: > https://mapserver.org/mapfile/projection.html#important-notes > > There are no specific driver rules; for something like a PostGIS > connection you should be able to follow the "Important Notes" above. > MapServer will assume that you have configured the driver properly (in > the case of PostGIS, setting the SRID as well, since PostGIS requires > that parameter to do a projection) > > -jeff > > > -- > Jeff McKenna > MapServer Consulting and Training Services > https://gatewaygeomatics.com/ > > > > On 2019-07-18 5:59 AM, Radim Blazek wrote: > > Hi, > > can you please explain how does re-projection of PostGIS layers work? > > If there is a POSTGIS layer with DATA without "using srid=" but > > PostGIS column has SRID defined, there is constraint for that SRID on > > the column and geometries have SRID set, is it necessary to define > > PROJECTION for that layer if SRID of the column is different from that > > of mapfile? > > > > For example, geometry column has SRID=4326, geometries have SRID set, mapfile: > > > > NAME test > > PROJECTION > > "init=epsg:3857" > > END > > LAYER test > > CONNECTIONTYPE postgis > > DATA "geo FROM test" > > END > > END > > > > if a request comes to render a map in 3857, will be geometries > > re-projected correctly from 4326 to 3857? > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users From jmckenna at gatewaygeomatics.com Thu Jul 18 04:37:11 2019 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Thu, 18 Jul 2019 08:37:11 -0300 Subject: [mapserver-users] PostGIS layer projection In-Reply-To: References: <58f531e3-067a-e89b-13bb-106d66cce94c@gatewaygeomatics.com> Message-ID: Hi Radim, Here is a working mapfile reprojecting a PostGIS layer: https://github.com/mapserver/mapserver/wiki/Reproject-PostGIS-Layer You ask good questions, that could likely just be tested by checking the postgres logs and executing the raw commands from those logs at the psql commandline and comparing. As you go down this path, please do add to that new wiki page with your own notes :) -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ On 2019-07-18 8:04 AM, Radim Blazek wrote: > Hi Jeff, > thanks, yes I have read that. > > But I also read that "using srid= is optional but improves > performance" so there was a little chance that re-projection could be > done anyway if a different SRID is found on geometry. > > If there is no further transformation, what difference "using srid=" > does? What happens if SRID is not set on column and there are mixed > geoms' SRIDs. > > I mean, where is CRS transformation done if request CRS != layer CRS > != column CRS? I would expect calling directly PostGIS > ST_Transform(geom, request_srid), which would by pass > LAYER.PROJECTION. > > Radim > > On Thu, Jul 18, 2019 at 12:31 PM Jeff McKenna > wrote: >> >> Hi Radim, >> >> Give the Projection document a good read specifically the "Important >> Notes" section which I believe answers your questions: >> https://mapserver.org/mapfile/projection.html#important-notes >> >> There are no specific driver rules; for something like a PostGIS >> connection you should be able to follow the "Important Notes" above. >> MapServer will assume that you have configured the driver properly (in >> the case of PostGIS, setting the SRID as well, since PostGIS requires >> that parameter to do a projection) >> >> -jeff >> >> >> -- >> Jeff McKenna >> MapServer Consulting and Training Services >> https://gatewaygeomatics.com/ >> >> >> >> On 2019-07-18 5:59 AM, Radim Blazek wrote: >>> Hi, >>> can you please explain how does re-projection of PostGIS layers work? >>> If there is a POSTGIS layer with DATA without "using srid=" but >>> PostGIS column has SRID defined, there is constraint for that SRID on >>> the column and geometries have SRID set, is it necessary to define >>> PROJECTION for that layer if SRID of the column is different from that >>> of mapfile? >>> >>> For example, geometry column has SRID=4326, geometries have SRID set, mapfile: >>> >>> NAME test >>> PROJECTION >>> "init=epsg:3857" >>> END >>> LAYER test >>> CONNECTIONTYPE postgis >>> DATA "geo FROM test" >>> END >>> END >>> >>> if a request comes to render a map in 3857, will be geometries >>> re-projected correctly from 4326 to 3857? >>> From jmckenna at gatewaygeomatics.com Thu Jul 18 05:31:10 2019 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Thu, 18 Jul 2019 09:31:10 -0300 Subject: [mapserver-users] PostGIS layer projection In-Reply-To: References: <58f531e3-067a-e89b-13bb-106d66cce94c@gatewaygeomatics.com> Message-ID: <9524c152-7590-9ade-c349-73a6ff41babb@gatewaygeomatics.com> I expanded the wiki page to include the output of psql's describe "\d" for that table. -jeff On 2019-07-18 8:37 AM, Jeff McKenna wrote: > Hi Radim, > > Here is a working mapfile reprojecting a PostGIS layer: > https://github.com/mapserver/mapserver/wiki/Reproject-PostGIS-Layer > > You ask good questions, that could likely just be tested by checking the > postgres logs and executing the raw commands from those logs at the psql > commandline and comparing. > > As you go down this path, please do add to that new wiki page with your > own notes :) > > -jeff > > > -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ From jmckenna at gatewaygeomatics.com Thu Jul 18 10:44:03 2019 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Thu, 18 Jul 2019 14:44:03 -0300 Subject: [mapserver-users] PostGIS layer projection In-Reply-To: <9524c152-7590-9ade-c349-73a6ff41babb@gatewaygeomatics.com> References: <58f531e3-067a-e89b-13bb-106d66cce94c@gatewaygeomatics.com> <9524c152-7590-9ade-c349-73a6ff41babb@gatewaygeomatics.com> Message-ID: I expanded it even more with initial ogrinfo commands (great way to check extents, source projection, etc). Hope this helps the next person google-searching! Feel free to expand the wiki page with your own notes. -jeff On 2019-07-18 9:31 AM, Jeff McKenna wrote: > I expanded the wiki page to include the output of psql's describe "\d" > for that table. > > -jeff > > > > On 2019-07-18 8:37 AM, Jeff McKenna wrote: >> Hi Radim, >> >> Here is a working mapfile reprojecting a PostGIS layer: >> https://github.com/mapserver/mapserver/wiki/Reproject-PostGIS-Layer >> >> You ask good questions, that could likely just be tested by checking >> the postgres logs and executing the raw commands from those logs at >> the psql commandline and comparing. >> >> As you go down this path, please do add to that new wiki page with >> your own notes :) >> >> -jeff >> >> >> > > -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ From jmckenna at gatewaygeomatics.com Fri Jul 19 10:00:24 2019 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Fri, 19 Jul 2019 14:00:24 -0300 Subject: [mapserver-users] Need help diagnosing issue with Arabic labels Message-ID: Hello everyone! Requesting your help, by testing and providing feedback on an labeling issue reported by a user, Ryan Whitley, a few years ago. I have/had created a full sample, containing Arabic fonts, and a short mapfile, that you can execute locally with shp2img at https://github.com/mapserver/mapserver/files/1005449/ticket-5426-arabic-labels.zip You can read the issue at https://github.com/mapserver/mapserver/issues/5426 Today I tested on Ubuntu, and the label problem still exists, with MapServer 7.4.1, fribidi 1.0.5, and harfbuzz 2.4.0 (all compiled from source today) I also of course get the error with the latest MS4W on Windows. So, since it applies to all platforms, please if you have a minute download the sample, run shp2img locally, report your findings and provide ideas on how to fix the issue. thanks! Have a nice weekend everyone, -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ From pe_lord at protonmail.com Tue Jul 23 10:33:03 2019 From: pe_lord at protonmail.com (pe_lord) Date: Tue, 23 Jul 2019 10:33:03 -0700 (MST) Subject: [mapserver-users] Mapserver 7.2.1 Classgroup Message-ID: <1563903183621-0.post@n6.nabble.com> I have a layer defined with multiple classgroup. Here the getcapabilities response... Here my mapfile CLASSGROUP "group1" CLASS GROUP "group1" .... END CLASS GROUP "group2" ... END Do you know if there is a way to broadcast a different name for the style's title and the style's name? -- Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html From parsispresswala at gmail.com Tue Jul 23 21:45:40 2019 From: parsispresswala at gmail.com (parsis presswala) Date: Wed, 24 Jul 2019 10:15:40 +0530 Subject: [mapserver-users] Expire tiles and update new after Postgres DB update using mapcache Message-ID: Hello, I have configure the mapserver and generated tiles using mapcahing(mapcache_seed) for whole world till 200 m scaling (zoom level 16). Now I want to update the database using changeset provided by OSM and regenerate only those tiles which data is updated in database. How should I achieve this? I want to configure this process automatically. As some new chnages updated in database, old tiles shoud expire and new tiles should be generated itself. Regards, Parsis Presswala -------------- next part -------------- An HTML attachment was scrubbed... URL: From mailing at tam.si Wed Jul 24 01:58:03 2019 From: mailing at tam.si (Matej Mailing) Date: Wed, 24 Jul 2019 10:58:03 +0200 Subject: [mapserver-users] Mapcache seeder question In-Reply-To: References: Message-ID: Hello, I have found out an interesting 'issue'. If I execute mapcache with mapcache_seed -c /mapcache.xml -t dof025 -g SLOGRID -n 1 -e 533124,86639,544462,103589 -z 1,5, it works (!), but if I change the parameters order to mapcache_seed -c /etc/mapserver/mapcache.xml -t dof025 -g SLOGRID -n 1 -z 1,5 -e 533124,86639,544462,103589, it doesn't. Basically I have found out that -z has to be defined after the extent to make it work. This might be a bug, can someone confirm please? Thanks, Matej V V tor., 16. jul. 2019 ob 11:24 je oseba Matej Mailing napisala: > > Yes, it works and the cache directory size is increasing. > > V V pon., 8. jul. 2019 ob 17:29 je oseba Lime, Steve D (MNIT) > napisala: > > > > And regular tile generation (no seeding) works ok? > > > > -----Original Message----- > > From: Matej Mailing [mailto:mailing at tam.si] > > Sent: Monday, July 08, 2019 12:26 AM > > To: Lime, Steve D (MNIT) ; mapserver-users at lists.osgeo.org > > Subject: Re: [mapserver-users] Mapcache seeder question > > > > This message may be from an external email source. > > Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center. > > > > > > > > Hello Steve, > > > > thanks for answering. I have changed the extent definition in grid > > declaration, but I still get the "0 tiles needed to be seeded, > > exiting" message back from mapcache_seed. > > > > Any ideas will be appreciated. > > > > Thanks, > > Matej > > > > V V pet., 5. jul. 2019 ob 23:00 je oseba Lime, Steve D (MNIT) > > napisala: > > > > > > I believe the in your grid should be space delimited - no commas. At least that's how I have things setup, for example... > > > > > > > > > > > > Standard Minnesota UTM Grid > > > > > > 105000 4785000 809000 5489000 > > > epsg:26915 > > > 256 256 > > > 5500 2750 1375 687.5 343.75 171.875 85.9375 42.96875 21.484375 10.7421875 5.37109375 2.685546875 1.3427734375 > > > > > > > > > --Steve > > > > > > -----Original Message----- > > > From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Matej Mailing > > > Sent: Thursday, July 04, 2019 10:35 AM > > > To: mapserver-users at lists.osgeo.org > > > Subject: [mapserver-users] Mapcache seeder question > > > > > > This message may be from an external email source. > > > Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center. > > > > > > > > > > > > Hello, > > > I am having issues with running Mapcache Seeder with extent options. > > > My grid is defined like: > > > > > > 256 256 > > > 373233,31868 625985,194134 > > > EPSG:3912 > > > m > > > 180000 90000 45000 22500 11250 5000 2500 1250 600 300 > > > 200 100 50 25 12 6 3 1 0.5 0.25 0.12 0.06 > > > > > > > > > and when I try to run seeder with: > > > mapcache_seed -c mapcache.xml -t dof025 -g SLOGRID -z 3,10 -n 6 -e > > > 533124,86639,544462,103589 > > > > > > I get an output 0 tiles needed to be seeded, exiting, which is > > > certainly not true since plenty of those do not exist in the cache > > > directory. > > > > > > What am I missing? > > > > > > Thanks, > > > Matej > > > _______________________________________________ > > > mapserver-users mailing list > > > mapserver-users at lists.osgeo.org > > > https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users&data=02%7C01%7Csteve.lime%40state.mn.us%7C202cd663129445fe4f3908d70364db3a%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C636981604044024635&sdata=H7Hfyb9kyJueMQ%2Bh9puMB4C1WyTzrI3I8RzeFqvLXVI%3D&reserved=0 From Kai.Behncke at ibbenbueren.de Wed Jul 24 05:27:20 2019 From: Kai.Behncke at ibbenbueren.de (Kai Behncke) Date: Wed, 24 Jul 2019 14:27:20 +0200 Subject: [mapserver-users] MapServer, MapCache and WMS Message-ID: <5D384EA80200008B0003BC93@mail.ibbenbueren.de> Dear users, I try to use MapServer 7.4 with MapCache 1.6.1 on a Suse SLES 15-system. Mapserver is delivering a wms very well. I installed MapCache successfully (I think). In my mapcache.xml I have set: ... .... image/jpeg schaechte http://blablabla/cgi-bin/mapserv?map=/home/blablabla/wms.map kanaldaten disk WGS84 PNG 5 5 10 3600 ... .... If I use the WMS-demo application: http://blablabla/mapcache/demo/wms everything works fine. A couple of tiles are produced on the server. But: If I use my WMS e.g. in QuantumGIS or at a simple ...GetMap-Request in an URL no tiles at all are produced on the server?? Am I right that the tile-producing only works, if the mapclient has specific entries?` Thank you very much, Kai Mit freundlichen Gr??en Im Auftrag Kai Behncke Geoinformation Tel.: +49 5451 931-7125 E-Mail: kai.behncke at ibbenbueren.de Rathaus II Roncallistra?e 3-5 1. Stock, Raum 105 49477 Ibbenb?ren -------------- next part -------------- An HTML attachment was scrubbed... URL: From Kai.Behncke at ibbenbueren.de Wed Jul 24 06:11:30 2019 From: Kai.Behncke at ibbenbueren.de (Kai Behncke) Date: Wed, 24 Jul 2019 15:11:30 +0200 Subject: [mapserver-users] Antw: MapServer, MapCache and WMS In-Reply-To: <5D384EA80200008B0003BC93@mail.ibbenbueren.de> References: <5D384EA80200008B0003BC93@mail.ibbenbueren.de> Message-ID: <5D3859020200008B0003BCA1@mail.ibbenbueren.de> Allright, forget that question. The answer is: Not the WMS-URL should be opened in the client but the url to the mapcache-software: e.g.: ( http://gisgr/mapcache) var wmsSource = new ImageWMS({ url: 'http://blabla/mapcache/?', params: {'LAYERS': 'kachelnkanal'}, serverType: 'mapserver', crossOrigin: 'anonymous' }); var wmsLayer = new ImageLayer({ source: wmsSource }); Mit freundlichen Gr??en Im Auftrag Kai Behncke Geoinformation Tel.: +49 5451 931-7125 E-Mail: kai.behncke at ibbenbueren.de Rathaus II Roncallistra?e 3-5 1. Stock, Raum 105 49477 Ibbenb?ren >>> "Kai Behncke" 24.07.2019 14:27 >>> Dear users, I try to use MapServer 7.4 with MapCache 1.6.1 on a Suse SLES 15-system. Mapserver is delivering a wms very well. I installed MapCache successfully (I think). In my mapcache.xml I have set: ... .... image/jpeg schaechte http://blablabla/cgi-bin/mapserv?map=/home/blablabla/wms.map kanaldaten disk WGS84 PNG 5 5 10 3600 ... .... If I use the WMS-demo application: http://blablabla/mapcache/demo/wms everything works fine. A couple of tiles are produced on the server. But: If I use my WMS e.g. in QuantumGIS or at a simple ...GetMap-Request in an URL no tiles at all are produced on the server?? Am I right that the tile-producing only works, if the mapclient has specific entries?` Thank you very much, Kai Mit freundlichen Gr??en Im Auftrag Kai Behncke Geoinformation Tel.: +49 5451 931-7125 E-Mail: kai.behncke at ibbenbueren.de Rathaus II Roncallistra?e 3-5 1. Stock, Raum 105 49477 Ibbenb?ren -------------- next part -------------- An HTML attachment was scrubbed... URL: From MarkVolz at co.lyon.mn.us Wed Jul 24 06:41:54 2019 From: MarkVolz at co.lyon.mn.us (Mark Volz) Date: Wed, 24 Jul 2019 13:41:54 +0000 Subject: [mapserver-users] Mapserver / Mapcache WMTS still not working on ArcGIS clients - image offset vertically Message-ID: <89f7452587dd477b825bd40e8af061e2@co.lyon.mn.us> Hello, I am having trouble displaying my MapServer / Mapcache WMTS service in ArcGIS. The image appears to be offset vertically, but not horizontally. When I switch ArcMap over to use the WMS service everything appears fine. *I had originally thought that the problem was my service did not have a power of 2 between the cache resolutions. I fixed the resolutions and I am still having trouble (resolutions 1,2,4,8,16,32, etc) *I know ArcGIS is presuming a scale of 90.714 DPI, and I think Mapserver / Mapcache use 72 DPI. I don't think this is an issue because the horizontal scale is fine in ArcGIS. Please let me know if you have any idea why the imagery is shifted vertically. Thank You Reference: WMS= http://geomoose.lyonco.org/mapcache/WMSServer? , WMTS=http://geomoose.lyonco.org/mapcache/wmts/1.0.0/WMTSCapabilities.xml - MurrayStandardBackgroundMap , EPSG 103757 - NAD 1983 HARN Adj MN Murray Feet Sincerely, Mark Volz, GISP Lyon County GIS Coordinator -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephenwoodbridge37 at gmail.com Wed Jul 24 07:06:03 2019 From: stephenwoodbridge37 at gmail.com (Stephen Woodbridge) Date: Wed, 24 Jul 2019 10:06:03 -0400 Subject: [mapserver-users] Mapserver / Mapcache WMTS still not working on ArcGIS clients - image offset vertically In-Reply-To: <89f7452587dd477b825bd40e8af061e2@co.lyon.mn.us> References: <89f7452587dd477b825bd40e8af061e2@co.lyon.mn.us> Message-ID: <781de004-86c2-d361-6abc-31475c8d59ae@gmail.com> Mark, I can see the shift here and if you mouse over the upper left corner of the image I'm seeing a shift in the UL_Y value http://geomoose.lyonco.org/mapcache/demo/wms ? UL_Y = 262080 http://geomoose.lyonco.org/mapcache/demo/wmts? UL_Y = 238272 I have no idea why this is happening, but it might help some figure out whats going on. -Steve W On 7/24/2019 9:41 AM, Mark Volz wrote: > > Hello, > > I am having trouble displaying my MapServer / Mapcache WMTS service in > ArcGIS.?? The image appears to be offset vertically, but not > horizontally.? When I switch ArcMap over to use the WMS service > everything appears fine. > > *I had originally thought that the problem was my service did not have > a power of 2 between the cache resolutions.? I fixed the resolutions > and I am still having trouble? (resolutions 1,2,4,8,16,32, etc) > > *I know ArcGIS is presuming a scale of 90.714 DPI, and I think > Mapserver / Mapcache use 72 DPI.? ?I don?t think this is an issue > because the horizontal scale is fine in ArcGIS. > > Please let me know if you have any idea why the imagery is shifted > vertically. > > Thank You > > Reference: WMS= http://geomoose.lyonco.org/mapcache/WMSServer > ?? , > WMTS=http://geomoose.lyonco.org/mapcache/wmts/1.0.0/WMTSCapabilities.xml > -? MurrayStandardBackgroundMap , EPSG 103757 ? NAD 1983 HARN Adj MN > Murray Feet > > Sincerely, > > *Mark Volz, GISP*** > > *Lyon County GIS Coordinator* > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus From Kai.Behncke at ibbenbueren.de Wed Jul 24 08:34:08 2019 From: Kai.Behncke at ibbenbueren.de (Kai Behncke) Date: Wed, 24 Jul 2019 17:34:08 +0200 Subject: [mapserver-users] Zooming deep and getting tiles with mapcache Message-ID: <5D387A700200008B0003BCBD@mail.ibbenbueren.de> Dear users, With Mapserver and Mapcache I`m using an "utm-grid" like utm EPSG:25832 m 128 128 405000 5786000 420000 5798000 0.1 0.05 0.025 0.0125 0.00625 0.003125 0.0015625 0.00078125 ...but at a specific zoom-level I don`t get new tiles anymore. I thought I could "go deeper" by defining the resolutions like 0.1 0.05 0.025 0.0125 0.00625 0.003125 0.0015625 0.00078125 0.00039625 0.0001953125 but there is no change? Has anybody an idea how I can get tiles at very "deep zoom levels"? Thank you very much, Kai Mit freundlichen Gr??en Im Auftrag Kai Behncke Geoinformation Tel.: +49 5451 931-7125 E-Mail: kai.behncke at ibbenbueren.de Rathaus II Roncallistra?e 3-5 1. Stock, Raum 105 49477 Ibbenb?ren -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbo-ads at laposte.net Wed Jul 24 11:38:12 2019 From: jbo-ads at laposte.net (=?UTF-8?B?SsOpcm9tZSBCb3XDqQ==?=) Date: Wed, 24 Jul 2019 20:38:12 +0200 Subject: [mapserver-users] MapCache 1.8.0 Released Message-ID: The project team is glad to annouce the release of MapCache 1.8.0. This version includes a long list of changes since 1.6.1. Changelog: https://mapserver.org/development/changelog/mapcache/changelog-1-8.html Download: http://download.osgeo.org/mapserver/mapcache-1.8.0.tar.gz Thanks, MapServer / MapCache team From MarkVolz at co.lyon.mn.us Wed Jul 24 13:54:30 2019 From: MarkVolz at co.lyon.mn.us (Mark Volz) Date: Wed, 24 Jul 2019 20:54:30 +0000 Subject: [mapserver-users] Mapserver / Mapcache WMTS still not working on ArcGIS Message-ID: <0540517037284458aa3103eaed71018e@co.lyon.mn.us> Steve, With your help I was able to figure out the issue (at least I think)! Everyone, WMTS seems to work as expected after I modified the extent of my grid so that the difference between the min Y and max Y is a multiple of the extent of my largest tile. For example the maximum resolution on my grid is 1024 and my tile height is 256. When multiplied together the height of my largest tile is 262144 feet. I modified the max Y of my grid so that it is exactly 262144 feet greater than the min y. WMTS now works after clearing out the cache and changing the max x value accordingly. Remaining questions... *Is this assumption actually correct? If so perhaps this should be mentioned in documentation. *I am curious if the tile zoom levels really need to be a power of 2 or not. Thank You! >Mark, > >I can see the shift here and if you mouse over the upper left corner of the image I'm seeing a shift in the UL_Y value > >https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fgeomoose.lyonco.org%2fmapcache%2fdemo%2fwms&c=E,1,JBoW1kSV-KLc->IlnHOQi2ETjmuZmYLVpcOmJxplUKyD4tgLlmzvCc4MNi0JVtudLSsIwO3qZFdLgKI12d79XvVWEfYh7ETalbKGLB7ouk6W8rw4OgD1ucg,,&typo=1 UL_Y = 262080 >https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fgeomoose.lyonco.org%2fmapcache%2fdemo%2fwmts%c2%a0&c=E,1,AvlcjK72eMPDjlMHhJ7H6G8fZh7shACLsKcnUnbTVrYpFoI->21Yz4wSO9NnSzrTyUyOE6T4KcT7q1Cy2C60ApadmKliw4afhndhoVC8d&typo=1 UL_Y = 238272 > >I have no idea why this is happening, but it might help some figure out whats going on. > >-Steve W > >On 7/24/2019 9:41 AM, Mark Volz wrote: > > > Hello, > > I am having trouble displaying my MapServer / Mapcache WMTS service in > ArcGIS. The image appears to be offset vertically, but not > horizontally. When I switch ArcMap over to use the WMS service > everything appears fine. > > *I had originally thought that the problem was my service did not have > a power of 2 between the cache resolutions. I fixed the resolutions > and I am still having trouble (resolutions 1,2,4,8,16,32, etc) > > *I know ArcGIS is presuming a scale of 90.714 DPI, and I think > Mapserver / Mapcache use 72 DPI. I don?t think this is an issue > because the horizontal scale is fine in ArcGIS. > > Please let me know if you have any idea why the imagery is shifted > vertically. > > Thank You > > Reference: WMS= > https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fgeomoose.lyonco.org > %2fmapcache%2fWMSServer&c=E,1,Qz9vT68QVXd8vHSCor77EBSXzJtYBWIRQr8J-YWj > AgcKrgTPoAMJLecyJkAWpArXWj08b8pQr5Ivg4moMbpQT2J839XuoOvvt_SQD6_sdNfQCl > 9JjZUIZb2vnQ,,&typo=1 > g%2fmapcache%2fWMSServer&c=E,1,7Ht7_3NcKlNhs4Vmycchp38r3w6EGWs_lZQLhud > C5bKQ1hR_B9SIyfq3OtJqWfljqkHdgZor2SsF0ZgGUG-XNMufcZq-FmFTAzJusSdDOrGeC > CRg85MYq5PA&typo=1>? , > WMTS=https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fgeomoose.lyonc > o.org%2fmapcache%2fwmts%2f1.0.0%2fWMTSCapabilities.xml&c=E,1,RQfebMcSW > ItePB43q6Ies41E9kIvN084IewVpRKBh-HdPrBLGTp3MHPQVpmkiJ4_Hd1ZmGh9BpltOuF > ymt72OGUJY0YRvgVRUKW3qb_VbekLVG3_6z_e7Kd2btWR&typo=1 > - MurrayStandardBackgroundMap , EPSG 103757 ? NAD 1983 HARN Adj MN > Murray Feet > > Sincerely, > > *Mark Volz, GISP*** > > *Lyon County GIS Coordinator* Sincerely, Mark Volz, GISP Lyon County GIS Coordinator 504 Fairgrounds Rd Marshall, MN 56258 Ph:? (507) 532-8218 http://lyonco.org/ http://geomoose.lyonco.org/ From MarkVolz at co.lyon.mn.us Wed Jul 24 13:54:30 2019 From: MarkVolz at co.lyon.mn.us (Mark Volz) Date: Wed, 24 Jul 2019 20:54:30 +0000 Subject: [mapserver-users] Mapserver / Mapcache WMTS still not working on ArcGIS Message-ID: <0540517037284458aa3103eaed71018e@co.lyon.mn.us> Steve, With your help I was able to figure out the issue (at least I think)! Everyone, WMTS seems to work as expected after I modified the extent of my grid so that the difference between the min Y and max Y is a multiple of the extent of my largest tile. For example the maximum resolution on my grid is 1024 and my tile height is 256. When multiplied together the height of my largest tile is 262144 feet. I modified the max Y of my grid so that it is exactly 262144 feet greater than the min y. WMTS now works after clearing out the cache and changing the max x value accordingly. Remaining questions... *Is this assumption actually correct? If so perhaps this should be mentioned in documentation. *I am curious if the tile zoom levels really need to be a power of 2 or not. Thank You! >Mark, > >I can see the shift here and if you mouse over the upper left corner of the image I'm seeing a shift in the UL_Y value > >https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fgeomoose.lyonco.org%2fmapcache%2fdemo%2fwms&c=E,1,JBoW1kSV-KLc->IlnHOQi2ETjmuZmYLVpcOmJxplUKyD4tgLlmzvCc4MNi0JVtudLSsIwO3qZFdLgKI12d79XvVWEfYh7ETalbKGLB7ouk6W8rw4OgD1ucg,,&typo=1 UL_Y = 262080 >https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fgeomoose.lyonco.org%2fmapcache%2fdemo%2fwmts%c2%a0&c=E,1,AvlcjK72eMPDjlMHhJ7H6G8fZh7shACLsKcnUnbTVrYpFoI->21Yz4wSO9NnSzrTyUyOE6T4KcT7q1Cy2C60ApadmKliw4afhndhoVC8d&typo=1 UL_Y = 238272 > >I have no idea why this is happening, but it might help some figure out whats going on. > >-Steve W > >On 7/24/2019 9:41 AM, Mark Volz wrote: > > > Hello, > > I am having trouble displaying my MapServer / Mapcache WMTS service in > ArcGIS. The image appears to be offset vertically, but not > horizontally. When I switch ArcMap over to use the WMS service > everything appears fine. > > *I had originally thought that the problem was my service did not have > a power of 2 between the cache resolutions. I fixed the resolutions > and I am still having trouble (resolutions 1,2,4,8,16,32, etc) > > *I know ArcGIS is presuming a scale of 90.714 DPI, and I think > Mapserver / Mapcache use 72 DPI. I don?t think this is an issue > because the horizontal scale is fine in ArcGIS. > > Please let me know if you have any idea why the imagery is shifted > vertically. > > Thank You > > Reference: WMS= > https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fgeomoose.lyonco.org > %2fmapcache%2fWMSServer&c=E,1,Qz9vT68QVXd8vHSCor77EBSXzJtYBWIRQr8J-YWj > AgcKrgTPoAMJLecyJkAWpArXWj08b8pQr5Ivg4moMbpQT2J839XuoOvvt_SQD6_sdNfQCl > 9JjZUIZb2vnQ,,&typo=1 > g%2fmapcache%2fWMSServer&c=E,1,7Ht7_3NcKlNhs4Vmycchp38r3w6EGWs_lZQLhud > C5bKQ1hR_B9SIyfq3OtJqWfljqkHdgZor2SsF0ZgGUG-XNMufcZq-FmFTAzJusSdDOrGeC > CRg85MYq5PA&typo=1>? , > WMTS=https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fgeomoose.lyonc > o.org%2fmapcache%2fwmts%2f1.0.0%2fWMTSCapabilities.xml&c=E,1,RQfebMcSW > ItePB43q6Ies41E9kIvN084IewVpRKBh-HdPrBLGTp3MHPQVpmkiJ4_Hd1ZmGh9BpltOuF > ymt72OGUJY0YRvgVRUKW3qb_VbekLVG3_6z_e7Kd2btWR&typo=1 > - MurrayStandardBackgroundMap , EPSG 103757 ? NAD 1983 HARN Adj MN > Murray Feet > > Sincerely, > > *Mark Volz, GISP*** > > *Lyon County GIS Coordinator* Sincerely, Mark Volz, GISP Lyon County GIS Coordinator 504 Fairgrounds Rd Marshall, MN 56258 Ph:? (507) 532-8218 http://lyonco.org/ http://geomoose.lyonco.org/ From sethg at geographika.co.uk Fri Jul 26 09:12:44 2019 From: sethg at geographika.co.uk (Seth G) Date: Fri, 26 Jul 2019 18:12:44 +0200 Subject: [mapserver-users] WFS filters with no results throw an error Message-ID: Hi list, Whenever I supply a WFS filter that returns no results I'm getting the following with the MSSQL driver: msWFSGetFeature(): WFS server error. FLTApplyFilterToLayer() failed The HTTP code is 403 (Server processing failed). Just wondering if this happens with any other drivers? Possibly related to https://github.com/mapserver/mapserver/pull/5707 - but this example doesn't throw a FLTApplyFilterToLayer error message. Seth -- web:http://geographika.co.uk twitter: @geographika From parsispresswala at gmail.com Fri Jul 26 21:45:48 2019 From: parsispresswala at gmail.com (parsis presswala) Date: Sat, 27 Jul 2019 10:15:48 +0530 Subject: [mapserver-users] Expire tiles and update new after Postgres DB update using mapcache Message-ID: I have developed the map using MapServer and pre-generated tile using mapcache. Now I have an idea to update the database every day. As changes apply in the database only those parts should be re-render and new tile should be generated. As changes are very small and rendering all ties from start is difficult to process. I got expiry list of tiles by following osm2pgsql: osm2pgsql --append --slim --cache 1000 --multi-geometry /home/parsis/diff_file_minute.xml --number-processes 2 --hstore -d testdemo -r xml -e6-11 -o /home/parsis/expire.list Got list something like this: - 11/329/713 - 8/40/91 - 10/164/357 - 7/29/47 I find another approach using render_expired , but don't know how to use it with mapcache. How is it possible using mapcache_seed? -------------- next part -------------- An HTML attachment was scrubbed... URL: From aperi2007 at gmail.com Sat Jul 27 07:02:07 2019 From: aperi2007 at gmail.com (Andrea Peri) Date: Sat, 27 Jul 2019 16:02:07 +0200 Subject: [mapserver-users] ows_denied_ip_list is working ? Message-ID: Hi, I see my version of mapserver don't work the ows_denied_ip_list. I see ths other mex: http://osgeo-org.1560.x6.nabble.com/ows-allowed-ip-list-ows-denied-ip-list-not-working-td5202667.html I try all the same option but nothing is work. So I guess that instead that the ows_denied_ip_list was dismissed. Is this confirmed ? Thx. A. -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob.basques at ci.stpaul.mn.us Mon Jul 29 09:53:56 2019 From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul)) Date: Mon, 29 Jul 2019 16:53:56 +0000 Subject: [mapserver-users] Is there a way of getting existing settings from a mapfile via CGI? Message-ID: All, I have a thought on populating a FORM with the results of a ?MapFile SETTINGS? query. The end game being a method for users to change current settings on the fly. Could I need to build a generic template for this, or would all exceptions need to be handled, like missing values, etc? What happens if something doesn?t exist as a setting in the return . . Just thinking out loud. Using mostly WMS/WFS calls to MapServer right now, so I could possibly go the SLD route, but, other thoughts? bobb From steve.lime at state.mn.us Mon Jul 29 10:09:38 2019 From: steve.lime at state.mn.us (Lime, Steve D (MNIT)) Date: Mon, 29 Jul 2019 17:09:38 +0000 Subject: [mapserver-users] Is there a way of getting existing settings from a mapfile via CGI? In-Reply-To: References: Message-ID: By mapfile settings do you mean a list of mutable properties by layer, class, style, etc...? If so, then no, that doesn't exist as part of the CGI. I would think doing so would be pretty challenging in a generic way. -----Original Message----- From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Basques, Bob (CI-StPaul) Sent: Monday, July 29, 2019 11:54 AM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Is there a way of getting existing settings from a mapfile via CGI? This message may be from an external email source. Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center. All, I have a thought on populating a FORM with the results of a ?MapFile SETTINGS? query. The end game being a method for users to change current settings on the fly. Could I need to build a generic template for this, or would all exceptions need to be handled, like missing values, etc? What happens if something doesn?t exist as a setting in the return . . Just thinking out loud. Using mostly WMS/WFS calls to MapServer right now, so I could possibly go the SLD route, but, other thoughts? bobb _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users&data=02%7C01%7Csteve.lime%40state.mn.us%7C322b383624ec462b5dcd08d714455a82%7Ceb14b04624c445198f26b89c2159828c%7C0%7C0%7C637000160407407040&sdata=rsENRqIXDJUmdBAAI47X7UVL%2BszFjZwU7fNtrPAcetA%3D&reserved=0 From sethg at geographika.co.uk Mon Jul 29 15:07:24 2019 From: sethg at geographika.co.uk (Seth G) Date: Tue, 30 Jul 2019 00:07:24 +0200 Subject: [mapserver-users] Combining WMS Filter and Style Parameters Message-ID: <31401053-03b4-4f86-a1fa-b21f5171facd@www.fastmail.com> Hi list, As part of "MS RFC 118: Support Vendor-Specific OGC FILTER parameter in WMS requests" WMS requests can now pass in an OGC filter. A WMS can also accept a STYLE parameter to switch between CLASSGROUPs in a layer. Both work fine independently, but when combined the STYLE seems to be ignored and the layer is filtered but displayed with the default style (set in the Mapfile's CLASSGROUP). Has anyone encountered this, or know if this is unsupported or a bug? Seth -- web:http://geographika.co.uk twitter: @geographika From steve.lime at state.mn.us Mon Jul 29 19:21:03 2019 From: steve.lime at state.mn.us (Lime, Steve D (MNIT)) Date: Tue, 30 Jul 2019 02:21:03 +0000 Subject: [mapserver-users] ows_denied_ip_list is working ? In-Reply-To: References: Message-ID: I will test and reply back. What specific version, config and tests did you try on your end? ________________________________ From: mapserver-users on behalf of Andrea Peri Sent: Saturday, July 27, 2019 9:02:07 AM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] ows_denied_ip_list is working ? This message may be from an external email source. Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center. Hi, I see my version of mapserver don't work the ows_denied_ip_list. I see ths other mex: http://osgeo-org.1560.x6.nabble.com/ows-allowed-ip-list-ows-denied-ip-list-not-working-td5202667.html I try all the same option but nothing is work. So I guess that instead that the ows_denied_ip_list was dismissed. Is this confirmed ? Thx. A. -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From aperi2007 at gmail.com Tue Jul 30 12:30:03 2019 From: aperi2007 at gmail.com (Andrea Peri) Date: Tue, 30 Jul 2019 21:30:03 +0200 Subject: [mapserver-users] ows_denied_ip_list is working ? In-Reply-To: References: Message-ID: Hi, I was using a compiled version from a recent clone of master . I try to apply ot to WEB-> METADATA section section using this kind of values: I try to use a list of IP directly listed using a space as separator "ows_denied_ip_list" "xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy zzz.zzz.zzz.zzz" or using a file where there is the same list one IP for line "ows_denied_ip_list" "file:/path-to-file/file-with-ip-list.txt" The values listed are the possibly values of our proxy. So I guess setting them as denied IP mapserver should refuse to give a map to every client wms using them. Instead the map are still showed. I'm using QGIS as wms client to test it. A. Il mar 30 lug 2019, 04:21 Lime, Steve D (MNIT) ha scritto: > I will test and reply back. What specific version, config and tests did > you try on your end? > ------------------------------ > *From:* mapserver-users on > behalf of Andrea Peri > *Sent:* Saturday, July 27, 2019 9:02:07 AM > *To:* mapserver-users at lists.osgeo.org > *Subject:* [mapserver-users] ows_denied_ip_list is working ? > > > *This message may be from an external email source.* > Do not select links or open attachments unless verified. Report all > suspicious emails to Minnesota IT Services Security Operations Center. > > > > Hi, > I see my version of mapserver don't work the ows_denied_ip_list. > I see ths other mex: > > http://osgeo-org.1560.x6.nabble.com/ows-allowed-ip-list-ows-denied-ip-list-not-working-td5202667.html > > > I try all the same option but nothing is work. > > So I guess that instead that the ows_denied_ip_list was dismissed. > Is this confirmed ? > > Thx. > > A. > > > -- > ----------------- > Andrea Peri > . . . . . . . . . > qwerty ????? > ----------------- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pe_lord at protonmail.com Wed Jul 31 10:48:54 2019 From: pe_lord at protonmail.com (pe_lord) Date: Wed, 31 Jul 2019 10:48:54 -0700 (MST) Subject: [mapserver-users] Combining WMS Filter and Style Parameters In-Reply-To: <31401053-03b4-4f86-a1fa-b21f5171facd@www.fastmail.com> References: <31401053-03b4-4f86-a1fa-b21f5171facd@www.fastmail.com> Message-ID: <1564595334484-0.post@n6.nabble.com> Yes I encounter the same issue as you mentioned. -- Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html From sethg at geographika.co.uk Wed Jul 31 12:25:21 2019 From: sethg at geographika.co.uk (Seth G) Date: Wed, 31 Jul 2019 21:25:21 +0200 Subject: [mapserver-users] Combining WMS Filter and Style Parameters In-Reply-To: <1564595334484-0.post@n6.nabble.com> References: <31401053-03b4-4f86-a1fa-b21f5171facd@www.fastmail.com> <1564595334484-0.post@n6.nabble.com> Message-ID: <08ca1f45-70bd-4511-aadf-e9a31a159b34@www.fastmail.com> Thanks for the confirmation. I'll try and create a simple test case to reproduce this. -- web:http://geographika.co.uk twitter: @geographika On Wed, Jul 31, 2019, at 7:49 PM, pe_lord wrote: > Yes I encounter the same issue as you mentioned. > > > > > -- > Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users From mapserver at geoworld.de Wed Jul 31 12:51:40 2019 From: mapserver at geoworld.de (Nicol Hermann) Date: Wed, 31 Jul 2019 21:51:40 +0200 Subject: [mapserver-users] labels for pie|bar charts Message-ID: <064a1e9991441d59fa37fbf9ffc19c81b1972478.camel@geoworld.de> Hello, I am trying to understand how labeling/annotation with layer type 'chart' for the individual slices e.g. of a PIE/BAR chart would work ( https://mapserver.org/output/dynamic_charting.html). I have tried to set a LABELITEM on layer level, a LABEL block within the CLASS section, a TEXT property in the CLASS block but none of my attempts show any labels. In earlier versions of Mapserver I have used the ANNOTATION layer type to get labels but this type is now deprecated for 7.x versions. Any ideas? Thank you very much. Nicol From steve.lime at state.mn.us Wed Jul 31 14:50:32 2019 From: steve.lime at state.mn.us (Lime, Steve D (MNIT)) Date: Wed, 31 Jul 2019 21:50:32 +0000 Subject: [mapserver-users] ows_denied_ip_list is working ? In-Reply-To: References: Message-ID: Hi Andrea: I just tested with MapServer 6.4 and 7.4 and it works as expected, at least with WMS GetMap requests. My process was: 1. Make a WMS request and check the logs to confirm the IP I was showing up as. 2. Edit the mapfile and add ?ows_denied_ip_list? ?my IP? to the WEB METADATA section. 3. Perform the same WMS request in the browser ? result was a WMS exception. 4. Edit the mapfile and change the ip slightly so it shouldn?t match but leaving the directive in place. 5. Perform the same WMS request in the browser ? result was a PNG image. I did tried multiple IPs in the list, with and without my IP and everything worked as expected. I did not try using an external file. I did notice with my IP in the list a GetMap request was blocked, a GetCapabilities request was not. I didn?t try a GetFeature? request. Makes me wonder if you have the right IP for your test setup? --Steve From: Andrea Peri [mailto:aperi2007 at gmail.com] Sent: Tuesday, July 30, 2019 2:30 PM To: Lime, Steve D (MNIT) ; mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] ows_denied_ip_list is working ? Hi, I was using a compiled version from a recent clone of master . I try to apply ot to WEB-> METADATA section section using this kind of values: I try to use a list of IP directly listed using a space as separator "ows_denied_ip_list" "xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy zzz.zzz.zzz.zzz" or using a file where there is the same list one IP for line "ows_denied_ip_list" "file:/path-to-file/file-with-ip-list.txt" The values listed are the possibly values of our proxy. So I guess setting them as denied IP mapserver should refuse to give a map to every client wms using them. Instead the map are still showed. I'm using QGIS as wms client to test it. A. Il mar 30 lug 2019, 04:21 Lime, Steve D (MNIT) > ha scritto: I will test and reply back. What specific version, config and tests did you try on your end? ________________________________ From: mapserver-users > on behalf of Andrea Peri > Sent: Saturday, July 27, 2019 9:02:07 AM To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] ows_denied_ip_list is working ? Hi, I see my version of mapserver don't work the ows_denied_ip_list. I see ths other mex: http://osgeo-org.1560.x6.nabble.com/ows-allowed-ip-list-ows-denied-ip-list-not-working-td5202667.html I try all the same option but nothing is work. So I guess that instead that the ows_denied_ip_list was dismissed. Is this confirmed ? Thx. A. -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From ian.walberg at airborne.aero Wed Jul 31 14:56:25 2019 From: ian.walberg at airborne.aero (Ian Walberg) Date: Wed, 31 Jul 2019 21:56:25 +0000 Subject: [mapserver-users] Projection help Message-ID: Hello, We have used different projections previously but cannot get them to work at the moment. All the examples we can find online look ok but do not make any difference to the generated map. A way of projecting the Natural Earth vector country outlines as Mercator would be a perfect example. Adding CONFIG "PROJ_DEBUG" "ON" does not appear to generate any output. Thanks Ian -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve.lime at state.mn.us Wed Jul 31 15:22:01 2019 From: steve.lime at state.mn.us (Lime, Steve D (MNIT)) Date: Wed, 31 Jul 2019 22:22:01 +0000 Subject: [mapserver-users] Projection help In-Reply-To: References: Message-ID: Should be straight forward. In the natural earth layers you'd have: PROJECTION "init=epsg:4326" # geographic END and at the MAP level you'd have: PROJECTION "init=epsg:3857" # web mercator END --Steve From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Ian Walberg Sent: Wednesday, July 31, 2019 4:56 PM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Projection help Hello, We have used different projections previously but cannot get them to work at the moment. All the examples we can find online look ok but do not make any difference to the generated map. A way of projecting the Natural Earth vector country outlines as Mercator would be a perfect example. Adding CONFIG "PROJ_DEBUG" "ON" does not appear to generate any output. Thanks Ian -------------- next part -------------- An HTML attachment was scrubbed... URL: From ian.walberg at airborne.aero Wed Jul 31 15:34:05 2019 From: ian.walberg at airborne.aero (Ian Walberg) Date: Wed, 31 Jul 2019 22:34:05 +0000 Subject: [mapserver-users] Projection help In-Reply-To: References: Message-ID: Steve, The map file below draws a non Mercator projection and if the epsg:4326 line is uncommented then the map is blank. This is on a windows machine using Mapserver 7.0.7 from MS4W 3.2.6. Any ideas? Thanks Ian MAP NAME global_map STATUS ON SIZE 1024 600 EXTENT -180 -90 180 90 LAYER NAME "Earth_Vector" STATUS DEFAULT TYPE LINE DEBUG 3 PROJECTION # "init=epsg:4326" END DATA "../shp/land/ne_110m_land.shp" CLASS STYLE ANTIALIAS TRUE COLOR 0 255 0 WIDTH 1 END END END PROJECTION "init=epsg:3857" END END #MAP END From: Lime, Steve D (MNIT) Sent: Wednesday, July 31, 2019 3:22 PM To: Ian Walberg ; mapserver-users at lists.osgeo.org Subject: RE: Projection help Should be straight forward. In the natural earth layers you'd have: PROJECTION "init=epsg:4326" # geographic END and at the MAP level you'd have: PROJECTION "init=epsg:3857" # web mercator END --Steve From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Ian Walberg Sent: Wednesday, July 31, 2019 4:56 PM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Projection help Hello, We have used different projections previously but cannot get them to work at the moment. All the examples we can find online look ok but do not make any difference to the generated map. A way of projecting the Natural Earth vector country outlines as Mercator would be a perfect example. Adding CONFIG "PROJ_DEBUG" "ON" does not appear to generate any output. Thanks Ian -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve.lime at state.mn.us Wed Jul 31 18:37:36 2019 From: steve.lime at state.mn.us (Lime, Steve D (MNIT)) Date: Thu, 1 Aug 2019 01:37:36 +0000 Subject: [mapserver-users] Projection help In-Reply-To: References: , Message-ID: How are you setting an extent? The default extent you?re defining is in lat/lon. ________________________________ From: Ian Walberg Sent: Wednesday, July 31, 2019 5:34:05 PM To: Lime, Steve D (MNIT) ; mapserver-users at lists.osgeo.org Subject: RE: Projection help This message may be from an external email source. Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center. Steve, The map file below draws a non Mercator projection and if the epsg:4326 line is uncommented then the map is blank. This is on a windows machine using Mapserver 7.0.7 from MS4W 3.2.6. Any ideas? Thanks Ian MAP NAME global_map STATUS ON SIZE 1024 600 EXTENT -180 -90 180 90 LAYER NAME "Earth_Vector" STATUS DEFAULT TYPE LINE DEBUG 3 PROJECTION # "init=epsg:4326" END DATA "../shp/land/ne_110m_land.shp" CLASS STYLE ANTIALIAS TRUE COLOR 0 255 0 WIDTH 1 END END END PROJECTION "init=epsg:3857" END END #MAP END From: Lime, Steve D (MNIT) Sent: Wednesday, July 31, 2019 3:22 PM To: Ian Walberg ; mapserver-users at lists.osgeo.org Subject: RE: Projection help Should be straight forward. In the natural earth layers you?d have: PROJECTION "init=epsg:4326" # geographic END and at the MAP level you?d have: PROJECTION "init=epsg:3857" # web mercator END --Steve From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Ian Walberg Sent: Wednesday, July 31, 2019 4:56 PM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Projection help Hello, We have used different projections previously but cannot get them to work at the moment. All the examples we can find online look ok but do not make any difference to the generated map. A way of projecting the Natural Earth vector country outlines as Mercator would be a perfect example. Adding CONFIG "PROJ_DEBUG" "ON" does not appear to generate any output. Thanks Ian -------------- next part -------------- An HTML attachment was scrubbed... URL: From ian.walberg at airborne.aero Wed Jul 31 18:59:48 2019 From: ian.walberg at airborne.aero (Ian Walberg) Date: Thu, 1 Aug 2019 01:59:48 +0000 Subject: [mapserver-users] Projection help In-Reply-To: References: , Message-ID: <67a641ce367f4696be2c715180eb3621@airborne.aero> Steve, Good point, I did have the extent in meters but that did not work. Should these work? EXTENT -20026376 -20048966 20026376 20048966 Thanks Ian From: Lime, Steve D (MNIT) Sent: Wednesday, July 31, 2019 6:38 PM To: Ian Walberg ; mapserver-users at lists.osgeo.org Subject: Re: Projection help How are you setting an extent? The default extent you're defining is in lat/lon. ________________________________ From: Ian Walberg > Sent: Wednesday, July 31, 2019 5:34:05 PM To: Lime, Steve D (MNIT) >; mapserver-users at lists.osgeo.org > Subject: RE: Projection help This message may be from an external email source. Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center. Steve, The map file below draws a non Mercator projection and if the epsg:4326 line is uncommented then the map is blank. This is on a windows machine using Mapserver 7.0.7 from MS4W 3.2.6. Any ideas? Thanks Ian MAP NAME global_map STATUS ON SIZE 1024 600 EXTENT -180 -90 180 90 LAYER NAME "Earth_Vector" STATUS DEFAULT TYPE LINE DEBUG 3 PROJECTION # "init=epsg:4326" END DATA "../shp/land/ne_110m_land.shp" CLASS STYLE ANTIALIAS TRUE COLOR 0 255 0 WIDTH 1 END END END PROJECTION "init=epsg:3857" END END #MAP END From: Lime, Steve D (MNIT) > Sent: Wednesday, July 31, 2019 3:22 PM To: Ian Walberg >; mapserver-users at lists.osgeo.org Subject: RE: Projection help Should be straight forward. In the natural earth layers you'd have: PROJECTION "init=epsg:4326" # geographic END and at the MAP level you'd have: PROJECTION "init=epsg:3857" # web mercator END --Steve From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Ian Walberg Sent: Wednesday, July 31, 2019 4:56 PM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Projection help Hello, We have used different projections previously but cannot get them to work at the moment. All the examples we can find online look ok but do not make any difference to the generated map. A way of projecting the Natural Earth vector country outlines as Mercator would be a perfect example. Adding CONFIG "PROJ_DEBUG" "ON" does not appear to generate any output. Thanks Ian -------------- next part -------------- An HTML attachment was scrubbed... URL: From ian.walberg at airborne.aero Wed Jul 31 19:01:41 2019 From: ian.walberg at airborne.aero (Ian Walberg) Date: Thu, 1 Aug 2019 02:01:41 +0000 Subject: [mapserver-users] Projection help In-Reply-To: <67a641ce367f4696be2c715180eb3621@airborne.aero> References: , <67a641ce367f4696be2c715180eb3621@airborne.aero> Message-ID: Steve, Actually that does work. Thanks Ian From: Ian Walberg Sent: Wednesday, July 31, 2019 7:00 PM To: 'Lime, Steve D (MNIT)' ; mapserver-users at lists.osgeo.org Subject: RE: Projection help Steve, Good point, I did have the extent in meters but that did not work. Should these work? EXTENT -20026376 -20048966 20026376 20048966 Thanks Ian From: Lime, Steve D (MNIT) > Sent: Wednesday, July 31, 2019 6:38 PM To: Ian Walberg >; mapserver-users at lists.osgeo.org Subject: Re: Projection help How are you setting an extent? The default extent you're defining is in lat/lon. ________________________________ From: Ian Walberg > Sent: Wednesday, July 31, 2019 5:34:05 PM To: Lime, Steve D (MNIT) >; mapserver-users at lists.osgeo.org > Subject: RE: Projection help This message may be from an external email source. Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center. Steve, The map file below draws a non Mercator projection and if the epsg:4326 line is uncommented then the map is blank. This is on a windows machine using Mapserver 7.0.7 from MS4W 3.2.6. Any ideas? Thanks Ian MAP NAME global_map STATUS ON SIZE 1024 600 EXTENT -180 -90 180 90 LAYER NAME "Earth_Vector" STATUS DEFAULT TYPE LINE DEBUG 3 PROJECTION # "init=epsg:4326" END DATA "../shp/land/ne_110m_land.shp" CLASS STYLE ANTIALIAS TRUE COLOR 0 255 0 WIDTH 1 END END END PROJECTION "init=epsg:3857" END END #MAP END From: Lime, Steve D (MNIT) > Sent: Wednesday, July 31, 2019 3:22 PM To: Ian Walberg >; mapserver-users at lists.osgeo.org Subject: RE: Projection help Should be straight forward. In the natural earth layers you'd have: PROJECTION "init=epsg:4326" # geographic END and at the MAP level you'd have: PROJECTION "init=epsg:3857" # web mercator END --Steve From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Ian Walberg Sent: Wednesday, July 31, 2019 4:56 PM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Projection help Hello, We have used different projections previously but cannot get them to work at the moment. All the examples we can find online look ok but do not make any difference to the generated map. A way of projecting the Natural Earth vector country outlines as Mercator would be a perfect example. Adding CONFIG "PROJ_DEBUG" "ON" does not appear to generate any output. Thanks Ian -------------- next part -------------- An HTML attachment was scrubbed... URL: