From jmckenna at gatewaygeomatics.com Thu Dec 5 09:00:39 2019 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Thu, 5 Dec 2019 13:00:39 -0400 Subject: [mapserver-users] Please add your site/services to the MapServer gallery In-Reply-To: References: Message-ID: <7e2fdcaf-6071-8c93-256e-0db9f696c076@gatewaygeomatics.com> Reminder: New and potential MapServer users really like to see working examples of MapServer applications (and MapServer-driven WMS/WFS/OWS services) listed on our map gallery. Please take a minute to add your site and specs (respecting the syntax and alphabetical order) at: https://github.com/mapserver/mapserver/wiki/MapServer-Site-Gallery PS. this gallery is now linked from the MapServer homepage. So please share your site. Thank you everyone! -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ From MarkVolz at co.lyon.mn.us Fri Dec 6 08:21:31 2019 From: MarkVolz at co.lyon.mn.us (Mark Volz) Date: Fri, 6 Dec 2019 16:21:31 +0000 Subject: [mapserver-users] removing seamlines along edges of air photos? Message-ID: <5588b6bc2fc345c984887878254ec05c@co.lyon.mn.us> Hello, I have a single mapfile that contains two layers. One layer includes county wide aerial photography at medium resolution. The other layer contains high resolution aerial photography for select cities in my county. I would like to combine the two layers so that I can have a single "maximum resolution available" image service. Unfortunately, the high resolution air photos have a ~30 foot seamline at the edge of the air photos. The seamline is not all the same exact color so I cannot set a transparency. Question: Would specifying an extent on the high resolution imagery allow me to cut off the edge of the imagery (thus removing the area where there is a seamline)? Also, I am referencing all of the high resolution images through a tile index so is there a way to also specify extents within the tile index, or would I need to separate each of the cities into different layers? Thanks! Mark Volz -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephenwoodbridge37 at gmail.com Fri Dec 6 10:53:46 2019 From: stephenwoodbridge37 at gmail.com (Stephen Woodbridge) Date: Fri, 6 Dec 2019 13:53:46 -0500 Subject: [mapserver-users] removing seamlines along edges of air photos? In-Reply-To: <5588b6bc2fc345c984887878254ec05c@co.lyon.mn.us> References: <5588b6bc2fc345c984887878254ec05c@co.lyon.mn.us> Message-ID: <2dfd1ca1-1ce2-96de-0bf0-b00bf0cdcd17@gmail.com> Mark, This sounds more like a GDAL question, in that your should probably cleanup the images first. A few things come to mind: 1) see if you can use nearblack utility to set the collars to NODATA 2) use gdal_translate with extents to copy only the data and not the collars 3) define a polygon around the good data, the there should be a way to set everything outside the polygon to NODATA, not sure about the specific commands to do this, but I believe it is possible. -Steve W On 12/6/2019 11:21 AM, Mark Volz wrote: > > Hello, > > I have a single mapfile that contains two layers.? One layer includes > county wide aerial photography at medium resolution.? The other layer > contains high resolution aerial photography for select cities in my > county.? I would like to combine the two layers so that I can have a > single ?maximum resolution available? image service. ?Unfortunately, > the high resolution air photos have a ~30 foot seamline at the edge of > the air photos.? The seamline is not all the same exact color so I > cannot set a transparency. > > Question: > > Would specifying an extent on the high resolution imagery allow me to > cut off the edge of the imagery (thus removing the area where there is > a seamline)?? Also, I am referencing all of the high resolution images > through a tile index so is there a way to also specify extents within > the tile index, or would I need to separate each of the cities into > different layers? > > Thanks! > > Mark Volz > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users From julian at northtech.dk Tue Dec 10 02:39:20 2019 From: julian at northtech.dk (Julian Hollingbery) Date: Tue, 10 Dec 2019 10:39:20 +0000 Subject: [mapserver-users] Issue with label content for UNION layers Message-ID: Hi list, I?m seeing a strange phenomenon regarding label content for a layer with connectiontype UNION. A WMS request to the parent layer (including the UNION layer) produces the result I?d expect, but the same request directly to the UNION layer labels all features with the same label. Correct: http://172.30.229.42//fcgi-bin/mapserv.fcgi?map=/mapserver/config/mapfiler/WMS/Danske_Stednavne/Danske_Stednavne_test.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=588000.0,6042000.0,888000.0,6342000.0&CRS=EPSG:25832&WIDTH=500&HEIGHT=500&LAYERS=danske_stednavne&STYLES=&FORMAT=image/png&TRANSPARENT=FALSE Wrong: http://172.30.229.42//fcgi-bin/mapserv.fcgi?map=/mapserver/config/mapfiler/WMS/Danske_Stednavne/Danske_Stednavne_test.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=588000.0,6042000.0,888000.0,6342000.0&CRS=EPSG:25832&WIDTH=500&HEIGHT=500&LAYERS=landskabsform&STYLES=&FORMAT=image/png&TRANSPARENT=FALSE The reponses can be seen here: https://www.dropbox.com/sh/121shf8djnx3b3d/AAAApGTLfcuga_mXWDaWFsKQa?dl=0 Any thoughts? Best Regards, Julian MAP NAME "danske_stednavne" EXTENT 120000 5900000 1000000 6500000 MAXSIZE 10000 OUTPUTFORMAT NAME "png24" DRIVER "AGG/PNG" MIMETYPE "image/png; mode=24bit" EXTENSION "png" IMAGEMODE "RGB" FORMATOPTION INTERLACE=OFF END PROJECTION "init=epsg:25832" END DEBUG 0 CONFIG "ON_MISSING_DATA" "LOG" FONTSET "fonts/fontset.txt" WEB METADATA "wms_srs" "EPSG:25832 EPSG:4326 EPSG:4258 EPSG:25833 EPSG:32632 EPSG:32633 EPSG:4093 EPSG:4094 EPSG:4095 EPSG:4096 EPSG:3395 EPSG:3857" END END LAYER NAME "landskabsform" EXTENT 120000 5900000 1000000 6500000 TEMPLATE "blank.html" LABELITEM skrivemaade STATUS DEFAULT TYPE polygon CONNECTIONTYPE UNION CONNECTION "oer_store,oer_mellem" METADATA "wms_srs" "epsg:25832" END PROJECTION "init=epsg:25832" END STYLEITEM "AUTO" # Define an empty class that will be filled at runtime from the color and # styles read from each source layer. CLASS END END #LAYER LAYER NAME "oer_store" INCLUDE "./danske_stednavne_post_include.map" DATA "geometri from stednavne_nohist_l1_wms.oer_store using unique objectid using srid=25832" TYPE polygon STATUS OFF LABELITEM "skrivemaade" METADATA "wms_srs" "epsg:25832" END PROJECTION "init=epsg:25832" END CLASS STYLE OUTLINECOLOR 91 91 91 WIDTH 1 END #STYLE LABEL COLOR 0 0 0 FONT "verdana" TYPE truetype SIZE 12 END #LABEL END #CLASS END #LAYER LAYER NAME "oer_mellem" INCLUDE "./danske_stednavne_post_include.map" DATA "geometri from stednavne_nohist_l1_wms.oer_mellem using unique objectid using srid=25832" TYPE polygon STATUS OFF LABELITEM skrivemaade METADATA "wms_srs" "epsg:25832" END PROJECTION "init=epsg:25832" END CLASS STYLE OUTLINECOLOR 91 91 91 WIDTH 1 END #STYLE LABEL COLOR 0 0 0 FONT "verdana" TYPE truetype SIZE 10 END #LABEL END #CLASS END #LAYER END #MAP -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob.basques at ci.stpaul.mn.us Tue Dec 10 07:04:17 2019 From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul)) Date: Tue, 10 Dec 2019 15:04:17 +0000 Subject: [mapserver-users] REMINDER: OSGeo Local Chapter (aka TCMUG) Meeting Message-ID: Hello, Had a good time at Dual Citizen Brewery last meeting. New faces (and stories) about GIS. All present had a good time. The next meeting will be at Black Stack Brewery. See you there. NOTE: Don?t worry about feeling left out if you aren?t a big drinker. I'm not a big drinker either. It?s all good, and everyone's welcome. bobb OSGeo Local Chapter (aka TCMUG) Meeting Scheduled: Dec 11, 2019 at 4:30 PM to 6:00 PM Location: BlackStack Brewing 755 Prior Ave N, Saint Paul, MN 55104, United States 755 Prior Ave N, St Paul, MN 55104 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: iCal-20191210-090112.ics Type: text/calendar Size: 1697 bytes Desc: iCal-20191210-090112.ics URL: From sdlime at gmail.com Tue Dec 10 19:56:47 2019 From: sdlime at gmail.com (Steve Lime) Date: Tue, 10 Dec 2019 21:56:47 -0600 Subject: [mapserver-users] Issue with label content for UNION layers In-Reply-To: References: Message-ID: What version? On Tuesday, December 10, 2019, Julian Hollingbery wrote: > Hi list, > > > > I?m seeing a strange phenomenon regarding label content for a layer with > connectiontype UNION. > > A WMS request to the parent layer (including the UNION layer) produces the > result I?d expect, but the same request directly to the UNION layer labels > all features with the same label. > > Correct: > > http://172.30.229.42//fcgi-bin/mapserv.fcgi?map=/ > mapserver/config/mapfiler/WMS/Danske_Stednavne/Danske_ > Stednavne_test.map&SERVICE=WMS&VERSION=1.3.0&REQUEST= > GetMap&BBOX=588000.0,6042000.0,888000.0,6342000.0&CRS=EPSG: > 25832&WIDTH=500&HEIGHT=500&LAYERS=danske_stednavne& > STYLES=&FORMAT=image/png&TRANSPARENT=FALSE > > > Wrong: > > http://172.30.229.42//fcgi-bin/mapserv.fcgi?map=/ > mapserver/config/mapfiler/WMS/Danske_Stednavne/Danske_ > Stednavne_test.map&SERVICE=WMS&VERSION=1.3.0&REQUEST= > GetMap&BBOX=588000.0,6042000.0,888000.0,6342000.0&CRS=EPSG: > 25832&WIDTH=500&HEIGHT=500&LAYERS=landskabsform&STYLES=& > FORMAT=image/png&TRANSPARENT=FALSE > > > > > The reponses can be seen here: https://www.dropbox.com/sh/ > 121shf8djnx3b3d/AAAApGTLfcuga_mXWDaWFsKQa?dl=0 > > > > Any thoughts? > > > > Best Regards, > > Julian > > > > MAP > > NAME "danske_stednavne" > > EXTENT 120000 5900000 1000000 6500000 > > MAXSIZE 10000 > > > > OUTPUTFORMAT > > NAME "png24" > > DRIVER "AGG/PNG" > > MIMETYPE "image/png; mode=24bit" > > EXTENSION "png" > > IMAGEMODE "RGB" > > FORMATOPTION INTERLACE=OFF > > END > > PROJECTION > > "init=epsg:25832" > > END > > DEBUG 0 > > CONFIG "ON_MISSING_DATA" "LOG" > > FONTSET "fonts/fontset.txt" > > > > WEB > > METADATA > > "wms_srs" "EPSG:25832 EPSG:4326 EPSG:4258 EPSG:25833 > EPSG:32632 EPSG:32633 EPSG:4093 EPSG:4094 EPSG:4095 EPSG:4096 EPSG:3395 > EPSG:3857" > > END > > END > > > > LAYER > > NAME "landskabsform" > > EXTENT 120000 5900000 1000000 6500000 > > TEMPLATE "blank.html" > > LABELITEM skrivemaade > > STATUS DEFAULT > > TYPE polygon > > CONNECTIONTYPE UNION > > CONNECTION "oer_store,oer_mellem" > > METADATA > > "wms_srs" "epsg:25832" > > END > > PROJECTION > > "init=epsg:25832" > > END > > > > STYLEITEM "AUTO" > > # Define an empty class that will be filled at runtime from the > color and > > # styles read from each source layer. > > CLASS > > END > > > > END #LAYER > > > > LAYER > > NAME "oer_store" > > INCLUDE "./danske_stednavne_post_include.map" > > DATA "geometri from stednavne_nohist_l1_wms.oer_store using > unique objectid using srid=25832" > > TYPE polygon > > STATUS OFF > > LABELITEM "skrivemaade" > > METADATA > > "wms_srs" "epsg:25832" > > END > > PROJECTION > > "init=epsg:25832" > > END > > CLASS > > STYLE > > OUTLINECOLOR 91 91 91 > > WIDTH 1 > > END #STYLE > > > > LABEL > > COLOR 0 0 0 > > FONT "verdana" > > TYPE truetype > > SIZE 12 > > END #LABEL > > END #CLASS > > END #LAYER > > > > LAYER > > NAME "oer_mellem" > > INCLUDE "./danske_stednavne_post_include.map" > > DATA "geometri from stednavne_nohist_l1_wms.oer_mellem using > unique objectid using srid=25832" > > TYPE polygon > > STATUS OFF > > LABELITEM skrivemaade > > METADATA > > "wms_srs" "epsg:25832" > > END > > PROJECTION > > "init=epsg:25832" > > END > > CLASS > > STYLE > > OUTLINECOLOR 91 91 91 > > WIDTH 1 > > END #STYLE > > > > LABEL > > COLOR 0 0 0 > > FONT "verdana" > > TYPE truetype > > SIZE 10 > > END #LABEL > > END #CLASS > > END #LAYER > > > > END #MAP > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From julian at northtech.dk Wed Dec 11 00:19:28 2019 From: julian at northtech.dk (Julian Hollingbery) Date: Wed, 11 Dec 2019 08:19:28 +0000 Subject: [mapserver-users] Issue with label content for UNION layers In-Reply-To: References: Message-ID: Thanks for asking: 7.0.7 Fra: Steve Lime Sendt: 11. december 2019 04:57 Til: Julian Hollingbery Cc: mapserver-users at lists.osgeo.org Emne: Re: [mapserver-users] Issue with label content for UNION layers What version? -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhoese at gmail.com Thu Dec 12 09:14:54 2019 From: dhoese at gmail.com (David Hoese) Date: Thu, 12 Dec 2019 11:14:54 -0600 Subject: [mapserver-users] Guidance on using time dependent non-EPSG layers Message-ID: <7749bd55-bd31-5bac-3f77-b9db09beea51@gmail.com> Hi, I'm putting together a mapserver to serve satellite instrument raster images that are on a projection that has no EPSG code. There is one image per "time step" (when the satellite instrument observed it) and the instrument is still recording data so new images will be added over time. The software generating the images is producing tiled geotiffs. I'm fairly familiar with geotiffs but not shapefiles or with the details of mapserver. From what I've read I understand that serving data in a non-EPSG projection is not strictly something the WMS-spec allows for, but as long as I get images out I'd be OK with that. I'm hoping someone can help me or point me to some more information regarding: 1. What are my options for adding a time dimension to geotiffs? If I converted them to TileDB arrays with a time dimension would that work (I plan on trying this out later today). I've gone through this basic tutorial from TileDB but haven't tried adding a time dimension yet: https://docs.tiledb.com/developer/geospatial/mapserver 2. Is there a good way to serve non-EPSG layers? If the best way to do it involves making up an EPSG code in PROJ, do I need to update the "proj.db" database? Thanks for any guidance. Dave From julian at northtech.dk Fri Dec 13 00:54:30 2019 From: julian at northtech.dk (Julian Hollingbery) Date: Fri, 13 Dec 2019 08:54:30 +0000 Subject: [mapserver-users] Issue with label content for UNION layers In-Reply-To: References: Message-ID: I just tried with the latest version from gisinternals (7.6.0-dev), and I see the same issue. BTW, somehow the line ?ows_enable_request? ?*? had disappeared from the WEB section. Fra: Julian Hollingbery Sendt: 11. december 2019 09:19 Til: Steve Lime Cc: mapserver-users at lists.osgeo.org Emne: SV: [mapserver-users] Issue with label content for UNION layers Thanks for asking: 7.0.7 Fra: Steve Lime > Sendt: 11. december 2019 04:57 Til: Julian Hollingbery > Cc: mapserver-users at lists.osgeo.org Emne: Re: [mapserver-users] Issue with label content for UNION layers What version? -------------- next part -------------- An HTML attachment was scrubbed... URL: From johannespaul92 at gmail.com Fri Dec 13 04:46:11 2019 From: johannespaul92 at gmail.com (Johannes Paul) Date: Fri, 13 Dec 2019 13:46:11 +0100 Subject: [mapserver-users] Basemaps style Message-ID: Hello, Playing with the basemaps project along with osm database, I was wondering how the generate_style.py file shall be modify in order to get a mapfile producing osm based raster with a transparent background ? Thanks for tour help. Jo -------------- next part -------------- An HTML attachment was scrubbed... URL: From lars.schylberg at blixtmail.se Sun Dec 15 04:22:31 2019 From: lars.schylberg at blixtmail.se (Lars Schylberg) Date: Sun, 15 Dec 2019 13:22:31 +0100 Subject: [mapserver-users] Basemaps style In-Reply-To: References: Message-ID: Hi I guess there are several ways to do this.What comes to my mind is to specify all background colors with an alpha component. So, if create a new style based on bing for instance with 50 % transparency on all background polygon colors.?? Add 'land_clr': '"#E8E6E180"' instead of 'land_clr': '"#E8E6E1"' where the ?80? is 50 % transparency in hex.? Then that color should be part of your new style. Then you must have an OUTPUTFORMAT that is rendering with alpha transparency (RGBA) I haven?t tried this, but it should work. Have fun / Lars Schylberg Den 2019-12-13 kl. 13:46, skrev Johannes Paul: > Hello, > Playing with the basemaps project along with osm database, I was > wondering how the generate_style.py file shall be modify in order to > get a mapfile producing osm based raster with a transparent background ? > Thanks for tour help. > Jo > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmckenna at gatewaygeomatics.com Mon Dec 16 11:54:22 2019 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Mon, 16 Dec 2019 15:54:22 -0400 Subject: [mapserver-users] maintenance version 7.4.3 released Message-ID: <73bbdcf3-1c99-c05b-88cd-127d51c869ae@gatewaygeomatics.com> The maintenance release of MapServer 7.4.3 is now available for download: http://mapserver.org/download.html For a list of the many changes please see the changelog: https://mapserver.org/development/changelog/changelog-7-4.html Thank you to all of the users, developers, documenters, and packagers for sharing the passion for such a great project. -- The MapServer Team From mwagner at globalparametrics.com Thu Dec 19 05:44:01 2019 From: mwagner at globalparametrics.com (Michael Wagner) Date: Thu, 19 Dec 2019 13:44:01 +0000 Subject: [mapserver-users] Tile index of NetCDF files Message-ID: <9C35E0B0-4C0B-4B6E-9C4E-7C421C1BBBD9@globalparametrics.com> Hi there, Is there a way to create a tile index (Shapefile or PostGIS table) of NetCDF files and a particular variable from these files that MapServer would accept? I managed to create a tile index Shapefile (without error from the gdaltindex tool) like so (the variable is precip here): gdaltindex -t_srs EPSG:4326 netcdf_index.shp NETCDF:"/var/www/images/file1.nc?:precip I have to run that in a loop for all NetCDF files to be added since a wildcard option doesn?t seem to work. However, when trying to generate a map with MapServer, MapServer is choking on the tile index file then: msDrawMap(): Image handling error. Failed to draw layer named 'cfs2'. msDrawRasterLayerLow(): Unable to access file. Corrupt, empty or missing file '/var/www/mapcache/../images/NETCDF:/var/www/images/file1.nc:precip' for layer 'cfs2'. /var/www/mapcache/../images/NETCDF:/var/www/images/file1.nc:precip: No such file or directory Is there any syntax that MapServer would accept or is it simply not supported to have a tile index of NetCDF files!? Many thanks, Michael Michael Wagner Database Architect Global Parametrics Limited -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmckenna at gatewaygeomatics.com Thu Dec 19 14:26:54 2019 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Thu, 19 Dec 2019 18:26:54 -0400 Subject: [mapserver-users] MS4W 4.0.2 released Message-ID: <2deb2bdc-f54b-446f-6ccd-7046b2f547f5@gatewaygeomatics.com> Hello everyone, MS4W (MapServer for Windows) version 4.0.2 is now available, which contains many important changes as well as several new tools. Get it now at https://ms4w.com Please see MS4W's HISTORY.txt for all of the changes, but here are some of the highlights: - upgraded MapServer and MapScript (CSharp, Java, Python, PHP) to today's 7.6.0-dev (fixes msIO_getStdoutBufferBytes() and imageObj getBytes() issues in SWIG mapscript) - upgraded PHP to 7.2.26 security release (trac ticket 244) - upgraded GDAL to 2.4.3 (trac ticket 236) - upgraded Python to 3.7.5 - upgraded MapCache to git-master-20191217 - upgraded to Oracle SDK 19.5.0.0.0 - upgraded APCu to 5.1.18 - rebuilt php_ogr extension - upgraded SWIG support to git-master-20191206 (trac ticket 209) - upgraded libjpeg-turbo to git-master-20191012 - upgraded libTIFF support to 4.1.0 (trac ticket 237) - rebuilt GeoTIFF support - upgraded Expat support to 2.2.9 - upgraded Xerces support to 3.2.2 - rebuilt HDF4 support - upgraded OpenSSL support to 1.1.1d - upgraded PostgreSQL support to 12.1 with SSL enabled - upgraded GEOS support to 3.8.0 (trac ticket 239) - upgraded SQLite support to 3.30.1 - upgraded RT Topology Library support to 1.1.0 - added Zstandard compression library git-master-20191211 support (trac ticket 201) - rebuilt ReadOSM support - added RTTOPO (RT Topology) support to SpatiaLite (trac ticket 108) - rebuilt spatialite-tools - upgraded FITS support to 3.470 - upgraded cURL support to 7.67.0 - upgraded NetCDF support to 4.7.3 + added commandline utilities (trac ticket 238) - rebuilt LibKML support - rebuilt Poppler support - upgraded HarfBuzz support to 2.6.4 - rebuilt Apache HTTP Server - updated cURL certificates bundle - rebuilt mod_fcgid - rebuilt Apache H264 Streaming Module - upgraded php_ogr extension to 1.5.1 - upgraded osm2pgsql commandline utility to git-master-20191217 - added PDAL commandline utilities (trac ticket 30) - upgraded mod_wsgi to 4.6.8 - updated pycsw package to 2.4.1 release (trac ticket 217) - move GDAL Python bindings to /Python/Lib/site-packages/ (trac ticket 231) - regenerated GDAL Python bindings, to include missing gdal_array module (trac ticket 235) When installing, it is very important that (if you are using the .zip) your server must have the C++ Redistributable installed on it beforehand: execute the local file /ms4w/tmp/vcredist_x86.exe (alternatively if you use MS4W's setup.exe installer this is done automatically) As always please provide your requests for enhancements and issues through the MS4W tracker (so the feedback is not lost or forgotten): https://ms4w.com/trac/ You can also contact me directly for support. Thank you all for sharing your spatial information with MS4W !! Wishing you a very merry Christmas, from Gateway Geomatics, on the snowy east coast of Canada. "MS4W: open doors and as well as windows" -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/