From Anton.Bakker at kadaster.nl Thu Sep 1 06:42:48 2022 From: Anton.Bakker at kadaster.nl (Bakker, Anton) Date: Thu, 1 Sep 2022 13:42:48 +0000 Subject: [MapServer-users] WCS 2.0.1 GetCoverage request results in corrupted geotiff In-Reply-To: References: Message-ID: Hi Jukka, Thanks for your suggestion, in the end I managed to resolve the issue. The corrupted geotiff was not produced by MapServer, but by a Bash script I wrote ???? which I used to convert the multipart response from the WCS 2.0.1 GetCoverage request. It worked in the docker-compose setup presumably due to a different version of Bash compared with the docker setup in which the script was run on my local machine... In any case we will not be needing the Bash script anymore to split the multipart response. Since I managed to solve the issue that our MapServer setup is returning multipart responses for WCS 2.0.1 GetCoverage requests. Cheers, Anton ________________________________ From: Rahkonen Jukka Sent: 27 August 2022 00:58 To: Bakker, Anton ; mapserver-users at lists.osgeo.org Subject: Re: WCS 2.0.1 GetCoverage request results in corrupted geotiff Deze e-mail is afkomstig van buiten de organisatie Hi, Your question is exceptionally detailed but because the issue happens only with a certain Docker image maybe you should contact the authors of the image https://github.com/PDOK/mapserver-docker/. But you seem to be one of the contributors yourself https://github.com/PDOK/mapserver-docker/graphs/contributors. Generally speaking, if one Docker works while another one does not I think I would start by studying how they differ. -Jukka Rahkonen- L?hett?j?: MapServer-users Puolesta Bakker, Anton via MapServer-users L?hetetty: perjantai 26. elokuuta 2022 19.20 Vastaanottaja: mapserver-users at lists.osgeo.org Aihe: [MapServer-users] WCS 2.0.1 GetCoverage request results in corrupted geotiff Hi all, I am running into a curious issue in which WCS 2.0.1 getcoverage requests produces a corrupted geotiff (which is bad) and WCS 1.0.0 getcoverage requests produce valid geotiffs (which is good). This behaviour occurs with our https://hub.docker.com/r/pdok/mapserver Docker image. I could not reproduce the behaviour with https://hub.docker.com/r/camptocamp/mapserver/ Docker image. On top of that; I can only reproduce this issue when running with docker. When running the same example with docker-compose it works fine. I detailed the full issue description and steps to reproduce in this gist. If anyone has any suggestions or ideas what might be causing it I would be grateful for a response. Kind regards, [https://github.githubassets.com/images/modules/gists/gist-og-image.png] MapServer WCS 2.0.1 GetCoverage request results in corrupt geotiff MapServer WCS 2.0.1 GetCoverage request results in corrupt geotiff - README.md gist.github.com ?Anton Bakker Disclaimer: De inhoud van deze e-mail is vertrouwelijk en uitsluitend bestemd voor de geadresseerde(n). Gebruik, openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is niet toegestaan. Op al onze producten en diensten zijn onze algemene leveringsvoorwaarden van toepassing [https://www.kadaster.nl/algemene-leveringsvoorwaarden]. Disclaimer: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Our general terms and conditions of delivery apply to all our products and services [https://www.kadaster.com/general-terms-and-conditions]. Disclaimer: De inhoud van deze e-mail is vertrouwelijk en uitsluitend bestemd voor de geadresseerde(n). Gebruik, openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is niet toegestaan. Op al onze producten en diensten zijn onze algemene leveringsvoorwaarden van toepassing [https://www.kadaster.nl/algemene-leveringsvoorwaarden]. Disclaimer: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Our general terms and conditions of delivery apply to all our products and services [https://www.kadaster.com/general-terms-and-conditions]. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mniemyjski at cloudferro.com Fri Sep 2 06:41:06 2022 From: mniemyjski at cloudferro.com (Marcin Niemyjski) Date: Fri, 2 Sep 2022 13:41:06 +0000 Subject: [MapServer-users] Ask for advice on Caching large layers on high zoom level Message-ID: Hello, My job is to cache 365 layers. These layers consist of up to 30 .tif (COG) files stored in a mapfile. These layers are roughly the size of Poland and I would like to acquire their tiles for level 14 zoom. One layer for these settings: sudo mapcache_seed -c /DiscPlanetiler/2022/03/02/2022-03-02.xml -t 20220302 -g PUWG1992 -z 10,10 -n 32 caches 83h (32 cores is my max). I am looking for advice on how I could speed up the generation of these tiles. Thanks, Marcin -------------- next part -------------- An HTML attachment was scrubbed... URL: From public at postholer.com Fri Sep 2 07:14:43 2022 From: public at postholer.com (Scott) Date: Fri, 2 Sep 2022 07:14:43 -0700 Subject: [MapServer-users] Ask for advice on Caching large layers on high zoom level In-Reply-To: References: Message-ID: <3049d049-ac30-ed6c-77ca-b42d23bd2253@postholer.com> COG files imply that they are already tiled. I'd be curious as to the performance of map rendering using just the COG files without creating tiles. Being the 'size of Poland' doesn't really matter. It's the pixel resolution that is important. If the pixel resolution is 100 meters vs 3 meters you will have different performance results. Seeding will always be bound by CPU, memory, etc. Creating an image (ami) of your system in AWS, then running multiple EC2's instance can be insanely fast. On 9/2/22 06:41, Marcin Niemyjski via MapServer-users wrote: > Hello, > > My job is to cache 365 layers. These layers consist of up to 30 .tif > (COG) files stored in a mapfile. These layers are roughly the size of > Poland and I would like to acquire their tiles for level 14 zoom. One > layer for these settings: > sudo mapcache_seed -c /DiscPlanetiler/2022/03/02/2022-03-02.xml -t > 20220302 -g PUWG1992 -z 10,10 -n 32 > caches 83h (32 cores is my max). I am looking for advice on how I could > speed up the generation of these tiles. > > Thanks, > Marcin > > _______________________________________________ > MapServer-users mailing list > MapServer-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users From traviskirstine at gmail.com Fri Sep 2 09:11:18 2022 From: traviskirstine at gmail.com (Travis Kirstine) Date: Fri, 2 Sep 2022 12:11:18 -0400 Subject: [MapServer-users] Ask for advice on Caching large layers on high zoom level In-Reply-To: <3049d049-ac30-ed6c-77ca-b42d23bd2253@postholer.com> References: <3049d049-ac30-ed6c-77ca-b42d23bd2253@postholer.com> Message-ID: I've found the other limiting factors are disk speed (SSD vs HDD) and cache type. SQLite can be easy to manage but the write locking during inserts can really slow things down (adding more cores won't help in this case) when compared to writing a simple disk cache. I agree with Scott in that if you are using COGs you shouldn't really need MapCache as you could look at alternatives to serve this data out as is. On Fri, 2 Sept 2022 at 10:14, Scott wrote: > COG files imply that they are already tiled. I'd be curious as to the > performance of map rendering using just the COG files without creating > tiles. > > Being the 'size of Poland' doesn't really matter. It's the pixel > resolution that is important. If the pixel resolution is 100 meters vs 3 > meters you will have different performance results. > > Seeding will always be bound by CPU, memory, etc. Creating an image > (ami) of your system in AWS, then running multiple EC2's instance can be > insanely fast. > > > > On 9/2/22 06:41, Marcin Niemyjski via MapServer-users wrote: > > Hello, > > > > My job is to cache 365 layers. These layers consist of up to 30 .tif > > (COG) files stored in a mapfile. These layers are roughly the size of > > Poland and I would like to acquire their tiles for level 14 zoom. One > > layer for these settings: > > sudo mapcache_seed -c /DiscPlanetiler/2022/03/02/2022-03-02.xml -t > > 20220302 -g PUWG1992 -z 10,10 -n 32 > > caches 83h (32 cores is my max). I am looking for advice on how I could > > speed up the generation of these tiles. > > > > Thanks, > > Marcin > > > > _______________________________________________ > > 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 karsten at terragis.net Fri Sep 2 15:22:25 2022 From: karsten at terragis.net (karsten) Date: Fri, 2 Sep 2022 15:22:25 -0700 Subject: [MapServer-users] MB Tiles vs. UTF grids Message-ID: <16106508AEAE472ABC34D4E195855A1A@terragispc> Hi All, For the first time, I am diving into actually using vector tiles and or UTF grids on an OpenLayers map. I am confused about UTF grids, especially I could not find clear answers whether UTF Grids have been completely replaced by MB Tiles or if UTF Grids are now a subset of MB Tiles. Posts on the web seem to suggest that UTF grids can be stored inside MB Tiles . Note that I am trying to stay outside the Mapbox empire (as much as possible) and trying to use GDAL, MapServer etc. GDAL can produce MB tiles (but not sure if that includes UTF grid info as well) and MapServer can deliver UTF grid via WMS on the fly, but not sure how performance is so far ... Would anyone have some insights ? Thanks Karsten Vennemann www.terragis.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From public at postholer.com Fri Sep 2 16:05:24 2022 From: public at postholer.com (Scott) Date: Fri, 2 Sep 2022 16:05:24 -0700 Subject: [MapServer-users] MB Tiles vs. UTF grids In-Reply-To: <16106508AEAE472ABC34D4E195855A1A@terragispc> References: <16106508AEAE472ABC34D4E195855A1A@terragispc> Message-ID: I'm ill equipped to answer your question directly. However, as you delve into the world of vector tiles I'd strongly suggest taking a look a FlatGeoBuf (.fgb). It's an index format supported by GDAL and MapServer. It's very fast and painless. The home page has demo's for openlayers, leaflet and mapbox, using a single 12GB census data file. Leaflet seems to be the most responsive. http://flatgeobuf.org/ On 9/2/22 15:22, karsten wrote: > Hi All, > For the first time, I am diving into actually using vector tiles and or > UTF grids on an OpenLayers map. I am confused? about UTF grids, > especially I could not find clear answers whether UTFGrids have been > completely replaced by MB Tiles or if UTF Grids are now a subset of MB > Tiles. Posts on the web seem to suggest that UTF grids can be stored > inside MB Tiles > . > Note that I am trying to stay outside the Mapbox empire (as much as > possible) and trying to use GDAL, MapServeretc. > GDAL can produce MB tiles (but not sure if that includes UTF grid info > as well) and MapServer can deliver UTF grid via WMS on the fly, but not > sure how performance is so far ... > Would anyone have some insights ? > Thanks > Karsten Vennemann > www.terragis.net > > _______________________________________________ > MapServer-users mailing list > MapServer-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users From osgeo.mailinglist at gmail.com Fri Sep 2 16:26:11 2022 From: osgeo.mailinglist at gmail.com (Thomas Gratier) Date: Sat, 3 Sep 2022 01:26:11 +0200 Subject: [MapServer-users] MB Tiles vs. UTF grids In-Reply-To: References: <16106508AEAE472ABC34D4E195855A1A@terragispc> Message-ID: Hello, You have the answer at https://github.com/mapbox/mbtiles-spec#utfgrid Two specs. In old days, utfgrid was part of the mbtiles spec directly - mbtiles = contains raster or vector tiles - utfgrid = store in the same scheme (xyz) json blob to be able to make interactive map Most of the time, when using mbtiles = you create a sqlite file pregenerated and you serve raster/vector tiles and optionally utfgrid using a small server without any mapping logic. The advantage = any hosting can do it. Drawback = Can't refresh on the fly. The alternative approach is to use a web map server that's able to read a geospatial datasource and output from it an image/vector/utfgrid like if it was serve from a mbtiles with yoururl///.png (for raster) or yoururl///.pbf (for vector) or yoururl///.json (for utfgrid) but the data behind behind the scene is not stored in a mbtiles. Advantage = clients libraries (OpenLayers, Leaflet,...) are able to consume raster/vector tiles or utfgrid like if served from static mbtiles. Drawback = special hosting to deploy and use your web map server. Not sure it's enough clear. Regards, Thomas Gratier Le sam. 3 sept. 2022 ? 01:05, Scott a ?crit : > I'm ill equipped to answer your question directly. > > However, as you delve into the world of vector tiles I'd strongly > suggest taking a look a FlatGeoBuf (.fgb). It's an index format > supported by GDAL and MapServer. It's very fast and painless. > > The home page has demo's for openlayers, leaflet and mapbox, using a > single 12GB census data file. Leaflet seems to be the most responsive. > > http://flatgeobuf.org/ > > > > > On 9/2/22 15:22, karsten wrote: > > Hi All, > > For the first time, I am diving into actually using vector tiles and or > > UTF grids on an OpenLayers map. I am confused about UTF grids, > > especially I could not find clear answers whether UTFGrids have been > > completely replaced by MB Tiles or if UTF Grids are now a subset of MB > > Tiles. Posts on the web seem to suggest that UTF grids can be stored > > inside MB Tiles > > < > https://medium.com/@pyin001/utfgrid-and-mbtiles-map-file-decoding-on-android-864487697752>. > > > Note that I am trying to stay outside the Mapbox empire (as much as > > possible) and trying to use GDAL, MapServeretc. > > GDAL can produce MB tiles (but not sure if that includes UTF grid info > > as well) and MapServer can deliver UTF grid via WMS on the fly, but not > > sure how performance is so far ... > > Would anyone have some insights ? > > Thanks > > Karsten Vennemann > > www.terragis.net > > > > _______________________________________________ > > 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 sarah.huber at geoplanteam.ch Mon Sep 5 04:44:07 2022 From: sarah.huber at geoplanteam.ch (Sarah Huber) Date: Mon, 5 Sep 2022 11:44:07 +0000 Subject: [MapServer-users] circle with same real world size (sizeunits meters) for all zoom levels Message-ID: Hallo, I configured a point layer with "circle" symbol and sizeunits meters. The circles should have the same size in real world units (meter) for all zoom levels, for example 100 m. This works for most zoom levels, but when I zoom in closely the circles get smaller (< 100 m). I don't have configured any maxsize or minsize for the layer. How can I configure the layer to have the same size in meters for all zoom levels? Like it behaves with polygons? My layer definition in the mapfile: https://pastebin.com/JVWBvScP Example screenshots of the layer (as WMS in QGIS): Circle with correct size (100 m), same as square: https://pasteboard.co/VWmur23PHiir.jpg Circle smaller than 100 m (and smaller than square): https://pasteboard.co/SFJZMJgp4j8k.jpg Thanks Sarah -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmckenna at gatewaygeomatics.com Mon Sep 5 11:29:53 2022 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Mon, 5 Sep 2022 15:29:53 -0300 Subject: [MapServer-users] 8.0.0-rc2 released Message-ID: <0c3848e4-9847-31e1-8ad6-ba2d3749087f@gatewaygeomatics.com> The MapServer team is super excited to announce the second release candidate of MapServer 8.0.0. Please help us test and let us know of any findings. Details of the new features, changelog, migration instructions, and download links can be found on the dedicated announcement page at https://mapserver.org/development/announce/8-0.html . Thanks for all of your feedback and passion for MapServer. If all goes well with this RC2, the final release will happen at the end of this week (!). -- The MapServer Team From lars.schylberg at blixtmail.se Mon Sep 5 12:10:51 2022 From: lars.schylberg at blixtmail.se (Lars Schylberg) Date: Mon, 5 Sep 2022 21:10:51 +0200 Subject: [MapServer-users] circle with same real world size (sizeunits meters) for all zoom levels In-Reply-To: References: Message-ID: Hi Sarah, I have had problems with circle symbols with sizeunit meters in the past.? So I presented some of my alternative solutions i a talk at FOSS4G last year.? Here is a link to the presentation: https://github.com/LarsSchy/Mapserver-Circles/blob/main/MapServer-Circles.pdf The video is here: https://www.youtube.com/watch?v=vlagaZLxekg Some example code can be found at: https://github.com/LarsSchy/Mapserver-Circles. I do agree that there exists some problem with circle symbols with size unit meters, that I really can't explain Have fun! /Lars Schylberg Den 2022-09-05 kl. 13:44, skrev Sarah Huber: > > Hallo, > > I configured a point layer with "circle" symbol and sizeunits meters. > The circles should have the same size in real world units (meter) for > all zoom levels, for example 100 m. > > This works for most zoom levels, but when I zoom in closely the > circles get smaller (< 100 m). > > I don't have configured any maxsize or minsize for the layer. > > How can I configure the layer to have the same size in meters for all > zoom levels? Like it behaves with polygons? > > My layer definition in the mapfile: https://pastebin.com/JVWBvScP > > > Example screenshots of the layer (as WMS in QGIS): > > Circle with correct size (100 m), same as square: > https://pasteboard.co/VWmur23PHiir.jpg > > > Circle smaller than 100 m (and smaller than square): > https://pasteboard.co/SFJZMJgp4j8k.jpg > > > Thanks > > Sarah > > > _______________________________________________ > 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 michal.seidl at gmail.com Tue Sep 6 05:22:31 2022 From: michal.seidl at gmail.com (Michal Seidl) Date: Tue, 6 Sep 2022 14:22:31 +0200 Subject: [MapServer-users] msLoadMap(): Unable to access file. (full file path) Message-ID: <0dd0622d-7ab1-2d51-f3ef-29ed2b432979@gmail.com> Hello, is there way not to show the full path in the msLoadMap(): Unable to access file error? I have managed to hide path through the Apache mod_rewrite, but showing full path on error in not security issue? Thanks Michal Seidl From sdlime at gmail.com Wed Sep 7 08:01:01 2022 From: sdlime at gmail.com (Steve Lime) Date: Wed, 7 Sep 2022 10:01:01 -0500 Subject: [MapServer-users] msLoadMap(): Unable to access file. (full file path) In-Reply-To: <0dd0622d-7ab1-2d51-f3ef-29ed2b432979@gmail.com> References: <0dd0622d-7ab1-2d51-f3ef-29ed2b432979@gmail.com> Message-ID: Hi Michal: AFAIK it's always been that way as an aid to debugging. I can certainly appreciate the argument that error messages shouldn't contain any references to file locations and could write that information to debug logs instead. I'm curious what others think. I always resort to using mapfile aliases to obfuscate locations but I believe even that approach could cough up a path (albeit an incorrect one) if the alias is set incorrectly. --Steve On Tue, Sep 6, 2022 at 7:22 AM Michal Seidl wrote: > > Hello, > is there way not to show the full path in the msLoadMap(): Unable to > access file error? > > I have managed to hide path through the Apache mod_rewrite, but showing > full path on error in not security issue? > > Thanks Michal Seidl > _______________________________________________ > 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 Wed Sep 7 09:25:47 2022 From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul)) Date: Wed, 7 Sep 2022 16:25:47 +0000 Subject: [MapServer-users] [REMINDER] Twin Cities - OSGeo Local Chapter Meeting, Sept.14th Message-ID: All, This will be a face to face meeting at Sea Salt in Minnehaha Park. https://goo.gl/maps/hTYgVNmmHBHrcGa58 Time: 4:30 See you there. Bobb -------------- next part -------------- An HTML attachment was scrubbed... URL: From karsten at terragis.net Wed Sep 7 11:59:54 2022 From: karsten at terragis.net (karsten) Date: Wed, 7 Sep 2022 11:59:54 -0700 Subject: [MapServer-users] MB Tiles vs. UTF grids Message-ID: <1D3FD05739A0445399957170B11FE8AB@terragispc> Thanks for the hints on FlatGeoBuf and mbtiles vs.utfgrid specs. My next steps will be configuring my MapCache installation correctly with MapServer to create UTFgrid tiles ... _____ From: karsten [mailto:karsten at terragis.net] Sent: Friday, September 02, 2022 15:22 To: 'mapserver-users at lists.osgeo.org' Subject: MB Tiles vs. UTF grids Hi All, For the first time, I am diving into actually using vector tiles and or UTF grids on an OpenLayers map. I am confused about UTF grids, especially I could not find clear answers whether UTF Grids have been completely replaced by MB Tiles or if UTF Grids are now a subset of MB Tiles. Posts on the web seem to suggest that UTF grids can be stored inside MB Tiles . Note that I am trying to stay outside the Mapbox empire (as much as possible) and trying to use GDAL, MapServer etc. GDAL can produce MB tiles (but not sure if that includes UTF grid info as well) and MapServer can deliver UTF grid via WMS on the fly, but not sure how performance is so far ... Would anyone have some insights ? Thanks Karsten Vennemann www.terragis.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From karsten at terragis.net Wed Sep 7 12:08:26 2022 From: karsten at terragis.net (karsten) Date: Wed, 7 Sep 2022 12:08:26 -0700 Subject: [MapServer-users] Creating UTF grids with MapServer and MapCache Message-ID: Hi All, I am working on a correct configuration to cerate UTFGrid json tiles via MapCache and MapServer to seed a json tile set MapCache is up and running on my ubuntu 20 server and WMS requests (PNG, Jpeg ) are working as is the seeding utility. Now I am trying to add a UTFGrid tile layer and added the mvt format into the (working for the other layers correctly) mapcache.xml: mvt application/vnd.mapbox-vector-tile the layer is mvt flurst /var/mapdata/utfgrid.map http://myserver/cgi-bin/mapserv When tryign to restrart apache however I get this error message systemctl status apache2.service ? apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2022-09-07 20:31:58 CEST; 28s ago Docs: https://httpd.apache.org/docs/2.4/ Process: 1265907 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE) Sep 07 20:31:58 terraz systemd[1]: Starting The Apache HTTP Server... Sep 07 20:31:58 terraz apachectl[1265919]: AH00526: Syntax error on line 43 of /etc/apache2/sites-enabled/000-default.conf: Sep 07 20:31:58 terraz apachectl[1265919]: tileset "flurst_utf_tiles" references format "mvt", but it is not configured Sep 07 20:31:58 terraz apachectl[1265907]: Action 'start' failed. What am I missing here ? Thanks Karsten Vennemann www.terragis.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From public at postholer.com Wed Sep 7 12:17:22 2022 From: public at postholer.com (Scott) Date: Wed, 7 Sep 2022 12:17:22 -0700 Subject: [MapServer-users] Creating UTF grids with MapServer and MapCache In-Reply-To: References: Message-ID: <20575018-facc-8ad4-b04e-060cff5413d7@postholer.com> You probably need to define the tileset, something like: test_wms_mvt myGridName disk MVT On 9/7/22 12:08, karsten wrote: > Hi All, > I am working on a correct configuration to cerate UTFGrid json tiles via > MapCache and MapServerto seed a json tile set > MapCache is up and running on my ubuntu 20 server and WMS requests (PNG, > Jpeg ) are working as is the seeding utility. > > Now I am trying to add a UTFGrid tile layer and added the mvt format > into the (working for the other layers correctly) mapcache.xml: > > ?? > ???? mvt > ???? application/vnd.mapbox-vector-tile > ?? > > the layer is > > ?? > ????? > ???????? > ??????????? mvt > ??????????? flurst > ??????????? /var/mapdata/utfgrid.map > ???????? > ????? > ????? > ???????? http://myserver/cgi-bin/mapserv > ????? > ?? > > When tryign to restrart apache however I get this error message > > systemctl status apache2.service > ? apache2.service - The Apache HTTP Server > ???? Loaded: loaded (/lib/systemd/system/apache2.service; enabled; > vendor preset: enabled) > ???? Active: failed (Result: exit-code) since Wed 2022-09-07 20:31:58 > CEST; 28s ago > ?????? Docs: https://httpd.apache.org/docs/2.4/ > > ??? Process: 1265907 ExecStart=/usr/sbin/apachectl start (code=exited, > status=1/FAILURE) > > Sep 07 20:31:58 terraz systemd[1]: Starting The Apache HTTP Server... > Sep 07 20:31:58 terraz apachectl[1265919]: AH00526: Syntax error on line > 43 of /etc/apache2/sites-enabled/000-default.conf: > Sep 07 20:31:58 terraz apachectl[1265919]: tileset "flurst_utf_tiles" > references format "mvt", but it is not configured > Sep 07 20:31:58 terraz apachectl[1265907]: Action 'start' failed. > > What am I missing here ? > > Thanks > > > > Karsten Vennemann > www.terragis.net > > > _______________________________________________ > MapServer-users mailing list > MapServer-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users From karsten at terragis.net Wed Sep 7 12:38:21 2022 From: karsten at terragis.net (karsten) Date: Wed, 7 Sep 2022 12:38:21 -0700 Subject: [MapServer-users] Creating UTF grids with MapServer and MapCache Message-ID: Thanks Scott, I do have a tileset like this below Flurst UTF Flurst UTF flurst_utf disk GoogleMapsCompatible mvt 5 5 10 3600 but also with this get the error tileset "flurst_utf_tiles" references format "mvt", but it is not configured _____ From: karsten [mailto:karsten at terragis.net] Sent: Wednesday, September 07, 2022 12:08 To: 'mapserver-users at lists.osgeo.org' Subject: Creating UTF grids with MapServer and MapCache Hi All, I am working on a correct configuration to cerate UTFGrid json tiles via MapCache and MapServer to seed a json tile set MapCache is up and running on my ubuntu 20 server and WMS requests (PNG, Jpeg ) are working as is the seeding utility. Now I am trying to add a UTFGrid tile layer and added the mvt format into the (working for the other layers correctly) mapcache.xml: mvt application/vnd.mapbox-vector-tile the layer is mvt flurst /var/mapdata/utfgrid.map http://myserver/cgi-bin/mapserv When tryign to restrart apache however I get this error message systemctl status apache2.service ? apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2022-09-07 20:31:58 CEST; 28s ago Docs: https://httpd.apache.org/docs/2.4/ Process: 1265907 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE) Sep 07 20:31:58 terraz systemd[1]: Starting The Apache HTTP Server... Sep 07 20:31:58 terraz apachectl[1265919]: AH00526: Syntax error on line 43 of /etc/apache2/sites-enabled/000-default.conf: Sep 07 20:31:58 terraz apachectl[1265919]: tileset "flurst_utf_tiles" references format "mvt", but it is not configured Sep 07 20:31:58 terraz apachectl[1265907]: Action 'start' failed. What am I missing here ? Thanks Karsten Vennemann www.terragis.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From public at postholer.com Wed Sep 7 13:17:36 2022 From: public at postholer.com (Scott) Date: Wed, 7 Sep 2022 13:17:36 -0700 Subject: [MapServer-users] Creating UTF grids with MapServer and MapCache In-Reply-To: References: Message-ID: <460cb883-ac20-3cdd-2553-49efa51b7c08@postholer.com> In your .map file do you have the MVT format defined, something like: OUTPUTFORMAT NAME "mvt" DRIVER MVT FORMATOPTION "EDGE_BUFFER=10" END On 9/7/22 12:38, karsten wrote: > Thanks Scott, > I do have a tileset like this below > ? > > Flurst UTF > Flurst UTF > > flurst_utf > disk > ????? GoogleMapsCompatible > mvt > 5 5 > 10 > 3600 > > but also with this get?the error > tileset "flurst_utf_tiles" references format "mvt", but it is not configured > ------------------------------------------------------------------------ > *From:* karsten [mailto:karsten at terragis.net] > *Sent:* Wednesday, September 07, 2022 12:08 > *To:* 'mapserver-users at lists.osgeo.org' > *Subject:* Creating UTF grids with MapServer and MapCache > > Hi All, > I am working on a correct configuration to cerate UTFGrid json tiles via > MapCache and MapServerto seed a json tile set > MapCache is up and running on my ubuntu 20 server and WMS requests (PNG, > Jpeg ) are working as is the seeding utility. > > Now I am trying to add a UTFGrid tile layer and added the mvt format > into the (working for the other layers correctly) mapcache.xml: > > ?? > ???? mvt > ???? application/vnd.mapbox-vector-tile > ?? > > the layer is > > ?? > ????? > ???????? > ??????????? mvt > ??????????? flurst > ??????????? /var/mapdata/utfgrid.map > ???????? > ????? > ????? > ???????? http://myserver/cgi-bin/mapserv > ????? > ?? > > When tryign to restrart apache however I get this error message > > systemctl status apache2.service > ? apache2.service - The Apache HTTP Server > ???? Loaded: loaded (/lib/systemd/system/apache2.service; enabled; > vendor preset: enabled) > ???? Active: failed (Result: exit-code) since Wed 2022-09-07 20:31:58 > CEST; 28s ago > ?????? Docs: https://httpd.apache.org/docs/2.4/ > > ??? Process: 1265907 ExecStart=/usr/sbin/apachectl start (code=exited, > status=1/FAILURE) > > Sep 07 20:31:58 terraz systemd[1]: Starting The Apache HTTP Server... > Sep 07 20:31:58 terraz apachectl[1265919]: AH00526: Syntax error on line > 43 of /etc/apache2/sites-enabled/000-default.conf: > Sep 07 20:31:58 terraz apachectl[1265919]: tileset "flurst_utf_tiles" > references format "mvt", but it is not configured > Sep 07 20:31:58 terraz apachectl[1265907]: Action 'start' failed. > > What am I missing here ? > > Thanks > > > > Karsten Vennemann > www.terragis.net > > > _______________________________________________ > MapServer-users mailing list > MapServer-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users From karsten at terragis.net Wed Sep 7 14:49:10 2022 From: karsten at terragis.net (karsten) Date: Wed, 7 Sep 2022 14:49:10 -0700 Subject: [MapServer-users] Creating UTF grids with MapServer and MapCache Message-ID: Oh yes that could be the problem, so far I have OUTPUTFORMAT NAME "utfgrid" DRIVER UTFGRID MIMETYPE "application/json" EXTENSION "json" FORMATOPTION "UTFRESOLUTION=4" FORMATOPTION "DUPLICATES=false" END will try with mvt now (goal is to create utfgrid json though) _____ From: karsten [mailto:karsten at terragis.net] Sent: Wednesday, September 07, 2022 12:38 To: 'mapserver-users at lists.osgeo.org' Subject: RE: Creating UTF grids with MapServer and MapCache Thanks Scott, I do have a tileset like this below Flurst UTF Flurst UTF flurst_utf disk GoogleMapsCompatible mvt 5 5 10 3600 but also with this get the error tileset "flurst_utf_tiles" references format "mvt", but it is not configured _____ From: karsten [mailto:karsten at terragis.net] Sent: Wednesday, September 07, 2022 12:08 To: 'mapserver-users at lists.osgeo.org' Subject: Creating UTF grids with MapServer and MapCache Hi All, I am working on a correct configuration to cerate UTFGrid json tiles via MapCache and MapServer to seed a json tile set MapCache is up and running on my ubuntu 20 server and WMS requests (PNG, Jpeg ) are working as is the seeding utility. Now I am trying to add a UTFGrid tile layer and added the mvt format into the (working for the other layers correctly) mapcache.xml: mvt application/vnd.mapbox-vector-tile the layer is mvt flurst /var/mapdata/utfgrid.map http://myserver/cgi-bin/mapserv When tryign to restrart apache however I get this error message systemctl status apache2.service ? apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2022-09-07 20:31:58 CEST; 28s ago Docs: https://httpd.apache.org/docs/2.4/ Process: 1265907 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE) Sep 07 20:31:58 terraz systemd[1]: Starting The Apache HTTP Server... Sep 07 20:31:58 terraz apachectl[1265919]: AH00526: Syntax error on line 43 of /etc/apache2/sites-enabled/000-default.conf: Sep 07 20:31:58 terraz apachectl[1265919]: tileset "flurst_utf_tiles" references format "mvt", but it is not configured Sep 07 20:31:58 terraz apachectl[1265907]: Action 'start' failed. What am I missing here ? Thanks Karsten Vennemann www.terragis.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From karsten at terragis.net Wed Sep 7 15:20:15 2022 From: karsten at terragis.net (karsten) Date: Wed, 7 Sep 2022 15:20:15 -0700 Subject: [MapServer-users] Creating UTF grids with MapServer and MapCache Message-ID: Yes that worked now to restart Apache ! Here is the final config snippets in case it helps someone and remember the format tags aka 'MVT' are case sensitive ;) mapfile OUTPUTFORMAT NAME "MVT" DRIVER MVT FORMATOPTION "EDGE_BUFFER=10" END LAYER .... # added: UTFITEM "gml_id" UTFDATA "{\"gml_id\":\"[gml_id]\",\"fkz\":\"[flurstueckskennzeichen]\",\"gemeindenam e\":\"[gemeindename]\",\"Gemarkungsname\":\"[Gemarkungsname]\",\"zaehler\":\ "[zaehler]\",\"nenner\":\"[nenner]\"}" END mapcache.xml mvt application/vnd.mapbox-vector-tile MVT flurst_gff /xyz/utfgrid.map http://theurl/cgi-bin/mapserv Flurst UTF Flurst UTF flurst_utf disk GoogleMapsCompatible MVT _____ From: karsten [mailto:karsten at terragis.net] Sent: Wednesday, September 07, 2022 14:49 To: 'mapserver-users at lists.osgeo.org' Subject: RE: Creating UTF grids with MapServer and MapCache Oh yes that could be the problem, so far I have OUTPUTFORMAT NAME "utfgrid" DRIVER UTFGRID MIMETYPE "application/json" EXTENSION "json" FORMATOPTION "UTFRESOLUTION=4" FORMATOPTION "DUPLICATES=false" END will try with mvt now (goal is to create utfgrid json though) _____ From: karsten [mailto:karsten at terragis.net] Sent: Wednesday, September 07, 2022 12:38 To: 'mapserver-users at lists.osgeo.org' Subject: RE: Creating UTF grids with MapServer and MapCache Thanks Scott, I do have a tileset like this below Flurst UTF Flurst UTF flurst_utf disk GoogleMapsCompatible mvt 5 5 10 3600 but also with this get the error tileset "flurst_utf_tiles" references format "mvt", but it is not configured _____ From: karsten [mailto:karsten at terragis.net] Sent: Wednesday, September 07, 2022 12:08 To: 'mapserver-users at lists.osgeo.org' Subject: Creating UTF grids with MapServer and MapCache Hi All, I am working on a correct configuration to cerate UTFGrid json tiles via MapCache and MapServer to seed a json tile set MapCache is up and running on my ubuntu 20 server and WMS requests (PNG, Jpeg ) are working as is the seeding utility. Now I am trying to add a UTFGrid tile layer and added the mvt format into the (working for the other layers correctly) mapcache.xml: mvt application/vnd.mapbox-vector-tile the layer is mvt flurst /var/mapdata/utfgrid.map http://myserver/cgi-bin/mapserv When tryign to restrart apache however I get this error message systemctl status apache2.service ? apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2022-09-07 20:31:58 CEST; 28s ago Docs: https://httpd.apache.org/docs/2.4/ Process: 1265907 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE) Sep 07 20:31:58 terraz systemd[1]: Starting The Apache HTTP Server... Sep 07 20:31:58 terraz apachectl[1265919]: AH00526: Syntax error on line 43 of /etc/apache2/sites-enabled/000-default.conf: Sep 07 20:31:58 terraz apachectl[1265919]: tileset "flurst_utf_tiles" references format "mvt", but it is not configured Sep 07 20:31:58 terraz apachectl[1265907]: Action 'start' failed. What am I missing here ? Thanks Karsten Vennemann www.terragis.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob.basques at ci.stpaul.mn.us Tue Sep 13 06:22:40 2022 From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul)) Date: Tue, 13 Sep 2022 13:22:40 +0000 Subject: [MapServer-users] [REMINDER] Twin Cities - OSGeo Local Chapter Meeting, Sept.14th Message-ID: <900C5AED-268C-4401-9419-04E38C8F90C3@ci.stpaul.mn.us> All, This will be a face to face meeting at Sea Salt in Minnehaha Park. https://goo.gl/maps/hTYgVNmmHBHrcGa58 Time: 4:30 See you there. Bobb -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmckenna at gatewaygeomatics.com Tue Sep 13 08:31:05 2022 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Tue, 13 Sep 2022 12:31:05 -0300 Subject: [MapServer-users] 8.0.0 released ! Message-ID: <3f6731cf-37e9-f7fa-cbd3-5a3e4c0cb7b2@gatewaygeomatics.com> The MapServer team is thrilled to announce the release of MapServer 8.0.0 Details of the new features, changelog, migration instructions, and download links can be found on the dedicated announcement page at https://mapserver.org/development/announce/8-0.html . Also included is an updated 1,143 page PDF of documentation, and of course an updated & maintained (so important) demo server of various OGC instances at https://demo.mapserver.org It's been 22 years of commits by the MapServer community, so let's celebrate with a video! https://vimeo.com/748836978 Thanks for all of your feedback and passion for MapServer. -- The MapServer Team From astrid.emde at wheregroup.com Tue Sep 13 08:45:18 2022 From: astrid.emde at wheregroup.com (Astrid Emde (WhereGroup)) Date: Tue, 13 Sep 2022 17:45:18 +0200 Subject: [MapServer-users] 8.0.0 released ! In-Reply-To: <3f6731cf-37e9-f7fa-cbd3-5a3e4c0cb7b2@gatewaygeomatics.com> References: <3f6731cf-37e9-f7fa-cbd3-5a3e4c0cb7b2@gatewaygeomatics.com> Message-ID: <478e6dddc153a797fbb48fb51e0d6842@wheregroup.com> Hello to the MapServer team, big congratulations for the new release. We will try out all the new features and give feedback. MapServer is a great project and it is fun to publish services with MapServer - so simple, easy, powerful & flexible. Thank you Astrid Am 2022-09-13 17:31, schrieb Jeff McKenna: > The MapServer team is thrilled to announce the release of MapServer > 8.0.0 > > Details of the new features, changelog, migration instructions, and > download links can be found on the dedicated announcement page at > https://mapserver.org/development/announce/8-0.html . Also included > is an updated 1,143 page PDF of documentation, and of course an > updated & maintained (so important) demo server of various OGC > instances at https://demo.mapserver.org > > It's been 22 years of commits by the MapServer community, so let's > celebrate with a video! https://vimeo.com/748836978 > > Thanks for all of your feedback and passion for MapServer. -- Mit freundlichen Gr??en Astrid Emde GIS-Consultant --------------------------------------------- Aufwind durch Wissen! Jetzt neu: Web-Seminare und Online-Schulungen bei der www.foss-academy.com --------------------------------------------- Astrid Emde WhereGroup GmbH Eifelstra?e 7 53119 Bonn Germany Tel: +49(0)228 90 90 38 - 22 Fax: +49(0)228 90 90 38 - 11 astrid.emde at wheregroup.com www.wheregroup.com Meinen PGP Public-Key k?nnen Sie unter pgp.mit.edu herunterladen: https://keys.openpgp.org/vks/v1/by-fingerprint/01F8152D36FC07C25EADDE86C5084ACC1C287CCB Signierte und/oder verschl?sselte Nachrichten sind sehr willkommen Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com Gesch?ftsf?hrer: Olaf Knopp, Peter Stamm Amtsgericht Bonn, HRB 9885 ------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: 0x1C287CCB.asc Type: application/pgp-keys Size: 1574 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 228 bytes Desc: OpenPGP digital signature URL: From bahbouba.909 at gmail.com Tue Sep 20 04:12:09 2022 From: bahbouba.909 at gmail.com (Boubacar Bah) Date: Tue, 20 Sep 2022 13:12:09 +0200 Subject: [MapServer-users] asking help Message-ID: Hello, I hope you are doing well. here I need your help concerning tinyows. I try to connect tinyows to postgis but it sends me an error saying that the connection failed. I really don't know what to do anymore. any help will be good. here are the configuration parameters and the error message. Connection to database failed -------------- next part -------------- An HTML attachment was scrubbed... URL: From bahbouba.909 at gmail.com Tue Sep 20 04:14:25 2022 From: bahbouba.909 at gmail.com (Boubacar Bah) Date: Tue, 20 Sep 2022 13:14:25 +0200 Subject: [MapServer-users] (no subject) Message-ID: Hello, I hope you are doing well. here I need your help concerning tinyows. I try to connect tinyows to postgis but it sends me an error saying that the connection failed. I really don't know what to do anymore. any help will be good. *error message:* Connection to database failed *here are the configuration parameters:* -------------- next part -------------- An HTML attachment was scrubbed... URL: From public at postholer.com Tue Sep 20 07:29:23 2022 From: public at postholer.com (Scott) Date: Tue, 20 Sep 2022 07:29:23 -0700 Subject: [MapServer-users] asking help In-Reply-To: References: Message-ID: <36938815-4cc4-bbb3-4159-99981ec21773@postholer.com> It looks like a database connection error. Are you able to connect with psql using those parameters? Is tinyows on the same server as your database? You might also try using 127.0.0.1 instead of localhost. On 9/20/22 04:12, Boubacar Bah wrote: > ? Hello, I hope you are doing well. > here I need your help concerning tinyows. I try to connect tinyows to > postgis but it sends me an error saying that the connection failed. I > really don't know what to do anymore. > any help will be good. > here are the configuration parameters > schema_dir="C:/ms4w/apps/tinyows/schema/" > check_schema="0"> > > port="5432"/> > > title="TinyOWS Server - WFS-T demo_tyny Service" /> > > site="http://www.tinyows.org/ " > email="tinyows-users at lists.maptools.org > " /> > > writable="1" > ns_prefix="tows" > ns_uri="http://www.tinyows.org/ " > name="demo_tyny" > title="Frida Parks" /> > > > and the error message. > "xmlns:ows="http://www.opengis.net/ows > "xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance > "xsi:schemaLocation="http://www.opengis.net/ows > > http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd > "version="1.1.0"language="en"> > > Connection to database failed > > > > _______________________________________________ > MapServer-users mailing list > MapServer-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users From bahbouba.909 at gmail.com Tue Sep 20 11:08:41 2022 From: bahbouba.909 at gmail.com (Boubacar Bah) Date: Tue, 20 Sep 2022 20:08:41 +0200 Subject: [MapServer-users] MapServer-users Digest, Vol 176, Issue 10 In-Reply-To: References: Message-ID: hi scott, yes indeed i connect with the same parameter. but you say that the database must be on the same server, that tinyows is what you developed a little bit that. because my database is on my postgis server and tinyows is however an implementation of mapserver how can I put them on the same server so that they are not managed by the same software Le mar. 20 sept. 2022 ? 21:02, a ?crit : > 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. asking help (Boubacar Bah) > 2. (no subject) (Boubacar Bah) > 3. Re: asking help (Scott) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 20 Sep 2022 13:12:09 +0200 > From: Boubacar Bah > To: mapserver-users at lists.osgeo.org > Subject: [MapServer-users] asking help > Message-ID: > < > CALOg8kFaF6FxfDC4o9GbS5Zes1SPFQWLQcF5dcZOXOshcCFZ_g at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hello, I hope you are doing well. > here I need your help concerning tinyows. I try to connect tinyows to > postgis but it sends me an error saying that the connection failed. I > really don't know what to do anymore. > any help will be good. > here are the configuration parameters > schema_dir="C:/ms4w/apps/tinyows/schema/" > check_schema="0"> > > "5432"/> > > title="TinyOWS Server - WFS-T demo_tyny Service" /> > > site="http://www.tinyows.org/" > email="tinyows-users at lists.maptools.org" /> > > writable="1" > ns_prefix="tows" > ns_uri="http://www.tinyows.org/" > name="demo_tyny" > title="Frida Parks" /> > > > and the error message. > version="1.1.0" > language="en"> > > Connection to database failed > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220920/69de5739/attachment-0001.htm > > > > ------------------------------ > > Message: 2 > Date: Tue, 20 Sep 2022 13:14:25 +0200 > From: Boubacar Bah > To: mapserver-users at lists.osgeo.org > Subject: [MapServer-users] (no subject) > Message-ID: > < > CALOg8kEdZPDZxxFDVTZMBzibJwk+nk1J6ShVnChim23RGB6OuA at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hello, I hope you are doing well. > here I need your help concerning tinyows. I try to connect tinyows to > postgis but it sends me an error saying that the connection failed. I > really don't know what to do anymore. > any help will be good. > *error message:* > version="1.1.0" > language="en"> > > Connection to database failed > > > *here are the configuration parameters:* > schema_dir="C:/ms4w/apps/tinyows/schema/" > check_schema="0"> > > "5432"/> > > title="TinyOWS Server - WFS-T demo_tyny Service" /> > > site="http://www.tinyows.org/" > email="tinyows-users at lists.maptools.org" /> > > writable="1" > ns_prefix="tows" > ns_uri="http://www.tinyows.org/" > name="demo_tyny" > title="Frida Parks" /> > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220920/dc8fa6db/attachment-0001.htm > > > > ------------------------------ > > Message: 3 > Date: Tue, 20 Sep 2022 07:29:23 -0700 > From: Scott > To: mapserver-users at lists.osgeo.org > Subject: Re: [MapServer-users] asking help > Message-ID: <36938815-4cc4-bbb3-4159-99981ec21773 at postholer.com> > Content-Type: text/plain; charset=UTF-8; format=flowed > > It looks like a database connection error. Are you able to connect with > psql using those parameters? Is tinyows on the same server as your > database? > > You might also try using 127.0.0.1 instead of localhost. > > > On 9/20/22 04:12, Boubacar Bah wrote: > > ? Hello, I hope you are doing well. > > here I need your help concerning tinyows. I try to connect tinyows to > > postgis but it sends me an error saying that the connection failed. I > > really don't know what to do anymore. > > any help will be good. > > here are the configuration parameters > > > schema_dir="C:/ms4w/apps/tinyows/schema/" > > check_schema="0"> > > > > > port="5432"/> > > > > > title="TinyOWS Server - WFS-T demo_tyny Service" /> > > > > > site="http://www.tinyows.org/ " > > email="tinyows-users at lists.maptools.org > > " /> > > > > > writable="1" > > ns_prefix="tows" > > ns_uri="http://www.tinyows.org/ " > > name="demo_tyny" > > title="Frida Parks" /> > > > > > > and the error message. > > > "xmlns:ows="http://www.opengis.net/ows > > "xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance > > "xsi:schemaLocation=" > http://www.opengis.net/ows > > > > http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd > > >"version="1.1.0"language="en"> > > > > Connection to database failed > > > > > > > > _______________________________________________ > > MapServer-users mailing list > > MapServer-users at lists.osgeo.org > > https://lists.osgeo.org/mailman/listinfo/mapserver-users > > > ------------------------------ > > 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 176, Issue 10 > ************************************************ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From public at postholer.com Tue Sep 20 12:46:25 2022 From: public at postholer.com (Scott) Date: Tue, 20 Sep 2022 12:46:25 -0700 Subject: [MapServer-users] MapServer-users Digest, Vol 176, Issue 10 In-Reply-To: References: Message-ID: I was asking if they were both on the same server, that is, they have the same ip address (127.0.0.1). MapServer/tinyows are on the same server as PostGIS. On 9/20/22 11:08, Boubacar Bah wrote: > hi scott, yes indeed i connect with the same parameter. > but you say that the database must be on the same server, that tinyows > is what you developed a little bit that. > because my database is on my postgis server and tinyows is however an > implementation of mapserver how can I put them on the same server so > that they are not managed by the same software From bahbouba.909 at gmail.com Tue Sep 20 12:04:34 2022 From: bahbouba.909 at gmail.com (Boubacar Bah) Date: Tue, 20 Sep 2022 21:04:34 +0200 Subject: [MapServer-users] MapServer-users Digest, Vol 176, Issue 11 In-Reply-To: References: Message-ID: of course scott Because l work in local machine Le mar. 20 sept. 2022 ? 21:46, a ?crit : > 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. Re: MapServer-users Digest, Vol 176, Issue 10 (Boubacar Bah) > 2. Re: MapServer-users Digest, Vol 176, Issue 10 (Scott) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 20 Sep 2022 20:08:41 +0200 > From: Boubacar Bah > To: mapserver-users at lists.osgeo.org > Subject: Re: [MapServer-users] MapServer-users Digest, Vol 176, Issue > 10 > Message-ID: > < > CALOg8kGjBDkpEvvQp1DzwkSoV+pcTNEUk1sZ3n9KJUsNHwWdkw at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > hi scott, yes indeed i connect with the same parameter. > but you say that the database must be on the same server, that tinyows is > what you developed a little bit that. > because my database is on my postgis server and tinyows is however an > implementation of mapserver how can I put them on the same server so that > they are not managed by the same software > > Le mar. 20 sept. 2022 ? 21:02, a > ?crit : > > > 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. asking help (Boubacar Bah) > > 2. (no subject) (Boubacar Bah) > > 3. Re: asking help (Scott) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Tue, 20 Sep 2022 13:12:09 +0200 > > From: Boubacar Bah > > To: mapserver-users at lists.osgeo.org > > Subject: [MapServer-users] asking help > > Message-ID: > > < > > CALOg8kFaF6FxfDC4o9GbS5Zes1SPFQWLQcF5dcZOXOshcCFZ_g at mail.gmail.com> > > Content-Type: text/plain; charset="utf-8" > > > > Hello, I hope you are doing well. > > here I need your help concerning tinyows. I try to connect tinyows to > > postgis but it sends me an error saying that the connection failed. I > > really don't know what to do anymore. > > any help will be good. > > here are the configuration parameters > > > schema_dir="C:/ms4w/apps/tinyows/schema/" > > check_schema="0"> > > > > port= > > "5432"/> > > > > > title="TinyOWS Server - WFS-T demo_tyny Service" /> > > > > > site="http://www.tinyows.org/" > > email="tinyows-users at lists.maptools.org" /> > > > > > writable="1" > > ns_prefix="tows" > > ns_uri="http://www.tinyows.org/" > > name="demo_tyny" > > title="Frida Parks" /> > > > > > > and the error message. > > > version="1.1.0" > > language="en"> > > > > Connection to database failed > > > > > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: < > > > http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220920/69de5739/attachment-0001.htm > > > > > > > ------------------------------ > > > > Message: 2 > > Date: Tue, 20 Sep 2022 13:14:25 +0200 > > From: Boubacar Bah > > To: mapserver-users at lists.osgeo.org > > Subject: [MapServer-users] (no subject) > > Message-ID: > > < > > CALOg8kEdZPDZxxFDVTZMBzibJwk+nk1J6ShVnChim23RGB6OuA at mail.gmail.com> > > Content-Type: text/plain; charset="utf-8" > > > > Hello, I hope you are doing well. > > here I need your help concerning tinyows. I try to connect tinyows to > > postgis but it sends me an error saying that the connection failed. I > > really don't know what to do anymore. > > any help will be good. > > *error message:* > > > version="1.1.0" > > language="en"> > > > > Connection to database failed > > > > > > *here are the configuration parameters:* > > > schema_dir="C:/ms4w/apps/tinyows/schema/" > > check_schema="0"> > > > > port= > > "5432"/> > > > > > title="TinyOWS Server - WFS-T demo_tyny Service" /> > > > > > site="http://www.tinyows.org/" > > email="tinyows-users at lists.maptools.org" /> > > > > > writable="1" > > ns_prefix="tows" > > ns_uri="http://www.tinyows.org/" > > name="demo_tyny" > > title="Frida Parks" /> > > > > > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: < > > > http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220920/dc8fa6db/attachment-0001.htm > > > > > > > ------------------------------ > > > > Message: 3 > > Date: Tue, 20 Sep 2022 07:29:23 -0700 > > From: Scott > > To: mapserver-users at lists.osgeo.org > > Subject: Re: [MapServer-users] asking help > > Message-ID: <36938815-4cc4-bbb3-4159-99981ec21773 at postholer.com> > > Content-Type: text/plain; charset=UTF-8; format=flowed > > > > It looks like a database connection error. Are you able to connect with > > psql using those parameters? Is tinyows on the same server as your > > database? > > > > You might also try using 127.0.0.1 instead of localhost. > > > > > > On 9/20/22 04:12, Boubacar Bah wrote: > > > ? Hello, I hope you are doing well. > > > here I need your help concerning tinyows. I try to connect tinyows to > > > postgis but it sends me an error saying that the connection failed. I > > > really don't know what to do anymore. > > > any help will be good. > > > here are the configuration parameters > > > > > schema_dir="C:/ms4w/apps/tinyows/schema/" > > > check_schema="0"> > > > > > > > > port="5432"/> > > > > > > > > title="TinyOWS Server - WFS-T demo_tyny Service" /> > > > > > > > > site="http://www.tinyows.org/ " > > > email="tinyows-users at lists.maptools.org > > > " /> > > > > > > > > writable="1" > > > ns_prefix="tows" > > > ns_uri="http://www.tinyows.org/ " > > > name="demo_tyny" > > > title="Frida Parks" /> > > > > > > > > > and the error message. > > > > > "xmlns:ows="http://www.opengis.net/ows > > > "xmlns:xsi=" > > http://www.w3.org/2001/XMLSchema-instance > > > "xsi:schemaLocation=" > > http://www.opengis.net/ows > > > > > > http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd > > > > >"version="1.1.0"language="en"> > > > > > > Connection to database failed > > > > > > > > > > > > _______________________________________________ > > > MapServer-users mailing list > > > MapServer-users at lists.osgeo.org > > > https://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > > > ------------------------------ > > > > 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 176, Issue 10 > > ************************************************ > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220920/7cef2067/attachment-0001.htm > > > > ------------------------------ > > Message: 2 > Date: Tue, 20 Sep 2022 12:46:25 -0700 > From: Scott > To: mapserver-users at lists.osgeo.org > Subject: Re: [MapServer-users] MapServer-users Digest, Vol 176, Issue > 10 > Message-ID: > Content-Type: text/plain; charset=UTF-8; format=flowed > > I was asking if they were both on the same server, that is, they have > the same ip address (127.0.0.1). MapServer/tinyows are on the same > server as PostGIS. > > On 9/20/22 11:08, Boubacar Bah wrote: > > hi scott, yes indeed i connect with the same parameter. > > but you say that the database must be on the same server, that tinyows > > is what you developed a little bit that. > > because my database is on my postgis server and tinyows is however an > > implementation of mapserver how can I put them on the same server so > > that they are not managed by the same software > > > ------------------------------ > > 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 176, Issue 11 > ************************************************ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bahbouba.909 at gmail.com Sat Sep 24 14:23:26 2022 From: bahbouba.909 at gmail.com (Boubacar Bah) Date: Sat, 24 Sep 2022 23:23:26 +0200 Subject: [MapServer-users] asking help Message-ID: hello, i need your help regarding tinyows wfs transaction. by the way I put in an online editing application. in which I used the wfs transaction to send the request to my postgis database. but the problem is that if I edit an entity in the application the transaction does not run to my database. So I don't know where the problem is in my code. Any help will be welcome. Below is the code for the program in question: WFS - GetFeature
-------------- next part -------------- An HTML attachment was scrubbed... URL: From justb4 at gmail.com Sat Sep 24 16:35:04 2022 From: justb4 at gmail.com (Just van den Broecke) Date: Sun, 25 Sep 2022 01:35:04 +0200 Subject: [MapServer-users] asking help In-Reply-To: References: Message-ID: switch(mode) { case 'insert': mode = formatWFS.writeTransaction([f], null, null, formatGML); break; case 'update': node = formatWFS.writeTransaction(null, [f], null, formatGML); First case: 'mode =' should be 'node =' On Sun, Sep 25, 2022, 00:26 Boubacar Bah wrote: > hello, i need your help regarding tinyows wfs transaction. > by the way I put in an online editing application. > in which I used the wfs transaction to send the request to my postgis > database. > but the problem is that if I edit an entity in the application the > transaction does not run to my database. > So I don't know where the problem is in my code. > Any help will be welcome. > Below is the code for the program in question: > > > > WFS - GetFeature > > > > > > >
> > > > > > > > > > > _______________________________________________ > 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 bahbouba.909 at gmail.com Sun Sep 25 05:02:17 2022 From: bahbouba.909 at gmail.com (Boubacar Bah) Date: Sun, 25 Sep 2022 14:02:17 +0200 Subject: [MapServer-users] MapServer-users Digest, Vol 176, Issue 14 In-Reply-To: References: Message-ID: hi van den Broecke , even by making this correction the transaction is not carried out towards the database Le dim. 25 sept. 2022 ? 12:28, a ?crit : > 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. Re: asking help (Just van den Broecke) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 25 Sep 2022 01:35:04 +0200 > From: Just van den Broecke > To: mapserver-users at lists.osgeo.org > Subject: Re: [MapServer-users] asking help > Message-ID: > 9hyQJ9gq6CFcThKWegi4g8cAbC3ZhecA at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > switch(mode) { > case 'insert': > mode = formatWFS.writeTransaction([f], null, null, > formatGML); > break; > case 'update': > node = formatWFS.writeTransaction(null, [f], null, > formatGML); > > First case: 'mode =' should be 'node =' > > On Sun, Sep 25, 2022, 00:26 Boubacar Bah wrote: > > > hello, i need your help regarding tinyows wfs transaction. > > by the way I put in an online editing application. > > in which I used the wfs transaction to send the request to my postgis > > database. > > but the problem is that if I edit an entity in the application the > > transaction does not run to my database. > > So I don't know where the problem is in my code. > > Any help will be welcome. > > Below is the code for the program in question: > > > > > > > > WFS - GetFeature > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > 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: < > http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220925/2869323d/attachment.htm > > > > ------------------------------ > > 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 176, Issue 14 > ************************************************ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bahbouba.909 at gmail.com Sun Sep 25 05:09:28 2022 From: bahbouba.909 at gmail.com (Boubacar Bah) Date: Sun, 25 Sep 2022 14:09:28 +0200 Subject: [MapServer-users] ASKING HELP Message-ID: hello, i need your help regarding tinyows wfs transaction. by the way I put in an online editing application. in which I used the wfs transaction to send the request to my postgis database. but the problem is that if I edit an entity in the application the transaction does not run to my database. So I don't know where the problem is in my code. Any help will be welcome. Below is the LINK for the program in question: https://pastebin.com/kWDVmu4h -------------- next part -------------- An HTML attachment was scrubbed... URL: From bfraser at geoanalytic.com Mon Sep 26 08:08:11 2022 From: bfraser at geoanalytic.com (Brent Fraser) Date: Mon, 26 Sep 2022 09:08:11 -0600 Subject: [MapServer-users] ASKING HELP In-Reply-To: References: Message-ID: <6474d16ac2b3479a93e72173ce00fbf3@geoanalytic.com> Finding problems when implementing an editing application can be difficult. Try: 1. Read the documentation for TinyOWS (https://mapserver.org/tinyows/) and OpenLayers' writeTransaction 2. Find other related documentation and example (MS4W, GeoMoose (https://docs.geomoose.org/3.x/howto/add-vector-editing.html) 3. Enable logging in TinyOWS. Use your browser's Developer Tools to step through your JavaScript and confirm the value of variables and the return values from OpenLayers' writeTransaction. Best Regards, Brent Fraser ---------------------------------------- From: "Boubacar Bah" Sent: 9/25/22 7:12 AM To: mapserver-users at lists.osgeo.org Subject: [MapServer-users] ASKING HELP hello, i need your help regarding tinyows wfs transaction. by the way I put in an online editing application. in which I used the wfs transaction to send the request to my postgis database. but the problem is that if I edit an entity in the application the transaction does not run to my database. So I don't know where the problem is in my code. Any help will be welcome. Below is the LINK for the program in question: https://pastebin.com/kWDVmu4h -------------- next part -------------- An HTML attachment was scrubbed... URL: From bahbouba.909 at gmail.com Mon Sep 26 08:06:33 2022 From: bahbouba.909 at gmail.com (Boubacar Bah) Date: Mon, 26 Sep 2022 17:06:33 +0200 Subject: [MapServer-users] asking help Message-ID: Good evening, I would like to know if the library libXML2 or later is installed with mapserver, because tinyows needs this library for its operation. Thank you in advance for your answer -------------- next part -------------- An HTML attachment was scrubbed... URL: From mapserverlearn at outlook.com Tue Sep 27 08:39:00 2022 From: mapserverlearn at outlook.com (b g) Date: Tue, 27 Sep 2022 15:39:00 +0000 Subject: [MapServer-users] Swig Mapscript Still Fails to Build with PHP 8 Message-ID: Good morning, I have been trying to build the MapServer 8.0 release using PHP 8. I am a new user having only been working with MapServer for just a couple of months, please forgive me I don't ask questions in the appropriate way. I have seen posts on the Github referring to the new release as supporting PHP 8 as mentioned here: https://github.com/MapServer/MapServer/pull/6430 and here: https://github.com/MapServer/MapServer/issues/6632. However, I fail to see a post mentioning the steps of what I need to change in the build process. My process is as follows: I install Homebrew and then install the dependencies -- httpd php at 8.0 cmake pkg-config swig fcgi gd gdal geos giflib postgresql proj protobuf-c proj at 7. After this I clone MapServer from Github and checkout rel-8-0-0. Next, I run cmake with the following options: cmake .. -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DWITH_CLIENT_WFS=ON -DWITH_CLIENT_WMS=ON -DWITH_CURL=ON -DWITH_FCGI=ON -DWITH_FRIBIDI=OFF -DWITH_GDAL=ON -DWITH_GEOS=ON -DWITH_HARFBUZZ=OFF -DWITH_KML=ON -DWITH_OGR=ON -DWITH_POSTGIS=ON -DWITH_PROJ=ON -DWITH_PYTHON=OFF -DWITH_SOS=ON -DWITH_WFS=ON -WITH_CAIRO=ON -DCMAKE_SKIP_RPATH=ON -DWITH_PHPNG=ON -DCMAKE_INCLUDE_PATH="/usr/local/Cellar/postgresql" And then make. However, make fails with errors referring to bindings needing PHP 7. The error log is listed below: https://pastebin.com/99xWFcpE Clearly, I must be missing something or doing something wrong during the build process since others have stated that version 8.0.0 works with PHP 8. Could anyone be so kind to point out my error so that I could get this to work? Any help is much appreciated. Thank you so much. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sethg at geographika.co.uk Tue Sep 27 10:31:17 2022 From: sethg at geographika.co.uk (Seth G) Date: Tue, 27 Sep 2022 19:31:17 +0200 Subject: [MapServer-users] Swig Mapscript Still Fails to Build with PHP 8 In-Reply-To: References: Message-ID: Hi, The CI setup for MapServer doesn't test Homebrew/Mac, so that could be one possible issue. MapServer 8 and PHP 8 however is tested on Linux - see https://github.com/MapServer/MapServer/blob/main/.travis.yml and the most recent log for PHP 8 - https://app.travis-ci.com/github/MapServer/MapServer/jobs/583600218 Lots of the install logic run on Travis is contained in https://github.com/MapServer/MapServer/blob/main/ci/travis/before_install.sh Check for differences with your own logs to see what might be causing the errors. Good luck! Seth -- web:https://geographika.net twitter: @geographika On Tue, Sep 27, 2022, at 5:39 PM, b g wrote: > Good morning, > > I have been trying to build the MapServer 8.0 release using PHP 8. I am a new user having only been working with MapServer for just a couple of months, please forgive me I don't ask questions in the appropriate way. > > I have seen posts on the Github referring to the new release as supporting PHP 8 as mentioned here: https://github.com/MapServer/MapServer/pull/6430* *and here: https://github.com/MapServer/MapServer/issues/6632. However, I fail to see a post mentioning the steps of what I need to change in the build process. My process is as follows: I install Homebrew and then install the dependencies -- httpd php at 8.0 cmake pkg-config swig fcgi gd gdal geos giflib postgresql proj protobuf-c proj at 7. After this I clone MapServer from Github and checkout rel-8-0-0. Next, I run cmake with the following options: > > cmake .. -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DWITH_CLIENT_WFS=ON -DWITH_CLIENT_WMS=ON -DWITH_CURL=ON -DWITH_FCGI=ON -DWITH_FRIBIDI=OFF -DWITH_GDAL=ON -DWITH_GEOS=ON -DWITH_HARFBUZZ=OFF -DWITH_KML=ON -DWITH_OGR=ON -DWITH_POSTGIS=ON -DWITH_PROJ=ON -DWITH_PYTHON=OFF -DWITH_SOS=ON -DWITH_WFS=ON -WITH_CAIRO=ON -DCMAKE_SKIP_RPATH=ON -DWITH_PHPNG=ON -DCMAKE_INCLUDE_PATH="/usr/local/Cellar/postgresql" > > And then make. However, make fails with errors referring to bindings needing PHP 7. The error log is listed below: > > https://pastebin.com/99xWFcpE > > > Clearly, I must be missing something or doing something wrong during the build process since others have stated that version 8.0.0 works with PHP 8. Could anyone be so kind to point out my error so that I could get this to work? Any help is much appreciated. Thank you so much. > _______________________________________________ > 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 Tue Sep 27 16:11:01 2022 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Tue, 27 Sep 2022 20:11:01 -0300 Subject: [MapServer-users] Swig Mapscript Still Fails to Build with PHP 8 In-Reply-To: References: Message-ID: <8ede69cd-1045-4080-ff45-100ae42f1bb5@gatewaygeomatics.com> Hi BG, Thanks for starting this discussion here, as many other readers will help & learn from your situation; I first want to wish you a warm welcome from the MapServer community :) As Seth mentioned, I spent a lot of effort setting up the automated PHP 8 + MapServer 8 builds "on the cloud", and some of those steps can be used by you directly. But to step back a bit, first thing to mention is that PHP 8 with MapServer 8 is best handled through the SWIG library "master" branch, and this is likely one of your issues (the Homebrew formula you are using for SWIG is probably SWIG 4.0.x, and you need the upcoming 4.1.0 release, or build its master branch from source). Regarding the SWIG 4.1.0 upcoming release (and its heavy demand), see my call for help at https://lists.osgeo.org/pipermail/mapserver-dev/2022-September/016881.html Regarding you possibly compiling SWIG 'master' branch, you can follow my exact steps to do this on these lines: https://github.com/MapServer/MapServer/blob/main/ci/travis/before_install.sh#L38-L47 (maybe other Mac devs can update those steps here in this discussion thread for you) I personally think all this will take some time before all packagers catch up to these changes, to make it smooth for their users. In this case some time is required before the next SWIG can be released, and then propagated to all those FOSS4G packages that we love. Its for this exact reason that I have put almost my entire career into MS4W, to prevent users from facing these same build challenges (and there are many challenges, ha). I'm not sure that I've helped with this response, other than giving you some background info. Don't be discouraged, you will indeed fall in love with MapServer :) Thanks, -jeff -- Jeff McKenna GatewayGeo: Developers of MS4W, MapServer Consulting and Training co-founder of FOSS4G http://gatewaygeo.com/ On 2022-09-27 12:39 p.m., b g wrote: > Good morning, > > I have been trying to build the MapServer 8.0 release using PHP 8. I am > a new user having only been working with MapServer for just a couple of > months, please forgive me I don't ask questions in the appropriate way. > > I have seen posts on the Github referring to the new release as > supporting PHP 8 as mentioned here: > https://github.com/MapServer/MapServer/pull/6430 > **and here: > https://github.com/MapServer/MapServer/issues/6632 > . However, I fail to > see a post mentioning the steps of what I need to change in the build > process. My process is as follows: I install Homebrew and then install > the dependencies --?httpd php at 8.0 cmake pkg-config swig fcgi gd gdal > geos giflib postgresql proj protobuf-c proj at 7. After this I clone > MapServer from Github and checkout rel-8-0-0. Next, I run cmake with the > following options: > > cmake .. ?-DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_FIND_FRAMEWORK=LAST > -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DWITH_CLIENT_WFS=ON > -DWITH_CLIENT_WMS=ON -DWITH_CURL=ON -DWITH_FCGI=ON -DWITH_FRIBIDI=OFF > -DWITH_GDAL=ON -DWITH_GEOS=ON -DWITH_HARFBUZZ=OFF -DWITH_KML=ON > -DWITH_OGR=ON -DWITH_POSTGIS=ON -DWITH_PROJ=ON -DWITH_PYTHON=OFF > -DWITH_SOS=ON -DWITH_WFS=ON -WITH_CAIRO=ON -DCMAKE_SKIP_RPATH=ON > -DWITH_PHPNG=ON -DCMAKE_INCLUDE_PATH="/usr/local/Cellar/postgresql" > > And then make. However, make fails with errors referring to bindings > needing PHP 7. The error log is listed below: > > > https://pastebin.com/99xWFcpE > > > Clearly, I must be missing something or doing something wrong during the > build process since others have stated that version 8.0.0 works with PHP > 8. Could anyone be so kind to point out my error so that I could get > this to work? Any help is much appreciated. Thank you?so much. > > _______________________________________________ > MapServer-users mailing list > MapServer-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users From antonis at antonischristofides.com Wed Sep 28 04:03:18 2022 From: antonis at antonischristofides.com (Antonis Christofides) Date: Wed, 28 Sep 2022 14:03:18 +0300 Subject: [MapServer-users] WMS: Not all features show, depending on how I zoom and pan Message-ID: <3be4f242-4b24-5584-9e07-be3537a686c0@antonischristofides.com> Hello, I have a problem that has already been discussed in stackexchange (https://gis.stackexchange.com/questions/440902/mapserver-wms-not-all-features-show-depending-on-how-i-zoom-and-pan), but without solution so far. I'm repeating the full text here, but if there's any problem with the images it might be better to go to stackexchange to read it. Here is how QGIS shows an irrigation network, received by MapServer via WMS and superimposed on OpenStreetMap: enter image description here Here is the same thing, but slightly panned to the right: enter image description here Several items are obviously missing. In fact there are items missing in the top picture as well. Different items become visible as I zoom and pan differently. Since this pretty much tells the whole story, I'm not going into more details. MapServer version is 7.6.2 (prepackaged for Debian). The base URL is https://poros.irmasys.com/cgi-bin/mapserv?map=/opt/aira-poros/aira-poros/mapserver/extralayers.map. Finally, below I paste the interesting parts of the mapfile. Thanks! Antonis |MAP NAME "aira-poros" STATUS ON SIZE 9040 7731 EXTENT 103986.57 3850796.18 1007945.14 4623933.00 UNITS meters PROJECTION "init=epsg:2100" END CONFIG MS_ERRORFILE "/var/log/mapserver/extralayers.log" # [Omitting some OUTPUTFORMAT sections] WEB IMAGEPATH "/var/cache/mapserver/" IMAGEURL "/mapserver_tmp/" METADATA "wms_title" "Aira Poros" "wms_onlineresource" "https://poros.irmasys.com/cgi-bin/mapserv?map=/opt/aira-poros/aira-poros/mapserver/extralayers.map&" "wms_srs" "EPSG:4326 EPSG:2100 EPSG:3857" "wms_enable_request" "*" "wms_feature_info_mime_type" "text/html" "wfs_title" "Aira Poros" "wfs_onlineresource" "https://poros.irmasys.com/cgi-bin/mapserv?map=/opt/aira-poros/aira-poros/mapserver/extralayers.map&" "wfs_srs" "EPSG:2100 EPSG:4326 EPSG:3857" "wfs_enable_request" "*" END END LAYER NAME "irrigation-network" TYPE LINE CONNECTIONTYPE OGR CONNECTION "irrigation-network.gml" METADATA "wms_title" "Irrigation network" "wfs_title" "Irrigation network" "gml_include_items" "all" "gml_featureid" "id" END STATUS ON PROJECTION "init=epsg:2100" END CLASSITEM 'category' CLASS EXPRESSION '1' STYLE COLOR 0 0 255 OPACITY 50 WIDTH 6 END LABEL COLOR 0 0 255 ANGLE FOLLOW OFFSET 5 99 MAXSCALEDENOM 10000 TEXT "[irri_code]" END LABEL COLOR 0 0 255 ANGLE FOLLOW OFFSET -8 99 MAXSCALEDENOM 10000 EXPRESSION (NOT('[Diameter]' = '')) TEXT "D=[Diameter] mm" END END # [Omitting three more classes] END # [Omitting four more layers] END| -------------- next part -------------- An HTML attachment was scrubbed... URL: From sethg at geographika.co.uk Wed Sep 28 07:47:34 2022 From: sethg at geographika.co.uk (Seth G) Date: Wed, 28 Sep 2022 16:47:34 +0200 Subject: [MapServer-users] WMS: Not all features show, depending on how I zoom and pan In-Reply-To: <3be4f242-4b24-5584-9e07-be3537a686c0@antonischristofides.com> References: <3be4f242-4b24-5584-9e07-be3537a686c0@antonischristofides.com> Message-ID: <895e9d3d-cc0e-4a4f-adcd-a76ba66db6c2@app.fastmail.com> Hi, Is there any change if you update the layer to have a single class with a simple line (no EXPRESSION, LABEL, MAXSCALEDENOM)? E.g. CLASS STYLE COLOR 0 0 255 WIDTH 6 END Seth -- web:https://geographika.net twitter: @geographika On Wed, Sep 28, 2022, at 1:03 PM, Antonis Christofides wrote: > Hello, > > I have a problem that has already been discussed in stackexchange (https://gis.stackexchange.com/questions/440902/mapserver-wms-not-all-features-show-depending-on-how-i-zoom-and-pan), but without solution so far. > > I'm repeating the full text here, but if there's any problem with the images it might be better to go to stackexchange to read it. > > Here is how QGIS shows an irrigation network, received by MapServer via WMS and superimposed on OpenStreetMap: > > enter image description here > > Here is the same thing, but slightly panned to the right: > > enter image description here > > Several items are obviously missing. In fact there are items missing in the top picture as well. Different items become visible as I zoom and pan differently. > > Since this pretty much tells the whole story, I'm not going into more details. MapServer version is 7.6.2 (prepackaged for Debian). The base URL is https://poros.irmasys.com/cgi-bin/mapserv?map=/opt/aira-poros/aira-poros/mapserver/extralayers.map. Finally, below I paste the interesting parts of the mapfile. > > Thanks! > > Antonis > > > > > > > `MAP > NAME "aira-poros" > STATUS ON > SIZE 9040 7731 > EXTENT 103986.57 3850796.18 1007945.14 4623933.00 > UNITS meters > PROJECTION > "init=epsg:2100" > END > CONFIG MS_ERRORFILE "/var/log/mapserver/extralayers.log" > > # [Omitting some OUTPUTFORMAT sections] > > WEB > IMAGEPATH "/var/cache/mapserver/" > IMAGEURL "/mapserver_tmp/" > METADATA > "wms_title" "Aira Poros" > "wms_onlineresource" "https://poros.irmasys.com/cgi-bin/mapserv?map=/opt/aira-poros/aira-poros/mapserver/extralayers.map&" > "wms_srs" "EPSG:4326 EPSG:2100 EPSG:3857" > "wms_enable_request" "*" > "wms_feature_info_mime_type" "text/html" > > "wfs_title" "Aira Poros" > "wfs_onlineresource" "https://poros.irmasys.com/cgi-bin/mapserv?map=/opt/aira-poros/aira-poros/mapserver/extralayers.map&" > "wfs_srs" "EPSG:2100 EPSG:4326 EPSG:3857" > "wfs_enable_request" "*" > END > END > > LAYER > NAME "irrigation-network" > TYPE LINE > CONNECTIONTYPE OGR > CONNECTION "irrigation-network.gml" > METADATA > "wms_title" "Irrigation network" > "wfs_title" "Irrigation network" > "gml_include_items" "all" > "gml_featureid" "id" > END > STATUS ON > PROJECTION > "init=epsg:2100" > END > CLASSITEM 'category' > CLASS > EXPRESSION '1' > STYLE > COLOR 0 0 255 > OPACITY 50 > WIDTH 6 > END > LABEL > COLOR 0 0 255 > ANGLE FOLLOW > OFFSET 5 99 > MAXSCALEDENOM 10000 > TEXT "[irri_code]" > END > LABEL > COLOR 0 0 255 > ANGLE FOLLOW > OFFSET -8 99 > MAXSCALEDENOM 10000 > EXPRESSION (NOT('[Diameter]' = '')) > TEXT "D=[Diameter] mm" > END > END > > # [Omitting three more classes] > END > > # [Omitting four more layers] > END` > _______________________________________________ > 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 tchaddad at gmail.com Wed Sep 28 08:03:31 2022 From: tchaddad at gmail.com (TC Haddad) Date: Wed, 28 Sep 2022 08:03:31 -0700 Subject: [MapServer-users] WMS: Not all features show, depending on how I zoom and pan In-Reply-To: <3be4f242-4b24-5584-9e07-be3537a686c0@antonischristofides.com> References: <3be4f242-4b24-5584-9e07-be3537a686c0@antonischristofides.com> Message-ID: Hi Antonis, How are you adding the service from MapServer to OpenLayers? Can you confirm that you are indeed using WMS and not the WFS configuration that is also in your map file? Tanya On Wed, Sep 28, 2022 at 4:47 AM Antonis Christofides < antonis at antonischristofides.com> wrote: > Hello, > > I have a problem that has already been discussed in stackexchange ( > https://gis.stackexchange.com/questions/440902/mapserver-wms-not-all-features-show-depending-on-how-i-zoom-and-pan), > but without solution so far. > > I'm repeating the full text here, but if there's any problem with the > images it might be better to go to stackexchange to read it. > > Here is how QGIS shows an irrigation network, received by MapServer via > WMS and superimposed on OpenStreetMap: > > [image: enter image description here] > > Here is the same thing, but slightly panned to the right: > > [image: enter image description here] > > Several items are obviously missing. In fact there are items missing in > the top picture as well. Different items become visible as I zoom and pan > differently. > > Since this pretty much tells the whole story, I'm not going into more > details. MapServer version is 7.6.2 (prepackaged for Debian). The base URL > is > https://poros.irmasys.com/cgi-bin/mapserv?map=/opt/aira-poros/aira-poros/mapserver/extralayers.map. > Finally, below I paste the interesting parts of the mapfile. > > Thanks! > > Antonis > > > > > MAP > NAME "aira-poros" > STATUS ON > SIZE 9040 7731 > EXTENT 103986.57 3850796.18 1007945.14 4623933.00 > UNITS meters > PROJECTION > "init=epsg:2100" > END > CONFIG MS_ERRORFILE "/var/log/mapserver/extralayers.log" > > # [Omitting some OUTPUTFORMAT sections] > > WEB > IMAGEPATH "/var/cache/mapserver/" > IMAGEURL "/mapserver_tmp/" > METADATA > "wms_title" "Aira Poros" > "wms_onlineresource" "https://poros.irmasys.com/cgi-bin/mapserv?map=/opt/aira-poros/aira-poros/mapserver/extralayers.map&" > "wms_srs" "EPSG:4326 EPSG:2100 EPSG:3857" > "wms_enable_request" "*" > "wms_feature_info_mime_type" "text/html" > > "wfs_title" "Aira Poros" > "wfs_onlineresource" "https://poros.irmasys.com/cgi-bin/mapserv?map=/opt/aira-poros/aira-poros/mapserver/extralayers.map&" > "wfs_srs" "EPSG:2100 EPSG:4326 EPSG:3857" > "wfs_enable_request" "*" > END > END > > LAYER > NAME "irrigation-network" > TYPE LINE > CONNECTIONTYPE OGR > CONNECTION "irrigation-network.gml" > METADATA > "wms_title" "Irrigation network" > "wfs_title" "Irrigation network" > "gml_include_items" "all" > "gml_featureid" "id" > END > STATUS ON > PROJECTION > "init=epsg:2100" > END > CLASSITEM 'category' > CLASS > EXPRESSION '1' > STYLE > COLOR 0 0 255 > OPACITY 50 > WIDTH 6 > END > LABEL > COLOR 0 0 255 > ANGLE FOLLOW > OFFSET 5 99 > MAXSCALEDENOM 10000 > TEXT "[irri_code]" > END > LABEL > COLOR 0 0 255 > ANGLE FOLLOW > OFFSET -8 99 > MAXSCALEDENOM 10000 > EXPRESSION (NOT('[Diameter]' = '')) > TEXT "D=[Diameter] mm" > END > END > > # [Omitting three more classes] > END > > # [Omitting four more layers] > END > > _______________________________________________ > 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 mapserverlearn at outlook.com Wed Sep 28 08:48:31 2022 From: mapserverlearn at outlook.com (b g) Date: Wed, 28 Sep 2022 15:48:31 +0000 Subject: [MapServer-users] Swig Mapscript Still Fails to Build with PHP 8 In-Reply-To: <8ede69cd-1045-4080-ff45-100ae42f1bb5@gatewaygeomatics.com> References: <8ede69cd-1045-4080-ff45-100ae42f1bb5@gatewaygeomatics.com> Message-ID: Hi Jeff, Thanks for your response. It was indeed helpful and gave me something to try out. However, when I try those lines of code, this is what it says: Looking for PCRE2 tarball... ls: pcre2-*.tar*: No such file or directory Could not find tarball matching pattern: pcre2-*.tar* admin at Administrators-Mac swig-git-master % ./autogen.sh + test -d Tools/config + aclocal -I Tools/config ./autogen.sh: line 11: aclocal: command not found admin at Administrators-Mac swig-git-master % ./configure --prefix=/usr zsh: no such file or directory: ./configure admin at Administrators-Mac swig-git-master % make make: *** No targets specified and no makefile found. Stop. Are there any other lines that I need to include with those? The first few run just fine (although I needed to replace 'wget' with 'curl'). And does this replace the use of the Github clone for MapServer 8.0? Or is this supposed to be setup in conjunction with MapServer 8.0? Thanks again for your help, bg ________________________________ From: MapServer-users on behalf of Jeff McKenna Sent: Tuesday, September 27, 2022 6:11 PM To: mapserver-users at lists.osgeo.org Subject: Re: [MapServer-users] Swig Mapscript Still Fails to Build with PHP 8 Hi BG, Thanks for starting this discussion here, as many other readers will help & learn from your situation; I first want to wish you a warm welcome from the MapServer community :) As Seth mentioned, I spent a lot of effort setting up the automated PHP 8 + MapServer 8 builds "on the cloud", and some of those steps can be used by you directly. But to step back a bit, first thing to mention is that PHP 8 with MapServer 8 is best handled through the SWIG library "master" branch, and this is likely one of your issues (the Homebrew formula you are using for SWIG is probably SWIG 4.0.x, and you need the upcoming 4.1.0 release, or build its master branch from source). Regarding the SWIG 4.1.0 upcoming release (and its heavy demand), see my call for help at https://lists.osgeo.org/pipermail/mapserver-dev/2022-September/016881.html Regarding you possibly compiling SWIG 'master' branch, you can follow my exact steps to do this on these lines: https://github.com/MapServer/MapServer/blob/main/ci/travis/before_install.sh#L38-L47 (maybe other Mac devs can update those steps here in this discussion thread for you) I personally think all this will take some time before all packagers catch up to these changes, to make it smooth for their users. In this case some time is required before the next SWIG can be released, and then propagated to all those FOSS4G packages that we love. Its for this exact reason that I have put almost my entire career into MS4W, to prevent users from facing these same build challenges (and there are many challenges, ha). I'm not sure that I've helped with this response, other than giving you some background info. Don't be discouraged, you will indeed fall in love with MapServer :) Thanks, -jeff -- Jeff McKenna GatewayGeo: Developers of MS4W, MapServer Consulting and Training co-founder of FOSS4G http://gatewaygeo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmckenna at gatewaygeomatics.com Wed Sep 28 13:16:30 2022 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Wed, 28 Sep 2022 17:16:30 -0300 Subject: [MapServer-users] Swig Mapscript Still Fails to Build with PHP 8 In-Reply-To: References: <8ede69cd-1045-4080-ff45-100ae42f1bb5@gatewaygeomatics.com> Message-ID: <7d501b9d-8708-9796-d97f-dea589888270@gatewaygeomatics.com> Hi BG, I've added a wiki page for this, that includes macOS specific steps to compile SWIG from source, at https://github.com/MapServer/MapServer/wiki/Compiling-SWIG-from-source I strongly encourage you to edit and enhance that page, make corrections, and/or create new wiki pages and share them here, to record your steps so that others can learn from your journey. (you can then add your new pages to the "Tips, Tricks, Howtos" section of https://github.com/MapServer/MapServer/wiki ) Thanks, -jeff -- Jeff McKenna GatewayGeo: Developers of MS4W, MapServer Consulting and Training co-founder of FOSS4G http://gatewaygeo.com/ On 2022-09-28 12:48 p.m., b g wrote: > Hi Jeff, > > Thanks?for your response. It was indeed helpful and gave me something to > try out. However, when I try those lines of code, this is what it says: > > Looking for PCRE2 tarball... > > ls: pcre2-*.tar*: No such file or directory > > Could not find tarball matching pattern: pcre2-*.tar* > > admin at Administrators-Mac swig-git-master % ./autogen.sh > > + test -d Tools/config > > + aclocal -I Tools/config > > ./autogen.sh: line 11: aclocal: command not found > > admin at Administrators-Mac swig-git-master % ./configure --prefix=/usr > > zsh: no such file or directory: ./configure > > admin at Administrators-Mac swig-git-master % make > > make: *** No targets specified and no makefile found.Stop. > > > Are there any other lines that I need to include with those? The first > few run just fine (although I needed to replace 'wget' with 'curl'). And > does this replace the use of the Github clone for MapServer 8.0? Or is > this supposed to be setup in conjunction with MapServer 8.0? > > Thanks again for your help, > > bg > > ------------------------------------------------------------------------ > *From:* MapServer-users on > behalf of Jeff McKenna > *Sent:* Tuesday, September 27, 2022 6:11 PM > *To:* mapserver-users at lists.osgeo.org > *Subject:* Re: [MapServer-users] Swig Mapscript Still Fails to Build > with PHP 8 > Hi BG, > > Thanks for starting this discussion here, as many other readers will > help & learn from your situation; I first want to wish you a warm > welcome from the MapServer community :) > > As Seth mentioned, I spent a lot of effort setting up the automated PHP > 8 + MapServer 8 builds "on the cloud", and some of those steps can be > used by you directly. > > But to step back a bit, first thing to mention is that PHP 8 with > MapServer 8 is best handled through the SWIG library "master" branch, > and this is likely one of your issues (the Homebrew formula you are > using for SWIG is probably SWIG 4.0.x, and you need the upcoming 4.1.0 > release, or build its master branch from source). > > Regarding the SWIG 4.1.0 upcoming release (and its heavy demand), see my > call for help at > https://lists.osgeo.org/pipermail/mapserver-dev/2022-September/016881.html > > Regarding you possibly compiling SWIG 'master' branch, you can follow my > exact steps to do this on these lines: > https://github.com/MapServer/MapServer/blob/main/ci/travis/before_install.sh#L38-L47 > (maybe other Mac devs can update those steps here in this discussion > thread for you) > > I personally think all this will take some time before all packagers > catch up to these changes, to make it smooth for their users.? In this > case some time is required before the next SWIG can be released, and > then propagated to all those FOSS4G packages that we love. > > Its for this exact reason that I have put almost my entire career into > MS4W, to prevent users from facing these same build challenges (and > there are many challenges, ha). > > I'm not sure that I've helped with this response, other than giving you > some background info. > > Don't be discouraged, you will indeed fall in love with MapServer :) > > Thanks, > > -jeff > From mapserverlearn at outlook.com Wed Sep 28 13:34:23 2022 From: mapserverlearn at outlook.com (b g) Date: Wed, 28 Sep 2022 20:34:23 +0000 Subject: [MapServer-users] Swig Mapscript Still Fails to Build with PHP 8 In-Reply-To: <7d501b9d-8708-9796-d97f-dea589888270@gatewaygeomatics.com> References: <8ede69cd-1045-4080-ff45-100ae42f1bb5@gatewaygeomatics.com> <7d501b9d-8708-9796-d97f-dea589888270@gatewaygeomatics.com> Message-ID: Jeff, I think I figured out what I was missing earlier regarding the build. Those lines you provided me for the Swig setup provided a successful build for cmake to compile. As of right now, I have: mapserv -v MapServer version 8.0.0 php -v PHP 8.0.23 With a warning PHP Warning: PHP Startup: Unable to load dynamic library 'php_mapscriptng.so' (tried: /usr/local/lib/php/pecl/20190902/php_mapscriptng.so (dlopen(/usr/local/lib/php/pecl/20190902/php_mapscriptng.so, 9): image not found), /usr/local/lib/php/pecl/20190902/php_mapscriptng.so.so (dlopen(/usr/local/lib/php/pecl/20190902/php_mapscriptng.so.so, 9): image not found)) in Unknown on line 0 and swig -version SWIG Version 4.1.0 However, I think I'm still missing something (possibly related to the PHP warning above). The page is unable load due to -- I'm guessing the Swig Mapscript library being unable to be referenced. I looked in the README files provided within the MapServer directory and within the README.rst it says: "The main MapScript SWIG interface file is ``mapscript/mapscript.i``. This file includes specific class interface files from ``mapscript/swiginc`` and language specific code from the language directories." So I added that in an include statement at the top of the PHP index file but it still doesn't work. Is the mapscript.i file what is supposed to replace the mapscript.php file? I know you are on the Windows side of things so hopefully if you don't know the answer to this question then maybe someone else will. And thank you for the link to the wiki page. I have a very detailed guide (that I have been polishing as I go along) that I will add to that page for other mac users. Thanks, bg ________________________________ From: MapServer-users on behalf of Jeff McKenna Sent: Wednesday, September 28, 2022 3:16 PM To: mapserver-users at lists.osgeo.org Subject: Re: [MapServer-users] Swig Mapscript Still Fails to Build with PHP 8 Hi BG, I've added a wiki page for this, that includes macOS specific steps to compile SWIG from source, at https://github.com/MapServer/MapServer/wiki/Compiling-SWIG-from-source I strongly encourage you to edit and enhance that page, make corrections, and/or create new wiki pages and share them here, to record your steps so that others can learn from your journey. (you can then add your new pages to the "Tips, Tricks, Howtos" section of https://github.com/MapServer/MapServer/wiki ) Thanks, -jeff -- Jeff McKenna GatewayGeo: Developers of MS4W, MapServer Consulting and Training co-founder of FOSS4G http://gatewaygeo.com/ On 2022-09-28 12:48 p.m., b g wrote: > Hi Jeff, > > Thanks for your response. It was indeed helpful and gave me something to > try out. However, when I try those lines of code, this is what it says: > > Looking for PCRE2 tarball... > > ls: pcre2-*.tar*: No such file or directory > > Could not find tarball matching pattern: pcre2-*.tar* > > admin at Administrators-Mac swig-git-master % ./autogen.sh > > + test -d Tools/config > > + aclocal -I Tools/config > > ./autogen.sh: line 11: aclocal: command not found > > admin at Administrators-Mac swig-git-master % ./configure --prefix=/usr > > zsh: no such file or directory: ./configure > > admin at Administrators-Mac swig-git-master % make > > make: *** No targets specified and no makefile found.Stop. > > > Are there any other lines that I need to include with those? The first > few run just fine (although I needed to replace 'wget' with 'curl'). And > does this replace the use of the Github clone for MapServer 8.0? Or is > this supposed to be setup in conjunction with MapServer 8.0? > > Thanks again for your help, > > bg -------------- next part -------------- An HTML attachment was scrubbed... URL: