From n.schipkov at gmail.com Fri Dec 3 03:25:08 2021 From: n.schipkov at gmail.com (=?UTF-8?B?0J3QuNC60LjRgtCwINCp0LjQv9C60L7Qsg==?=) Date: Fri, 3 Dec 2021 12:25:08 +0100 Subject: [mapserver-users] Mapserver data warehouse support Message-ID: Hello everyone! Has Mapserver got data warehouse support? Did anyone try to visualize the data from DWH? Are there any differences in database drivers to provide connection? Any other issues that you did run into? -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrea.marinetti at virgilio.it Fri Dec 3 04:43:47 2021 From: andrea.marinetti at virgilio.it (andrea.marinetti at virgilio.it) Date: Fri, 3 Dec 2021 13:43:47 +0100 Subject: [mapserver-users] GetFeatureInfo and wms_time References: <83569f25-657f-4c7a-8380-3150a51a1aba@Spark> Message-ID: <7afacb1a-cd2e-4f4d-995f-7c3678a6454c@Spark> Hello everybody, My question is about the GetFeatureInfo request and how to get the related tilmestep in the response. In my mapfile I have LAYER ... "wms_timeitem" "time" "wms_timeextent" "2021-11-19T06:00:00Z/2021-12-03T00:00:00Z/PT1H" "wms_timeformat" "YYYY-MM-DDTHH:MM:SSZ? ... TILEINDEX ?..." TILEITEM ?..." END Then I have a .html template in order to customize the GetFeatureInfo, in particular something like [resultset layer=layerName] [feature ] { "type": "Feature", "id": "layerName", "geometry": { "type": "Point", "coordinates": [ [x], [y] ] }, "properties": { "value":[value_0], "time": "[time]", "lon": [maplon], "lat": [maplat], "bbox": "[bbox]" } }, [/feature] [/resultset] Everything works fine, but I have a problem with the [time] field. In particular, if I send a request with more than one timestep (TIME=2021-11-26T00:00:00Z,2021-11-26T01:00:00Z), I don?t know how to print the information related to the current tilmestep. In fact the [time] attribute just print the same information I send in the request. I mean, I would like to have as for the value_0, a ?dynamic? field with the related tilmestep in order to know what timestep it corresponds to the printed value. Something like ?{"type": "Feature", ?? ? ? ? ? ?"id": ?layerName", ?? ? ? ? ? ?"geometry": { ?? ? ? ? ? ? ? ?"type": "Point", ?? ? ? ? ? ? ? ?"coordinates": [ ?? ? ? ? ? ? ? ? ? ?-2103938.4, ?? ? ? ? ? ? ? ? ? ?4664535.9 ?? ? ? ? ? ? ? ?] ?? ? ? ? ? ?}, ?? ? ? ? ? ?"properties": { ?? ? ? ? ? ? ? ?"value": 19.215765, ?? ? ? ? ? ? ? ?"time": "2021-11-26T00:00:00Z", ?? ? ? ? ? ? ? ?"lon": -18.878687, ?? ? ? ? ? ? ? ?"lat": 38.626836, ?? ? ? ? ? ? ? ?"bbox": "-9782979.368056435,2651593.0053237937,8424815.600622647,9441583.212393695" ?? ? ? ? ? ?} ?? ? ? ?}, {"type": "Feature", ?? ? ? ? ? ?"id": ?layerName", ?? ? ? ? ? ?"geometry": { ?? ? ? ? ? ? ? ?"type": "Point", ?? ? ? ? ? ? ? ?"coordinates": [ ?? ? ? ? ? ? ? ? ? ?-2103938.4, ?? ? ? ? ? ? ? ? ? ?4664535.9 ?? ? ? ? ? ? ? ?] ?? ? ? ? ? ?}, ?? ? ? ? ? ?"properties": { ?? ? ? ? ? ? ? ?"value": 26.384709, ?? ? ? ? ? ? ? ?"time": "2021-11-26T01:00:00Z", ?? ? ? ? ? ? ? ?"lon": -18.878687, ?? ? ? ? ? ? ? ?"lat": 38.626836, ?? ? ? ? ? ? ? ?"bbox": "-9782979.368056435,2651593.0053237937,8424815.600622647,9441583.212393695" ?? ? ? ? ? ?} ?? ? ? ?} Hope I was clear with my request. Thanks in advance, Best Regards, Andrea -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob.basques at ci.stpaul.mn.us Mon Dec 6 07:42:53 2021 From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul)) Date: Mon, 6 Dec 2021 15:42:53 +0000 Subject: [mapserver-users] Searching for presenter for this Wednesday's OSGeo Local Chapter Meeting. Message-ID: All, Last month?s meeting presentation, from Steve Swazee on the MN EPC Underground Utilities Mapping Project Team ( UUMPT ) sparked a lot of thought, discussion and questions. I?ll try to get the recording up tomorrow, fell through the cracks here, sorry about that. bobb -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob.basques at ci.stpaul.mn.us Tue Dec 7 15:55:45 2021 From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul)) Date: Tue, 7 Dec 2021 23:55:45 +0000 Subject: [mapserver-users] [REMINDER] OSGeo Twin Cities (aka TCMUG) Local Chapter Meeting - Dec 8th Message-ID: <22A7A229-DF9B-4B8A-B369-353F6D9DCE6E@ci.stpaul.mn.us> All, Last month?s meeting presentation, from Steve Swazee on the MN EPC Underground Utilities Mapping Project Team ( UUMPT ) sparked a lot of thought, discussion and questions. The presentation recording has been posted at the Chapter page linked below. This Month I?ll be presenting on : Architecture of a Long Lived GeoMoose Installation As a GIS Systems Developer at the City of Saint Paul, Mn. I?ll provide some background and history about how the City put together a rather long lived GeoMoose installation and the architectural decisions that were made over the years. Online Presentation: https://meet.jit.si/osgeo_tcmug When Dec 8th, 4:30 PM bobb OSGeo, Twin Cities (aka TCMUG), MN, USA Local Chapter Page. -------------- next part -------------- An HTML attachment was scrubbed... URL: From n.schipkov at gmail.com Thu Dec 9 00:57:11 2021 From: n.schipkov at gmail.com (=?UTF-8?B?0J3QuNC60LjRgtCwINCp0LjQv9C60L7Qsg==?=) Date: Thu, 9 Dec 2021 09:57:11 +0100 Subject: [mapserver-users] Connect Mapserver to datawarehouse via ODBC(?) driver Message-ID: Hello everyone! I'm researching possibilities to connect a datawarehouse (Clickhouse) to Mapserver. It was chosen for its query execution performance and its capability of supporting geographic data types (Points, Rings and (Multi-)Polygons). My current questions are: - What are the most potential capabilities of Mapserver to establish and test a connection with Clickhouse (ODBC, e.g.)? More info here: Introduction | ClickHouse Documentation - Clickhouse works with a slightly different SQL dialect and methods of converting geo types into each other than PostGIS. E.g. a Point in CH is basically a Tuple containing two Float values, and a Ring (polygon without holes) is an Array of Tuples (Geo | ClickHouse Documentation ). What are the chances that Mapserver would adequately parse the following query and related CH Geotypes? select Cast(toString(arrayZip(groupArray(ptr.x), groupArray(ptr.y))), 'Ring') as geom from default.points_to_ring ptr; Feel free to ask any questions. Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: From akrherz at iastate.edu Thu Dec 9 10:49:34 2021 From: akrherz at iastate.edu (Herzmann, Daryl E [AGRON]) Date: Thu, 9 Dec 2021 18:49:34 +0000 Subject: [mapserver-users] conda-forge feedstock established for mapserver Message-ID: Greetings, conda-forge (https://conda-forge.org) is a community project to deliver packages via the conda package manager. This ecosystem is mostly python + R specific, but there's an expansive stack of software available and pretty much everything necessary to make mapserver work. I've established a conda-forge feedstock of mapserver and will be iterating over the coming days to see how many cmake options I can enable :) So sometime in the near future, you can install mapserver + python mapscript with: $ conda config --prepend channels conda-forge # use conda-forge channel first $ conda config --set channel_priority strict # best practice for using conda-forge $ conda install mapserver If you have interest in participating within this feedstock and helping to build out functionality, please chime in with PRs or issues asking to be added as a maintainer :) https://github.com/conda-forge/mapserver-feedstock Thanks for reading this message. I hope the community finds this useful. daryl From MarkVolz at co.lyon.mn.us Fri Dec 10 13:28:26 2021 From: MarkVolz at co.lyon.mn.us (Mark Volz) Date: Fri, 10 Dec 2021 21:28:26 +0000 Subject: [mapserver-users] Can MapServer consume ArcGIS Services Message-ID: <6a0560cc19514426adcbf4e860963898@co.lyon.mn.us> Hello, Can ArcMap consume feature services from ArcGIS Online? Thanks! Sincerely, Mark Volz, GISP -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.smith.erdc at gmail.com Fri Dec 10 14:19:48 2021 From: michael.smith.erdc at gmail.com (michael.smith.erdc at gmail.com) Date: Fri, 10 Dec 2021 17:19:48 -0500 Subject: [mapserver-users] Can MapServer consume ArcGIS Services In-Reply-To: <6a0560cc19514426adcbf4e860963898@co.lyon.mn.us> References: <6a0560cc19514426adcbf4e860963898@co.lyon.mn.us> Message-ID: <3349A9F4-7921-47E0-805F-592FADF7C793@gmail.com> Through OGR, yes. Michael Smith US Army Corps > On Dec 10, 2021, at 4:46 PM, Mark Volz wrote: > > ? > Hello, > > Can ArcMap consume feature services from ArcGIS Online? > > Thanks! > > Sincerely, > Mark Volz, GISP > > _______________________________________________ > 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 Sat Dec 11 06:47:22 2021 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Sat, 11 Dec 2021 10:47:22 -0400 Subject: [mapserver-users] Announcing MS4W 5.0-beta1 In-Reply-To: <172775c0-bb0b-fb31-97a5-7d5ff1cc3945@gatewaygeomatics.com> References: <172775c0-bb0b-fb31-97a5-7d5ff1cc3945@gatewaygeomatics.com> Message-ID: <2b9b34a3-0fe1-588c-8cf9-c2b34e878825@gatewaygeomatics.com> Hello MapServer community! I'm thrilled to announce that MS4W 5.0 has arrived for Windows users, with its first beta. Get it at: https://ms4w.com/release/experimental/ms4w_5.0.0_beta1.zip A ton of effort has been happening for months, almost a year, for this release (there have been 13+ alpha builds already). The plan is to release the final MS4W 5.0 in January, along with the MapServer 8.0 release then; but this first public beta allows power users and admins to begin adapting their environments. As always feedback is encouraged through the MS4W issue tracker: https://ms4w.com/trac A temporary link to the new documentation is: https://ms4w.com/README_INSTALL_MS4W_5.html (but please always use the local README in your download). Here are some of the highlights: - PHP 8.1 MapScript (very fast wow!) - Python 3.10.1 MapScript (added quickmap.py and other test files, similar to the usual PHP files) - ms4w.conf & other security requirements (see https://ms4w.com/README_INSTALL_MS4W_5.html#securing-your-ms4w-installation ) Your test workflow might be: - open command prompt - cd ms4w - setenv.bat # download PROJ grids locally - proj-install-grids.bat (install grid files into /ms4w/share/proj/grids/ see https://ms4w.com/README_INSTALL_MS4W_5.html#proj-networking ) # test PHP MapScript (PHP 8.1 is very fast wow!) - php -dextension=C:/ms4w/Apache/php/ext/php_mapscript.dll -r "echo msGetVersion();" # test Python MapScript (actually Python 3.10.1) - python -c "import mapscript; print (mapscript.msGetVersion())" Here are some of the specific changes: - upgraded MapServer and MapScript (PHP, Python, CSharp, Java) to today's 8.0.0-dev - rebuilt MapServer plugins (Oracle, Microsoft SQL Server) - removed unnecessary folder /ms4w/apps/phpmapscriptng-swig - updated /htdocs/quickmap.php - added new required ms4w.conf file into /ms4w root and set MAPSERVER_CONFIG_FILE location in Apache httpd.conf and /ms4w/setenv.bat - set default MS_MAP_BAD_PATTERN in Apache's httpd.conf to prevent directory traversing (trac ticket 333) - added new utility 'map2img' that replaces the old 'shp2img', as of MapServer 8.0 (trac ticket 358) - upgraded Apache HTTP Server to 2.4.51 (security release) - upgraded PHP to 8.1.0 security release (trac ticket 304) with Visual Studio 2019 compiler(trac ticket 339) - upgraded GDAL to 3.4.0 (including CSharp/Java/Python bindings, ECW/Oracle plugins) with Visual Studio 2019 compiler (trac ticket 211) - upgraded MapCache to 1.11dev (git-master-2021-10-23) - added PostgreSQL as a dimension backend for MapCache with Visual Studio 2019 compiler - include latest mapcache.xml.sample - upgraded libjpeg-turbo support to 2.1.1 with Visual Studio 2019 compiler (trac ticket 328) - rebuilt zlib support with Visual Studio 2019 compiler - rebuilt libPNG support with Visual Studio 2019 compiler - added Esri LERC compression plugin for GeoTIFF (trac ticket 330) - upgraded Zstandard compression support (for TIFF) to 1.5.0 with Visual Studio 2019 compiler (trac ticket 313) - upgraded libTIFF support to 4.3.0 with Visual Studio 2019 compiler (trac ticket 327) - upgraded SQLite support to 3.36.0 with Visual Studio 2019 compiler (trac ticket 329) - upgraded OpenSSL to 1.1.1l HIGH level security release with Visual Studio 2019 compiler(trac ticket 310) - upgraded cURL support to 7.80.0 with Visual Studio 2019 compiler (trac ticket 308) - upgraded PROJ support to 8.2.0 with Visual Studio 2019 compiler (trac ticket 198) - added proj-install-grids.bat to optionally download all PROJ grids into /ms4w/share/proj/grids/ - add PROJ environment variables for handling grids (trac ticket 198) - upgraded GeoTIFF support to 1.7.0 with Visual Studio 2019 compiler (trac ticket 212) - rebuilt ECW (3.3 SDK) plugin with Visual Studio 2019 compiler - upgraded Expat support to 2.4.1 with Visual Studio 2019 compiler (trac ticket 319) - rebuilt Xerces support with Visual Studio 2019 compiler - rebuilt Szip support with Visual Studio 2019 compiler - upgraded HDF5 support to 1.12.1 with Visual Studio 2019 compiler (trac ticket 349) - upgraded HDF4 support to 4.2.15 with Visual Studio 2019 compiler (trac ticket 350) - upgraded NetCDF support to 4.8.1 with Visual Studio 2019 compiler (trac ticket 284) - upgraded PostgreSQL support to 14.0 with SSL enabled with Visual Studio 2019 compiler (trac ticket 352) - upgraded GEOS support to 3.10.1 (trac ticket 309) - rebuilt ICONV support with Visual Studio 2019 compiler - upgraded FreeXL support to 2.0.0-RC1 with Visual Studio 2019 compiler (trac ticket 353) - upgraded libxml2 support to 2.9.11 with Visual Studio 2019 compiler (trac ticket 355) - rebuilt RT Topology Library support with Visual Studio 2019 compiler - upgraded ReadOSM support to 1.1.0a with Visual Studio 2019 compiler - upgraded SpatiaLite support to 5.0.1 with Visual Studio 2019 compiler (trac ticket 278) - upgraded SpatiaLite-tools support to 5.0.1 with Visual Studio 2019 compiler - upgraded FITS support to 4.0.0 with Visual Studio 2019 compiler - rebuilt LibKML support with Visual Studio 2019 compiler - upgraded Freetype support to 2.11.0 with Visual Studio 2019 compiler - upgraded Pixman support to 0.40.0 with Visual Studio 2019 compiler - rebuilt Cairo support with Visual Studio 2019 compiler - upgraded Boost support to 1.77.0 with Visual Studio 2019 compiler - upgraded Poppler support to 21.11.0 with Visual Studio 2019 compiler (trac ticket 138) - added KEA 1.4.14 support with Visual Studio 2019 compiler (trac ticket 266) - added INTERLIS vector format support with Visual Studio 2019 compiler - upgraded GIFLIB support to 5.2.1 with Visual Studio 2019 compiler - upgraded HarfBuzz support to 3.1.2 with Visual Studio 2019 compiler (trac ticket 356) - upgraded FriBidi support to 1.0.11 (trac ticket 357) - upgraded PCRE support to 8.45 with Visual Studio 2019 compiler - rebuilt libfcgi with Visual Studio 2019 compiler - rebuilt libSVG support with Visual Studio 2019 compiler - rebuilt libSVG-Cairo support - upgraded protobuf support to 3.19.1 with Visual Studio 2019 compiler - upgraded protobuf-c support to 1.4.0 with Visual Studio 2019 compiler - added MS4W version output to GDAL utilities "--version" command - upgraded Lua support to 5.4.3 with Visual Studio 2019 compiler - updated cURL certificates bundle - rebuilt mod_fcgid with Visual Studio 2019 compiler - rebuilt Apache H264 Streaming Module - upgraded BerkeleyDB support to 18.1.40 with Visual Studio 2019 compiler - upgraded bzip2 support to 1.0.8 with Visual Studio 2019 compiler - upgraded APCu to 5.1.21 (for PHP) - upgraded dbase to 7.1.1 (for PHP) - upgraded to Oracle SDK 21.3.0.0.0 - updated the VC Redistributable in /tmp - added LICENSE_PROJ.txt - minor update to TinyOWS demo data scripts - added PDF (Poppler) utilities into /tools - upgraded PHP_OGR extension for PHP8 and GDAL3 support to 1.6.0 with Visual Studio 2019 compiler - added libdeflate 1.8 support and utilities with Visual Studio 2019 compiler (trac ticket 292) - added WebP 1.2.1 support and utilities with Visual Studio 2019 compiler (trac ticket 359) - added geosop commandline utility for GEOS with Visual Studio 2019 compiler - enabled regex support for SQLite through the PCRE library with Visual Studio 2019 compiler - upgraded to TinyOWS git-main-2021-11-17 - upgraded Python to 3.10.1 (trac ticket 331) - set PYTHONUTF8 environment variable (trac ticket 322) - configure use of GDAL Python utility scripts eg. setenv.bat | gdal2tiles -h - configure use of Python MapScript - added Python MapScript test script: /ms4w/msplugins/mapscript/python/quickmap.py - upgraded mod_wsgi to 4.9.0 - added mod_wsgi test script: /ms4w/msplugins/mapscript/python/test-wsgi-mapscript.py - upgraded to pycsw-3.0.dev0 - upgraded osm2pgsql commandline utility to git-master-2021-12-09 with Visual Studio 2019 compiler - moved osm2pgsql styles into /ms4w/share/ - added OGCAPI template files into /ms4w/share/ Finally, wishing you and the whole MapServer community a safe and healthy Christmas holiday. Thank-you for using MS4W. "MS4W: open doors as well as windows" -jeff -- Jeff McKenna GatewayGeo: Developers of MS4W, MapServer Consulting and Training co-founder of FOSS4G http://gatewaygeo.com/ From cneves at lrec.pt Sat Dec 11 06:54:24 2021 From: cneves at lrec.pt (Carlos Neves (LREC)) Date: Sat, 11 Dec 2021 14:54:24 +0000 Subject: [mapserver-users] QSTRING HELP Message-ID: <1a49b5bc-cd67-b0fb-214a-a79bfac2fa24@lrec.pt> Hi list, I need to query and highlite a map in a Mapserver layer using ITEMNQUERY 1st -? I have validate qstring for any character ??? ??? METADATA ?? ???? ??? "wms_title" "counties" ?? ???? ??? "qstring_validation_pattern" ".*" ?? ???? END ?? ???? VALIDATION ????? ???? "qstring" ".*" ?? ???? END 2nd - I'm not sure, but it seems in Mapserver Manual that? QITEM is an option and you can use expressions like "qstring=county_name = New York". I have no mapserver return error? but the query allways returns empty. 3rd - With CGI qlayer=counties&qitem=county_name&qstring=New? it works, but i need to use others items? and others search conditions like substrings like "New Jersey" or "New York" Any help would be appreciated Carlos From cneves at lrec.pt Sun Dec 12 07:37:55 2021 From: cneves at lrec.pt (Carlos Neves (LREC)) Date: Sun, 12 Dec 2021 15:37:55 +0000 Subject: [mapserver-users] Mapserver random error message Message-ID: <56565bac-f175-9b3d-5a99-343242cbf809@lrec.pt> Hi List, Sometimes and unexpectedly , Mapserver returns an error message "mapserv(): Web application error. No way to generate a valid map extent from selected shapes", but when I submit the same CGI again it works without any error. Any idea to avoid this? Carlos -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.greenwood at gmail.com Sun Dec 12 15:12:31 2021 From: richard.greenwood at gmail.com (Richard Greenwood) Date: Sun, 12 Dec 2021 16:12:31 -0700 Subject: [mapserver-users] Mapserver random error message In-Reply-To: <56565bac-f175-9b3d-5a99-343242cbf809@lrec.pt> References: <56565bac-f175-9b3d-5a99-343242cbf809@lrec.pt> Message-ID: SInce it says that it can't generate an extent from the shapes you might look at your data source (shapes). And give us a little more detail, like what is your data source - shapefile, postgres, etc.? Is it valid? What does your CGI request look like? On Sun, Dec 12, 2021 at 8:38 AM Carlos Neves (LREC) wrote: > Hi List, > > Sometimes and unexpectedly , Mapserver returns an error message "mapserv(): > Web application error. No way to generate a valid map extent from selected > shapes", but when I submit the same CGI again it works without any error. > > Any idea to avoid this? > > Carlos > _______________________________________________ > MapServer-users mailing list > MapServer-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Richard W. Greenwood www.greenwoodmap.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From artclifford at gmail.com Mon Dec 13 15:57:54 2021 From: artclifford at gmail.com (artclifford at gmail.com) Date: Mon, 13 Dec 2021 15:57:54 -0800 Subject: [mapserver-users] truetype symbols as polygon fills? Message-ID: <003601d7f07d$3f7cf110$be76d330$@gmail.com> Is it possible currently to use truetype symbols as polygon fill symbols? The symbol creation page suggests that only hatch and pixmap symbols are used for polygon fills but that seems a bit weird to me and am wondering if that is just out of date? If not, where is the best place to make a feature request? -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve.lime at state.mn.us Mon Dec 13 18:11:09 2021 From: steve.lime at state.mn.us (Lime, Steve D (MNIT)) Date: Tue, 14 Dec 2021 02:11:09 +0000 Subject: [mapserver-users] truetype symbols as polygon fills? In-Reply-To: <003601d7f07d$3f7cf110$be76d330$@gmail.com> References: <003601d7f07d$3f7cf110$be76d330$@gmail.com> Message-ID: I'm not sure offhand. Did you give it a try by chance? From: MapServer-users On Behalf Of artclifford at gmail.com Sent: Monday, December 13, 2021 5:58 PM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] truetype symbols as polygon fills? Is it possible currently to use truetype symbols as polygon fill symbols? The symbol creation page suggests that only hatch and pixmap symbols are used for polygon fills but that seems a bit weird to me and am wondering if that is just out of date? If not, where is the best place to make a feature request? -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdlime at gmail.com Mon Dec 13 18:54:54 2021 From: sdlime at gmail.com (Steve Lime) Date: Mon, 13 Dec 2021 20:54:54 -0600 Subject: [mapserver-users] QSTRING HELP In-Reply-To: <1a49b5bc-cd67-b0fb-214a-a79bfac2fa24@lrec.pt> References: <1a49b5bc-cd67-b0fb-214a-a79bfac2fa24@lrec.pt> Message-ID: 1) You didn?t say which version (hopefully latest, greatest) but you should only need the entry in the validation block. Note an ?anything? validation is not recommended. 2) A qstring with no qitem is interpreted as a MapServer logical expression I believe, and your example is not a valid expression. What exactly is returned, I mean, what does empty mean? There might indicate a bug and a expression parsing error is being suppressed some where. 3) A qitem+qstring is meant to cover a very simple use case. You?d need to use a plain qstring or even better, WFS to do something more complex. On Sat, Dec 11, 2021 at 8:54 AM Carlos Neves (LREC) wrote: > Hi list, > > I need to query and highlite a map in a Mapserver layer using ITEMNQUERY > > 1st - I have validate qstring for any character > > METADATA > "wms_title" "counties" > "qstring_validation_pattern" ".*" > END > VALIDATION > "qstring" ".*" > END > > 2nd - I'm not sure, but it seems in Mapserver Manual that QITEM is an > option and you can use expressions like "qstring=county_name = New > York". I have no mapserver return error but the query allways returns > empty. > > > 3rd - With CGI qlayer=counties&qitem=county_name&qstring=New it works, > but i need to use others items and others search conditions like > substrings like "New Jersey" or "New York" > > > Any help would be appreciated > > Carlos > > > _______________________________________________ > 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 thomas.bonfort at gmail.com Mon Dec 13 23:22:46 2021 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Tue, 14 Dec 2021 08:22:46 +0100 Subject: [mapserver-users] truetype symbols as polygon fills? In-Reply-To: <003601d7f07d$3f7cf110$be76d330$@gmail.com> References: <003601d7f07d$3f7cf110$be76d330$@gmail.com> Message-ID: it is: https://github.com/MapServer/MapServer/blob/main/msautotest/renderers/expected/polygon-ttf.png On Tue, Dec 14, 2021 at 12:58 AM wrote: > Is it possible currently to use truetype symbols as polygon fill symbols? > > > The symbol creation page suggests that only hatch and pixmap symbols are > used for polygon fills but that seems a bit weird to me and am wondering if > that is just out of date? > > > > If not, where is the best place to make a feature request? > > > > _______________________________________________ > 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 Rene.Zimmer at rglst-oderland.de Tue Dec 14 05:35:43 2021 From: Rene.Zimmer at rglst-oderland.de (Zimmer Rene) Date: Tue, 14 Dec 2021 13:35:43 +0000 Subject: [mapserver-users] security problem? Message-ID: <16fb44f8d1db4338af6ae1f2180208a4@rglst-oderland.de> Hello everybody, when using Mapserver, is there also a security problem with log4j? Is it used? If so, how can the gap be closed? Thanks, Rene -- This email was Anti Virus checked by Astaro Security Gateway. Gepr?ft und getestet -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at maanmittauslaitos.fi Tue Dec 14 05:43:22 2021 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Tue, 14 Dec 2021 13:43:22 +0000 Subject: [mapserver-users] security problem? Message-ID: Hi, Log4j is a Java library, Mapserver is not Java. You can feel safe with this issue. -Jukka Rahkonen- L?hett?j?: MapServer-users Puolesta Zimmer Rene L?hetetty: tiistai 14. joulukuuta 2021 15.36 Vastaanottaja: 'mapserver-users at lists.osgeo.org' Aihe: [mapserver-users] security problem? Hello everybody, when using Mapserver, is there also a security problem with log4j? Is it used? If so, how can the gap be closed? Thanks, Rene -- This email was Anti Virus checked by Astaro Security Gateway. Gepr?ft und getestet -------------- next part -------------- An HTML attachment was scrubbed... URL: From bjorn.ove at grotan.com Tue Dec 14 07:08:12 2021 From: bjorn.ove at grotan.com (=?utf-8?B?QmrDuHJuIE92ZSBHcsO4dGFu?=) Date: Tue, 14 Dec 2021 16:08:12 +0100 Subject: [mapserver-users] security problem? In-Reply-To: References: Message-ID: <20211214150812.GQ7264@samfundet.no> Uhm - guess not many are using the Mapscript Java-binding then? (I don't, so haven't tested) https://mapserver.org/ogc/mapscript.html But as Jukka said, Mapserver in itself is not written in Java. If you are using Mapscript w/Java bindings, you have to check for yourself what you do in your own code. According to https://trac.osgeo.org/mapserver/wiki/JavaMapscriptUsing commons-logging is being used, not log4j - if you are indeed using Mapscript-Java. -Bj?rn Rahkonen Jukka (MML): > Hi, > > Log4j is a Java library, Mapserver is not Java. You can feel safe with this issue. > > -Jukka Rahkonen- > > L?hett?j?: MapServer-users Puolesta Zimmer Rene > L?hetetty: tiistai 14. joulukuuta 2021 15.36 > Vastaanottaja: 'mapserver-users at lists.osgeo.org' > Aihe: [mapserver-users] security problem? > > Hello everybody, > > when using Mapserver, is there also a security problem with log4j? > > Is it used? > > If so, how can the gap be closed? > > > Thanks, > > Rene > > > > > -- > > This email was Anti Virus checked by Astaro Security Gateway. > > > > Gepr?ft und getestet > _______________________________________________ > MapServer-users mailing list > MapServer-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users From jukka.rahkonen at maanmittauslaitos.fi Tue Dec 14 08:08:06 2021 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Tue, 14 Dec 2021 16:08:06 +0000 Subject: [mapserver-users] security problem? Message-ID: Hi, Of course people may use log4j2 in their own code but Mapserver project does not deliver log4j nor is it used in any of the examples https://github.com/MapServer/MapServer/tree/main/mapscript/java. -Jukka Rahkonen- -----Alkuper?inen viesti----- L?hett?j?: Bj?rn Ove Gr?tan L?hetetty: tiistai 14. joulukuuta 2021 17.08 Vastaanottaja: Rahkonen Jukka (MML) Kopio: Zimmer Rene ; 'mapserver-users at lists.osgeo.org' Aihe: Re: [mapserver-users] security problem? Uhm - guess not many are using the Mapscript Java-binding then? (I don't, so haven't tested) https://mapserver.org/ogc/mapscript.html But as Jukka said, Mapserver in itself is not written in Java. If you are using Mapscript w/Java bindings, you have to check for yourself what you do in your own code. According to https://trac.osgeo.org/mapserver/wiki/JavaMapscriptUsing commons-logging is being used, not log4j - if you are indeed using Mapscript-Java. -Bj?rn Rahkonen Jukka (MML): > Hi, > > Log4j is a Java library, Mapserver is not Java. You can feel safe with this issue. > > -Jukka Rahkonen- > > L?hett?j?: MapServer-users > Puolesta Zimmer Rene > L?hetetty: tiistai 14. joulukuuta 2021 15.36 > Vastaanottaja: 'mapserver-users at lists.osgeo.org' > > Aihe: [mapserver-users] security problem? > > Hello everybody, > > when using Mapserver, is there also a security problem with log4j? > > Is it used? > > If so, how can the gap be closed? > > > Thanks, > > Rene > > > > > -- > > This email was Anti Virus checked by Astaro Security Gateway. > > > > Gepr?ft und getestet > _______________________________________________ > MapServer-users mailing list > MapServer-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users From schroeter at netgis.de Wed Dec 15 02:56:02 2021 From: schroeter at netgis.de (Sven Schroeter) Date: Wed, 15 Dec 2021 11:56:02 +0100 Subject: [mapserver-users] Announcing MS4W 5.0-beta1 In-Reply-To: <2b9b34a3-0fe1-588c-8cf9-c2b34e878825@gatewaygeomatics.com> References: <172775c0-bb0b-fb31-97a5-7d5ff1cc3945@gatewaygeomatics.com> <2b9b34a3-0fe1-588c-8cf9-c2b34e878825@gatewaygeomatics.com> Message-ID: <6b51c739-d684-d8f7-6d55-e6fcf2d00f39@netgis.de> Hi Jeff, thank you for this beta version! I got ms4w installed without any problems. When I start the examples it comes to an error message regarding proj, even if I copied the proj from the folder C:\ms4w\share\proj to the C:\ms4w, or have I misunderstood something? If I put in the local.map CONFIG "PROJ_LIB" "C:/proj/nad/" everything works fine. Another question about php Mapcript: Now do not have to include mapscript.php for the swig variant? best regards from Germany Sven Am 11.12.2021 um 15:47 schrieb Jeff McKenna: > Hello MapServer community! > > I'm thrilled to announce that MS4W 5.0 has arrived for Windows users, > with its first beta.? Get it at: > https://ms4w.com/release/experimental/ms4w_5.0.0_beta1.zip > > A ton of effort has been happening for months, almost a year, for this > release (there have been 13+ alpha builds already).? The plan is to > release the final MS4W 5.0 in January, along with the MapServer 8.0 > release then; but this first public beta allows power users and admins > to begin adapting their environments. > > As always feedback is encouraged through the MS4W issue tracker: > https://ms4w.com/trac > > A temporary link to the new documentation is: > https://ms4w.com/README_INSTALL_MS4W_5.html (but please always use the > local README in your download). > > Here are some of the highlights: > > - PHP 8.1 MapScript (very fast wow!) > - Python 3.10.1 MapScript (added quickmap.py and other test files, > similar to the usual PHP files) > - ms4w.conf & other security requirements (see > https://ms4w.com/README_INSTALL_MS4W_5.html#securing-your-ms4w-installation > ) > > Your test workflow might be: > > - open command prompt > - cd ms4w > - setenv.bat > # download PROJ grids locally > - proj-install-grids.bat (install grid files into > /ms4w/share/proj/grids/? see > https://ms4w.com/README_INSTALL_MS4W_5.html#proj-networking ) > # test PHP MapScript (PHP 8.1 is very fast wow!) > - php -dextension=C:/ms4w/Apache/php/ext/php_mapscript.dll -r "echo > msGetVersion();" > # test Python MapScript (actually Python 3.10.1) > - python -c "import mapscript; print (mapscript.msGetVersion())" > > Here are some of the specific changes: > > ???????? - upgraded MapServer and MapScript (PHP, Python, CSharp, > Java) to today's 8.0.0-dev > ???????? - rebuilt MapServer plugins (Oracle, Microsoft SQL Server) > ???????? - removed unnecessary folder /ms4w/apps/phpmapscriptng-swig > ???????? - updated /htdocs/quickmap.php > ???????? - added new required ms4w.conf file into /ms4w root and > ?????????? set MAPSERVER_CONFIG_FILE location in Apache httpd.conf and > ?????????? /ms4w/setenv.bat > ???????? - set default MS_MAP_BAD_PATTERN in Apache's httpd.conf > ?????????? to prevent directory traversing (trac ticket 333) > ???????? - added new utility 'map2img' that replaces the old 'shp2img', > ?????????? as of MapServer 8.0 (trac ticket 358) > ???????? - upgraded Apache HTTP Server to 2.4.51 (security release) > ???????? - upgraded PHP to 8.1.0 security release (trac ticket 304) > ?????????? with Visual Studio 2019 compiler(trac ticket 339) > ???????? - upgraded GDAL to 3.4.0 (including CSharp/Java/Python > bindings, ECW/Oracle plugins) > ?????????? with Visual Studio 2019 compiler (trac ticket 211) > ???????? - upgraded MapCache to 1.11dev (git-master-2021-10-23) > ???????? - added PostgreSQL as a dimension backend for MapCache with > ?????????? Visual Studio 2019 compiler > ???????? - include latest mapcache.xml.sample > ???????? - upgraded libjpeg-turbo support to 2.1.1 with Visual Studio > 2019 compiler > ?????????? (trac ticket 328) > ???????? - rebuilt zlib support with Visual Studio 2019 compiler > ???????? - rebuilt libPNG support with Visual Studio 2019 compiler > ???????? - added Esri LERC compression plugin for GeoTIFF (trac ticket > 330) > ???????? - upgraded Zstandard compression support (for TIFF) to 1.5.0 > ?????????? with Visual Studio 2019 compiler (trac ticket 313) > ???????? - upgraded libTIFF support to 4.3.0 with Visual Studio 2019 > compiler > ?????????? (trac ticket 327) > ???????? - upgraded SQLite support to 3.36.0 with Visual Studio 2019 > compiler > ?????????? (trac ticket 329) > ???????? - upgraded OpenSSL to 1.1.1l HIGH level security release with > Visual > ?????????? Studio 2019 compiler(trac ticket 310) > ???????? - upgraded cURL support to 7.80.0 with Visual Studio 2019 > compiler > ?????????? (trac ticket 308) > ???????? - upgraded PROJ support to 8.2.0 with Visual Studio 2019 > compiler > ?????????? (trac ticket 198) > ???????? - added proj-install-grids.bat to optionally download all PROJ > ?????????? grids into /ms4w/share/proj/grids/ > ???????? - add PROJ environment variables for handling grids (trac > ticket 198) > ???????? - upgraded GeoTIFF support to 1.7.0 with Visual Studio 2019 > compiler > ?????????? (trac ticket 212) > ???????? - rebuilt ECW (3.3 SDK) plugin with Visual Studio 2019 compiler > ???????? - upgraded Expat support to 2.4.1 with Visual Studio 2019 > compiler > ?????????? (trac ticket 319) > ???????? - rebuilt Xerces support with Visual Studio 2019 compiler > ???????? - rebuilt Szip support with Visual Studio 2019 compiler > ???????? - upgraded HDF5 support to 1.12.1 with Visual Studio 2019 > compiler > ?????????? (trac ticket 349) > ???????? - upgraded HDF4 support to 4.2.15 with Visual Studio 2019 > compiler > ?????????? (trac ticket 350) > ???????? - upgraded NetCDF support to 4.8.1 with Visual Studio 2019 > compiler > ?????????? (trac ticket 284) > ???????? - upgraded PostgreSQL support to 14.0 with SSL enabled > ?????????? with Visual Studio 2019 compiler (trac ticket 352) > ???????? - upgraded GEOS support to 3.10.1 (trac ticket 309) > ???????? - rebuilt ICONV support with Visual Studio 2019 compiler > ???????? - upgraded FreeXL support to 2.0.0-RC1 with Visual Studio > 2019 compiler > ?????????? (trac ticket 353) > ???????? - upgraded libxml2 support to 2.9.11 with Visual Studio 2019 > compiler > ?????????? (trac ticket 355) > ???????? - rebuilt RT Topology Library support with Visual Studio 2019 > compiler > ???????? - upgraded ReadOSM support to 1.1.0a with Visual Studio 2019 > compiler > ???????? - upgraded SpatiaLite support to 5.0.1 with Visual Studio > 2019 compiler > ?????????? (trac ticket 278) > ???????? - upgraded SpatiaLite-tools support to 5.0.1 with Visual > Studio 2019 compiler > ???????? - upgraded FITS support to 4.0.0 with Visual Studio 2019 > compiler > ???????? - rebuilt LibKML support with Visual Studio 2019 compiler > ???????? - upgraded Freetype support to 2.11.0 with Visual Studio 2019 > compiler > ???????? - upgraded Pixman support to 0.40.0 with Visual Studio 2019 > compiler > ???????? - rebuilt Cairo support with Visual Studio 2019 compiler > ???????? - upgraded Boost support to 1.77.0 with Visual Studio 2019 > compiler > ???????? - upgraded Poppler support to 21.11.0 with Visual Studio 2019 > compiler > ?????????? (trac ticket 138) > ???????? - added KEA 1.4.14 support with Visual Studio 2019 compiler > ?????????? (trac ticket 266) > ???????? - added INTERLIS vector format support with Visual Studio > 2019 compiler > ???????? - upgraded GIFLIB support to 5.2.1 with Visual Studio 2019 > compiler > ???????? - upgraded HarfBuzz support to 3.1.2 with Visual Studio 2019 > compiler > ?????????? (trac ticket 356) > ???????? - upgraded FriBidi support to 1.0.11 (trac ticket 357) > ???????? - upgraded PCRE support to 8.45 with Visual Studio 2019 compiler > ???????? - rebuilt libfcgi with Visual Studio 2019 compiler > ???????? - rebuilt libSVG support with Visual Studio 2019 compiler > ???????? - rebuilt libSVG-Cairo support > ???????? - upgraded protobuf support to 3.19.1 with Visual Studio 2019 > compiler > ???????? - upgraded protobuf-c support to 1.4.0 with Visual Studio > 2019 compiler > ???????? - added MS4W version output to GDAL utilities "--version" > command > ???????? - upgraded Lua support to 5.4.3 with Visual Studio 2019 compiler > ???????? - updated cURL certificates bundle > ???????? - rebuilt mod_fcgid with Visual Studio 2019 compiler > ???????? - rebuilt Apache H264 Streaming Module > ???????? - upgraded BerkeleyDB support to 18.1.40 with Visual Studio 2019 > ?????????? compiler > ???????? - upgraded bzip2 support to 1.0.8 with Visual Studio 2019 > compiler > ???????? - upgraded APCu to 5.1.21 (for PHP) > ???????? - upgraded dbase to 7.1.1 (for PHP) > ???????? - upgraded to Oracle SDK 21.3.0.0.0 > ???????? - updated the VC Redistributable in /tmp > ???????? - added LICENSE_PROJ.txt > ???????? - minor update to TinyOWS demo data scripts > ???????? - added PDF (Poppler) utilities into /tools > ???????? - upgraded PHP_OGR extension for PHP8 and GDAL3 support to > ?????????? 1.6.0 with Visual Studio 2019 compiler > ???????? - added libdeflate 1.8 support and utilities with Visual Studio > ?????????? 2019 compiler (trac ticket 292) > ???????? - added WebP 1.2.1 support and utilities with Visual Studio > ?????????? 2019 compiler (trac ticket 359) > ???????? - added geosop commandline utility for GEOS with Visual Studio > ?????????? 2019 compiler > ???????? - enabled regex support for SQLite through the PCRE library > ?????????? with Visual Studio 2019 compiler > ???????? - upgraded to TinyOWS git-main-2021-11-17 > ???????? - upgraded Python to 3.10.1 (trac ticket 331) > ???????? - set PYTHONUTF8 environment variable (trac ticket 322) > ???????? - configure use of GDAL Python utility scripts eg. setenv.bat > | gdal2tiles -h > ???????? - configure use of Python MapScript > ???????? - added Python MapScript test script: > ?????????? /ms4w/msplugins/mapscript/python/quickmap.py > ???????? - upgraded mod_wsgi to 4.9.0 > ???????? - added mod_wsgi test script: > ?????????? /ms4w/msplugins/mapscript/python/test-wsgi-mapscript.py > ???????? - upgraded to pycsw-3.0.dev0 > ???????? - upgraded osm2pgsql commandline utility to > git-master-2021-12-09 > ?????????? with Visual Studio 2019 compiler > ???????? - moved osm2pgsql styles into /ms4w/share/ > ???????? - added OGCAPI template files into /ms4w/share/ > > > Finally, wishing you and the whole MapServer community a safe and > healthy Christmas holiday. > > Thank-you for using MS4W. > "MS4W: open doors as well as windows" > > -jeff > > > From jmckenna at gatewaygeomatics.com Thu Dec 23 04:47:29 2021 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Thu, 23 Dec 2021 07:47:29 -0500 Subject: [mapserver-users] Announcing MS4W 5.0-beta2 Message-ID: <1ba1285d-cadf-dc72-4e31-3c90a812424c@gatewaygeomatics.com> Hi everyone, A beta2 is now available, containing only the change in PROJ, that was first caught by Sven. Thanks to all of the fast feedback from everyone. https://ms4w.com/release/experimental/ms4w_5.0.0_beta2.zip I also took the time to create a Migration Guide draft on the wiki ( https://ms4w.com/trac/wiki/MigrationGuide5.x ), containing sections on: - REQUIREMENTS.txt - ms4w.conf - PHP MapScript - Python MapScript - PROJ - Removed mapfile parameters - map2img Please help adding to it by editing the wiki page directly. Wishing a safe and healthy Christmas holiday to all. Thank-you for using MS4W. "MS4W: open doors as well as windows" -jeff -- Jeff McKenna GatewayGeo: Developers of MS4W, MapServer Consulting and Training co-founder of FOSS4G http://gatewaygeo.com/ From MarkVolz at co.lyon.mn.us Mon Dec 27 09:16:58 2021 From: MarkVolz at co.lyon.mn.us (Mark Volz) Date: Mon, 27 Dec 2021 17:16:58 +0000 Subject: [mapserver-users] Adding custom projections to proj.db Message-ID: Hello, I can use assistance in adding a projection to the proj.db file. The custom projection that I would like to add is EPSG 103749 NAD_1983_HARN_Adj_MN_Lyon_Feet which is included with ESRI products. I also had it working when we had the old nad83 by adding the parameters further below. Ironically proj 103749 is listed in the crs_view table but I could not find any other reference in the database to 103749. The two errors that the MapServer log file lists are that PROJ: Error: proj_create: crs not found and msProcessProjection(): Projection library error. proj error "Unknown error (code 4096)" for "init=epsg:103749", The ESPG parameters that I had in the older file database are: <103749> +proj=lcc +lat_1=44.25 +lat_2=44.58333333333334 +lat_0=44.19555555555555 +lon_0=-95.85000000000001 +x_0=152400.3048006096 +y_0=30480.06096012192 +a=6378559.758 + b=6357173.65471281 +units=ft +no_defs <> Thank You! Sincerely, Mark Volz, GISP -------------- next part -------------- An HTML attachment was scrubbed... URL: