From bob.basques at ci.stpaul.mn.us Fri Apr 7 11:09:04 2023 From: bob.basques at ci.stpaul.mn.us (Bob Basques) Date: Fri, 7 Apr 2023 18:09:04 +0000 Subject: [MapServer-users] OSGeo Twin Cities Local Chapter Meeting (Apr. 12th, 2023) Message-ID: <451D954C-62FD-4EA5-99C1-3296D5A9E831@ci.stpaul.mn.us> All, Inviting presenters for our next meeting on Apr, 12th, at 4:30 pm Central. I?ll take care of recording and organization. Can be anything Geo related. Thanks Bobb Get me in Teams PW19-S295-C024 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob.basques at ci.stpaul.mn.us Mon Apr 10 08:47:21 2023 From: bob.basques at ci.stpaul.mn.us (Bob Basques) Date: Mon, 10 Apr 2023 15:47:21 +0000 Subject: [MapServer-users] [ANNOUNCEMENT] OSGeo Local Chapter Meeting - April 12th, 2023 Message-ID: All, Face to face meeting at Keg & Case, in the upstairs level. Location: 928 7th Street West Saint Paul MN, 55102 Time: April 12th, 2023 4:30 pm - Whenever My machine - - - PW19-S295-C024 -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 15262 bytes Desc: not available URL: From justb4 at gmail.com Tue Apr 11 04:13:30 2023 From: justb4 at gmail.com (Just van den Broecke) Date: Tue, 11 Apr 2023 13:13:30 +0200 Subject: [MapServer-users] demo.mapserver.org seems down Message-ID: <241884e8-5815-136d-9d32-1b54c004b422@gmail.com> Hi, All links to demo.mapserver.org are stale (502 Bad Gateway). The http-redirect 301 to SSL works though. Maybe a proxy setting? Best, Just From jmckenna at gatewaygeomatics.com Tue Apr 11 05:23:11 2023 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Tue, 11 Apr 2023 09:23:11 -0300 Subject: [MapServer-users] demo.mapserver.org seems down In-Reply-To: <241884e8-5815-136d-9d32-1b54c004b422@gmail.com> References: <241884e8-5815-136d-9d32-1b54c004b422@gmail.com> Message-ID: <4b156041-6f29-7b49-2b58-447eaf9b555e@gatewaygeomatics.com> Yes my apologies Just, I've been upgrading the server. It should be fixed soon. (by the way, I've been monitoring the hits it gets, wow, quite a popular server! So I definitely know how important this is to everyone. I worked on it all Easter weekend) Hope you had a nice Easter. -jeff On 2023-04-11 8:13 a.m., Just van den Broecke wrote: > Hi, > > All links to demo.mapserver.org are stale (502 Bad Gateway). The > http-redirect 301 to SSL works though. Maybe a proxy setting? > > Best, > > Just From jmckenna at gatewaygeomatics.com Tue Apr 11 05:26:23 2023 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Tue, 11 Apr 2023 09:26:23 -0300 Subject: [MapServer-users] Happy birthday to MapServer Message-ID: Happy 23rd birthday wishes to the whole MapServer project, as the first available commit in the repository was made back on 2000-04-11 (see the commit here https://github.com/MapServer/MapServer/commit/abe3c7aca45618c67750c3b421824f8e853cdfc0 ) for the 3.3 release. The project history of course goes back to 1994. Thank-you to all of the contributors and users and promoters, over all of these decades. happy mapserv-ing! https://pasteboard.co/Mr2aIuoM7LN3.png -jeff -- Jeff McKenna GatewayGeo: Developers of MS4W, MapServer Consulting and Training co-founder of FOSS4G http://gatewaygeo.com/ From asteiner at EUROFUNK.COM Tue Apr 11 05:44:01 2023 From: asteiner at EUROFUNK.COM (STEINER Andreas) Date: Tue, 11 Apr 2023 12:44:01 +0000 Subject: [MapServer-users] WG: mapcache tms it not working properly In-Reply-To: <7e46c47c366c4ef483210e0c97cf99ab@EUROFUNK.COM> References: <7e46c47c366c4ef483210e0c97cf99ab@EUROFUNK.COM> Message-ID: <97744883d07f4c1a8e2a2e82ba649ef9@EUROFUNK.COM> Hello everyone, I set up a mapcache layer for a customer of mine. The layer looks like this: https://user-images.githubusercontent.com/59861665/231165591-1fb8d097-70e1-4 87d-91c6-152291b3ae43.png When requesting the layer via wmts or wms everything works fine. My customer requires TMS - when I request the tiles with tms the tiles are not at the right place. Z0: At Z0 the tiles match: https://user-images.githubusercontent.com/59861665/231165657-742f7944-f2a4-4 44c-9a82-24c10574bdc8.png At Z1 they are not at the same place: https://user-images.githubusercontent.com/59861665/231165693-29e2399a-04cd-4 df0-b63a-1ab3f606ce92.png And e.g. at Z6 it looks like this: https://user-images.githubusercontent.com/59861665/231165727-a638e7d8-8803-4 c81-a2bd-7ff70ed04020.png That's the configuration for the GRID: GoogleMapsCompatible urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible -20037508.3427892480 -20037508.3427892480 20037508.3427892480 20037508.3427892480 EPSG:3857 256 256 EPSG:900913 top-left 156543.03392800014 78271.51696399994 39135.75848200009 19567.87924099992 9783.93962049996 4891.96981024998 2445.98490512499 1222.992452562495 611.4962262813797 305.74811314055756 152.87405657041106 76.43702828507324 38.21851414253662 19.10925707126831 9.554628535634155 4.77731426794937 2.388657133974685 1.1943285668550503 0.5971642835598172 I also tried to use a EPSG:4326 with a extend -180 -180 180 180 but it's the same result. The url I used looks like this: http://XX /mapcache/tms/1.0.0/ @WORLD/{z}/{x}/{y}.png Maybe someone has an idea why it doesn't work. Thanks in advance. Best regards Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 7859 bytes Desc: S/MIME Cryptographic Signature URL: From justb4 at gmail.com Tue Apr 11 07:10:03 2023 From: justb4 at gmail.com (Just van den Broecke) Date: Tue, 11 Apr 2023 16:10:03 +0200 Subject: [MapServer-users] demo.mapserver.org seems down In-Reply-To: <4b156041-6f29-7b49-2b58-447eaf9b555e@gatewaygeomatics.com> References: <241884e8-5815-136d-9d32-1b54c004b422@gmail.com> <4b156041-6f29-7b49-2b58-447eaf9b555e@gatewaygeomatics.com> Message-ID: <34e6bff3-1117-379b-74ea-3f947ac3f43c@gmail.com> No sweat Jeff! I know you are working hard (for so many years). If there is anything I can help with... I have deployed MapServer multiple times, also with certs. I use Docker with Traefik not nginx. Best, Just On 11/04/2023 14:23, Jeff McKenna wrote: > Yes my apologies Just, I've been upgrading the server.? It should be > fixed soon. > > (by the way, I've been monitoring the hits it gets, wow, quite a popular > server!? So I definitely know how important this is to everyone.? I > worked on it all Easter weekend) > > Hope you had a nice Easter. > > > > -jeff > > > > On 2023-04-11 8:13 a.m., Just van den Broecke wrote: >> Hi, >> >> All links to demo.mapserver.org are stale (502 Bad Gateway). The >> http-redirect 301 to SSL works though. Maybe a proxy setting? >> >> Best, >> >> Just > > _______________________________________________ > MapServer-users mailing list > MapServer-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users From traviskirstine at gmail.com Tue Apr 11 11:44:27 2023 From: traviskirstine at gmail.com (Travis Kirstine) Date: Tue, 11 Apr 2023 14:44:27 -0400 Subject: [MapServer-users] WG: mapcache tms it not working properly In-Reply-To: <97744883d07f4c1a8e2a2e82ba649ef9@EUROFUNK.COM> References: <7e46c47c366c4ef483210e0c97cf99ab@EUROFUNK.COM> <97744883d07f4c1a8e2a2e82ba649ef9@EUROFUNK.COM> Message-ID: My guess top-left is your issue, I believe the tms standard is for bottom-left On Tue, 11 Apr 2023 at 08:44, STEINER Andreas wrote: > Hello everyone, > > > > I set up a mapcache layer for a customer of mine. > The layer looks like this: > > > https://user-images.githubusercontent.com/59861665/231165591-1fb8d097-70e1-487d-91c6-152291b3ae43.png > > > > When requesting the layer via wmts or wms everything works fine. > My customer requires TMS ? when I request the tiles with tms the tiles are > not at the right place. > > > > Z0: At Z0 the tiles match: > > > > > https://user-images.githubusercontent.com/59861665/231165657-742f7944-f2a4-444c-9a82-24c10574bdc8.png > > > > At Z1 they are not at the same place: > > https://user-images.githubusercontent.com/59861665/231165693-29e2399a-04cd-4df0-b63a-1ab3f606ce92.png > > And e.g. at Z6 it looks like this: > > > https://user-images.githubusercontent.com/59861665/231165727-a638e7d8-8803-4c81-a2bd-7ff70ed04020.png > > > > That?s the configuration for the GRID: > > > > > > GoogleMapsCompatible > > > urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible > > > > -20037508.3427892480 -20037508.3427892480 > 20037508.3427892480 20037508.3427892480 > > EPSG:3857 > > 256 256 > > EPSG:900913 > > top-left > > 156543.03392800014 78271.51696399994 39135.75848200009 > 19567.87924099992 9783.93962049996 4891.96981024998 2445.98490512499 > 1222.992452562495 611.4962262813797 305.74811314055756 152.87405657041106 > 76.43702828507324 38.21851414253662 19.10925707126831 9.554628535634155 > 4.77731426794937 2.388657133974685 1.1943285668550503 > 0.5971642835598172 > > > > > > > > I also tried to use a EPSG:4326 with a extend -180 -180 180 180 but it?s > the same result. > > The url I used looks like this: http://XX > /mapcache/tms/1.0.0/@WORLD/{z}/{x}/{y}.png > > Maybe someone has an idea why it doesn?t work. > > > > Thanks in advance. > > > > Best regards > > Andy > > > > _______________________________________________ > 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 bob.basques at ci.stpaul.mn.us Tue Apr 11 15:12:42 2023 From: bob.basques at ci.stpaul.mn.us (Bob Basques) Date: Tue, 11 Apr 2023 22:12:42 +0000 Subject: [MapServer-users] [REMINDER] OSGeo Local Chapter Meeting - April 12th, 2023 Message-ID: <6AC3BBAF-A26D-4701-93C0-7ED2D2CBFE2B@ci.stpaul.mn.us> All, Face to face meeting at Keg & Case, in the upstairs level. Location: 928 7th Street West Saint Paul MN, 55102 Time: April 12th, 2023 4:30 pm ? Whenever Bobb My machine - - - PW19-S295-C024 -------------- next part -------------- An HTML attachment was scrubbed... URL: From asteiner at EUROFUNK.COM Tue Apr 11 23:14:35 2023 From: asteiner at EUROFUNK.COM (STEINER Andreas) Date: Wed, 12 Apr 2023 06:14:35 +0000 Subject: [MapServer-users] [EXTERN]Re: WG: mapcache tms it not working properly In-Reply-To: References: <7e46c47c366c4ef483210e0c97cf99ab@EUROFUNK.COM> <97744883d07f4c1a8e2a2e82ba649ef9@EUROFUNK.COM> Message-ID: Hello, thanks for the Answer, I tried using botton-left but it?s the same behavior. Best regards Andy Von: Travis Kirstine Gesendet: Dienstag, 11. April 2023 20:44 An: STEINER Andreas ; mapserver-users Betreff: [EXTERN]Re: [MapServer-users] WG: mapcache tms it not working properly Sie erhalten nicht oft eine E-Mail von traviskirstine at gmail.com . Erfahren Sie, warum dies wichtig ist My guess top-left is your issue, I believe the tms standard is for bottom-left On Tue, 11 Apr 2023 at 08:44, STEINER Andreas > wrote: Hello everyone, I set up a mapcache layer for a customer of mine. The layer looks like this: https://user-images.githubusercontent.com/59861665/231165591-1fb8d097-70e1-487d-91c6-152291b3ae43.png When requesting the layer via wmts or wms everything works fine. My customer requires TMS ? when I request the tiles with tms the tiles are not at the right place. Z0: At Z0 the tiles match: https://user-images.githubusercontent.com/59861665/231165657-742f7944-f2a4-444c-9a82-24c10574bdc8.png At Z1 they are not at the same place: https://user-images.githubusercontent.com/59861665/231165693-29e2399a-04cd-4df0-b63a-1ab3f606ce92.png And e.g. at Z6 it looks like this: https://user-images.githubusercontent.com/59861665/231165727-a638e7d8-8803-4c81-a2bd-7ff70ed04020.png That?s the configuration for the GRID: GoogleMapsCompatible urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible -20037508.3427892480 -20037508.3427892480 20037508.3427892480 20037508.3427892480 EPSG:3857 256 256 EPSG:900913 top-left 156543.03392800014 78271.51696399994 39135.75848200009 19567.87924099992 9783.93962049996 4891.96981024998 2445.98490512499 1222.992452562495 611.4962262813797 305.74811314055756 152.87405657041106 76.43702828507324 38.21851414253662 19.10925707126831 9.554628535634155 4.77731426794937 2.388657133974685 1.1943285668550503 0.5971642835598172 I also tried to use a EPSG:4326 with a extend -180 -180 180 180 but it?s the same result. The url I used looks like this: http://XX /mapcache/tms/1.0.0/ @WORLD/{z}/{x}/{y}.png Maybe someone has an idea why it doesn?t work. Thanks in advance. Best regards Andy _______________________________________________ MapServer-users mailing list MapServer-users at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users Email secured by Check Point -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 7859 bytes Desc: S/MIME Cryptographic Signature URL: From rdmailings at duif.net Fri Apr 14 00:18:54 2023 From: rdmailings at duif.net (Richard Duivenvoorde) Date: Fri, 14 Apr 2023 09:18:54 +0200 Subject: [MapServer-users] Multi language worldmap (basemaps) Message-ID: <74c71e31-5ae5-ebde-f93f-9ae4ce5ce791@duif.net> Greetings List, Some years ago we used https://github.com/MapServer/basemaps/ to create a raw world map based on OSM data (on hindsight, that map already showed 'Tofu'[0] characters. Trying to refresh this setup, we want multilingual/multiline labels (so the English label/name below the local Locale label/name, IF available).. Using another OSM setup, I used Google Noto-fonts to have all glyphs/fonts/charactersets needed... that worked great But now using basemaps: if I load Pakistan, Taiwanese and Afghanistan data, and point to NotoSans-CondensedBold.ttf NotoSans-Condensed.ttf in my fonts.lst, I still get the three question marks in my Taiwan map... and mapserver telling me: [Thu Apr 13 19:52:52.364863 2023] [cgi:error] [pid 52200] [client ::1:37906] AH01215: Unable to find glyph for codepoint 37129. Using ? as fallback.: /usr/lib/cgi-bin/mapserv [Thu Apr 13 19:52:52.364878 2023] [cgi:error] [pid 52200] [client ::1:37906] AH01215: Unable to find glyph for codepoint 29509. Using ? as fallback.: /usr/lib/cgi-bin/mapserv [Thu Apr 13 19:52:52.364893 2023] [cgi:error] [pid 52200] [client ::1:37906] AH01215: Unable to find glyph for codepoint 28525. Using ? as fallback.: /usr/lib/cgi-bin/mapserv [Thu Apr 13 19:52:52.364913 2023] [cgi:error] [pid 52200] [client ::1:37906] AH01215: Unable to find glyph for codepoint 37129. Using ? as fallback.: /usr/lib/cgi-bin/mapserv etc etc... So no I wonder: SHOULD it be possible to have a world map with all kind of different language names in one mapfile? OR (as in https://github.com/MapServer/basemaps/blob/main/fonts.lst is there just one font used for a label)? OR do I have to create a long list of needed fonts (so mapserver can choose from those and pick one which has that 'codepoint'. OR is defining a Noto ttf not enough? OR do I miss some point... Anybody here has some experience with such an issue: create a map with both Khmer, Arabic, Japanese, Ukranian, Chinese and Dutch place name labels :-) Any pointers appreciated, Regards, Richard Duivenvoorde PS reading about https://mapserver.org/development/rfc/ms-rfc-98.html#rfc98, there is some font-cache I can refresh... ??? [0] https://fonts.google.com/knowledge/glossary/tofu From rdmailings at duif.net Fri Apr 14 01:21:36 2023 From: rdmailings at duif.net (Richard Duivenvoorde) Date: Fri, 14 Apr 2023 10:21:36 +0200 Subject: [MapServer-users] Multi language worldmap (basemaps) In-Reply-To: <74c71e31-5ae5-ebde-f93f-9ae4ce5ce791@duif.net> References: <74c71e31-5ae5-ebde-f93f-9ae4ce5ce791@duif.net> Message-ID: Ok, more or less found a partial solution. (but anybody with experience in a multilingual world map and labels, please let me know) Using some python from https://unix.stackexchange.com/questions/247108/how-to-find-out-which-unicode-codepoints-are-defined-in-a-ttf-file I'm now able to find in which ttf font a missing glyph can be found... Using the following in my fonts.lst: sc fonts/DejaVuSansCondensed.ttf scb fonts/DejaVuSansCondensed-Bold.ttf noto fonts/NotoSans-Condensed.ttf notob fonts/NotoSans-CondensedBold.ttf uni fonts/unifont_sample.ttf unib fonts/unifont_sample.ttf tw fonts/UKIJCJK.ttf And using FONT "sc,noto,uni,tw" # does order matter? I have a start to show labels in my small test setup with combined data from Pakistan, Taiwan and Afghanistan... I still have other log messages now: AH01215: Unable to load glyph 62314 for font "uni". Using ? as fallback.: /usr/lib/cgi-bin/mapserv [Fri Apr 14 10:12:20.644638 2023] [cgi:error] [pid 141599] [client ::1:46140] AH01215: msGetGlyphByIndex(): General error message. unable to load glyph 62314 for font "uni": /usr/lib/cgi-bin/mapserv while my script tells me 'glyph 62314' is in 'fonts/unifont_sample.ttf'... Any info or insights are still being appreciated :-) Regards, Richard Duivenvoorde On 4/14/23 09:18, Richard Duivenvoorde via MapServer-users wrote: > Greetings List, > > Some years ago we used https://github.com/MapServer/basemaps/ to create a raw world map based on OSM data (on hindsight, that map already showed 'Tofu'[0] characters. > > Trying to refresh this setup, we want multilingual/multiline labels (so the English label/name below the local Locale label/name, IF available).. > > Using another OSM setup, I used Google Noto-fonts to have all glyphs/fonts/charactersets needed... that worked great > > But now using basemaps: if I load Pakistan, Taiwanese and Afghanistan data, and point to NotoSans-CondensedBold.ttf? NotoSans-Condensed.ttf in my fonts.lst, I still get the three question marks in my Taiwan map...? and mapserver telling me: > > [Thu Apr 13 19:52:52.364863 2023] [cgi:error] [pid 52200] [client ::1:37906] AH01215: Unable to find glyph for codepoint 37129. Using ? as fallback.: /usr/lib/cgi-bin/mapserv > [Thu Apr 13 19:52:52.364878 2023] [cgi:error] [pid 52200] [client ::1:37906] AH01215: Unable to find glyph for codepoint 29509. Using ? as fallback.: /usr/lib/cgi-bin/mapserv > [Thu Apr 13 19:52:52.364893 2023] [cgi:error] [pid 52200] [client ::1:37906] AH01215: Unable to find glyph for codepoint 28525. Using ? as fallback.: /usr/lib/cgi-bin/mapserv > [Thu Apr 13 19:52:52.364913 2023] [cgi:error] [pid 52200] [client ::1:37906] AH01215: Unable to find glyph for codepoint 37129. Using ? as fallback.: /usr/lib/cgi-bin/mapserv > > etc etc... > > So no I wonder: SHOULD it be possible to have a world map with all kind of different language names in one mapfile? > OR (as in https://github.com/MapServer/basemaps/blob/main/fonts.lst is there just one font used for a label)? > OR do I have to create a long list of needed fonts (so mapserver can choose from those and pick one which has that 'codepoint'. > OR is defining a Noto ttf not enough? > OR do I miss some point... > > Anybody here has some experience with such an issue: create a map with both Khmer, Arabic, Japanese, Ukranian, Chinese and Dutch place name labels :-) > > Any pointers appreciated, > > Regards, > > Richard Duivenvoorde > > PS reading about https://mapserver.org/development/rfc/ms-rfc-98.html#rfc98, there is some font-cache I can refresh... ??? > > [0] https://fonts.google.com/knowledge/glossary/tofu > > _______________________________________________ > MapServer-users mailing list > MapServer-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users From thomas.bonfort at gmail.com Fri Apr 14 01:37:31 2023 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Fri, 14 Apr 2023 10:37:31 +0200 Subject: [MapServer-users] Multi language worldmap (basemaps) In-Reply-To: References: <74c71e31-5ae5-ebde-f93f-9ae4ce5ce791@duif.net> Message-ID: Hi Richard, I don't have much more help to provide you other than saying you are on the right track. uni fonts/unifont_sample.ttf > unib fonts/unifont_sample.ttf > you are referencing the same font file under 2 different names. I don't think that is the root cause of your issue, but this is definitely useless > And using > FONT "sc,noto,uni,tw" # does order matter? > Yes the order does matter, any codepoint will be loaded from the first font (from left to right) that contains it > > AH01215: Unable to load glyph 62314 for font "uni". Using ? as fallback.: > /usr/lib/cgi-bin/mapserv > [Fri Apr 14 10:12:20.644638 2023] [cgi:error] [pid 141599] [client > ::1:46140] AH01215: msGetGlyphByIndex(): General error message. unable to > load glyph 62314 for font "uni": /usr/lib/cgi-bin/mapserv > > while my script tells me 'glyph 62314' is in 'fonts/unifont_sample.ttf'... > you'll have to dig in more as to why this is happening, from what I understand you are specifying the fonts correctly and that glyph /should/ be found, but the error message is explicitly telling you this is not the case. regards, TB -------------- next part -------------- An HTML attachment was scrubbed... URL: From trygve at aspenes.priv.no Fri Apr 14 06:51:43 2023 From: trygve at aspenes.priv.no (Trygve Aspenes) Date: Fri, 14 Apr 2023 15:51:43 +0200 Subject: [MapServer-users] getfeatureinfo works from mapserver but not via mapcache Message-ID: <1e5172fa7d037cff32bdd63a56fdf27e@aspenes.priv.no> Hi mapserver users list I have a mapserver with getfeatureinfo available. This seems to return the correct value for the selected timestamp for the given layer when used directly. But when I try to reach the same info, ie. getfeatureinfo, from mapcache a wrong timestamp is passed to mapserver and then the wrong values are returned. The request received by mapcache(as seen in the logs): 2023-04-14T13:34:20.304781696Z 172.16.16.234 - - [14/Apr/2023:13:34:20 +0000] "GET /okd-satellite &SERVICE=WMS&REQUEST=GetFeatureInfo&VERSION=1.1.1&LAYERS=ash_meteosat_0deg&QUERY_LAYERS=ash_meteosat_0deg&SRS=EPSG%3A3857&BBOX=-3396560.8725830186,6408480.4514,7422652.026383018,11520588.9031&WIDTH=1782&HEIGHT=842&X=333&Y=704&FORMAT=image/gif&INFO_FORMAT=text/html&STYLES=&&TIME=2023-04-11T07%3A15%3A00Z The request received by mapserver(as seen in the logs): 2023-04-14T13:34:20.303555611Z 172.16.2.224 - - [14/Apr/2023:13:34:20 +0000] "GET /okd-satellite?VERSION=1.1.1&REQUEST=GetFeatureInfo&SERVICE=WMS&STYLES=&FORMAT=image%2fpng&LAYERS=ash_meteosat_0deg&MAP=%2fconfig%2fmapserver-products.map&BBOX=-3396560.872583%2c6408480.451400%2c7422652.026383%2c11520588.903100&WIDTH=1782&HEIGHT=842&SRS=EPSG%3a3857&X=333&Y=704&INFO_FORMAT=text%2fhtml&QUERY_LAYERS=ash_meteosat_0deg&time=2023-03-25T16%3a00%3a00Z HTTP/1.1" 200 743 "-" "mod-mapcache/1.11dev" So what happens. The mapcache request looks correct with time=2023-04-11T07:15:00Z, then I guess this request is forwarded to mapserver, but I think it is without the TIME parameter. Why I think this is because the request I see in the mapserver logs has the default time stamp as given in my mapfile. Are there some configuration I'm missing? I had a look at https://github.com/MapServer/mapcache/blob/main/mapcache.xml.sample#L753-L763 to see how getfeatureinfo should be configured, but no other information. My mapcache source config looks like http://? image/png ash_meteosat_0deg text/html ash_meteosat_0deg Any hints are appreciated. Trygve From trygve at aspenes.priv.no Fri Apr 14 07:24:51 2023 From: trygve at aspenes.priv.no (Trygve Aspenes) Date: Fri, 14 Apr 2023 16:24:51 +0200 Subject: [MapServer-users] getfeatureinfo works from mapserver but not via mapcache In-Reply-To: <1e5172fa7d037cff32bdd63a56fdf27e@aspenes.priv.no> References: <1e5172fa7d037cff32bdd63a56fdf27e@aspenes.priv.no> Message-ID: <69b1c60bd1b084305295eb77634a8184@aspenes.priv.no> OK so I was a bit inaccurate. The time value comes from the default value in the mapcache xml tileset dimensions config, I think this is happens here: https://github.com/MapServer/mapcache/blob/main/lib/service_wms.c#L883-L893 and it looks to me if no value for the dimension is set then the default values us used. Seems OK, but why is not my time value not handled. I guess I need some digging. Is the param and dimmension->name maybe case sensitive? Trygve Den 2023-04-14 15:51, skrev Trygve Aspenes via MapServer-users: > Hi mapserver users list > > I have a mapserver with getfeatureinfo available. This seems to return > the correct value for the selected timestamp for the given layer when > used directly. > > But when I try to reach the same info, ie. getfeatureinfo, from > mapcache a wrong timestamp is passed to mapserver and then the wrong > values are returned. > > The request received by mapcache(as seen in the logs): > 2023-04-14T13:34:20.304781696Z 172.16.16.234 - - [14/Apr/2023:13:34:20 > +0000] "GET /okd-satellite > &SERVICE=WMS&REQUEST=GetFeatureInfo&VERSION=1.1.1&LAYERS=ash_meteosat_0deg&QUERY_LAYERS=ash_meteosat_0deg&SRS=EPSG%3A3857&BBOX=-3396560.8725830186,6408480.4514,7422652.026383018,11520588.9031&WIDTH=1782&HEIGHT=842&X=333&Y=704&FORMAT=image/gif&INFO_FORMAT=text/html&STYLES=&&TIME=2023-04-11T07%3A15%3A00Z > > The request received by mapserver(as seen in the logs): > 2023-04-14T13:34:20.303555611Z 172.16.2.224 - - [14/Apr/2023:13:34:20 > +0000] "GET > /okd-satellite?VERSION=1.1.1&REQUEST=GetFeatureInfo&SERVICE=WMS&STYLES=&FORMAT=image%2fpng&LAYERS=ash_meteosat_0deg&MAP=%2fconfig%2fmapserver-products.map&BBOX=-3396560.872583%2c6408480.451400%2c7422652.026383%2c11520588.903100&WIDTH=1782&HEIGHT=842&SRS=EPSG%3a3857&X=333&Y=704&INFO_FORMAT=text%2fhtml&QUERY_LAYERS=ash_meteosat_0deg&time=2023-03-25T16%3a00%3a00Z > HTTP/1.1" 200 743 "-" "mod-mapcache/1.11dev" > > So what happens. The mapcache request looks correct with > time=2023-04-11T07:15:00Z, then I guess this request is forwarded to > mapserver, but I think it is without the TIME parameter. Why I think > this is because the request I see in the mapserver logs has the > default time stamp as given in my mapfile. > > Are there some configuration I'm missing? I had a look at > https://github.com/MapServer/mapcache/blob/main/mapcache.xml.sample#L753-L763 > to see how getfeatureinfo should be configured, but no other > information. My mapcache source config looks like > > > > http://? > > > > image/png > ash_meteosat_0deg > > > > > text/html > > ash_meteosat_0deg > > > > > Any hints are appreciated. > > Trygve > _______________________________________________ > MapServer-users mailing list > MapServer-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users From atlantageek at gmail.com Thu Apr 20 06:03:23 2023 From: atlantageek at gmail.com (Atlanta Geek) Date: Thu, 20 Apr 2023 09:03:23 -0400 Subject: [MapServer-users] Layer is opaque Message-ID: I am trying to use mapserver to display some data but unfortunately the map in not visible below the layer. My configuration of my mapserver is below. Any guidance would be appreciated. MAP IMAGETYPE png MAXSIZE 4000 SIZE 800 800 EXTENT -9583207 3548826 -8999182 4183713 UNITS meters IMAGECOLOR "#FF000000" WEB METADATA "wfs_title" "mapserverdemo" "wfs_enable_request" "*" "wfs_onlineresource" " http://localhost:8080/mapserv?map=/etc/mapserver/wms.map" "ows_enable_request" "*" "wms_srs" "EPSG:3857 EPSG:4326" "wfs_srs" "EPSG:3857 EPSG:4326" "labelcache_map_edge_buffer" "-1" "wms_title" "OpenStreetMap" "wms_feature_info_mime_type" "text/plain text/html application/json" END IMAGEPATH "/ms4w/tmp/ms_tmp/" IMAGEURL "/ms_tmp/" END DEBUG 1 CONFIG "MS_ERRORFILE" "stderr" PROJECTION "init=epsg:3857" END OUTPUTFORMAT NAME "jpeg_png" MIMETYPE "image/vnd.jpeg-png" DRIVER AGG/MIXED IMAGEMODE RGBA FORMATOPTION "TRANSPARENT_FORMAT=png" FORMATOPTION "OPAQUE_FORMAT=jpeg" END LAYER STATUS DEFAULT TYPE POLYGON NAME "h3_polygons" GROUP "h3" CONNECTIONTYPE postgis CONNECTION "host=host.docker.internal dbname=h3demo user=postgres password=postgres port=5432" DATA "geom from pop6 using unique fld using srid=4326" COMPOSITE OPACITY 70 END # COMPOSITE CLASS STYLE OUTLINECOLOR 0 0 255 WIDTH 3 END STYLE COLOR 255 0 0 OPACITY 10 END END PROJECTION #source "init=epsg:4326" END END END -- http://www.atlantageek.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mniemyjski at cloudferro.com Thu Apr 20 06:48:17 2023 From: mniemyjski at cloudferro.com (Marcin Niemyjski) Date: Thu, 20 Apr 2023 13:48:17 +0000 Subject: [MapServer-users] What is the optimal value of requests per second for Mapserver? Message-ID: Hello I'm looking for a benchmark advice. If I have a machine running on 6 CPUs and 25gb RAM what would be the value of the number of requests per second from which I should start scaling my VMs with Mapserver? Is there any way of testing or investingating? I'm using Locust and JMeter but it's really hard to get a logical answer for this question. Best, Marcin [cid:8122727c-da86-45a6-b10b-235bd8f20aa3] Book time to meet with me -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Outlook-jlu4zhxn.png Type: image/png Size: 528 bytes Desc: Outlook-jlu4zhxn.png URL: From oskar.ravhed at t-kartor.com Thu Apr 20 06:59:06 2023 From: oskar.ravhed at t-kartor.com (Oskar Ravhed) Date: Thu, 20 Apr 2023 15:59:06 +0200 Subject: [MapServer-users] What is the optimal value of requests per second for Mapserver? In-Reply-To: References: Message-ID: <0e00faee-fbd5-80c8-1df5-fda75a47f525@t-kartor.com> It is impossible to answer on without knowing what kind of for wms/wcs/wfs you are serving with mapserver For example a simple raster wms will be able to do many request per second. On the other side serve out osm from a postgis database will in some heavy scale not do more then 1 tile every 5 second I would determ it based on cpu/disk usage instead of request? per second On 20/04/2023 15:48, Marcin Niemyjski via MapServer-users wrote: > > Hello > > I'm looking for a benchmark advice. > > If I have a machine running on 6 CPUs and 25gb RAM what would be the > value of the number of requests per second from which I should start > scaling my VMs with Mapserver? > > Is there any way of testing or investingating? I'm using Locust and > JMeter but it's really hard to get a logical answer for this question. > > Best, > Marcin > > > > > > > Book time to meet with me > > > > > _______________________________________________ > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: Outlook-jlu4zhxn.png Type: image/png Size: 528 bytes Desc: not available URL: From dmorissette at mapgears.com Thu Apr 20 07:17:03 2023 From: dmorissette at mapgears.com (Daniel Morissette) Date: Thu, 20 Apr 2023 10:17:03 -0400 Subject: [MapServer-users] What is the optimal value of requests per second for Mapserver? In-Reply-To: <0e00faee-fbd5-80c8-1df5-fda75a47f525@t-kartor.com> References: <0e00faee-fbd5-80c8-1df5-fda75a47f525@t-kartor.com> Message-ID: <1b55e545-9bab-b488-cad9-7d731ce1c6dc@mapgears.com> As Oskar wrote, there is no single answer to this question. It depends on lots of factors. To give you an idea, you may be interested in checking out the FOSS4G WMS Benchmarks [1], a friendly competition that took place for a few years at FOSS4G comparing MapServer and other contenders under various types of load. Since there is LOTS of info in there, I suggest that you start by reviewing the 2011 benchmark presentation [2] to get a first overview of the tests and the results, and then if you want to know more you can find more details on the benchmark environment in the wiki at [3]. Daniel [1] https://wiki.osgeo.org/wiki/FOSS4G_Benchmark [2] https://svn.osgeo.org/osgeo/foss4g/benchmarking/wms/2011/presentation/ [3] https://wiki.osgeo.org/wiki/Benchmarking_2011 On 2023-04-20 09:59, Oskar Ravhed wrote: > It is impossible to answer on without knowing what kind of for > wms/wcs/wfs you are serving with mapserver > > For example a simple raster wms will be able to do many request per second. > > On the other side serve out osm from a postgis database will in some > heavy scale not do more then 1 tile every 5 second > > I would determ it based on cpu/disk usage instead of request? per second > > > > On 20/04/2023 15:48, Marcin Niemyjski via MapServer-users wrote: >> >> Hello >> >> I'm looking for a benchmark advice. >> >> If I have a machine running on 6 CPUs and 25gb RAM what would be the >> value of the number of requests per second from which I should start >> scaling my VMs with Mapserver? >> >> Is there any way of testing or investingating? I'm using Locust and >> JMeter but it's really hard to get a logical answer for this question. >> >> Best, >> Marcin >> >> >> >> >> >> Book time to meet with me >> >> >> >> _______________________________________________ >> 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 -- Daniel Morissette Mapgears Inc T: +1 418-696-5056 #201 From public at postholer.com Thu Apr 20 07:16:30 2023 From: public at postholer.com (Scott) Date: Thu, 20 Apr 2023 07:16:30 -0700 Subject: [MapServer-users] What is the optimal value of requests per second for Mapserver? In-Reply-To: <0e00faee-fbd5-80c8-1df5-fda75a47f525@t-kartor.com> References: <0e00faee-fbd5-80c8-1df5-fda75a47f525@t-kartor.com> Message-ID: <2e85f2e4-8e55-d8e0-82d0-8ee43299ae45@postholer.com> Depending on what you're doing, any bulk requests should be to a pre-seeded MapCache and not the WMS server per se. In a production environment a modestly detailed raster, it's easy to kill a WMS server of any size. You're going to have to test a range of requests to get a usable setup. You may even consider limiting the size of bounding box requests. On 4/20/23 06:59, Oskar Ravhed wrote: > It is impossible to answer on without knowing what kind of for > wms/wcs/wfs you are serving with mapserver > > For example a simple raster wms will be able to do many request per second. > > On the other side serve out osm from a postgis database will in some > heavy scale not do more then 1 tile every 5 second > > I would determ it based on cpu/disk usage instead of request? per second > > > > On 20/04/2023 15:48, Marcin Niemyjski via MapServer-users wrote: >> >> Hello >> >> I'm looking for a benchmark advice. >> >> If I have a machine running on 6 CPUs and 25gb RAM what would be the >> value of the number of requests per second from which I should start >> scaling my VMs with Mapserver? >> >> Is there any way of testing or investingating? I'm using Locust and >> JMeter but it's really hard to get a logical answer for this question. >> >> Best, >> Marcin >> >> >> >> >> >> Book time to meet with me >> >> >> >> _______________________________________________ >> MapServer-users mailing list >> MapServer-users at lists.osgeo.org >> https://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > _______________________________________________ > MapServer-users mailing list > MapServer-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users From jukka.rahkonen at maanmittauslaitos.fi Thu Apr 20 12:51:32 2023 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka) Date: Thu, 20 Apr 2023 19:51:32 +0000 Subject: [MapServer-users] Layer is opaque In-Reply-To: References: Message-ID: Hi, Work for me in two different ways with this test layer LAYER NAME "layername" TYPE POLYGON FEATURE POINTS 10 5 15 10 5 10 10 5 END END #feature # opacity defined with COMPOSITE COMPOSITE OPACITY 70 END # COMPOSITE METADATA 'wms_title' 'layername' "wms_srs" "EPSG:4326" END #metadata CLASS STYLE #alternatively opacity defined in style #OPACITY 80 COLOR 210 155 100 END #style END #class END #layer The outputformat must be png, jpeg does not support opacity/transparency. -Jukka Rahkonen- L?hett?j?: MapServer-users Puolesta Atlanta Geek L?hetetty: torstai 20. huhtikuuta 2023 16.03 Vastaanottaja: mapserver Aihe: [MapServer-users] Layer is opaque I am trying to use mapserver to display some data but unfortunately the map in not visible below the layer. My configuration of my mapserver is below. Any guidance would be appreciated. MAP IMAGETYPE png MAXSIZE 4000 SIZE 800 800 EXTENT -9583207 3548826 -8999182 4183713 UNITS meters IMAGECOLOR "#FF000000" WEB METADATA "wfs_title" "mapserverdemo" "wfs_enable_request" "*" "wfs_onlineresource" "http://localhost:8080/mapserv?map=/etc/mapserver/wms.map" "ows_enable_request" "*" "wms_srs" "EPSG:3857 EPSG:4326" "wfs_srs" "EPSG:3857 EPSG:4326" "labelcache_map_edge_buffer" "-1" "wms_title" "OpenStreetMap" "wms_feature_info_mime_type" "text/plain text/html application/json" END IMAGEPATH "/ms4w/tmp/ms_tmp/" IMAGEURL "/ms_tmp/" END DEBUG 1 CONFIG "MS_ERRORFILE" "stderr" PROJECTION "init=epsg:3857" END OUTPUTFORMAT NAME "jpeg_png" MIMETYPE "image/vnd.jpeg-png" DRIVER AGG/MIXED IMAGEMODE RGBA FORMATOPTION "TRANSPARENT_FORMAT=png" FORMATOPTION "OPAQUE_FORMAT=jpeg" END LAYER STATUS DEFAULT TYPE POLYGON NAME "h3_polygons" GROUP "h3" CONNECTIONTYPE postgis CONNECTION "host=host.docker.internal dbname=h3demo user=postgres password=postgres port=5432" DATA "geom from pop6 using unique fld using srid=4326" COMPOSITE OPACITY 70 END # COMPOSITE CLASS STYLE OUTLINECOLOR 0 0 255 WIDTH 3 END STYLE COLOR 255 0 0 OPACITY 10 END END PROJECTION #source "init=epsg:4326" END END END -- http://www.atlantageek.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From asteiner at EUROFUNK.COM Thu Apr 20 23:55:31 2023 From: asteiner at EUROFUNK.COM (STEINER Andreas) Date: Fri, 21 Apr 2023 06:55:31 +0000 Subject: [MapServer-users] [EXTERN]Re: WG: mapcache tms it not working properly In-Reply-To: <911fde3564ff46a6bd336a8ac904b0a2@EUROFUNK.COM> References: <7e46c47c366c4ef483210e0c97cf99ab@EUROFUNK.COM> <97744883d07f4c1a8e2a2e82ba649ef9@EUROFUNK.COM> <911fde3564ff46a6bd336a8ac904b0a2@EUROFUNK.COM> Message-ID: <2893c4d012f842e98e9270c270856687@EUROFUNK.COM> Hello, i have another hint maybe. The source is a mapproxy layer where the source of the mapproxy layer has a GLOBAL_WEBMERCATOR grid --> EPSG:3857 and origin north-west (top-left). I don?t know how to configure mapcache and mapproxy that the output of that layer gets a bottom-left origin since tms only supports bottom-left. So we know the issue is that we have different origins at source and target. Maybe you know how I should configure it. Thanks in advance. Von: Travis Kirstine > Gesendet: Dienstag, 11. April 2023 20:44 An: STEINER Andreas < asteiner at EUROFUNK.COM>; mapserver-users < mapserver-users at lists.osgeo.org> Betreff: [EXTERN]Re: [MapServer-users] WG: mapcache tms it not working properly Sie erhalten nicht oft eine E-Mail von traviskirstine at gmail.com. Erfahren Sie, warum dies wichtig ist My guess top-left is your issue, I believe the tms standard is for bottom-left On Tue, 11 Apr 2023 at 08:44, STEINER Andreas < asteiner at eurofunk.com> wrote: Hello everyone, I set up a mapcache layer for a customer of mine. The layer looks like this: https://user-images.githubusercontent.com/59861665/231165591-1fb8d097-70e1-487d-91c6-152291b3ae43.png When requesting the layer via wmts or wms everything works fine. My customer requires TMS ? when I request the tiles with tms the tiles are not at the right place. Z0: At Z0 the tiles match: https://user-images.githubusercontent.com/59861665/231165657-742f7944-f2a4-444c-9a82-24c10574bdc8.png At Z1 they are not at the same place: https://user-images.githubusercontent.com/59861665/231165693-29e2399a-04cd-4df0-b63a-1ab3f606ce92.png And e.g. at Z6 it looks like this: https://user-images.githubusercontent.com/59861665/231165727-a638e7d8-8803-4c81-a2bd-7ff70ed04020.png That?s the configuration for the GRID: GoogleMapsCompatible urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible -20037508.3427892480 -20037508.3427892480 20037508.3427892480 20037508.3427892480 EPSG:3857 256 256 EPSG:900913 top-left 156543.03392800014 78271.51696399994 39135.75848200009 19567.87924099992 9783.93962049996 4891.96981024998 2445.98490512499 1222.992452562495 611.4962262813797 305.74811314055756 152.87405657041106 76.43702828507324 38.21851414253662 19.10925707126831 9.554628535634155 4.77731426794937 2.388657133974685 1.1943285668550503 0.5971642835598172 I also tried to use a EPSG:4326 with a extend -180 -180 180 180 but it?s the same result. The url I used looks like this: http://XX /mapcache/tms/1.0.0/@WORLD/{z}/{x}/{y}.png Maybe someone has an idea why it doesn?t work. Thanks in advance. Best regards Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 7859 bytes Desc: S/MIME Cryptographic Signature URL: From jmckenna at gatewaygeomatics.com Fri Apr 21 12:39:33 2023 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Fri, 21 Apr 2023 16:39:33 -0300 Subject: [MapServer-users] 8.0.1 & 7.6.5 released Message-ID: <35955b23-0765-b747-2011-ba2753ad21f2@gatewaygeomatics.com> The MapServer team is pleased to announce the maintenance releases of MapServer 8.0.1 and 7.6.5 For the list of changes see the changelogs: - 8.0.1: https://mapserver.org/development/changelog/changelog-8-0.html#changelog-8-0-1 - 7.6.5: https://mapserver.org/development/changelog/changelog-7-6.html#changelog-7-6-5 Or head to Download at https://mapserver.org/download.html For those wanting searchable offline documentation (with click-able index of terms at end), the updated PDF is now available at https://download.osgeo.org/mapserver/docs/MapServer.pdf (the demo server and its so many services have all received big upgrades as part of this effort: https://demo.mapserver.org ) Fun fact: most #foss4g releases happen on a Friday ? Happy (fast) mapserving... -- The MapServer Team From atlantageek at gmail.com Fri Apr 21 16:56:11 2023 From: atlantageek at gmail.com (Atlanta Geek) Date: Fri, 21 Apr 2023 19:56:11 -0400 Subject: [MapServer-users] Layer is opaque In-Reply-To: References: Message-ID: Thank, that gave me the hint I needed. jpegs were being requested and not pngs. It turned out the leaflet app I was using defaulted to jpegs even though I told leaflet the layer was transparent. I forced png and it worked. On Thu, Apr 20, 2023 at 3:51?PM Rahkonen Jukka < jukka.rahkonen at maanmittauslaitos.fi> wrote: > Hi, > > > > Work for me in two different ways with this test layer > > > > LAYER > > NAME "layername" > > TYPE POLYGON > > FEATURE > > POINTS 10 5 15 10 5 10 10 5 END > > END #feature > > # opacity defined with COMPOSITE > > COMPOSITE > OPACITY 70 > END # COMPOSITE > > METADATA > > 'wms_title' 'layername' > > "wms_srs" "EPSG:4326" > > END #metadata > > CLASS > > STYLE > > #alternatively opacity defined in style > > #OPACITY 80 > > COLOR 210 155 100 > > END #style > > END #class > > END #layer > > > > The outputformat must be png, jpeg does not support opacity/transparency. > > > > -Jukka Rahkonen- > > > > *L?hett?j?:* MapServer-users *Puolesta > *Atlanta Geek > *L?hetetty:* torstai 20. huhtikuuta 2023 16.03 > *Vastaanottaja:* mapserver > *Aihe:* [MapServer-users] Layer is opaque > > > > I am trying to use mapserver to display some data but unfortunately the > map in not visible below the layer. My configuration of my mapserver is > below. Any guidance would be appreciated. > > > > MAP > IMAGETYPE png > MAXSIZE 4000 > SIZE 800 800 > EXTENT -9583207 3548826 -8999182 4183713 > UNITS meters > IMAGECOLOR "#FF000000" > WEB > METADATA > "wfs_title" "mapserverdemo" > "wfs_enable_request" "*" > "wfs_onlineresource" " > http://localhost:8080/mapserv?map=/etc/mapserver/wms.map" > "ows_enable_request" "*" > "wms_srs" "EPSG:3857 EPSG:4326" > "wfs_srs" "EPSG:3857 EPSG:4326" > "labelcache_map_edge_buffer" "-1" > "wms_title" "OpenStreetMap" > "wms_feature_info_mime_type" "text/plain text/html application/json" > END > IMAGEPATH "/ms4w/tmp/ms_tmp/" > IMAGEURL "/ms_tmp/" > END > DEBUG 1 > CONFIG "MS_ERRORFILE" "stderr" > PROJECTION > "init=epsg:3857" > END > OUTPUTFORMAT > NAME "jpeg_png" > MIMETYPE "image/vnd.jpeg-png" > DRIVER AGG/MIXED > IMAGEMODE RGBA > FORMATOPTION "TRANSPARENT_FORMAT=png" > FORMATOPTION "OPAQUE_FORMAT=jpeg" > END > > > LAYER > STATUS DEFAULT > TYPE POLYGON > NAME "h3_polygons" > GROUP "h3" > CONNECTIONTYPE postgis > CONNECTION "host=host.docker.internal dbname=h3demo user=postgres > password=postgres port=5432" > DATA "geom from pop6 using unique fld using srid=4326" > COMPOSITE > OPACITY 70 > END # COMPOSITE > CLASS > STYLE > OUTLINECOLOR 0 0 255 > WIDTH 3 > END > STYLE > COLOR 255 0 0 > OPACITY 10 > END > END > > > > PROJECTION #source > "init=epsg:4326" > END > END > > END > > > > -- > > http://www.atlantageek.com > -- http://www.atlantageek.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob.hewy at gmail.com Sun Apr 23 14:14:46 2023 From: rob.hewy at gmail.com (Robert Hewlett) Date: Sun, 23 Apr 2023 14:14:46 -0700 Subject: [MapServer-users] Building mapserver on AlmaLinux with Oracle Message-ID: Hello All, The end goal is to have mapserver compiled with both Oracle and PostGIS for AlmaLinux 9.1 (Lime Lynx). The package in EPEL+CRB has mapserver minus oracle. Note, this is the first time building with cmake. I have most likely made some rookie mistakes. However, I feel the library names are slightly different e.g. Debian/Ubunut vs RHEL naming conventions. For instance the protobuf packages is installed: /usr/lib64/libprotobuf-c.so.1 /usr/lib64/libprotobuf-c.so.1.0.0 /usr/lib64/libprotobuf.so.25 /usr/lib64/libprotobuf.so.25.0.0 The prefix pathi is: -DCMAKE_PREFIX_PATH=/usr/lib:/usr/lib64:/usr/local/pgsql:/usr/local:/opt But I get an error as seen below: PROTOBUFC library/component/dependency could not be found. HINTS: - disable PROTOBUFC support by adding -DWITH_PROTOBUFC=0 - add the PROTOBUFC install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/PROTOBUFC-install-dir;/path/to/other/dirs" Call Stack (most recent call first): CMakeLists.txt:339 (report_optional_not_found) Any help would be appreciated, Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmckenna at gatewaygeomatics.com Mon Apr 24 05:31:50 2023 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Mon, 24 Apr 2023 09:31:50 -0300 Subject: [MapServer-users] Building mapserver on AlmaLinux with Oracle In-Reply-To: References: Message-ID: Hi Rob, Does your issue occur with CMake 3.26.3 also? (I "have that t-shirt", where I struggle with getting CMake to find libs and then upgrading CMake solves it) Worth a try at least. -jeff -- Jeff McKenna GatewayGeo: Developers of MS4W, MapServer Consulting and Training co-founder of FOSS4G http://gatewaygeo.com/ On 2023-04-23 6:14 p.m., Robert Hewlett wrote: > Hello All, > > The end goal is to have mapserver compiled with both Oracle and PostGIS > for AlmaLinux 9.1 (Lime Lynx). > > The package in EPEL+CRB has mapserver minus oracle. > > Note, this is the first time building with cmake. I have most > likely?made some rookie mistakes. > > However, I feel?the library names are slightly different e.g. > Debian/Ubunut vs RHEL naming conventions. > > For instance the protobuf packages is installed: > /usr/lib64/libprotobuf-c.so.1 > /usr/lib64/libprotobuf-c.so.1.0.0 > /usr/lib64/libprotobuf.so.25 > /usr/lib64/libprotobuf.so.25.0.0 > > The prefix pathi is: > > ?-DCMAKE_PREFIX_PATH=/usr/lib:/usr/lib64:/usr/local/pgsql:/usr/local:/opt > > But I get an error as seen below: > > ? PROTOBUFC library/component/dependency could not be found. > > ? ? HINTS: > ? ? - disable PROTOBUFC support by adding -DWITH_PROTOBUFC=0 > ? ? - add the PROTOBUFC install directory to the CMAKE_PREFIX_PATH > variable > (-DCMAKE_PREFIX_PATH="/path/to/PROTOBUFC-install-dir;/path/to/other/dirs" > Call Stack (most recent call first): > ? CMakeLists.txt:339 (report_optional_not_found) > > Any help would be appreciated, > > Rob > From bahbouba.909 at gmail.com Tue Apr 25 04:17:43 2023 From: bahbouba.909 at gmail.com (Boubacar Bah) Date: Tue, 25 Apr 2023 11:17:43 +0000 Subject: [MapServer-users] entity insertion in postgis database with tinyows, openlayer, mapserver Message-ID: I hope all are well. I come in the hope that you can help me solve my problem of adding wfs entity to my postgis database via my tinyows server. I have a tinyows server well configured. whose xml file is the following: https://pastebin.com/5NmkgqXD. after configuring the file everything seems to be normal as you can see in the picture link below: https://pasteboard.co/5V9zmZzjbqtU.png and see the openlayer source code I use to add entities to my postgres database: https://pastebin.com/HMAEYMC3. but once I open a openlayer file in the browser to edit and add a new entity in the postgis database. nothing is happening. when I consult the access file of the apache log folder. Here is the error I see: https://pastebin.com/twYH1Mw1. Does anyone have an idea where the problem could be in my source code?. thanks in advance for your help -------------- next part -------------- An HTML attachment was scrubbed... URL: From jason2017jay at gmail.com Sat Apr 29 12:12:26 2023 From: jason2017jay at gmail.com (Jeremy JK) Date: Sat, 29 Apr 2023 15:12:26 -0400 Subject: [MapServer-users] Database problem when using CLASSITEM Message-ID: Hola OK so I am going through the MapServer tutorial Example 1-3 to be exact the one with the classes using classes to split layer polygon into land and water when shp and dbf file is in filesystem it works fine But When I import shp file into postgres I get the following error After checking the error logs, my question is how do I get a class column? Do I have to insert the dbf file into schema? If so, how? Thanks *Error*: msDrawMap(): Image handling error. Failed to draw layer named 'states_poly'. msPostGISLayerWhichShapes(): Query error. Error executing query. Check server logs *Query: * http://localhost:8081/cgi-bin/mapserv?map=/opt/map/mdm60/example1-3.map&layer=states_poly&layer=states_line&mode=map *Mapfile*: MAP IMAGETYPE PNG EXTENT -97.238976 41.619778 -82.122902 49.385620 SIZE 400 300 SHAPEPATH "/opt/map/mdm60/ms4w/apps/tutorial/data/" IMAGECOLOR 255 255 255 LAYER NAME "states_poly" CONNECTIONTYPE POSTGIS CONNECTION "user=postgres password=postgres dbname=mdm6data host=mxsig-db port=5432" DATA "wkb_geometry from tutoiral.states_ugl_imported using srid=3857" STATUS OFF TYPE POLYGON CLASSITEM "CLASS" CLASS NAME 'States' EXPRESSION 'land' STYLE COLOR 232 232 232 END END CLASS NAME 'Water' EXPRESSION 'water' STYLE COLOR 198 198 255 END END END LAYER NAME "states_line" CONNECTIONTYPE POSTGIS CONNECTION "user=postgres password=postgres dbname=mdm6data host=mxsig-db port=5432" DATA "wkb_geometry from tutorial.sttes_ugl_imported using srid=3875" STATUS OFF TYPE LINE CLASSITEM "CLASS" CLASS NAME 'State Boundary' EXPRESSION 'land' STYLE COLOR 32 32 32 END END END END *Error Log:*[Sat Apr 29 19:08:42 2023].232185 CGI Request 1 on process 1677 [Sat Apr 29 19:08:42 2023].233452 msDrawMap(): rendering using outputformat named png (AGG/PNG). [Sat Apr 29 19:08:42 2023].233473 msDrawMap(): WMS/WFS set-up and query, 0.000s [Sat Apr 29 19:08:42 2023].282742 msPostGISLayerWhichShapes(): Error (ERROR: no existe la columna ?CLASS? LINE 1: select "CLASS"::text,ST_AsBinary(("wkb_geometry"),'NDR') as ... -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmckenna at gatewaygeomatics.com Sun Apr 30 10:56:45 2023 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Sun, 30 Apr 2023 14:56:45 -0300 Subject: [MapServer-users] Database problem when using CLASSITEM In-Reply-To: References: Message-ID: <8e6a0d0c-34aa-fe09-698a-6c815d9b3ef2@gatewaygeomatics.com> Hi Jeremy, I would run ogrinfo on that table to see what field to use for your CLASSITEM, such as: ogrinfo PG:"user=postgres password=postgres dbname=mdm6data host=mxsig-db port=5432" tutoiral.states_ugl_imported -summary (your timing is good as the tutorial was recently updated for MapServer 8 ) -jeff -- Jeff McKenna GatewayGeo: Developers of MS4W, MapServer Consulting and Training co-founder of FOSS4G http://gatewaygeo.com/ On 2023-04-29 4:12 p.m., Jeremy JK wrote: > Hola > > OK so I am going through the MapServer tutorial > Example 1-3 to be exact > the one with the classes > using classes to split layer polygon into land and water > > when shp and dbf file is in filesystem it works fine > But > When I import shp file into postgres I get the following error > > After checking the error logs, my question is how do I get a class > column? Do I have to insert the dbf file into schema? If so, how? > Thanks > > *Error*: > msDrawMap(): Image handling error. Failed to draw layer named > 'states_poly'. msPostGISLayerWhichShapes(): Query error. Error executing > query. Check server logs > > From jason2017jay at gmail.com Sun Apr 30 14:03:56 2023 From: jason2017jay at gmail.com (Jeremy JK) Date: Sun, 30 Apr 2023 17:03:56 -0400 Subject: [MapServer-users] MapServer-users Digest, Vol 183, Issue 13 In-Reply-To: References: Message-ID: Hi Jeff, My understanding, as the tutorial says, is that the class column comes from the dbf file That's the tutorial's dataset - shp file and dbf file So I guess my query will be how to import the dbf file into the database such that is "corresponds" to the shp file table How to import states_ugl.dbf together with states_ugl.shp? I guess this is more of a problem with handling a specific data set for a specific purpose (tutorial data for the tutorial) I will practice using files But would be good to know how to insert the 2 different types of files "simultaneously" for future reference On Sun, Apr 30, 2023 at 3:00?PM wrote: > Send MapServer-users mailing list submissions to > mapserver-users at lists.osgeo.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.osgeo.org/mailman/listinfo/mapserver-users > or, via email, send a message with subject or body 'help' to > mapserver-users-request at lists.osgeo.org > > You can reach the person managing the list at > mapserver-users-owner at lists.osgeo.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of MapServer-users digest..." > > > Today's Topics: > > 1. Database problem when using CLASSITEM (Jeremy JK) > 2. Re: Database problem when using CLASSITEM (Jeff McKenna) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 29 Apr 2023 15:12:26 -0400 > From: Jeremy JK > To: Jason Snyder > Subject: [MapServer-users] Database problem when using CLASSITEM > Message-ID: > fODiXGr6rYnaSKbPV9wxrNAF_-M2-pB+ew at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hola > > OK so I am going through the MapServer tutorial > Example 1-3 to be exact > the one with the classes > using classes to split layer polygon into land and water > > when shp and dbf file is in filesystem it works fine > But > When I import shp file into postgres I get the following error > > After checking the error logs, my question is how do I get a class column? > Do I have to insert the dbf file into schema? If so, how? > Thanks > > *Error*: > msDrawMap(): Image handling error. Failed to draw layer named > 'states_poly'. msPostGISLayerWhichShapes(): Query error. Error executing > query. Check server logs > > > > *Query: * > > http://localhost:8081/cgi-bin/mapserv?map=/opt/map/mdm60/example1-3.map&layer=states_poly&layer=states_line&mode=map > > > *Mapfile*: > MAP > IMAGETYPE PNG > EXTENT -97.238976 41.619778 -82.122902 49.385620 > SIZE 400 300 > SHAPEPATH "/opt/map/mdm60/ms4w/apps/tutorial/data/" > IMAGECOLOR 255 255 255 > > LAYER > NAME "states_poly" > CONNECTIONTYPE POSTGIS > CONNECTION "user=postgres password=postgres dbname=mdm6data > host=mxsig-db port=5432" > DATA "wkb_geometry from tutoiral.states_ugl_imported using > srid=3857" > STATUS OFF > TYPE POLYGON > > CLASSITEM "CLASS" > > CLASS > NAME 'States' > EXPRESSION 'land' > STYLE > COLOR 232 232 232 > END > END > CLASS > NAME 'Water' > EXPRESSION 'water' > STYLE > COLOR 198 198 255 > END > END > END > > LAYER > NAME "states_line" > CONNECTIONTYPE POSTGIS > CONNECTION "user=postgres password=postgres dbname=mdm6data > host=mxsig-db port=5432" > DATA "wkb_geometry from tutorial.sttes_ugl_imported using > srid=3875" > STATUS OFF > TYPE LINE > > CLASSITEM "CLASS" > > CLASS > NAME 'State Boundary' > EXPRESSION 'land' > STYLE > COLOR 32 32 32 > END > END > END > > > END > > > *Error Log:*[Sat Apr 29 19:08:42 2023].232185 CGI Request 1 on process 1677 > [Sat Apr 29 19:08:42 2023].233452 msDrawMap(): rendering using outputformat > named png (AGG/PNG). > [Sat Apr 29 19:08:42 2023].233473 msDrawMap(): WMS/WFS set-up and query, > 0.000s > [Sat Apr 29 19:08:42 2023].282742 msPostGISLayerWhichShapes(): Error > (ERROR: no existe la columna ?CLASS? > LINE 1: select "CLASS"::text,ST_AsBinary(("wkb_geometry"),'NDR') as ... > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230429/f3df399b/attachment-0001.htm > > > > ------------------------------ > > Message: 2 > Date: Sun, 30 Apr 2023 14:56:45 -0300 > From: Jeff McKenna > To: mapserver-users at lists.osgeo.org > Subject: Re: [MapServer-users] Database problem when using CLASSITEM > Message-ID: > <8e6a0d0c-34aa-fe09-698a-6c815d9b3ef2 at gatewaygeomatics.com> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Hi Jeremy, > > I would run ogrinfo on that table to see what field to use for your > CLASSITEM, such as: > > ogrinfo PG:"user=postgres password=postgres dbname=mdm6data > host=mxsig-db port=5432" tutoiral.states_ugl_imported -summary > > (your timing is good as the tutorial was recently updated for MapServer 8 ) > > -jeff > > > > -- > Jeff McKenna > GatewayGeo: Developers of MS4W, MapServer Consulting and Training > co-founder of FOSS4G > http://gatewaygeo.com/ > > > > > On 2023-04-29 4:12 p.m., Jeremy JK wrote: > > Hola > > > > OK so I am going through the MapServer tutorial > > Example 1-3 to be exact > > the one with the classes > > using classes to split layer polygon into land and water > > > > when shp and dbf file is in filesystem it works fine > > But > > When I import shp file into postgres I get the following error > > > > After checking the error logs, my question is how do I get a class > > column? Do I have to insert the dbf file into schema? If so, how? > > Thanks > > > > *Error*: > > msDrawMap(): Image handling error. Failed to draw layer named > > 'states_poly'. msPostGISLayerWhichShapes(): Query error. Error executing > > query. Check server logs > > > > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > MapServer-users mailing list > MapServer-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users > > > ------------------------------ > > End of MapServer-users Digest, Vol 183, Issue 13 > ************************************************ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.greenwood at gmail.com Sun Apr 30 16:28:16 2023 From: richard.greenwood at gmail.com (Richard Greenwood) Date: Sun, 30 Apr 2023 17:28:16 -0600 Subject: [MapServer-users] MapServer-users Digest, Vol 183, Issue 13 In-Reply-To: References: Message-ID: Try "class" lower case. Be sure that the case of your column names match the case in postges. On Sun, Apr 30, 2023, 3:04 PM Jeremy JK wrote: > Hi Jeff, > My understanding, as the tutorial says, is that the class column comes > from the dbf file > That's the tutorial's dataset - shp file and dbf file > So I guess my query will be how to import the dbf file into the database > such that is "corresponds" to the shp file table > > How to import states_ugl.dbf together with states_ugl.shp? > > I guess this is more of a problem with handling a specific data set for a > specific purpose (tutorial data for the tutorial) > > I will practice using files > But would be good to know how to insert the 2 different types of files > "simultaneously" for future reference > > > > > > > > On Sun, Apr 30, 2023 at 3:00?PM > wrote: > >> Send MapServer-users mailing list submissions to >> mapserver-users at lists.osgeo.org >> >> To subscribe or unsubscribe via the World Wide Web, visit >> https://lists.osgeo.org/mailman/listinfo/mapserver-users >> or, via email, send a message with subject or body 'help' to >> mapserver-users-request at lists.osgeo.org >> >> You can reach the person managing the list at >> mapserver-users-owner at lists.osgeo.org >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of MapServer-users digest..." >> >> >> Today's Topics: >> >> 1. Database problem when using CLASSITEM (Jeremy JK) >> 2. Re: Database problem when using CLASSITEM (Jeff McKenna) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Sat, 29 Apr 2023 15:12:26 -0400 >> From: Jeremy JK >> To: Jason Snyder >> Subject: [MapServer-users] Database problem when using CLASSITEM >> Message-ID: >> > fODiXGr6rYnaSKbPV9wxrNAF_-M2-pB+ew at mail.gmail.com> >> Content-Type: text/plain; charset="utf-8" >> >> Hola >> >> OK so I am going through the MapServer tutorial >> Example 1-3 to be exact >> the one with the classes >> using classes to split layer polygon into land and water >> >> when shp and dbf file is in filesystem it works fine >> But >> When I import shp file into postgres I get the following error >> >> After checking the error logs, my question is how do I get a class column? >> Do I have to insert the dbf file into schema? If so, how? >> Thanks >> >> *Error*: >> msDrawMap(): Image handling error. Failed to draw layer named >> 'states_poly'. msPostGISLayerWhichShapes(): Query error. Error executing >> query. Check server logs >> >> >> >> *Query: * >> >> http://localhost:8081/cgi-bin/mapserv?map=/opt/map/mdm60/example1-3.map&layer=states_poly&layer=states_line&mode=map >> >> >> *Mapfile*: >> MAP >> IMAGETYPE PNG >> EXTENT -97.238976 41.619778 -82.122902 49.385620 >> SIZE 400 300 >> SHAPEPATH "/opt/map/mdm60/ms4w/apps/tutorial/data/" >> IMAGECOLOR 255 255 255 >> >> LAYER >> NAME "states_poly" >> CONNECTIONTYPE POSTGIS >> CONNECTION "user=postgres password=postgres dbname=mdm6data >> host=mxsig-db port=5432" >> DATA "wkb_geometry from tutoiral.states_ugl_imported using >> srid=3857" >> STATUS OFF >> TYPE POLYGON >> >> CLASSITEM "CLASS" >> >> CLASS >> NAME 'States' >> EXPRESSION 'land' >> STYLE >> COLOR 232 232 232 >> END >> END >> CLASS >> NAME 'Water' >> EXPRESSION 'water' >> STYLE >> COLOR 198 198 255 >> END >> END >> END >> >> LAYER >> NAME "states_line" >> CONNECTIONTYPE POSTGIS >> CONNECTION "user=postgres password=postgres dbname=mdm6data >> host=mxsig-db port=5432" >> DATA "wkb_geometry from tutorial.sttes_ugl_imported using >> srid=3875" >> STATUS OFF >> TYPE LINE >> >> CLASSITEM "CLASS" >> >> CLASS >> NAME 'State Boundary' >> EXPRESSION 'land' >> STYLE >> COLOR 32 32 32 >> END >> END >> END >> >> >> END >> >> >> *Error Log:*[Sat Apr 29 19:08:42 2023].232185 CGI Request 1 on process >> 1677 >> [Sat Apr 29 19:08:42 2023].233452 msDrawMap(): rendering using >> outputformat >> named png (AGG/PNG). >> [Sat Apr 29 19:08:42 2023].233473 msDrawMap(): WMS/WFS set-up and query, >> 0.000s >> [Sat Apr 29 19:08:42 2023].282742 msPostGISLayerWhichShapes(): Error >> (ERROR: no existe la columna ?CLASS? >> LINE 1: select "CLASS"::text,ST_AsBinary(("wkb_geometry"),'NDR') as ... >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: < >> http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230429/f3df399b/attachment-0001.htm >> > >> >> ------------------------------ >> >> Message: 2 >> Date: Sun, 30 Apr 2023 14:56:45 -0300 >> From: Jeff McKenna >> To: mapserver-users at lists.osgeo.org >> Subject: Re: [MapServer-users] Database problem when using CLASSITEM >> Message-ID: >> <8e6a0d0c-34aa-fe09-698a-6c815d9b3ef2 at gatewaygeomatics.com> >> Content-Type: text/plain; charset=UTF-8; format=flowed >> >> Hi Jeremy, >> >> I would run ogrinfo on that table to see what field to use for your >> CLASSITEM, such as: >> >> ogrinfo PG:"user=postgres password=postgres dbname=mdm6data >> host=mxsig-db port=5432" tutoiral.states_ugl_imported -summary >> >> (your timing is good as the tutorial was recently updated for MapServer 8 >> ) >> >> -jeff >> >> >> >> -- >> Jeff McKenna >> GatewayGeo: Developers of MS4W, MapServer Consulting and Training >> co-founder of FOSS4G >> http://gatewaygeo.com/ >> >> >> >> >> On 2023-04-29 4:12 p.m., Jeremy JK wrote: >> > Hola >> > >> > OK so I am going through the MapServer tutorial >> > Example 1-3 to be exact >> > the one with the classes >> > using classes to split layer polygon into land and water >> > >> > when shp and dbf file is in filesystem it works fine >> > But >> > When I import shp file into postgres I get the following error >> > >> > After checking the error logs, my question is how do I get a class >> > column? Do I have to insert the dbf file into schema? If so, how? >> > Thanks >> > >> > *Error*: >> > msDrawMap(): Image handling error. Failed to draw layer named >> > 'states_poly'. msPostGISLayerWhichShapes(): Query error. Error >> executing >> > query. Check server logs >> > >> > >> >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> MapServer-users mailing list >> MapServer-users at lists.osgeo.org >> https://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> >> ------------------------------ >> >> End of MapServer-users Digest, Vol 183, Issue 13 >> ************************************************ >> > _______________________________________________ > 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: