From felix.kessler1 at web.de Tue Apr 2 06:58:34 2024 From: felix.kessler1 at web.de (=?UTF-8?Q?Felix_Ke=C3=9Fler?=) Date: Tue, 2 Apr 2024 15:58:34 +0200 Subject: [MapServer-users] Publishing PostGIS-Rasters using mapserver Message-ID: <88d73555-87fd-4c43-87b2-18c4730dee0f@web.de> Hey Guys, I am trying to publish my data that is stored as 4-band rasters in a PostGIS-DB using mapserver. However it is super slow and the data is simply wrong. I added my data directly to the map from the DB and added the mapserverWMS and mapserver returns really bad results. Here is my Layerdefinition, table is a partition of one big table that i try to publish. |LAYER NAME sentinel_2rgb TYPE raster STATUS ON VALIDATION "table" "s2_20[0-9][0-9]_[0-9][0-9]_[0-9][0-9]" END DATA "PG:host=host port=5432 dbname=dbname user=user password=pw table=%table% column=rast mode=2" PROCESSING "SCALE=AUTO" PROCESSING "BANDS=3,2,1" METADATA wms_title "sentinel_2rgb" wms_abstract "abs" wms_srs "EPSG:25832" wms_extend "-1877994.66 3932281.56 836715.13 9440581.95" # https://epsg.io/25832 projected bounds END END Any help would be appreciated, Felix PS: I sent this mail before from the wrong mailadress, I do not know if everyone gets it twice now. If so: Sorry! | -------------- next part -------------- An HTML attachment was scrubbed... URL: From gorouter at protonmail.com Wed Apr 3 15:57:16 2024 From: gorouter at protonmail.com (gorouter) Date: Wed, 03 Apr 2024 22:57:16 +0000 Subject: [MapServer-users] From OpenLayers to Mapfile Message-ID: Hi. Is it possible that, for example, the year is chosen by a user from the wms client and this value is used to generate the SQL query in the mapfile? I am not sure if this is possible from openlayers and also if it is necessary to create a wms server with mapscript to capture parameters and regenerate the query in the DATA field. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at maanmittauslaitos.fi Wed Apr 3 23:08:43 2024 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka) Date: Thu, 4 Apr 2024 06:08:43 +0000 Subject: [MapServer-users] From OpenLayers to Mapfile In-Reply-To: References: Message-ID: Hi, See https://mapserver.org/cgi/runsub.html#basic-example. -Jukka Rahkonen- L?hett?j?: MapServer-users Puolesta gorouter via MapServer-users L?hetetty: torstai 4. huhtikuuta 2024 1.57 Vastaanottaja: mapserver-users at lists.osgeo.org Aihe: [MapServer-users] From OpenLayers to Mapfile Hi. Is it possible that, for example, the year is chosen by a user from the wms client and this value is used to generate the SQL query in the mapfile? I am not sure if this is possible from openlayers and also if it is necessary to create a wms server with mapscript to capture parameters and regenerate the query in the DATA field. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob.basques at ci.stpaul.mn.us Fri Apr 5 09:31:52 2024 From: bob.basques at ci.stpaul.mn.us (Bob Basques) Date: Fri, 5 Apr 2024 16:31:52 +0000 Subject: [MapServer-users] [ANNOUNCEMENT] OSGeo Twin Cities Local Chapter Monthly Meeting (aka TCMUG) Message-ID: All, Light attendance last month. That leaves room for more to show up this month. This month?s meeting will be at the https://www.grovelandtap.com/ Date: Apr 10th 4:30 ? 6:00 Place: Groveland Tap in Saint Paul, on St. Clair Ave. @ Fairview Ave. See you there. Bobb Our meetings are intended as a monthly get together for all those interested in the field of GIS. We meet generally on the second Wednesday of each month. Get me in Teams PW19-S295-C024 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gkvoelkl at nelson-games.de Thu Apr 11 05:56:36 2024 From: gkvoelkl at nelson-games.de (=?utf-8?Q?Gerhard_V=C3=B6lkl?=) Date: Thu, 11 Apr 2024 14:56:36 +0200 Subject: [MapServer-users] Cannot retrieve column list - what does that mean? Message-ID: Hello, what does that error message mean ? msOracleSpatialLayerGetItems(): Query error. Cannot retrieve column list?? Thanks Best regards Gerhard Von meinem iPad gesendet -------------- next part -------------- An HTML attachment was scrubbed... URL: From joerg.thomsen at wheregroup.com Thu Apr 11 07:16:30 2024 From: joerg.thomsen at wheregroup.com (=?UTF-8?Q?J=C3=B6rg_Thomsen_=28WhereGroup=29?=) Date: Thu, 11 Apr 2024 16:16:30 +0200 Subject: [MapServer-users] Cannot retrieve column list - what does that mean? In-Reply-To: References: Message-ID: Hi, that's the errorMsg which is thrown if 'select * from table_name' does not work. Looks like a wrong table name or bad connection-parameters. Have you tried to connect the DB with sqldeveloper and with the same user-credentials you use in your your mapfile? J?rg Am 11.04.24 um 14:56 schrieb Gerhard V?lkl via MapServer-users: > Hello, > > what does that error message mean ??msOracleSpatialLayerGetItems(): > Query error. Cannot retrieve column list?? > > Thanks > > Best regards Gerhard > > Von meinem iPad gesendet > > _______________________________________________ > MapServer-users mailing list > MapServer-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users -- Viele Gr??e, J?rg Thomsen --------------------------------------------- Schon gewusst? In unserem Blog geben wir Tipps & Tricks zu Open-Source-GIS-Software und berichten aus unserem Experten-Alltag: https://wheregroup.com/blog/ --------------------------------------------- J?rg Thomsen WhereGroup GmbH Bundesallee 23 10717 Berlin Germany Tel: +49 (0)30 / 5130 278 74 Fax: +49 (0)30 / 5130 278 11 joerg.thomsen at wheregroup.com www.wheregroup.com Gesch?ftsf?hrer: Olaf Knopp, Peter Stamm Amtsgericht Bonn, HRB 9885 ------------------------------- Folgen Sie der WhereGroup auf twitter:http://twitter.com/WhereGroup_com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmckenna at gatewaygeomatics.com Mon Apr 15 08:10:25 2024 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Mon, 15 Apr 2024 12:10:25 -0300 Subject: [MapServer-users] demo.mapserver.org Services Upgraded Message-ID: <7ad84c08-8f52-46c2-a244-39107bacb1d0@gatewaygeomatics.com> Hi all! A short update that all of the MapServer services (OGC services, MapCache, MapServer, etc.) have been upgraded on the demo server: https://demo.mapserver.org Wishing everyone a productive week, -jeff -- Jeff McKenna GatewayGeo: Developers of MS4W, & offering MapServer Consulting/Dev co-founder of FOSS4G http://gatewaygeo.com/ From pe_lord at protonmail.com Thu Apr 18 07:42:47 2024 From: pe_lord at protonmail.com (PE Lord) Date: Thu, 18 Apr 2024 14:42:47 +0000 Subject: [MapServer-users] Mapserver 7.6.5 which Proj version? Message-ID: I am compiling Mapserver 7.6.5 to include Oracle and SQLServer support. Does anyone has already compiled Mapserver 7.6.5 with : - Proj 7.x - Proj 8.x - Proj 9.x Pierre -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane.brunner at camptocamp.com Thu Apr 18 23:56:41 2024 From: stephane.brunner at camptocamp.com (=?UTF-8?Q?St=C3=A9phane_Brunner?=) Date: Fri, 19 Apr 2024 08:56:41 +0200 Subject: [MapServer-users] Mapserver 7.6.5 which Proj version? In-Reply-To: References: Message-ID: Hello, Yes on the Docker images: camptocamp/mapserver:7.6 or camptocamp/mapserver:7.6-gdal3.8 (just alias) I build MapServer with Proj 9.3 CU St?phane Le jeu. 18 avr. 2024 ? 16:43, PE Lord via MapServer-users < mapserver-users at lists.osgeo.org> a ?crit : > I am compiling Mapserver 7.6.5 to include Oracle and SQLServer support. > > Does anyone has already compiled Mapserver 7.6.5 with : > > - Proj 7.x > - Proj 8.x > - Proj 9.x > > > Pierre > _______________________________________________ > MapServer-users mailing list > MapServer-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users > -- *St?phane Brunner* Geospatial Solutions Software Architect *camptocamp* INNOVATIVE SOLUTIONS BY OPEN SOURCE EXPERTS camptocamp.com mapfish.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane.brunner at camptocamp.com Thu Apr 18 23:58:07 2024 From: stephane.brunner at camptocamp.com (=?UTF-8?Q?St=C3=A9phane_Brunner?=) Date: Fri, 19 Apr 2024 08:58:07 +0200 Subject: [MapServer-users] Mapserver 7.6.5 which Proj version? In-Reply-To: References: Message-ID: And on the image camptocamp/mapserver:7.6-gdal3.8 I build MapServer with Proj 8.2 CU St?phane Le ven. 19 avr. 2024 ? 08:56, St?phane Brunner < stephane.brunner at camptocamp.com> a ?crit : > Hello, > > Yes on the Docker images: > camptocamp/mapserver:7.6 or camptocamp/mapserver:7.6-gdal3.8 (just alias) > I build MapServer with Proj 9.3 > > CU > St?phane > > > Le jeu. 18 avr. 2024 ? 16:43, PE Lord via MapServer-users < > mapserver-users at lists.osgeo.org> a ?crit : > >> I am compiling Mapserver 7.6.5 to include Oracle and SQLServer support. >> >> Does anyone has already compiled Mapserver 7.6.5 with : >> >> - Proj 7.x >> - Proj 8.x >> - Proj 9.x >> >> >> Pierre >> _______________________________________________ >> MapServer-users mailing list >> MapServer-users at lists.osgeo.org >> https://lists.osgeo.org/mailman/listinfo/mapserver-users >> > > > -- > > *St?phane Brunner* > Geospatial Solutions > Software Architect > > *camptocamp* > INNOVATIVE SOLUTIONS > BY OPEN SOURCE EXPERTS > > camptocamp.com > mapfish.org > -- *St?phane Brunner* Geospatial Solutions Software Architect *camptocamp* INNOVATIVE SOLUTIONS BY OPEN SOURCE EXPERTS camptocamp.com mapfish.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From gorouter at protonmail.com Mon Apr 22 06:06:11 2024 From: gorouter at protonmail.com (gorouter) Date: Mon, 22 Apr 2024 13:06:11 +0000 Subject: [MapServer-users] Mapserver and Libxml2 (2.12.6) Message-ID: Hi I am building mapserver 8.0.1 and libxml2 (2.12.6). I am getting error C2440 in mapwcs.cpp L365 and mapwcs20.cpp L1449. I have modified those lines: `xmlErrorPtr error = xmlGetLastError();` to `xmlErrorPtr error = (xmlErrorPtr)xmlGetLastError();` to compile. I don't know the deep implications of all this if there are any. Error C2440 does not occur in my case if I use libxml2 (2.10.3). -------------- next part -------------- An HTML attachment was scrubbed... URL: From even.rouault at spatialys.com Mon Apr 22 06:10:17 2024 From: even.rouault at spatialys.com (Even Rouault) Date: Mon, 22 Apr 2024 15:10:17 +0200 Subject: [MapServer-users] Mapserver and Libxml2 (2.12.6) In-Reply-To: References: Message-ID: Hi, this has been fixed in master and 8.0 branch, but has not hit yet a release The patch for 8.0 branch is in https://github.com/MapServer/MapServer/pull/6975 Even Le 22/04/2024 ? 15:06, gorouter via MapServer-users a ?crit?: > Hi > > I am building mapserver 8.0.1 and libxml2 (2.12.6). > I am getting error C2440 in mapwcs.cpp L365 and mapwcs20.cpp L1449. > > > I have modified those lines: `xmlErrorPtr error = xmlGetLastError();` > to `xmlErrorPtr error = (xmlErrorPtr)xmlGetLastError();` to compile. > > I don't know the deep implications of all this if there are any. > > Error C2440 does not occur in my case if I use libxml2 (2.10.3). > > _______________________________________________ > MapServer-users mailing list > MapServer-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users -- http://www.spatialys.com My software is free, but my time generally not. From benedek.petrovicz at gmail.com Thu Apr 25 08:55:21 2024 From: benedek.petrovicz at gmail.com (Benedek Petrovicz) Date: Thu, 25 Apr 2024 10:55:21 -0500 Subject: [MapServer-users] Data from MSSQL without extent Message-ID: Hi! Is there a possibility to skip filtering for the extent when pulling in data from MSSQL? I have to deal with some layers where I'd like to load everything for a certain criteria, but don't need the extent filtering. Thank you Petrovicz -------------- next part -------------- An HTML attachment was scrubbed... URL: From sethg at geographika.co.uk Thu Apr 25 09:03:21 2024 From: sethg at geographika.co.uk (Seth G) Date: Thu, 25 Apr 2024 18:03:21 +0200 Subject: [MapServer-users] Data from MSSQL without extent In-Reply-To: References: Message-ID: Hi, You are probably looking for *wfs_use_default_extent_for_getfeature* (and setting to "false" in the LAYER METADATA) - see https://mapserver.org/ogc/wfs_server.html#layer-object I ran into this myself as described in https://github.com/MapServer/MapServer/issues/5994 Seth -- web:https://geographika.net & https://mapserverstudio.net twitter: @geographika On Thu, Apr 25, 2024, at 5:55 PM, Benedek Petrovicz via MapServer-users wrote: > Hi! > > Is there a possibility to skip filtering for the extent when pulling in data from MSSQL? > I have to deal with some layers where I'd like to load everything for a certain criteria, but don't need the extent filtering. > > Thank you > Petrovicz > _______________________________________________ > 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: