From Andreas.Eichner at sid.sachsen.de Tue Nov 1 01:49:17 2016 From: Andreas.Eichner at sid.sachsen.de (Eichner, Andreas - SID) Date: Tue, 1 Nov 2016 08:49:17 +0000 Subject: [mapserver-users] ogrinfo not recognized In-Reply-To: References: Message-ID: <6F331135492B944D90731CE93743D568241A30@FS-EX-DB102.fs.sachsen.de> PowerShell does not execute programs from untrusted sources so you need to use ".\ogrinfo". > -----Urspr?ngliche Nachricht----- > Von: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Im > Auftrag von Vogt, Robert (RCIS) > Gesendet: Montag, 31. Oktober 2016 19:51 > An: mapserver-users at lists.osgeo.org > Betreff: [mapserver-users] ogrinfo not recognized > > I'm trying to test my connection string in ogrinfo. > These are the steps I'm taking... > > 1. Open PowerShell as administrator > 2. Navigate to directory where ogrinfo.exe is located > 3. Enter command "ogrinfo > MySQL:DatabaseName,host=Server,user=myUserName,password=myPassword,port=my > Port" > > Then I receive an error stating "ogrinfo : The term 'ogrinfo' is not > recognized as the name of a cmdlet" > > Not sure what I am doing wrong? > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From tom.kralidis at canada.ca Tue Nov 1 04:21:35 2016 From: tom.kralidis at canada.ca (Kralidis, Tom (EC)) Date: Tue, 1 Nov 2016 11:21:35 +0000 Subject: [mapserver-users] Python MapScript via WSGI examples In-Reply-To: References: <5787AD7A.7060709@mapgears.com> <5787B655.5050406@meissl.name> <20160715180557.9EA3A611D7A7@lists.osgeo.org> Message-ID: Thanks for the feedback Jeff. Comments interleaved: > -----Original Message----- > From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On > Behalf Of Jeff McKenna > Sent: 15 July 2016 17:56 > To: mapserver-users at lists.osgeo.org > Subject: Re: [mapserver-users] Python MapScript via WSGI examples > > On 2016-07-15 6:46 PM, Jeff McKenna wrote: > > Hi Tom, > > > > I believe I have your test working here, on Windows with mod_wsgi, > > Python 3.5.1, and MapScript7. Googling your error I believe your > > header problem occurs just for Python2 responses (maybe both Julien > > and I are using Python3 ?) We're bound to Python 2 (2.7.6) in this case. To refresh, see example in https://gist.github.com/tomkralidis/9adbd4864c03647aa7eb4f96a3c33297 > > What happens if you try to force the > > content-type to > > utf8 ? Change line#40 to: > > > > start_response('200 OK', [('Content-type', 'text/html; > > charset=utf-8')]) > > > > Just a guess as I have Python3. A try anyway... > > For some reason it looks like for a GetMap request, the line: content_type = mapscript.msIO_stripStdoutBufferContentType() results in None, i.e. the headers do not get stripped from the output? This is the case for either running the script directly as a process or embedding within Apache (https://gist.github.com/tomkralidis/9adbd4864c03647aa7eb4f96a3c33297#file-apache-conf) ..Tom > > Or maybe the output should be bytes, as: > > start_response('200 OK', [('Content-type', 'application/octet-stream; > charset=utf-8')]) > This results in an immediate prompt to download the result, which is a broken PNG image with the HTTP response headers still intact, i.e.: Cache-Control: max-age=86400 Content-Type: image/png ?PNG ..... > I'd need a Python2 to test though.....hard without. > > -jeff From Robert.Vogt at rcis.com Tue Nov 1 06:36:00 2016 From: Robert.Vogt at rcis.com (Vogt, Robert (RCIS)) Date: Tue, 1 Nov 2016 13:36:00 +0000 Subject: [mapserver-users] msOGRFileOpen Message-ID: <083ef4cd7507424a8171af180cd80deb@PDEXCH1301.corp.rcis.com> Good morning, I have successfully tested my connection string with "ogrinfo", now however when I try to use that connection string in my MapFile I receive this error... msDrawMap(): Image handling error. Failed to draw layer named 'myLayer'. msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `myLayer'. Unable to initialize connection to the server for MSSQL:Database=mydatabase;Server=myServer;user=myUser;password=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' Any help is greatly appreciated!! From Robert.Vogt at rcis.com Tue Nov 1 06:32:03 2016 From: Robert.Vogt at rcis.com (Vogt, Robert (RCIS)) Date: Tue, 1 Nov 2016 13:32:03 +0000 Subject: [mapserver-users] ogrinfo not recognized In-Reply-To: <6F331135492B944D90731CE93743D568241A30@FS-EX-DB102.fs.sachsen.de> References: <6F331135492B944D90731CE93743D568241A30@FS-EX-DB102.fs.sachsen.de> Message-ID: <339f50448517461d9269926957284bab@PDEXCH1301.corp.rcis.com> Thanks Andreas, that worked...I knew that but it had been awhile since I used powershell, thanks for the nudge in the right direction. -----Original Message----- From: Eichner, Andreas - SID [mailto:Andreas.Eichner at sid.sachsen.de] Sent: Tuesday, November 01, 2016 4:49 AM To: Vogt, Robert (RCIS); mapserver-users at lists.osgeo.org Subject: AW: [mapserver-users] ogrinfo not recognized PowerShell does not execute programs from untrusted sources so you need to use ".\ogrinfo". > -----Urspr?ngliche Nachricht----- > Von: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] > Im Auftrag von Vogt, Robert (RCIS) > Gesendet: Montag, 31. Oktober 2016 19:51 > An: mapserver-users at lists.osgeo.org > Betreff: [mapserver-users] ogrinfo not recognized > > I'm trying to test my connection string in ogrinfo. > These are the steps I'm taking... > > 1. Open PowerShell as administrator > 2. Navigate to directory where ogrinfo.exe is located 3. Enter command > "ogrinfo > MySQL:DatabaseName,host=Server,user=myUserName,password=myPassword,por > t=my > Port" > > Then I receive an error stating "ogrinfo : The term 'ogrinfo' is not > recognized as the name of a cmdlet" > > Not sure what I am doing wrong? > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From nw at dcp.ufl.edu Tue Nov 1 06:39:28 2016 From: nw at dcp.ufl.edu (Wingfield, Nathaniel D) Date: Tue, 1 Nov 2016 13:39:28 +0000 Subject: [mapserver-users] arcgis 10.3 enterprise geodatabase Message-ID: Can MapServer consume spatial data from an ArcGIS 10.3 enterprise geodatabase? We are using the default SDE.ST_GEOMETRY type, on Oracle. The MapServer docs indicate that any support for ESRI enterprise geodatabases is based on ArcSDE, which was abandoned by ESRI at version 10.3, in favor of direct connect (https://blogs.esri.com/esri/supportcenter/2015/02/11/where-is-the-install-for-arcsde-10-3/). We will likely use OpenLayers for a new web-based mapping app, so MapServer seems like a natural choice (otherwise we will have to use ArcGIS Server). From Andreas.Eichner at sid.sachsen.de Tue Nov 1 09:30:01 2016 From: Andreas.Eichner at sid.sachsen.de (Eichner, Andreas - SID) Date: Tue, 1 Nov 2016 16:30:01 +0000 Subject: [mapserver-users] msOGRFileOpen In-Reply-To: <083ef4cd7507424a8171af180cd80deb@PDEXCH1301.corp.rcis.com> References: <083ef4cd7507424a8171af180cd80deb@PDEXCH1301.corp.rcis.com> Message-ID: <6F331135492B944D90731CE93743D568241AD9@FS-EX-DB102.fs.sachsen.de> From http://www.gdal.org/drv_mssqlspatial.html and the linked page about ODBC driver connection string (http://msdn.microsoft.com/en-us/library/ms130822.aspx) it seems you need to use "UID" and "PWD" instead of "username" and "password" HTH > -----Urspr?ngliche Nachricht----- > Von: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Im > Auftrag von Vogt, Robert (RCIS) > Gesendet: Dienstag, 1. November 2016 14:36 > An: mapserver-users at lists.osgeo.org > Betreff: [mapserver-users] msOGRFileOpen > > Good morning, > > I have successfully tested my connection string with "ogrinfo", now > however when I try to use that connection string in my MapFile > I receive this error... > > msDrawMap(): Image handling error. Failed to draw layer named 'myLayer'. > msOGRFileOpen(): OGR error. Open failed for OGR connection in layer > `myLayer'. Unable to initialize connection to the server for > MSSQL:Database=mydatabase;Server=myServer;user=myUser;password=XXXXXXXXXXX > XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX SQL Server Driver][SQL > Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' > > Any help is greatly appreciated!! > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From aperi2007 at gmail.com Tue Nov 1 17:29:56 2016 From: aperi2007 at gmail.com (Andrea Peri) Date: Wed, 2 Nov 2016 01:29:56 +0100 Subject: [mapserver-users] wfs_allowed_ip_list/wfs_denied_ip_list is still working ? Message-ID: Hi, Is the wfs_allowed/denied_ip_list still working in the last mapserver dev version ? I try to set the "allowed" to an nexistent ip to test a reject request, but instead I' having a getfeature response. Before to open a ticket, I like to have a confirm of this. Thx. -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- From Robert.Vogt at rcis.com Wed Nov 2 08:49:22 2016 From: Robert.Vogt at rcis.com (Vogt, Robert (RCIS)) Date: Wed, 2 Nov 2016 15:49:22 +0000 Subject: [mapserver-users] msOGRFileOpen In-Reply-To: <6F331135492B944D90731CE93743D568241AD9@FS-EX-DB102.fs.sachsen.de> References: <083ef4cd7507424a8171af180cd80deb@PDEXCH1301.corp.rcis.com> <6F331135492B944D90731CE93743D568241AD9@FS-EX-DB102.fs.sachsen.de> Message-ID: <6aaa965fa5ea400285d75617cf8b84db@PDEXCH1301.corp.rcis.com> Yes, thank you! I figured that out(so many different configuration :)) I'm curious OGR doesn't seem to be able to find my SRID and it also looks like it pulls ALL fields...this seems inefficient Is there a way to pass custom SQL to OGR and only include columns that are needed and the SRID? -Bob -----Original Message----- From: Eichner, Andreas - SID [mailto:Andreas.Eichner at sid.sachsen.de] Sent: Tuesday, November 01, 2016 12:30 PM To: Vogt, Robert (RCIS); mapserver-users at lists.osgeo.org Subject: AW: msOGRFileOpen From http://www.gdal.org/drv_mssqlspatial.html and the linked page about ODBC driver connection string (http://msdn.microsoft.com/en-us/library/ms130822.aspx) it seems you need to use "UID" and "PWD" instead of "username" and "password" HTH > -----Urspr?ngliche Nachricht----- > Von: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] > Im Auftrag von Vogt, Robert (RCIS) > Gesendet: Dienstag, 1. November 2016 14:36 > An: mapserver-users at lists.osgeo.org > Betreff: [mapserver-users] msOGRFileOpen > > Good morning, > > I have successfully tested my connection string with "ogrinfo", now > however when I try to use that connection string in my MapFile I > receive this error... > > msDrawMap(): Image handling error. Failed to draw layer named 'myLayer'. > msOGRFileOpen(): OGR error. Open failed for OGR connection in layer > `myLayer'. Unable to initialize connection to the server for > MSSQL:Database=mydatabase;Server=myServer;user=myUser;password=XXXXXXX > XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX SQL Server Driver][SQL > Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' > > Any help is greatly appreciated!! > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From piero.campa at gmail.com Wed Nov 2 11:36:27 2016 From: piero.campa at gmail.com (Piero Campa) Date: Wed, 2 Nov 2016 11:36:27 -0700 (MST) Subject: [mapserver-users] ovr and mapserver In-Reply-To: References: Message-ID: <1478111787408-5294040.post@n6.nabble.com> ...sorry here, but in the GDAL GTiff format page ("Overviews" section) I couldn't see hints to whether MapServer automatically makes use of external .ovr overviews when present :) Aneta, which where your final conclusions? Thanks -Piero -- View this message in context: http://osgeo-org.1560.x6.nabble.com/ovr-and-mapserver-tp5139082p5294040.html Sent from the Mapserver - User mailing list archive at Nabble.com. From geographika at gmail.com Wed Nov 2 11:38:30 2016 From: geographika at gmail.com (Seth G) Date: Wed, 2 Nov 2016 19:38:30 +0100 Subject: [mapserver-users] MapServer Projections and Extents Tutorial Message-ID: <3170315b-2a00-c410-8ac0-f77e73eef6e7@gmail.com> Hi all, A draft tutorial has been completed on use of projections in MapServer: https://geographika.github.io/tutorial/quickstart/projections.html Comments and feedback welcome. This relates to http://mapserver.org/development/rfc/ms-rfc-115.html There are a couple of things I came across that are still unclear to me relating to extents. * Setting the EXTENT for a map has no effect when accessing via WMS, apart from the BoundingBox of the GetCapabilities metadata. Data is not restricted/limited.Not setting this leaves the MAP level BoundingBox extent as -1,-1,-1,-1. Should the MAP EXTENT have any other effects? * The help for LAYER EXTENT states "In most cases you will not need to specify this, but it can be used to avoid the speed cost of having MapServer compute the extents of the data" - however all BoundingBox extents for each layer are automatically calculated from the source data in the WMS GetCapabilities request. I presume this could become quite slow with more and more layers. Is it/should it be recommended to manually set these (either with wms_extent in the LAYER METADATA or using LAYER EXTENT)? Thanks for any clarifications on the above. Regards, Seth -- web:http://geographika.co.uk twitter: @geographika -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at maanmittauslaitos.fi Wed Nov 2 13:00:43 2016 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Wed, 2 Nov 2016 20:00:43 +0000 Subject: [mapserver-users] ovr and mapserver Message-ID: <2af57325c21a4ee39f8b8ca1fb8d0218@C119S212VM022.msvyvi.vaha.local> Hi, Mapserver makes use of external overviews automatically. It is perhaps not documented very well and http://www.mapserver.org/input/raster.html if using "external overview" in the meanings: external overview for a single image and as a downsampled separate image that covers a larger area, which must be utilized through scale dependent layer group. Very useful advice by the way. -Jukka Rahkonen- -----Alkuper?inen viesti----- Piero Campa wrote: Re: [mapserver-users] ovr and mapserver > ...sorry here, but in the GDAL GTiff format page ("Overviews" section) I couldn't see hints to whether MapServer automatically makes use of external .ovr overviews when present :) Aneta, which where your final conclusions? Thanks -Piero -- View this message in context: http://osgeo-org.1560.x6.nabble.com/ovr-and-mapserver-tp5139082p5294040.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From Andreas.Eichner at sid.sachsen.de Thu Nov 3 01:34:44 2016 From: Andreas.Eichner at sid.sachsen.de (Eichner, Andreas - SID) Date: Thu, 3 Nov 2016 08:34:44 +0000 Subject: [mapserver-users] msOGRFileOpen In-Reply-To: <6aaa965fa5ea400285d75617cf8b84db@PDEXCH1301.corp.rcis.com> References: <083ef4cd7507424a8171af180cd80deb@PDEXCH1301.corp.rcis.com> <6F331135492B944D90731CE93743D568241AD9@FS-EX-DB102.fs.sachsen.de> <6aaa965fa5ea400285d75617cf8b84db@PDEXCH1301.corp.rcis.com> Message-ID: <6F331135492B944D90731CE93743D568241BBA@FS-EX-DB102.fs.sachsen.de> As mentioned in http://mapserver.org/input/vector/mssql.html#option-1-connect-through-ogr adding ";Tables=()" might help. You can try to add OPTION MSSQLSPATIAL_USE_GEOMETRY_COLUMNS NO at MAP level to avoid reading the "geometry_columns"-Table. I guess the SRID will be reported as -1 then and you need to define a PROJECTION block at the LAYER. You can use the DATA statement to define the SQL for your layer. HTH > -----Urspr?ngliche Nachricht----- > Von: Vogt, Robert (RCIS) [mailto:Robert.Vogt at rcis.com] > Gesendet: Mittwoch, 2. November 2016 16:49 > An: Eichner, Andreas - SID; mapserver-users at lists.osgeo.org > Betreff: RE: msOGRFileOpen > > Yes, thank you! I figured that out(so many different configuration :)) > > I'm curious OGR doesn't seem to be able to find my SRID and it also looks > like it pulls ALL fields...this seems inefficient > > Is there a way to pass custom SQL to OGR and only include columns that are > needed and the SRID? > > -Bob > > > > -----Original Message----- > From: Eichner, Andreas - SID [mailto:Andreas.Eichner at sid.sachsen.de] > Sent: Tuesday, November 01, 2016 12:30 PM > To: Vogt, Robert (RCIS); mapserver-users at lists.osgeo.org > Subject: AW: msOGRFileOpen > > From http://www.gdal.org/drv_mssqlspatial.html and the linked page about > ODBC driver connection string (http://msdn.microsoft.com/en- > us/library/ms130822.aspx) it seems you need to use "UID" and "PWD" instead > of "username" and "password" > > HTH > > > -----Urspr?ngliche Nachricht----- > > Von: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] > > Im Auftrag von Vogt, Robert (RCIS) > > Gesendet: Dienstag, 1. November 2016 14:36 > > An: mapserver-users at lists.osgeo.org > > Betreff: [mapserver-users] msOGRFileOpen > > > > Good morning, > > > > I have successfully tested my connection string with "ogrinfo", now > > however when I try to use that connection string in my MapFile I > > receive this error... > > > > msDrawMap(): Image handling error. Failed to draw layer named 'myLayer'. > > msOGRFileOpen(): OGR error. Open failed for OGR connection in layer > > `myLayer'. Unable to initialize connection to the server for > > MSSQL:Database=mydatabase;Server=myServer;user=myUser;password=XXXXXXX > > XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX SQL Server Driver][SQL > > Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' > > > > Any help is greatly appreciated!! > > > > _______________________________________________ > > mapserver-users mailing list > > mapserver-users at lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapserver-users From oscarfbh at gmail.com Thu Nov 3 12:51:08 2016 From: oscarfbh at gmail.com (Oscar ^_^) Date: Thu, 3 Nov 2016 13:51:08 -0600 Subject: [mapserver-users] arcgis 10.3 enterprise geodatabase In-Reply-To: References: Message-ID: I've got the same requeriment althought i can use 10.1 or 10.2 but i don't know how to implement these to Mapserver.... Any suggestion o guide ?? 2016-11-01 7:39 GMT-06:00 Wingfield, Nathaniel D : > Can MapServer consume spatial data from an ArcGIS 10.3 enterprise > geodatabase? We are using the default SDE.ST_GEOMETRY type, on Oracle. The > MapServer docs indicate that any support for ESRI enterprise geodatabases > is based on ArcSDE, which was abandoned by ESRI at version 10.3, in favor > of direct connect (https://blogs.esri.com/esri/supportcenter/2015/02/11/ > where-is-the-install-for-arcsde-10-3/). > > We will likely use OpenLayers for a new web-based mapping app, so > MapServer seems like a natural choice (otherwise we will have to use ArcGIS > Server). > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users -- OSCAR @ ^_^ Y -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.Lime at state.mn.us Thu Nov 3 13:02:48 2016 From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT)) Date: Thu, 3 Nov 2016 20:02:48 +0000 Subject: [mapserver-users] arcgis 10.3 enterprise geodatabase In-Reply-To: References: Message-ID: If GDAL/OGR can handle the format then you?re in luck. I?d check there first? From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Oscar ^_^ Sent: Thursday, November 03, 2016 2:51 PM To: Wingfield, Nathaniel D Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase I've got the same requeriment althought i can use 10.1 or 10.2 but i don't know how to implement these to Mapserver.... Any suggestion o guide ?? 2016-11-01 7:39 GMT-06:00 Wingfield, Nathaniel D >: Can MapServer consume spatial data from an ArcGIS 10.3 enterprise geodatabase? We are using the default SDE.ST_GEOMETRY type, on Oracle. The MapServer docs indicate that any support for ESRI enterprise geodatabases is based on ArcSDE, which was abandoned by ESRI at version 10.3, in favor of direct connect (https://blogs.esri.com/esri/supportcenter/2015/02/11/where-is-the-install-for-arcsde-10-3/). We will likely use OpenLayers for a new web-based mapping app, so MapServer seems like a natural choice (otherwise we will have to use ArcGIS Server). _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- OSCAR @ ^_^ Y -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.smith.erdc at gmail.com Thu Nov 3 13:07:59 2016 From: michael.smith.erdc at gmail.com (Michael Smith) Date: Thu, 03 Nov 2016 16:07:59 -0400 Subject: [mapserver-users] arcgis 10.3 enterprise geodatabase In-Reply-To: References: Message-ID: The other option, which is what we use, is to store ArcGIS 10.3 enterprise data as SDO_GEOMETRY native. We find no performance penalties in ArcGIS and performance benefits for non-esri software, such as mapserver. Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers From: mapserver-users on behalf of "Lime, Steve D (MNIT)" Date: Thursday, November 3, 2016 at 4:02 PM To: Oscar ^_^ , "Wingfield, Nathaniel D" Cc: "mapserver-users at lists.osgeo.org" Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase > If GDAL/OGR can handle the format then you?re in luck. I?d check there first? > > From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On > Behalf Of Oscar ^_^ > Sent: Thursday, November 03, 2016 2:51 PM > To: Wingfield, Nathaniel D > Cc: mapserver-users at lists.osgeo.org > Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase > > > I've got the same requeriment althought i can use 10.1 or 10.2 but i don't > know how to implement these to Mapserver.... > > > > Any suggestion o guide ?? > > > > 2016-11-01 7:39 GMT-06:00 Wingfield, Nathaniel D : >> Can MapServer consume spatial data from an ArcGIS 10.3 enterprise >> geodatabase? We are using the default SDE.ST_GEOMETRY type, on Oracle. The >> MapServer docs indicate that any support for ESRI enterprise geodatabases is >> based on ArcSDE, which was abandoned by ESRI at version 10.3, in favor of >> direct connect >> (https://blogs.esri.com/esri/supportcenter/2015/02/11/where-is-the-install-fo >> r-arcsde-10-3/). >> >> We will likely use OpenLayers for a new web-based mapping app, so MapServer >> seems like a natural choice (otherwise we will have to use ArcGIS Server). >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > -- > > OSCAR > @ > ^_^ > Y > _______________________________________________ mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From David.Fawcett at state.mn.us Thu Nov 3 13:10:26 2016 From: David.Fawcett at state.mn.us (Fawcett, David (MNIT)) Date: Thu, 3 Nov 2016 20:10:26 +0000 Subject: [mapserver-users] arcgis 10.3 enterprise geodatabase In-Reply-To: References: Message-ID: We do the same thing, but on PostGIS with pg_geometry. From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Michael Smith Sent: Thursday, November 03, 2016 3:08 PM To: Lime, Steve D (MNIT) ; Oscar ^_^ ; Wingfield, Nathaniel D Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase The other option, which is what we use, is to store ArcGIS 10.3 enterprise data as SDO_GEOMETRY native. We find no performance penalties in ArcGIS and performance benefits for non-esri software, such as mapserver. Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers From: mapserver-users > on behalf of "Lime, Steve D (MNIT)" > Date: Thursday, November 3, 2016 at 4:02 PM To: Oscar ^_^ >, "Wingfield, Nathaniel D" > Cc: "mapserver-users at lists.osgeo.org" > Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase If GDAL/OGR can handle the format then you're in luck. I'd check there first... From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Oscar ^_^ Sent: Thursday, November 03, 2016 2:51 PM To: Wingfield, Nathaniel D > Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase I've got the same requeriment althought i can use 10.1 or 10.2 but i don't know how to implement these to Mapserver.... Any suggestion o guide ?? 2016-11-01 7:39 GMT-06:00 Wingfield, Nathaniel D >: Can MapServer consume spatial data from an ArcGIS 10.3 enterprise geodatabase? We are using the default SDE.ST_GEOMETRY type, on Oracle. The MapServer docs indicate that any support for ESRI enterprise geodatabases is based on ArcSDE, which was abandoned by ESRI at version 10.3, in favor of direct connect (https://blogs.esri.com/esri/supportcenter/2015/02/11/where-is-the-install-for-arcsde-10-3/). We will likely use OpenLayers for a new web-based mapping app, so MapServer seems like a natural choice (otherwise we will have to use ArcGIS Server). _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- OSCAR @ ^_^ Y _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From geographika at gmail.com Fri Nov 4 01:04:57 2016 From: geographika at gmail.com (Seth G) Date: Fri, 4 Nov 2016 09:04:57 +0100 Subject: [mapserver-users] MapServer Projections and Extents Tutorial In-Reply-To: References: <3170315b-2a00-c410-8ac0-f77e73eef6e7@gmail.com> Message-ID: Thanks Tanya. I'm going to run a few tests with a database connection to see what queries are generated to calculate the layer extents for WMS/WFS, and then may make a suggestion to update the MapServer docs. Seth On 02/11/2016 22:12, TC Haddad wrote: > Hi Seth, > > I do agree that it should be *highly* recommended to set the extents > of each LAYER, as people are often unaware what a huge speed advantage > it is to have this already set. I found it to be particularly true for > WFS. > > I believe you should set the layer extents in the native coordinates > of the layer, and let Mapserver take it from there. > > Tanya > > On Wed, Nov 2, 2016 at 11:38 AM, Seth G > wrote: > > Hi all, > > A draft tutorial has been completed on use of projections in > MapServer: > https://geographika.github.io/tutorial/quickstart/projections.html > > Comments and feedback welcome. This relates to > http://mapserver.org/development/rfc/ms-rfc-115.html > > > There are a couple of things I came across that are still unclear > to me relating to extents. > > * Setting the EXTENT for a map has no effect when accessing via > WMS, apart from the BoundingBox of the GetCapabilities > metadata. Data is not restricted/limited.Not setting this > leaves the MAP level BoundingBox extent as -1,-1,-1,-1. Should > the MAP EXTENT have any other effects? > > * The help for LAYER EXTENT states "In most cases you will not > need to specify this, but it can be used to avoid the speed > cost of having MapServer compute the extents of the data" - > however all BoundingBox extents for each layer are > automatically calculated from the source data in the WMS > GetCapabilities request. I presume this could become quite > slow with more and more layers. Is it/should it be recommended > to manually set these (either with wms_extent in the LAYER > METADATA or using LAYER EXTENT)? > > Thanks for any clarifications on the above. > > Regards, > > Seth > > -- > web:http://geographika.co.uk > twitter: @geographika > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at maanmittauslaitos.fi Fri Nov 4 01:20:58 2016 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Fri, 4 Nov 2016 08:20:58 +0000 Subject: [mapserver-users] MapServer Projections and Extents Tutorial Message-ID: <4657a9dd68054cfbaa484bf52cf5d137@C119S212VM022.msvyvi.vaha.local> Hi, The other side is that hand written extents tend to go wrong every now and then, layer data and extents may change over the time, and for some data sources it is not heavy at all to read the extents on-the-fly. But big database tables without up-to-date statistics and Oracle in general can be awfully slow. -Jukka Rahkonen- Seth G wrote: Thanks Tanya. I'm going to run a few tests with a database connection to see what queries are generated to calculate the layer extents for WMS/WFS, and then may make a suggestion to update the MapServer docs. Seth On 02/11/2016 22:12, TC Haddad wrote: Hi Seth, I do agree that it should be *highly* recommended to set the extents of each LAYER, as people are often unaware what a huge speed advantage it is to have this already set. I found it to be particularly true for WFS. I believe you should set the layer extents in the native coordinates of the layer, and let Mapserver take it from there. Tanya On Wed, Nov 2, 2016 at 11:38 AM, Seth G > wrote: Hi all, A draft tutorial has been completed on use of projections in MapServer: https://geographika.github.io/tutorial/quickstart/projections.html Comments and feedback welcome. This relates to http://mapserver.org/development/rfc/ms-rfc-115.html There are a couple of things I came across that are still unclear to me relating to extents. * Setting the EXTENT for a map has no effect when accessing via WMS, apart from the BoundingBox of the GetCapabilities metadata. Data is not restricted/limited.Not setting this leaves the MAP level BoundingBox extent as -1,-1,-1,-1. Should the MAP EXTENT have any other effects? * The help for LAYER EXTENT states "In most cases you will not need to specify this, but it can be used to avoid the speed cost of having MapServer compute the extents of the data" - however all BoundingBox extents for each layer are automatically calculated from the source data in the WMS GetCapabilities request. I presume this could become quite slow with more and more layers. Is it/should it be recommended to manually set these (either with wms_extent in the LAYER METADATA or using LAYER EXTENT)? Thanks for any clarifications on the above. Regards, Seth -- web: http://geographika.co.uk twitter: @geographika _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From oscarfbh at gmail.com Fri Nov 4 06:17:45 2016 From: oscarfbh at gmail.com (Oscar ^_^) Date: Fri, 4 Nov 2016 07:17:45 -0600 Subject: [mapserver-users] arcgis 10.3 enterprise geodatabase In-Reply-To: References: Message-ID: How can I Store enterprice data as pg_geometry and manage versi?n a in Mapserver? El nov 3, 2016 2:10 PM, "Fawcett, David (MNIT)" escribi?: > We do the same thing, but on PostGIS with pg_geometry. > > > > *From:* mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] *On > Behalf Of *Michael Smith > *Sent:* Thursday, November 03, 2016 3:08 PM > *To:* Lime, Steve D (MNIT) ; Oscar ^_^ < > oscarfbh at gmail.com>; Wingfield, Nathaniel D > *Cc:* mapserver-users at lists.osgeo.org > *Subject:* Re: [mapserver-users] arcgis 10.3 enterprise geodatabase > > > > The other option, which is what we use, is to store ArcGIS 10.3 enterprise > data as SDO_GEOMETRY native. We find no performance penalties in ArcGIS and > performance benefits for non-esri software, such as mapserver. > > > > Mike > > > > -- > > Michael Smith > > Remote Sensing/GIS Center > > US Army Corps of Engineers > > > > *From: *mapserver-users on > behalf of "Lime, Steve D (MNIT)" > *Date: *Thursday, November 3, 2016 at 4:02 PM > *To: *Oscar ^_^ , "Wingfield, Nathaniel D" < > nw at dcp.ufl.edu> > *Cc: *"mapserver-users at lists.osgeo.org" > *Subject: *Re: [mapserver-users] arcgis 10.3 enterprise geodatabase > > > > If GDAL/OGR can handle the format then you?re in luck. I?d check there > first? > > > > *From:* mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org > ] *On Behalf Of *Oscar ^_^ > *Sent:* Thursday, November 03, 2016 2:51 PM > *To:* Wingfield, Nathaniel D > *Cc:* mapserver-users at lists.osgeo.org > *Subject:* Re: [mapserver-users] arcgis 10.3 enterprise geodatabase > > > > I've got the same requeriment althought i can use 10.1 or 10.2 but i don't > know how to implement these to Mapserver.... > > > > Any suggestion o guide ?? > > > > 2016-11-01 7:39 GMT-06:00 Wingfield, Nathaniel D : > > Can MapServer consume spatial data from an ArcGIS 10.3 enterprise > geodatabase? We are using the default SDE.ST_GEOMETRY type, on Oracle. The > MapServer docs indicate that any support for ESRI enterprise geodatabases > is based on ArcSDE, which was abandoned by ESRI at version 10.3, in favor > of direct connect (https://blogs.esri.com/esri/supportcenter/2015/02/11/ > where-is-the-install-for-arcsde-10-3/). > > We will likely use OpenLayers for a new web-based mapping app, so > MapServer seems like a natural choice (otherwise we will have to use ArcGIS > Server). > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > > > -- > > OSCAR > @ > ^_^ > Y > > _______________________________________________ mapserver-users mailing > list mapserver-users at lists.osgeo.org http://lists.osgeo.org/ > mailman/listinfo/mapserver-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From woodbri at swoodbridge.com Fri Nov 4 07:43:46 2016 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Fri, 4 Nov 2016 10:43:46 -0400 Subject: [mapserver-users] Can Mapserver expressions contain parens? Message-ID: <7d91f49f-94c2-97f3-6ef2-b28441373665@swoodbridge.com> I'm trying to use a style like: STYLE COLOR "#000000" WIDTH (([FEATWIDTH]+.4)*10) END but I'm getting: getSymbol(): Symbol definition error. Parsing error near (([FEATWIDTH]+.4)*10):(line 1620) MapServer version 6.4.1 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=SVGCAIRO SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WFS_SERVER SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -Steve W --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus From Steve.Lime at state.mn.us Fri Nov 4 07:57:24 2016 From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT)) Date: Fri, 4 Nov 2016 14:57:24 +0000 Subject: [mapserver-users] Can Mapserver expressions contain parens? In-Reply-To: <7d91f49f-94c2-97f3-6ef2-b28441373665@swoodbridge.com> References: <7d91f49f-94c2-97f3-6ef2-b28441373665@swoodbridge.com> Message-ID: Steve: A width value can be a double or a reference to an attribute only (an attribute binding). It can't be an expression... You'd need to do that computation elsewhere, obviously easy with a database. Steve -----Original Message----- From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Stephen Woodbridge Sent: Friday, November 04, 2016 9:44 AM To: mapserver-users Subject: [mapserver-users] Can Mapserver expressions contain parens? I'm trying to use a style like: STYLE COLOR "#000000" WIDTH (([FEATWIDTH]+.4)*10) END but I'm getting: getSymbol(): Symbol definition error. Parsing error near (([FEATWIDTH]+.4)*10):(line 1620) MapServer version 6.4.1 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=SVGCAIRO SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WFS_SERVER SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -Steve W --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From woodbri at swoodbridge.com Fri Nov 4 08:17:07 2016 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Fri, 4 Nov 2016 11:17:07 -0400 Subject: [mapserver-users] Can Mapserver expressions contain parens? In-Reply-To: <7d91f49f-94c2-97f3-6ef2-b28441373665@swoodbridge.com> References: <7d91f49f-94c2-97f3-6ef2-b28441373665@swoodbridge.com> Message-ID: <3dab99b7-a961-8da6-a629-fab210e3c098@swoodbridge.com> Ok, on an issue with parens as I reorged the expression to ([FEATWIDTH]*10+4) and still get an error: getSymbol(): Symbol definition error. Parsing error near ([FEATWIDTH]*10+4):(line 1620) So maybe expressions are not allowed on WIDTH? -Steve W On 11/4/2016 10:43 AM, Stephen Woodbridge wrote: > I'm trying to use a style like: > > STYLE > COLOR "#000000" > WIDTH (([FEATWIDTH]+.4)*10) > END > > but I'm getting: > > getSymbol(): Symbol definition error. Parsing error near > (([FEATWIDTH]+.4)*10):(line 1620) > > > MapServer version 6.4.1 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ > SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS > SUPPORTS=SVGCAIRO SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER > SUPPORTS=WFS_SERVER SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=GEOS > INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE > > -Steve W > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus From nw at dcp.ufl.edu Fri Nov 4 08:59:48 2016 From: nw at dcp.ufl.edu (Wingfield, Nathaniel D) Date: Fri, 4 Nov 2016 15:59:48 +0000 Subject: [mapserver-users] arcgis 10.3 enterprise geodatabase In-Reply-To: References: Message-ID: That's a great approach, but sadly the Oracle Spatial licensing is out of reach for us. Almost 10 years ago, I used SDO_GEOMETRY with ArcSDE but it was rather buggy on the ESRI side. I wonder if their support has improved? From: Michael Smith [mailto:michael.smith.erdc at gmail.com] Sent: Thursday, November 03, 2016 4:08 PM To: Lime, Steve D (MNIT) ; Oscar ^_^ ; Wingfield, Nathaniel D Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase The other option, which is what we use, is to store ArcGIS 10.3 enterprise data as SDO_GEOMETRY native. We find no performance penalties in ArcGIS and performance benefits for non-esri software, such as mapserver. Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers From: mapserver-users > on behalf of "Lime, Steve D (MNIT)" > Date: Thursday, November 3, 2016 at 4:02 PM To: Oscar ^_^ >, "Wingfield, Nathaniel D" > Cc: "mapserver-users at lists.osgeo.org" > Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase If GDAL/OGR can handle the format then you're in luck. I'd check there first... From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Oscar ^_^ Sent: Thursday, November 03, 2016 2:51 PM To: Wingfield, Nathaniel D > Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase I've got the same requeriment althought i can use 10.1 or 10.2 but i don't know how to implement these to Mapserver.... Any suggestion o guide ?? 2016-11-01 7:39 GMT-06:00 Wingfield, Nathaniel D >: Can MapServer consume spatial data from an ArcGIS 10.3 enterprise geodatabase? We are using the default SDE.ST_GEOMETRY type, on Oracle. The MapServer docs indicate that any support for ESRI enterprise geodatabases is based on ArcSDE, which was abandoned by ESRI at version 10.3, in favor of direct connect (https://blogs.esri.com/esri/supportcenter/2015/02/11/where-is-the-install-for-arcsde-10-3/). We will likely use OpenLayers for a new web-based mapping app, so MapServer seems like a natural choice (otherwise we will have to use ArcGIS Server). _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- OSCAR @ ^_^ Y _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at maanmittauslaitos.fi Fri Nov 4 09:09:30 2016 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Fri, 4 Nov 2016 16:09:30 +0000 Subject: [mapserver-users] arcgis 10.3 enterprise geodatabase In-Reply-To: References: , Message-ID: <8c036563b4e740f0bb11e132f58e275a@C119S212VM022.msvyvi.vaha.local> Hi, Are you sure that you would need Spatial? Locator covers nowadays most use cases. -Jukka Rahkonen- ________________________________ L?hett?j?: Wingfield, Nathaniel D L?hetetty: ?4.?11.?2016 18:00 Vastaanottaja: Michael Smith; Lime, Steve D (MNIT); Oscar ^_^ Kopio: mapserver-users at lists.osgeo.org Aihe: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase That?s a great approach, but sadly the Oracle Spatial licensing is out of reach for us. Almost 10 years ago, I used SDO_GEOMETRY with ArcSDE but it was rather buggy on the ESRI side. I wonder if their support has improved? From: Michael Smith [mailto:michael.smith.erdc at gmail.com] Sent: Thursday, November 03, 2016 4:08 PM To: Lime, Steve D (MNIT) ; Oscar ^_^ ; Wingfield, Nathaniel D Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase The other option, which is what we use, is to store ArcGIS 10.3 enterprise data as SDO_GEOMETRY native. We find no performance penalties in ArcGIS and performance benefits for non-esri software, such as mapserver. Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers From: mapserver-users > on behalf of "Lime, Steve D (MNIT)" > Date: Thursday, November 3, 2016 at 4:02 PM To: Oscar ^_^ >, "Wingfield, Nathaniel D" > Cc: "mapserver-users at lists.osgeo.org" > Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase If GDAL/OGR can handle the format then you?re in luck. I?d check there first? From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Oscar ^_^ Sent: Thursday, November 03, 2016 2:51 PM To: Wingfield, Nathaniel D > Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase I've got the same requeriment althought i can use 10.1 or 10.2 but i don't know how to implement these to Mapserver.... Any suggestion o guide ?? 2016-11-01 7:39 GMT-06:00 Wingfield, Nathaniel D >: Can MapServer consume spatial data from an ArcGIS 10.3 enterprise geodatabase? We are using the default SDE.ST_GEOMETRY type, on Oracle. The MapServer docs indicate that any support for ESRI enterprise geodatabases is based on ArcSDE, which was abandoned by ESRI at version 10.3, in favor of direct connect (https://blogs.esri.com/esri/supportcenter/2015/02/11/where-is-the-install-for-arcsde-10-3/). We will likely use OpenLayers for a new web-based mapping app, so MapServer seems like a natural choice (otherwise we will have to use ArcGIS Server). _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- OSCAR @ ^_^ Y _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.smith.erdc at gmail.com Fri Nov 4 10:08:11 2016 From: michael.smith.erdc at gmail.com (Michael Smith) Date: Fri, 04 Nov 2016 13:08:11 -0400 Subject: [mapserver-users] arcgis 10.3 enterprise geodatabase In-Reply-To: <8c036563b4e740f0bb11e132f58e275a@C119S212VM022.msvyvi.vaha.local> References: <8c036563b4e740f0bb11e132f58e275a@C119S212VM022.msvyvi.vaha.local> Message-ID: MapServer does not use any oracle spatial calls, just locator. There is no extra cost need to use mapserver with Oracle SDO_GEOMETRY data. Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers From: "Rahkonen Jukka (MML)" Date: Friday, November 4, 2016 at 12:09 PM To: "Wingfield, Nathaniel D" , Michael Smith , "Lime, Steve D (MNIT)" , Oscar ^_^ Cc: "mapserver-users at lists.osgeo.org" Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase > Hi, > > Are you sure that you would need Spatial? Locator covers nowadays most use > cases. > > -Jukka Rahkonen- > > L?hett?j?: Wingfield, Nathaniel D > L?hetetty: 4.11.2016 18:00 > Vastaanottaja: Michael Smith ; Lime, > Steve D (MNIT) ; Oscar ^_^ > > Kopio: mapserver-users at lists.osgeo.org > Aihe: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase > > That?s a great approach, but sadly the Oracle Spatial licensing is out of > reach for us. > > Almost 10 years ago, I used SDO_GEOMETRY with ArcSDE but it was rather buggy > on the ESRI side. I wonder if their support has improved? > > > From: Michael Smith [mailto:michael.smith.erdc at gmail.com] > Sent: Thursday, November 03, 2016 4:08 PM > To: Lime, Steve D (MNIT) ; Oscar ^_^ > ; Wingfield, Nathaniel D > Cc: mapserver-users at lists.osgeo.org > Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase > > > The other option, which is what we use, is to store ArcGIS 10.3 enterprise > data as SDO_GEOMETRY native. We find no performance penalties in ArcGIS and > performance benefits for non-esri software, such as mapserver. > > > > Mike > > > > -- > > Michael Smith > > Remote Sensing/GIS Center > > US Army Corps of Engineers > > > > From: mapserver-users > on behalf of "Lime, Steve D > (MNIT)" > > Date: Thursday, November 3, 2016 at 4:02 PM > To: Oscar ^_^ >, "Wingfield, > Nathaniel D" > > Cc: "mapserver-users at lists.osgeo.org > " > > Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase > > >> >> If GDAL/OGR can handle the format then you?re in luck. I?d check there first? >> >> From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org >> ] On Behalf Of Oscar ^_^ >> Sent: Thursday, November 03, 2016 2:51 PM >> To: Wingfield, Nathaniel D > >> Cc: mapserver-users at lists.osgeo.org >> Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase >> >> >> I've got the same requeriment althought i can use 10.1 or 10.2 but i don't >> know how to implement these to Mapserver.... >> >> >> >> Any suggestion o guide ?? >> >> >> >> 2016-11-01 7:39 GMT-06:00 Wingfield, Nathaniel D : >>> Can MapServer consume spatial data from an ArcGIS 10.3 enterprise >>> geodatabase? We are using the default SDE.ST_GEOMETRY type, on Oracle. The >>> MapServer docs indicate that any support for ESRI enterprise geodatabases is >>> based on ArcSDE, which was abandoned by ESRI at version 10.3, in favor of >>> direct connect >>> (https://blogs.esri.com/esri/supportcenter/2015/02/11/where-is-the-install-f >>> or-arcsde-10-3/). >>> >>> We will likely use OpenLayers for a new web-based mapping app, so MapServer >>> seems like a natural choice (otherwise we will have to use ArcGIS Server). >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> >> >> -- >> >> OSCAR >> @ >> ^_^ >> Y >> _______________________________________________ mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From nw at dcp.ufl.edu Fri Nov 4 10:38:27 2016 From: nw at dcp.ufl.edu (Wingfield, Nathaniel D) Date: Fri, 4 Nov 2016 17:38:27 +0000 Subject: [mapserver-users] arcgis 10.3 enterprise geodatabase In-Reply-To: References: <8c036563b4e740f0bb11e132f58e275a@C119S212VM022.msvyvi.vaha.local> Message-ID: That's good to know. I really enjoyed using SDO_GEOMETRY in the past. I will take a closer look to see if we can do everything we need to do with Locator. I'll also jump over to the GDAL list for confirmation about the enterprise geodatabase. From: Michael Smith [mailto:michael.smith.erdc at gmail.com] Sent: Friday, November 04, 2016 1:08 PM To: Rahkonen Jukka (MML) ; Wingfield, Nathaniel D ; Lime, Steve D (MNIT) ; Oscar ^_^ Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase MapServer does not use any oracle spatial calls, just locator. There is no extra cost need to use mapserver with Oracle SDO_GEOMETRY data. Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers From: "Rahkonen Jukka (MML)" > Date: Friday, November 4, 2016 at 12:09 PM To: "Wingfield, Nathaniel D" >, Michael Smith >, "Lime, Steve D (MNIT)" >, Oscar ^_^ > Cc: "mapserver-users at lists.osgeo.org" > Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase Hi, Are you sure that you would need Spatial? Locator covers nowadays most use cases. -Jukka Rahkonen- ________________________________ L?hett?j?: Wingfield, Nathaniel D L?hetetty: 4.11.2016 18:00 Vastaanottaja: Michael Smith; Lime, Steve D (MNIT); Oscar ^_^ Kopio: mapserver-users at lists.osgeo.org Aihe: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase That's a great approach, but sadly the Oracle Spatial licensing is out of reach for us. Almost 10 years ago, I used SDO_GEOMETRY with ArcSDE but it was rather buggy on the ESRI side. I wonder if their support has improved? From: Michael Smith [mailto:michael.smith.erdc at gmail.com] Sent: Thursday, November 03, 2016 4:08 PM To: Lime, Steve D (MNIT) >; Oscar ^_^ >; Wingfield, Nathaniel D > Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase The other option, which is what we use, is to store ArcGIS 10.3 enterprise data as SDO_GEOMETRY native. We find no performance penalties in ArcGIS and performance benefits for non-esri software, such as mapserver. Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers From: mapserver-users > on behalf of "Lime, Steve D (MNIT)" > Date: Thursday, November 3, 2016 at 4:02 PM To: Oscar ^_^ >, "Wingfield, Nathaniel D" > Cc: "mapserver-users at lists.osgeo.org" > Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase If GDAL/OGR can handle the format then you're in luck. I'd check there first... From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Oscar ^_^ Sent: Thursday, November 03, 2016 2:51 PM To: Wingfield, Nathaniel D > Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase I've got the same requeriment althought i can use 10.1 or 10.2 but i don't know how to implement these to Mapserver.... Any suggestion o guide ?? 2016-11-01 7:39 GMT-06:00 Wingfield, Nathaniel D >: Can MapServer consume spatial data from an ArcGIS 10.3 enterprise geodatabase? We are using the default SDE.ST_GEOMETRY type, on Oracle. The MapServer docs indicate that any support for ESRI enterprise geodatabases is based on ArcSDE, which was abandoned by ESRI at version 10.3, in favor of direct connect (https://blogs.esri.com/esri/supportcenter/2015/02/11/where-is-the-install-for-arcsde-10-3/). We will likely use OpenLayers for a new web-based mapping app, so MapServer seems like a natural choice (otherwise we will have to use ArcGIS Server). _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- OSCAR @ ^_^ Y _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From lars.schylberg at blixtmail.se Fri Nov 4 12:20:16 2016 From: lars.schylberg at blixtmail.se (lars.schylberg at blixtmail.se) Date: Fri, 04 Nov 2016 20:20:16 +0100 Subject: [mapserver-users] Can Mapserver expressions contain parens? Message-ID: <3a1f949fe44f9932745d57abe456ddc9@blixtmail.se> In this case I would do the computation in a OGR SQL request to create a new variable. The SQL computation could also be done in a VRT. Lars S.-----Originalmeddelande----- > Fr?n: "Stephen Woodbridge" > Till: mapserver-users at lists.osgeo.org > Datum: 2016-11-04 16:17 > ?mne: Re: [mapserver-users] Can Mapserver expressions contain parens? > > Ok, on an issue with parens as I reorged the expression to > ([FEATWIDTH]*10+4) and still get an error: > > getSymbol(): Symbol definition error. Parsing error near > ([FEATWIDTH]*10+4):(line 1620) > > So maybe expressions are not allowed on WIDTH? > > -Steve W > > On 11/4/2016 10:43 AM, Stephen Woodbridge wrote: > > I'm trying to use a style like: > > > > ? ? ? STYLE > > ? ? ? ? COLOR "#000000" > > ? ? ? ? WIDTH (([FEATWIDTH]+.4)*10) > > ? ? ? END > > > > but I'm getting: > > > > getSymbol(): Symbol definition error. Parsing error near > > (([FEATWIDTH]+.4)*10):(line 1620) > > > > > > MapServer version 6.4.1 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ > > SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS > > SUPPORTS=SVGCAIRO SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER > > SUPPORTS=WFS_SERVER SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=GEOS > > INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE > > > > -Steve W -------------- next part -------------- An HTML attachment was scrubbed... URL: From trondmm-mapserver+2017 at crusaders.no Fri Nov 4 16:17:23 2016 From: trondmm-mapserver+2017 at crusaders.no (Trond Michelsen) Date: Sat, 5 Nov 2016 00:17:23 +0100 Subject: [mapserver-users] Best way to load image as a layer in mapscript Message-ID: <20161104231723.GD2506@crusaders.no> Hi. I'm using mapscript (perl), and I want to add an image as a layer. The image will be prepared to have the exact extent and projection as the request. At the moment, I'm basically creating a raster layerObj, setting the data, projection and the extent, like this: $layer->{data} = $tmpfile->filename; $layer->setProjection($map->getProjection()); $layer->setExtent(@bbox); but I'm wondering if there are better ways to do it. In particular, I'm wondering if I can avoid writing the image to disk and reading it back. BTW: This is not a static image. It's a proper geographical layer, being generated based on the wms query. Today, it's wrapped in a wms server, and Mapserver fetches the layers through a WMS request. I hope to improve performance and reduce complexity, by moving this processing to this new program. -- Trond Michelsen From woodbri at swoodbridge.com Fri Nov 4 17:17:32 2016 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Fri, 4 Nov 2016 20:17:32 -0400 Subject: [mapserver-users] Can Mapserver expressions contain parens? In-Reply-To: <3a1f949fe44f9932745d57abe456ddc9@blixtmail.se> References: <3a1f949fe44f9932745d57abe456ddc9@blixtmail.se> Message-ID: Thanks Lars, I ended up loading the files into postgis and adding new columns and populating them then extracting back to a shapefile. I probably could have done the same with ogr2ogr. It just seems like we have basic expressions in mapserver and I had forgotten that some tags only take [ATTRIBUTE] and not a full expression. Cheers, -Steve W On 11/4/2016 3:20 PM, lars.schylberg at blixtmail.se wrote: > In this case I would do the computation in a OGR SQL request to create a > new variable. > The SQL computation could also be done in a VRT. > > Lars S. > -----Originalmeddelande----- >> Fr?n: "Stephen Woodbridge" > >> Till: mapserver-users at lists.osgeo.org > >> Datum: 2016-11-04 16:17 >> ?mne: Re: [mapserver-users] Can Mapserver expressions contain parens? >> >> Ok, on an issue with parens as I reorged the expression to >> ([FEATWIDTH]*10+4) and still get an error: >> >> getSymbol(): Symbol definition error. Parsing error near >> ([FEATWIDTH]*10+4):(line 1620) >> >> So maybe expressions are not allowed on WIDTH? >> >> -Steve W >> >> On 11/4/2016 10:43 AM, Stephen Woodbridge wrote: >> > I'm trying to use a style like: >> > >> > STYLE >> > COLOR "#000000" >> > WIDTH (([FEATWIDTH]+.4)*10) >> > END >> > >> > but I'm getting: >> > >> > getSymbol(): Symbol definition error. Parsing error near >> > (([FEATWIDTH]+.4)*10):(line 1620) >> > >> > >> > MapServer version 6.4.1 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ >> > SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS >> > SUPPORTS=SVGCAIRO SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER >> > SUPPORTS=WFS_SERVER SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=GEOS >> > INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE >> > >> > -Steve W --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus From woodbri at swoodbridge.com Sun Nov 6 13:46:36 2016 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Sun, 6 Nov 2016 16:46:36 -0500 Subject: [mapserver-users] Can Mapserver expressions contain parens? In-Reply-To: References: <7d91f49f-94c2-97f3-6ef2-b28441373665@swoodbridge.com> Message-ID: <5df1bef2-c424-8b2f-a643-2a8f901fa6ef@swoodbridge.com> Thanks Steve for confirming this. I'm wondering why we don't support both attribute binding and expressions. It seems like a logical thing to support. Here is the map I was working on: http://imaptools.com:8080/demo/australia.html If you zoom in to the 1:250,000 there is detailed topographic map which has about 90 layers in it. The use case for expressions in the bindings is that getting the symbol scaling and styling to look good takes some playing around with the data. Since I was working with shapefiles, every time I needed to change something I loaded the file mucked with it and exported it. I suppose that I could have loaded all the data into postgis first and worked out the rendering issues from postgis but I like working with shapefiles. The way I typically work is to get the styling working the way I want it to be then work to optimize if for performance. For example the above mapfile has 3522 lines and 750 lines in the symbols.txt, and only really has the styling correct for 1:250,000 in spite of the fact that it starts rendering the topo maps at 1:2M and you can see that it it too crowded at that level and the symbol sizes and density need to be thinned out as you zoom out from 1:250K, which will eventually double or triple the mapfile size. Anyway, this is based on nice data from the Australian government. Once I have my geocoder working the address bar will work also. -Steve W On 11/4/2016 10:57 AM, Lime, Steve D (MNIT) wrote: > Steve: A width value can be a double or a reference to an attribute > only (an attribute binding). It can't be an expression... You'd need > to do that computation elsewhere, obviously easy with a database. > > Steve > > -----Original Message----- From: mapserver-users > [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Stephen > Woodbridge Sent: Friday, November 04, 2016 9:44 AM To: > mapserver-users Subject: > [mapserver-users] Can Mapserver expressions contain parens? > > I'm trying to use a style like: > > STYLE COLOR "#000000" WIDTH (([FEATWIDTH]+.4)*10) END > > but I'm getting: > > getSymbol(): Symbol definition error. Parsing error near > (([FEATWIDTH]+.4)*10):(line 1620) > > > MapServer version 6.4.1 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ > SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS > SUPPORTS=SVGCAIRO SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER > SUPPORTS=WFS_SERVER SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI > SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL > INPUT=SHAPEFILE > > -Steve W > > --- This email has been checked for viruses by Avast antivirus > software. https://www.avast.com/antivirus > > _______________________________________________ mapserver-users > mailing list mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus From ahmettemiz88 at gmail.com Mon Nov 7 00:00:19 2016 From: ahmettemiz88 at gmail.com (Ahmet Temiz) Date: Mon, 7 Nov 2016 11:00:19 +0300 Subject: [mapserver-users] couldn't adapt this postgis query Message-ID: hello I couldn't adapt this postgis query to mapserver. Nothing is displayed. it gives normally output as point data in console and displayed in JUMP. What am I doing wrong? NAME 'faultBufferRoad' TYPE POINT #DUMP true TEMPLATE fooOnlyForWMSGetFeatureInfo EXTENT 2858992.767241 4274930.071479 4987500.356728 5175507.464287 CONNECTIONTYPE POSTGIS CONNECTION "host=localhost port=5432 dbname=tr3 user=orkun password=222222" DATA " geom from ( SELECT road.gid as gid , road.tipi as tipi, ST_Transform(ST_LineInterpolatePoint(road.the_geom::geometry,0.5),3857) as geom FROM road4analyse_geog as road INNER JOIN fault4analyse_geog AS fault ON ST_DWithin(road.the_geom, fault.the_geom, 100,false ) AND ( fault.the_geom IS NOT NULL or road.the_geom IS NOT NULL ) ) as foo using unique gid using srid=3857 " PROCESSING "CLOSE_CONNECTION=DEFER" METADATA 'ows_title' 'faultBufferRoad' END STATUS OFF #TRANSPARENCY ALPHA OPACITY 90 PROJECTION "init=epsg:3857" END #SYMBOLSCALEDENOM 100000 CLASSITEM 'tipi' CLASS NAME "Class1" STYLE #SYMBOL "circle" SIZE 50 COLOR 0 0 200 END END END # LAYER regards -- Ahmet Temiz Jeoloji M?h. Afet ve Acil Durum Y?netimi Ba?kanl??? Bilgi ??lem Dairesi Ba?kanl???-CBS Grubu ________________________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency -------------- next part -------------- An HTML attachment was scrubbed... URL: From joerg.thomsen at wheregroup.com Mon Nov 7 00:23:13 2016 From: joerg.thomsen at wheregroup.com (=?UTF-8?Q?J=c3=b6rg_Thomsen_=28WhereGroup=29?=) Date: Mon, 7 Nov 2016 09:23:13 +0100 Subject: [mapserver-users] couldn't adapt this postgis query In-Reply-To: References: Message-ID: <61fcf877-0893-e289-aa87-f6c8f20cf41a@wheregroup.com> Hello, how do you call the the layer? in most cases this is a problem caused by the extend. Please check whether it's correct or remove it temporarily, so ms will process it itself. Another problem might be the 'status off' item. Regard, J?rg Am 07.11.2016 um 09:00 schrieb Ahmet Temiz: > hello > > I couldn't adapt this postgis query to mapserver. Nothing is displayed. > it gives normally output as point data in console and displayed in JUMP. > > What am I doing wrong? > > NAME 'faultBufferRoad' > TYPE POINT > #DUMP true > TEMPLATE fooOnlyForWMSGetFeatureInfo > > EXTENT 2858992.767241 4274930.071479 4987500.356728 5175507.464287 > > CONNECTIONTYPE POSTGIS > CONNECTION "host=localhost port=5432 dbname=tr3 user=orkun > password=222222" > > DATA " geom from ( SELECT road.gid as gid , road.tipi as tipi, > ST_Transform(ST_LineInterpolatePoint(road.the_geom::geometry,0.5),3857) > as geom FROM road4analyse_geog as road INNER JOIN fault4analyse_geog AS > fault ON ST_DWithin(road.the_geom, fault.the_geom, 100,false ) AND ( > fault.the_geom IS NOT NULL or road.the_geom IS NOT NULL ) ) as foo > using unique gid using srid=3857 " > > PROCESSING "CLOSE_CONNECTION=DEFER" > > METADATA > 'ows_title' 'faultBufferRoad' > END > STATUS OFF > #TRANSPARENCY ALPHA > OPACITY 90 > > PROJECTION > "init=epsg:3857" > END > #SYMBOLSCALEDENOM 100000 > > CLASSITEM 'tipi' > > CLASS > NAME "Class1" > STYLE > #SYMBOL "circle" > SIZE 50 > COLOR 0 0 200 > END > END > > END # LAYER > > regards > > > -- > Ahmet Temiz > Jeoloji M?h. > Afet ve Acil Durum Y?netimi Ba?kanl??? > Bilgi ??lem Dairesi Ba?kanl???-CBS Grubu > > > ________________________ > > Ahmet Temiz > Geological Eng. > Information Systems - GIS Group > Disaster and Emergency Management > of Presidency > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > Viele Gr??e, J?rg Thomsen -- ******************************************** Where2B Konferenz 2016 15. Dezember 2016 in Bonn www.where2b-conference.com ******************************************** ------------------------------- J?rg Thomsen WhereGroup GmbH & Co. KG Gillweg 3 14193 Berlin Germany Fon: +49 (0)30 / 5130 278 74 Fax: +49 (0)30 / 89 09 53 11 joerg.thomsen at wheregroup.com www.wheregroup.com Amtsgericht Bonn, HRA 6788 ------------------------------- Komplement?rin: WhereGroup Verwaltungs GmbH vertreten durch: Olaf Knopp, Peter Stamm ------------------------------- Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com From jukka.rahkonen at maanmittauslaitos.fi Mon Nov 7 00:27:36 2016 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Mon, 7 Nov 2016 08:27:36 +0000 Subject: [mapserver-users] couldn't adapt this postgis query Message-ID: Hi, Your query may work but because it is returning a point and you have commented out your symbol it won?t show on the map. There may be some other problem as well, but you must have SYMBOL because Mapserver does not have any default style for points (stupid feature in Mapserver for my mind). -Jukka Rahkonen- Ahmet Temiz wrote: [mapserver-users] couldn't adapt this postgis query >hello >I couldn't adapt this postgis query to mapserver. Nothing is displayed. it gives normally output as point data in console and displayed in JUMP. What am I doing wrong? NAME 'faultBufferRoad' TYPE POINT #DUMP true TEMPLATE fooOnlyForWMSGetFeatureInfo EXTENT 2858992.767241 4274930.071479 4987500.356728 5175507.464287 CONNECTIONTYPE POSTGIS CONNECTION "host=localhost port=5432 dbname=tr3 user=orkun password=222222" DATA " geom from ( SELECT road.gid as gid , road.tipi as tipi, ST_Transform(ST_LineInterpolatePoint(road.the_geom::geometry,0.5),3857) as geom FROM road4analyse_geog as road INNER JOIN fault4analyse_geog AS fault ON ST_DWithin(road.the_geom, fault.the_geom, 100,false ) AND ( fault.the_geom IS NOT NULL or road.the_geom IS NOT NULL ) ) as foo using unique gid using srid=3857 " PROCESSING "CLOSE_CONNECTION=DEFER" METADATA 'ows_title' 'faultBufferRoad' END STATUS OFF #TRANSPARENCY ALPHA OPACITY 90 PROJECTION "init=epsg:3857" END #SYMBOLSCALEDENOM 100000 CLASSITEM 'tipi' CLASS NAME "Class1" STYLE #SYMBOL "circle" SIZE 50 COLOR 0 0 200 END END END # LAYER regards -- Ahmet Temiz Jeoloji M?h. Afet ve Acil Durum Y?netimi Ba?kanl??? Bilgi ??lem Dairesi Ba?kanl???-CBS Grubu ________________________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency -------------- next part -------------- An HTML attachment was scrubbed... URL: From janne.tuovinen at menturagroup.com Mon Nov 7 04:35:46 2016 From: janne.tuovinen at menturagroup.com (Janne Tuovinen) Date: Mon, 7 Nov 2016 14:35:46 +0200 Subject: [mapserver-users] A problem with the Run-time substitution Message-ID: <264e9653-19e8-c655-5811-4d30eaf224ec@menturagroup.com> Hi, I have a problem when I'm trying to pass a url-parameter to Postgis query's NATIVE_FILTER in my map file. My layer looks something like this: LAYER ... VALIDATION 'param' '.+' END ... DATA "shape from table" PROCESSING "NATIVE_FILTER=param in %param%" END # LAYER Here is some examples what I get when I try to pass some values: ...¶m=1000 = > (param in (1000)) ...¶m='1000' = > (param in (%param%)) What I like to have is: (param in ('1000')) Is there a way to this with the MapServer 7.0? Thank you, Janne From Robert.Burgholzer at deq.virginia.gov Mon Nov 7 05:33:13 2016 From: Robert.Burgholzer at deq.virginia.gov (Burgholzer, Robert (DEQ)) Date: Mon, 7 Nov 2016 13:33:13 +0000 Subject: [mapserver-users] A problem with the Run-time substitution In-Reply-To: <264e9653-19e8-c655-5811-4d30eaf224ec@menturagroup.com> References: <264e9653-19e8-c655-5811-4d30eaf224ec@menturagroup.com> Message-ID: <77F5F8FA4B407F43BFCFD3FC347896911409B05E@COVMSGCES-MBX01> I believe that what you want is this: PROCESSING "NATIVE_FILTER=param in '%param%' " I have not used the processing directive, so can not be sure, but the above syntax would work in a QUERY. -----Original Message----- From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Janne Tuovinen Sent: Monday, November 07, 2016 7:36 AM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] A problem with the Run-time substitution Hi, I have a problem when I'm trying to pass a url-parameter to Postgis query's NATIVE_FILTER in my map file. My layer looks something like this: LAYER ... VALIDATION 'param' '.+' END ... DATA "shape from table" PROCESSING "NATIVE_FILTER=param in %param%" END # LAYER Here is some examples what I get when I try to pass some values: ...¶m=1000 = > (param in (1000)) ...¶m='1000' = > (param in (%param%)) What I like to have is: (param in ('1000')) Is there a way to this with the MapServer 7.0? Thank you, Janne _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From janne.tuovinen at menturagroup.com Mon Nov 7 06:07:51 2016 From: janne.tuovinen at menturagroup.com (Janne Tuovinen) Date: Mon, 7 Nov 2016 16:07:51 +0200 Subject: [mapserver-users] A problem with the Run-time substitution In-Reply-To: <77F5F8FA4B407F43BFCFD3FC347896911409B05E@COVMSGCES-MBX01> References: <264e9653-19e8-c655-5811-4d30eaf224ec@menturagroup.com> <77F5F8FA4B407F43BFCFD3FC347896911409B05E@COVMSGCES-MBX01> Message-ID: <7e47cf80-4382-e766-ef91-805f2412a3bd@menturagroup.com> Thank you, but this doesn't work for me. The problem is that I want to pass a string value to my database, but the MapServer doesn't allow that and always passes the parameters value as an integer. -Janne 11/7/2016, 3:33 PM, Burgholzer, Robert (DEQ) wrote: > I believe that what you want is this: > > PROCESSING "NATIVE_FILTER=param in '%param%' " > > I have not used the processing directive, so can not be sure, but the above syntax would work in a QUERY. > > > -----Original Message----- > From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Janne Tuovinen > Sent: Monday, November 07, 2016 7:36 AM > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] A problem with the Run-time substitution > > Hi, > > I have a problem when I'm trying to pass a url-parameter to Postgis query's NATIVE_FILTER in my map file. > > My layer looks something like this: > > LAYER > ... > VALIDATION > 'param' '.+' > END > ... > DATA "shape from table" > PROCESSING "NATIVE_FILTER=param in %param%" > > END # LAYER > > Here is some examples what I get when I try to pass some values: > > ...¶m=1000 = > (param in (1000)) > ...¶m='1000' = > (param in (%param%)) > > What I like to have is: (param in ('1000')) > > Is there a way to this with the MapServer 7.0? > > Thank you, > Janne > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From David.Fawcett at state.mn.us Mon Nov 7 06:10:03 2016 From: David.Fawcett at state.mn.us (Fawcett, David (MNIT)) Date: Mon, 7 Nov 2016 14:10:03 +0000 Subject: [mapserver-users] arcgis 10.3 enterprise geodatabase In-Reply-To: References: Message-ID: When you create your ?feature class? / table in the database using ESRI tools, you use the config option PG_GEOMETRY. This uses PostGIS?s geometry type instead of ESRI?s. With this setup, you can read and edit the data with ESRI products, and you can also access the features with straight PostGIS queries. You can then just create a Mapserver layer with connectiontype of POSTGIS and point it at your database table. http://www.mapserver.org/input/vector/postgis.html From: Oscar ^_^ [mailto:oscarfbh at gmail.com] Sent: Friday, November 04, 2016 8:18 AM To: Fawcett, David (MNIT) Cc: Michael Smith ; Lime, Steve D (MNIT) ; mapserver-users at lists.osgeo.org; Wingfield, Nathaniel D Subject: RE: [mapserver-users] arcgis 10.3 enterprise geodatabase How can I Store enterprice data as pg_geometry and manage versi?n a in Mapserver? El nov 3, 2016 2:10 PM, "Fawcett, David (MNIT)" > escribi?: We do the same thing, but on PostGIS with pg_geometry. From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Michael Smith Sent: Thursday, November 03, 2016 3:08 PM To: Lime, Steve D (MNIT) >; Oscar ^_^ >; Wingfield, Nathaniel D > Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase The other option, which is what we use, is to store ArcGIS 10.3 enterprise data as SDO_GEOMETRY native. We find no performance penalties in ArcGIS and performance benefits for non-esri software, such as mapserver. Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers From: mapserver-users > on behalf of "Lime, Steve D (MNIT)" > Date: Thursday, November 3, 2016 at 4:02 PM To: Oscar ^_^ >, "Wingfield, Nathaniel D" > Cc: "mapserver-users at lists.osgeo.org" > Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase If GDAL/OGR can handle the format then you?re in luck. I?d check there first? From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Oscar ^_^ Sent: Thursday, November 03, 2016 2:51 PM To: Wingfield, Nathaniel D > Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] arcgis 10.3 enterprise geodatabase I've got the same requeriment althought i can use 10.1 or 10.2 but i don't know how to implement these to Mapserver.... Any suggestion o guide ?? 2016-11-01 7:39 GMT-06:00 Wingfield, Nathaniel D >: Can MapServer consume spatial data from an ArcGIS 10.3 enterprise geodatabase? We are using the default SDE.ST_GEOMETRY type, on Oracle. The MapServer docs indicate that any support for ESRI enterprise geodatabases is based on ArcSDE, which was abandoned by ESRI at version 10.3, in favor of direct connect (https://blogs.esri.com/esri/supportcenter/2015/02/11/where-is-the-install-for-arcsde-10-3/). We will likely use OpenLayers for a new web-based mapping app, so MapServer seems like a natural choice (otherwise we will have to use ArcGIS Server). _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- OSCAR @ ^_^ Y _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at maanmittauslaitos.fi Mon Nov 7 06:11:57 2016 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Mon, 7 Nov 2016 14:11:57 +0000 Subject: [mapserver-users] A problem with the Run-time substitution Message-ID: <95310b3e96fc45269b73e56fe471a082@C119S212VM022.msvyvi.vaha.local> Hi, It should work like this, if it doesn't then we probably have a bug PROCESSING "NATIVE_FILTER=ct in ('%param%')" See also http://gis.stackexchange.com/questions/214899/in-operator-in-filter-in-my-mapfile/214921#214921 -Jukka Rahkonen- Janne Tuovinen wrote: Re: [mapserver-users] A problem with the Run-time substitution > Thank you, but this doesn't work for me. The problem is that I want to pass a string value to my database, > but the MapServer doesn't allow that and always passes the parameters value as an integer. > -Janne 11/7/2016, 3:33 PM, Burgholzer, Robert (DEQ) wrote: > I believe that what you want is this: > > PROCESSING "NATIVE_FILTER=param in '%param%' " > > I have not used the processing directive, so can not be sure, but the above syntax would work in a QUERY. > > > -----Original Message----- > From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] > On Behalf Of Janne Tuovinen > Sent: Monday, November 07, 2016 7:36 AM > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] A problem with the Run-time substitution > > Hi, > > I have a problem when I'm trying to pass a url-parameter to Postgis query's NATIVE_FILTER in my map file. > > My layer looks something like this: > > LAYER > ... > VALIDATION > 'param' '.+' > END > ... > DATA "shape from table" > PROCESSING "NATIVE_FILTER=param in %param%" > > END # LAYER > > Here is some examples what I get when I try to pass some values: > > ...¶m=1000 = > (param in (1000)) > ...¶m='1000' = > (param in (%param%)) > > What I like to have is: (param in ('1000')) > > Is there a way to this with the MapServer 7.0? > > Thank you, > Janne > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From Robert.Burgholzer at deq.virginia.gov Mon Nov 7 06:18:19 2016 From: Robert.Burgholzer at deq.virginia.gov (Burgholzer, Robert (DEQ)) Date: Mon, 7 Nov 2016 14:18:19 +0000 Subject: [mapserver-users] A problem with the Run-time substitution In-Reply-To: <7e47cf80-4382-e766-ef91-805f2412a3bd@menturagroup.com> References: <264e9653-19e8-c655-5811-4d30eaf224ec@menturagroup.com> <77F5F8FA4B407F43BFCFD3FC347896911409B05E@COVMSGCES-MBX01> <7e47cf80-4382-e766-ef91-805f2412a3bd@menturagroup.com> Message-ID: <77F5F8FA4B407F43BFCFD3FC347896911409B080@COVMSGCES-MBX01> By includiong the single quotes in the PROCESING directive, doesn't that make your input evaluated as a string? You example suggests that mapserver considers single quotes around the input to be bad and rejects it - but by putting single quotes in PROCESSING it should avoid that. What does the expression look like when you tried to syntax I suggested? -----Original Message----- From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Janne Tuovinen Sent: Monday, November 07, 2016 9:08 AM To: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] A problem with the Run-time substitution Thank you, but this doesn't work for me. The problem is that I want to pass a string value to my database, but the MapServer doesn't allow that and always passes the parameters value as an integer. -Janne 11/7/2016, 3:33 PM, Burgholzer, Robert (DEQ) wrote: > I believe that what you want is this: > > PROCESSING "NATIVE_FILTER=param in '%param%' " > > I have not used the processing directive, so can not be sure, but the above syntax would work in a QUERY. > > > -----Original Message----- > From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] > On Behalf Of Janne Tuovinen > Sent: Monday, November 07, 2016 7:36 AM > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] A problem with the Run-time substitution > > Hi, > > I have a problem when I'm trying to pass a url-parameter to Postgis query's NATIVE_FILTER in my map file. > > My layer looks something like this: > > LAYER > ... > VALIDATION > 'param' '.+' > END > ... > DATA "shape from table" > PROCESSING "NATIVE_FILTER=param in %param%" > > END # LAYER > > Here is some examples what I get when I try to pass some values: > > ...¶m=1000 = > (param in (1000)) > ...¶m='1000' = > (param in (%param%)) > > What I like to have is: (param in ('1000')) > > Is there a way to this with the MapServer 7.0? > > Thank you, > Janne > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From jukka.rahkonen at maanmittauslaitos.fi Mon Nov 7 06:32:05 2016 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Mon, 7 Nov 2016 14:32:05 +0000 Subject: [mapserver-users] A problem with the Run-time substitution Message-ID: <59041639f5964b62832a410caa511909@C119S212VM022.msvyvi.vaha.local> Hi, Your SQL was missing the parenthesis, which I suppose to be mandatory with IN http://www.1keydata.com/sql/sqlin.html -Jukka Rahkonen- -----Alkuper?inen viesti----- L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Burgholzer, Robert (DEQ) L?hetetty: 7. marraskuuta 2016 16:18 Vastaanottaja: mapserver-users at lists.osgeo.org Aihe: Re: [mapserver-users] A problem with the Run-time substitution By includiong the single quotes in the PROCESING directive, doesn't that make your input evaluated as a string? You example suggests that mapserver considers single quotes around the input to be bad and rejects it - but by putting single quotes in PROCESSING it should avoid that. What does the expression look like when you tried to syntax I suggested? -----Original Message----- From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Janne Tuovinen Sent: Monday, November 07, 2016 9:08 AM To: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] A problem with the Run-time substitution Thank you, but this doesn't work for me. The problem is that I want to pass a string value to my database, but the MapServer doesn't allow that and always passes the parameters value as an integer. -Janne 11/7/2016, 3:33 PM, Burgholzer, Robert (DEQ) wrote: > I believe that what you want is this: > > PROCESSING "NATIVE_FILTER=param in '%param%' " > > I have not used the processing directive, so can not be sure, but the above syntax would work in a QUERY. > > > -----Original Message----- > From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] > On Behalf Of Janne Tuovinen > Sent: Monday, November 07, 2016 7:36 AM > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] A problem with the Run-time substitution > > Hi, > > I have a problem when I'm trying to pass a url-parameter to Postgis query's NATIVE_FILTER in my map file. > > My layer looks something like this: > > LAYER > ... > VALIDATION > 'param' '.+' > END > ... > DATA "shape from table" > PROCESSING "NATIVE_FILTER=param in %param%" > > END # LAYER > > Here is some examples what I get when I try to pass some values: > > ...¶m=1000 = > (param in (1000)) > ...¶m='1000' = > (param in (%param%)) > > What I like to have is: (param in ('1000')) > > Is there a way to this with the MapServer 7.0? > > Thank you, > Janne > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From Steve.Lime at state.mn.us Mon Nov 7 15:12:06 2016 From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT)) Date: Mon, 7 Nov 2016 23:12:06 +0000 Subject: [mapserver-users] [mapserver-dev] MapServer tutorial - symbology In-Reply-To: <1dadf1edcee24f249e45393c5b35c6b3@C119S212VM022.msvyvi.vaha.local> References: <1dadf1edcee24f249e45393c5b35c6b3@C119S212VM022.msvyvi.vaha.local> Message-ID: It's by no means a bad idea - I've thought that a standard set of named colors could also make sense (e.g. COLOR RED). At least for symbols they could be implemented (I think) as a constant hash where the key is the symbol name and the value is a mapfile snippet (e.g. "SYMBOL NAME 'circle' POINTS 1 1 END FILLED TRUE END"). When a mapfile is loaded that hash could be used to load symbols or I suppose they could be only loaded if referenced. Might warrant a little RFC. Steve ________________________________ From: mapserver-dev [mapserver-dev-bounces at lists.osgeo.org] on behalf of Rahkonen Jukka (MML) [jukka.rahkonen at maanmittauslaitos.fi] Sent: Tuesday, October 25, 2016 5:55 AM To: geographika at gmail.com; mapserver-dev at lists.osgeo.org Cc: Mapserver-Users (mapserver-users at lists.osgeo.org) Subject: Re: [mapserver-dev] MapServer tutorial - symbology Hi, I think that this kind of discussion belongs to mapserver-users (cc:ed). I hope that developers read also the users mailing list, and users may have more to say about what they consider hard with styles. Also, Mapserver users learn from reading mails like this, and that there are mails on the list at all proves that the project is not dead. Developers can discuss on the dev list or in GitHub about how to implement the ?size by expression? with C++ and so on. One thing that always feels odd to me is that why we do not have any default style for points but we must especially define some symbol in the mapfile. I have been thinking that perhaps we could have internal, hard coded symbols at least for these 6 which are defined in the SLD standard: ?The WellKnownName element gives the well-known name of the shape of the mark. Allowed values include at least ?square?, ?circle?, ?triangle?, ?star?, ?cross?, and ?x?, though map servers may draw a different symbol instead if they don't have a shape for all of these. The default WellKnownName is ?square?. Renderings of these marks may be made solid or hollow depending on Fill and Stroke elements. These elements are discussed in Subclauses 11.2.2 and 11.1.3, respectively.? If user gives no symbol in the mapfile for points it would mean ?square?. If symbol with the same name than WellKnownName is defined in mapfile or in symbolset it would override the standard symbol. If there is a special need for non-visible points we could have one more: SYMBOL ?NONE?. -Jukka Rahkonen- L?hett?j?: mapserver-dev [mailto:mapserver-dev-bounces at lists.osgeo.org] Puolesta Seth G L?hetetty: 25. lokakuuta 2016 13:20 Vastaanottaja: mapserver-dev at lists.osgeo.org Aihe: [mapserver-dev] MapServer tutorial - symbology Hi all, I have updated the second quick start tutorial on SYMBOLS and symbolizing data. A draft page is available at: https://geographika.github.io/tutorial/quickstart/symbolizing.html I ran through this with around 6 people, and a few questions came up. If anyone can provide details that would be very helpful. Also comments/improvements on the tutorials are very welcome. 1. Are there any performance or other benefits of VECTOR symbols over IMAGE/SVG? (Although I think SVG is currently not available in ms4w - http://www.ms4w.com/trac/ticket/3 ). The manual entering of coordinate details seems pretty difficult compared to using/making SVGs. 2. At the top of the http://mapserver.org/mapfile/style.html#style page there is the sentence "The final intent is to have named styles (Not yet supported) that will be re-usable through the mapfile." I presume this means there was a plan to use STYLES similar to a SYMBOLSET? Are there still any plans to do this? 3. I was looking to create circle symbols of different sizes based on an attribute, using one of the datasets from Natural Earth. The cities with large populations has a smaller "RANK_MAX" - so the size needs to be inverse to an attribute. There does not appear to be any easy way to do this without modifying the data. You can set the size using an attribute e.g. "SIZE [MYHEIGHT]" but is there a good reason why a MapServer expression couldn't be used here? I can add as a feature request to GitHub if it could be a nice addition. A final question - should I post these emails to the dev or users MapServers lists? Regards, Seth -- web: http://geographika.co.uk twitter: @geographika -------------- next part -------------- An HTML attachment was scrubbed... URL: From ahmettemiz88 at gmail.com Mon Nov 7 23:46:33 2016 From: ahmettemiz88 at gmail.com (Ahmet Temiz) Date: Tue, 8 Nov 2016 10:46:33 +0300 Subject: [mapserver-users] confused on styling polygon Message-ID: Hi, I think I am confused on styling polygon. I normally displayed the map without using symbol. When I used symbol. Nothing is displayed. here is the relevant code. STATUS OFF TYPE POLYGON OPACITY 80 CLASS STYLE SYMBOL "diagonal-auf2" COLOR 0 0 252 SIZE 10 WIDTH 5 END END ?SYMBOL NAME "diagonal-auf2" TYPE vector POINTS 0 0.8 0.2 1 1 0.2 0.8 0 0 0.8 END FILLED TRUE END ? What am I doing wrong? regards -- Ahmet Temiz Jeoloji M?h. Afet ve Acil Durum Y?netimi Ba?kanl??? Bilgi ??lem Dairesi Ba?kanl???-CBS Grubu ________________________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at maanmittauslaitos.fi Tue Nov 8 00:29:55 2016 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Tue, 8 Nov 2016 08:29:55 +0000 Subject: [mapserver-users] confused on styling polygon Message-ID: Hi, I could make it to show by removing WIDTH 5. Mapserver obviously did not like to see it in that place because the error from the server was loadClass(): Unknown identifier. Parsing error near (WIDTH):(line 43) By reading the documentation I do not quite understand what WIDTH should do with your diagonal-auf2 symbol, but I think it should do something, or then nothing, but not to lead to loadClass error. Perhaps you have found a bug. -Jukka Rahkonen- L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Ahmet Temiz L?hetetty: 8. marraskuuta 2016 9:47 Vastaanottaja: mapserver-users Aihe: [mapserver-users] confused on styling polygon Hi, I think I am confused on styling polygon. I normally displayed the map without using symbol. When I used symbol. Nothing is displayed. here is the relevant code. STATUS OFF TYPE POLYGON OPACITY 80 CLASS STYLE SYMBOL "diagonal-auf2" COLOR 0 0 252 SIZE 10 WIDTH 5 END END ?SYMBOL NAME "diagonal-auf2" TYPE vector POINTS 0 0.8 0.2 1 1 0.2 0.8 0 0 0.8 END FILLED TRUE END ? What am I doing wrong? regards -- Ahmet Temiz Jeoloji M?h. Afet ve Acil Durum Y?netimi Ba?kanl??? Bilgi ??lem Dairesi Ba?kanl???-CBS Grubu ________________________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency -------------- next part -------------- An HTML attachment was scrubbed... URL: From janne.tuovinen at menturagroup.com Tue Nov 8 02:23:53 2016 From: janne.tuovinen at menturagroup.com (Janne Tuovinen) Date: Tue, 8 Nov 2016 12:23:53 +0200 Subject: [mapserver-users] A problem with the Run-time substitution In-Reply-To: <59041639f5964b62832a410caa511909@C119S212VM022.msvyvi.vaha.local> References: <59041639f5964b62832a410caa511909@C119S212VM022.msvyvi.vaha.local> Message-ID: <141e597a-681c-f80d-50df-fefe8a9547c9@menturagroup.com> Hi, Ok this is a bit complicated but i try to explain. My problem was that I was using the basic openlayers template (...&template=openlayers). My parameter (...¶m=1000) was passed correctly to the Mapserver but not to the openlayers template. The template then used query without the parameter and the MapServer always used my default value for a database query. Thanks, Janne 11/7/2016, 4:32 PM, Rahkonen Jukka (MML) kirjoitti: > Hi, > > Your SQL was missing the parenthesis, which I suppose to be mandatory with IN > http://www.1keydata.com/sql/sqlin.html > > -Jukka Rahkonen- > > > -----Alkuper?inen viesti----- > L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Burgholzer, Robert (DEQ) > L?hetetty: 7. marraskuuta 2016 16:18 > Vastaanottaja: mapserver-users at lists.osgeo.org > Aihe: Re: [mapserver-users] A problem with the Run-time substitution > > By includiong the single quotes in the PROCESING directive, doesn't that make your input evaluated as a string? You example suggests that mapserver considers single quotes around the input to be bad and rejects it - but by putting single quotes in PROCESSING it should avoid that. > > What does the expression look like when you tried to syntax I suggested? > > -----Original Message----- > From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Janne Tuovinen > Sent: Monday, November 07, 2016 9:08 AM > To: mapserver-users at lists.osgeo.org > Subject: Re: [mapserver-users] A problem with the Run-time substitution > > Thank you, but this doesn't work for me. The problem is that I want to pass a string value to my database, but the MapServer doesn't allow that and always passes the parameters value as an integer. > > -Janne > > > 11/7/2016, 3:33 PM, Burgholzer, Robert (DEQ) wrote: >> I believe that what you want is this: >> >> PROCESSING "NATIVE_FILTER=param in '%param%' " >> >> I have not used the processing directive, so can not be sure, but the above syntax would work in a QUERY. >> >> >> -----Original Message----- >> From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] >> On Behalf Of Janne Tuovinen >> Sent: Monday, November 07, 2016 7:36 AM >> To: mapserver-users at lists.osgeo.org >> Subject: [mapserver-users] A problem with the Run-time substitution >> >> Hi, >> >> I have a problem when I'm trying to pass a url-parameter to Postgis query's NATIVE_FILTER in my map file. >> >> My layer looks something like this: >> >> LAYER >> ... >> VALIDATION >> 'param' '.+' >> END >> ... >> DATA "shape from table" >> PROCESSING "NATIVE_FILTER=param in %param%" >> >> END # LAYER >> >> Here is some examples what I get when I try to pass some values: >> >> ...¶m=1000 = > (param in (1000)) >> ...¶m='1000' = > (param in (%param%)) >> >> What I like to have is: (param in ('1000')) >> >> Is there a way to this with the MapServer 7.0? >> >> Thank you, >> Janne >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From Laurent.Saez at developpement-durable.gouv.fr Tue Nov 8 02:12:05 2016 From: Laurent.Saez at developpement-durable.gouv.fr (SAEZ Laurent - SG/SPSSI/CPII/DOM/ET/PNE IG) Date: Tue, 08 Nov 2016 11:12:05 +0100 Subject: [mapserver-users] MapServer 7.0.2 : Styling WMS Layer with SLD issue Message-ID: <5821A4F5.4000307@developpement-durable.gouv.fr> Hi, I'm trying to style a WMS Layer with external SLD file. In my mapfile I have set "TEMPPATH" (and not TMPPATH like it is reported in logfile ;-). The directory set in "TEMPPATH" is correctly configured with all needed rights for www-data user. When the client request the layer with an external SLD, for example : http://myserver/cartes70/mapserv?map=/opt/data/carto/ref/tests/tests.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=679911.6275017008884,6576590.08276326675,681769.2782967804233,6578369.732751480304&CRS=EPSG:2154&WIDTH=905&HEIGHT=867&LAYERS=N_PM3_ASSIETTE_SUP_S_003&STYLES=&FORMAT=image/png&MAP_RESOLUTION=96&TRANSPARENT=TRUE&SLD=http://externalServer/N_PM3_ASSIETTE_SUP_S.sld The answer is : msSLDApplySLDURL: WMS server error. Could not open SLD http://piece-jointe-carto.developpement-durable.gouv.fr/MIG/sldcovadis/N_PM3_ASSIETTE_SUP_S.sld and save it in a temporary file. Please make sure that the sld url is valid and that the temporary path is set. The temporary path can be defined for example by setting TMPPATH in the map file. Please check the MapServer documentation on temporary path settings. msHTTPExecuteRequests(): HTTP request error. HTTP: TIMEOUT of 30 seconds exceeded for http://piece-jointe-carto.developpement-durable.gouv.fr/MIG/sldcovadis/N_PM3_ASSIETTE_SUP_S.sld I know that is possible to specify ows_proxy_* for a cascaded layer (when MapServer is used as a WMS client). But is there a way to specify a proxy in a mapfile for all ressources needed to style a layer? Regards -- Laurent SA?Z From havard.tveite at nmbu.no Tue Nov 8 04:52:05 2016 From: havard.tveite at nmbu.no (Havard Tveite) Date: Tue, 8 Nov 2016 13:52:05 +0100 Subject: [mapserver-users] confused on styling polygon In-Reply-To: References: Message-ID: According to the STYLE-> WIDTH documentation, for POLYGON symbols (filled symbols of type vector) WIDTH refers to the width of the outline of the symbol: "If used with SYMBOL and OUTLINECOLOR, WIDTH specifies the width of the symbol outlines. This applies to SYMBOL TYPE vector (polygons), ellipse and truetype." The documentation is probably a bit imprecise in not including the word "filled" for the vector and ellipse types. If you add OUTLINECOLOR 255 0 0, you will see the outline of the symbol in red with a width of 5. Apparently, leaving out OUTLINECOLOR seems to be equivalent to OUTLINECOLOR 255 255 255, and since your outline is thicker than the half the width of the symbol, the outline will erase the blue (0 0 252) interior of the symbol. If you want to see some of the interior of the symbol (blue), you will have to reduce the value of WIDTH or increase the value of SIZE. H?vard On 08. nov. 2016 08:46, Ahmet Temiz wrote: > Hi, > I think I am confused on styling polygon. > I normally displayed the map without using symbol. When > I used symbol. Nothing is displayed. > > here is the relevant code. > > > STATUS OFF > TYPE POLYGON > OPACITY 80 > CLASS > STYLE > SYMBOL "diagonal-auf2" > COLOR 0 0 252 > SIZE 10 > WIDTH 5 > END > END > > ?SYMBOL > NAME "diagonal-auf2" > TYPE vector > POINTS > 0 0.8 > 0.2 1 > 1 0.2 > 0.8 0 > 0 0.8 > END > FILLED TRUE > END > ? > What am I doing wrong? > > regards > > -- > Ahmet Temiz > Jeoloji M?h. > Afet ve Acil Durum Y?netimi Ba?kanl??? > Bilgi ??lem Dairesi Ba?kanl???-CBS Grubu > > > ________________________ > > Ahmet Temiz > Geological Eng. > Information Systems - GIS Group > Disaster and Emergency Management > of Presidency > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- H?vard Tveite Department of Mathematical Sciences and Technology, NMBU Dr?bakveien 31, POBox 5003, N-1432 ?s, NORWAY Phone: +47 67231548 Fax: +47 64965401 http://www.nmbu.no/imt/ From Joel.Benford at aligned-assets.co.uk Wed Nov 9 08:16:58 2016 From: Joel.Benford at aligned-assets.co.uk (Joel Benford) Date: Wed, 9 Nov 2016 16:16:58 +0000 Subject: [mapserver-users] Converting a v5.6 CGI call to v6.0 Message-ID: Hello everybody, I am maintaining a system for a customer that links to mapserver -- we're not mapserver users, they are. Some time back, when they used mapserver v5.6, we put a partial mapserver CGI url in one of their configuration files. The idea was that they could edit it if they ever needed to in future, e.g. if they changed sever location for mapserver. They later upgraded to mapserver 6.0, but cjust changing the target server failed. The original query substring was along the lines of: http://someserver.ourcustomer.co.uk/MapServer/cgi-bin5.6/mapserv.exe?map=D:\Maps\CCC\Intranet52\_MapServerConfig\Surveys.map_AND_mode=ITEMNQUERYMAP_AND_qlayer=Buildings_AND_map.layer%5bBuildings%5d=TEMPLATE+'_MapServerTemplates\Buildings_fields.xml'_AND_qitem=SHORT_CODE_EMS_AND_qstring= {application adds the rest here depending on what the user wants on that invocation} I looked at the 5.6 to 6.0 migration guide at http://www.mapserver.org/MIGRATION_GUIDE.html#mapserver-5-6-to-6-0-migration and in the CGI section it says: All of the query map related modes (e.g. NQUERYMAP, ITEMQUERYMAP, etc...) have been removed in favor of using the "qformat" parameter. That parameter takes an output format name or mime/type as a value and uses that to process a set of query results. For example: ...&mode=nquerymap&... would become ...&mode=nquery&qformat=png24&... So I tried a simple substitution in line with that and changed our substring to: http:// someserver.ourcustomer.co.uk /mapserv6/cgi-bin6.0/mapserv.exe?map=D:\Maps\CCC\Intranet52\_MapServerConfig\Surveys.map_AND_mode=ITEMNQUERY_AND_qformat=png24_AND_qlayer=Buildings_AND_map.layer%5bBuildings%5d=TEMPLATE+'_MapServerTemplates\Buildings_fields.xml'_AND_qitem=SHORT_CODE_EMS_AND_qstring= ...i.e. I changed the target from the 5.6 to 6.0 server and changed "mode=ITEMNQUERYMAP" to "mode=ITEMNQUERY_AND_qformat=png24" This did not meet with success, I got a "Parameter is not valid" error with the following stack trace: [ArgumentException: Parameter is not valid.] System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData) +1067179 System.Drawing.Image.FromStream(Stream stream) +8 SurveysReporting.ReportProvider.GenerateReport(ReportName rnName, String szShortCode) +4371 Reports_Preview.Page_Load(Object sender, EventArgs e) +374 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627 Superficially, this error doesn't seem to have much to do with the parameter I changed. At this point, I would like to ask some more experienced mapserver users a few questions: 1. Is my substitution of "mode=ITEMNQUERYMAP" to "mode=ITEMNQUERY_AND_qformat=png24" a viable solution in itself? 2. Does anything else in the amended query substring above jump out as incorrect in v6.0? 3. Does the error message received look like the sort of thing that would apply to the rest of the CGI query, i.e. the stuff that's added on the end to suit the specific user request? I'm really hoping for 2, because otherwise I'll have to get our legacy application running and then learn mapserver syntax to change what it's sending. Thanks in advance for any help or advice. Joel Benford ---------------------------------------------------------------------------- The information contained in or attached to this message is the responsibility of the sender and is meant for the confidential use of the intended recipients. It does not necessarily represent the position of Aligned Assets. If you are not an intended recipient you are notified that you have received this communication in error and that review, dissemination or copying of this communication is prohibited. If you have received this in error, please notify us. Aligned Assets Limited Unit 5 River Court Albert Drive Sheerwater Woking GU21 5RP Company Registration No: 4610724 ---------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From tom.kralidis at canada.ca Wed Nov 9 13:30:08 2016 From: tom.kralidis at canada.ca (Kralidis, Tom (EC)) Date: Wed, 9 Nov 2016 21:30:08 +0000 Subject: [mapserver-users] PostGIS query errors Message-ID: <4ed2d6514b6d4cbfbfd223940f1b4913@PELEPCDEXC028.birch.int.bell.ca> Hi all: using 7.0.2 against a PostgreSQL 9.3/PostGIS 2.2 instance we're getting query errors. I've posted a Gist at [1] to help in reporting. Note that this functionality used to work in 6.4.x. >From the migration guides it doesn't look like much has changed w.r.t. PostGIS syntax in the mapfile. Any idea what could be going on here? It looks like the query that is constructed by mappostgis.c is something like: select "stn_nam","avg_wnd_dir_10m_mt58_60","avg_wnd_spd_10m_mt58_60_symbol","air_temp","stn_pres","mslp","dwpt_temp","rel_hum","observation_qa_summary","observation_qa_problem_summary",encode(ST_AsBinary(ST_Force2D("the_geom"),'NDR'),'hex') as geom,"data_payload_id" from (select * from data_mart_ca_live order by instance_datetime desc) as subquery where the_geom && ST_GeomFromText('POLYGON((-127.881959628204 63.7547758989546,-127.881959628204 70.5833900726923,-103.751686743445 70.5833900726923,-103.751686743445 63.7547758989546,-127.881959628204 63.7547758989546))',4326) and () Note the trailing "()". When I remove the "()" and try direct in psql, the query works. Any idea what could be going on here? Thanks ..Tom [1] https://gist.github.com/tomkralidis/26cb7214e282c144ba61598116d458e7 From Steve.Lime at state.mn.us Wed Nov 9 13:32:35 2016 From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT)) Date: Wed, 9 Nov 2016 21:32:35 +0000 Subject: [mapserver-users] Converting a v5.6 CGI call to v6.0 In-Reply-To: References: Message-ID: Do you get an actual MapServer error? It sounds like you made the right changes relative to the URL. From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Joel Benford Sent: Wednesday, November 09, 2016 10:17 AM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Converting a v5.6 CGI call to v6.0 Hello everybody, I am maintaining a system for a customer that links to mapserver -- we're not mapserver users, they are. Some time back, when they used mapserver v5.6, we put a partial mapserver CGI url in one of their configuration files. The idea was that they could edit it if they ever needed to in future, e.g. if they changed sever location for mapserver. They later upgraded to mapserver 6.0, but cjust changing the target server failed. The original query substring was along the lines of: http://someserver.ourcustomer.co.uk/MapServer/cgi-bin5.6/mapserv.exe?map=D:\Maps\CCC\Intranet52\_MapServerConfig\Surveys.map_AND_mode=ITEMNQUERYMAP_AND_qlayer=Buildings_AND_map.layer%5bBuildings%5d=TEMPLATE+'_MapServerTemplates\Buildings_fields.xml'_AND_qitem=SHORT_CODE_EMS_AND_qstring= {application adds the rest here depending on what the user wants on that invocation} I looked at the 5.6 to 6.0 migration guide at http://www.mapserver.org/MIGRATION_GUIDE.html#mapserver-5-6-to-6-0-migration and in the CGI section it says: All of the query map related modes (e.g. NQUERYMAP, ITEMQUERYMAP, etc...) have been removed in favor of using the "qformat" parameter. That parameter takes an output format name or mime/type as a value and uses that to process a set of query results. For example: ...&mode=nquerymap&... would become ...&mode=nquery&qformat=png24&... So I tried a simple substitution in line with that and changed our substring to: http:// someserver.ourcustomer.co.uk /mapserv6/cgi-bin6.0/mapserv.exe?map=D:\Maps\CCC\Intranet52\_MapServerConfig\Surveys.map_AND_mode=ITEMNQUERY_AND_qformat=png24_AND_qlayer=Buildings_AND_map.layer%5bBuildings%5d=TEMPLATE+'_MapServerTemplates\Buildings_fields.xml'_AND_qitem=SHORT_CODE_EMS_AND_qstring= ...i.e. I changed the target from the 5.6 to 6.0 server and changed "mode=ITEMNQUERYMAP" to "mode=ITEMNQUERY_AND_qformat=png24" This did not meet with success, I got a "Parameter is not valid" error with the following stack trace: [ArgumentException: Parameter is not valid.] System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData) +1067179 System.Drawing.Image.FromStream(Stream stream) +8 SurveysReporting.ReportProvider.GenerateReport(ReportName rnName, String szShortCode) +4371 Reports_Preview.Page_Load(Object sender, EventArgs e) +374 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627 Superficially, this error doesn't seem to have much to do with the parameter I changed. At this point, I would like to ask some more experienced mapserver users a few questions: 1. Is my substitution of "mode=ITEMNQUERYMAP" to "mode=ITEMNQUERY_AND_qformat=png24" a viable solution in itself? 2. Does anything else in the amended query substring above jump out as incorrect in v6.0? 3. Does the error message received look like the sort of thing that would apply to the rest of the CGI query, i.e. the stuff that's added on the end to suit the specific user request? I'm really hoping for 2, because otherwise I'll have to get our legacy application running and then learn mapserver syntax to change what it's sending. Thanks in advance for any help or advice. Joel Benford ---------------------------------------------------------------------------- The information contained in or attached to this message is the responsibility of the sender and is meant for the confidential use of the intended recipients. It does not necessarily represent the position of Aligned Assets. If you are not an intended recipient you are notified that you have received this communication in error and that review, dissemination or copying of this communication is prohibited. If you have received this in error, please notify us. Aligned Assets Limited Unit 5 River Court Albert Drive Sheerwater Woking GU21 5RP Company Registration No: 4610724 ---------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at squeakycode.net Wed Nov 9 14:42:55 2016 From: andy at squeakycode.net (Andy Colson) Date: Wed, 9 Nov 2016 16:42:55 -0600 Subject: [mapserver-users] PostGIS query errors In-Reply-To: <4ed2d6514b6d4cbfbfd223940f1b4913@PELEPCDEXC028.birch.int.bell.ca> References: <4ed2d6514b6d4cbfbfd223940f1b4913@PELEPCDEXC028.birch.int.bell.ca> Message-ID: <92d38c31-d01f-1c00-5c43-29d6d7b72f53@squeakycode.net> On 11/9/2016 3:30 PM, Kralidis, Tom (EC) wrote: > Hi all: using 7.0.2 against a PostgreSQL 9.3/PostGIS 2.2 instance we're getting query errors. > > I've posted a Gist at [1] to help in reporting. Note that this functionality used to work in 6.4.x. > > From the migration guides it doesn't look like much has changed w.r.t. PostGIS syntax in > the mapfile. Any idea what could be going on here? It looks like the query that is constructed > by mappostgis.c is something like: > > select "stn_nam","avg_wnd_dir_10m_mt58_60","avg_wnd_spd_10m_mt58_60_symbol","air_temp","stn_pres","mslp","dwpt_temp","rel_hum","observation_qa_summary","observation_qa_problem_summary",encode(ST_AsBinary(ST_Force2D("the_geom"),'NDR'),'hex') as geom,"data_payload_id" from (select * from data_mart_ca_live order by instance_datetime desc) as subquery where the_geom && ST_GeomFromText('POLYGON((-127.881959628204 63.7547758989546,-127.881959628204 70.5833900726923,-103.751686743445 70.5833900726923,-103.751686743445 63.7547758989546,-127.881959628204 63.7547758989546))',4326) and () > > Note the trailing "()". When I remove the "()" and try direct in psql, the query works. > > Any idea what could be going on here? > > Thanks > > ..Tom > > [1] https://gist.github.com/tomkralidis/26cb7214e282c144ba61598116d458e7 > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > It looks to me, from the code mappostgis.c ~line 2018, in the msPostGISBuildSQLWhere function, that you have either a FILTER or NATIVE_FILTER being added. I don't see it in the gist you posted though. Is it applied later some how? I'd bet it's also empty. There is a comment about RFC91 too: http://mapserver.org/id/development/rfc/ms-rfc-91.html any of that apply to you? -Andy From inna.nogeste at bom.gov.au Wed Nov 9 15:35:24 2016 From: inna.nogeste at bom.gov.au (Inna Nogeste) Date: Wed, 9 Nov 2016 23:35:24 +0000 Subject: [mapserver-users] Mapserver - classifying multiple symbol sizes with multiple colours [SEC=UNCLASSIFIED] Message-ID: <5d7701a9df6c472daa4e229601f7f697@iss-exch13-01.bom.gov.au> I need to symbolise data showing both size and colour, where there are 4 different symbol sizes and 11 different colours. The 11 colours can be applied to all 4 different symbol sizes. Is there an efficient way to code this or do I need to have 44 different styles/expressions such as the following: EXPRESSION ([size] = 1 and [colour] = 0%) EXPRESSION ([size] = 1 and [colour] = 10%) EXPRESSION ([size] = 1 and [colour] = 20%) EXPRESSION ([size] = 1 and [colour] = 30%) to EXPRESSION ([size] = 4 and [colour] = 100%) In addition to this, I also need to scale the symbol [size] for different zoom levels which will increase the number of styles/expressions by a factor of at least 2 or 3 resulting in at least 88 blocks of code. Does anyone have any suggestions for the most/a efficient way to code this? Regards, Inna Nogeste | Spatial Information Specialist Geospatial Data and Services Information Systems and Services Division Bureau of Meteorology www.bom.gov.au From woodbri at swoodbridge.com Wed Nov 9 17:19:32 2016 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Wed, 9 Nov 2016 20:19:32 -0500 Subject: [mapserver-users] Mapserver - classifying multiple symbol sizes with multiple colours [SEC=UNCLASSIFIED] In-Reply-To: <5d7701a9df6c472daa4e229601f7f697@iss-exch13-01.bom.gov.au> References: <5d7701a9df6c472daa4e229601f7f697@iss-exch13-01.bom.gov.au> Message-ID: <41c76b93-f4dd-38d2-a9bc-7f220600354e@swoodbridge.com> STYLE SYMBOL 'xyz' SIZE [size] COLOR [colour] END where [colour] is a string "#rrggbb" -Steve W On 11/9/2016 6:35 PM, Inna Nogeste wrote: > I need to symbolise data showing both size and colour, where there are 4 different symbol sizes and 11 different colours. The 11 colours can be applied to all 4 different symbol sizes. > Is there an efficient way to code this or do I need to have 44 different styles/expressions such as the following: > > EXPRESSION ([size] = 1 and [colour] = 0%) > EXPRESSION ([size] = 1 and [colour] = 10%) > EXPRESSION ([size] = 1 and [colour] = 20%) > EXPRESSION ([size] = 1 and [colour] = 30%) > to > EXPRESSION ([size] = 4 and [colour] = 100%) > > In addition to this, I also need to scale the symbol [size] for different zoom levels which will increase the number of styles/expressions by a factor of at least 2 or 3 resulting in at least 88 blocks of code. > > Does anyone have any suggestions for the most/a efficient way to code this? > > Regards, > Inna Nogeste | Spatial Information Specialist > Geospatial Data and Services > Information Systems and Services Division > Bureau of Meteorology > www.bom.gov.au > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus From tom.kralidis at canada.ca Wed Nov 9 17:20:46 2016 From: tom.kralidis at canada.ca (Kralidis, Tom (EC)) Date: Thu, 10 Nov 2016 01:20:46 +0000 Subject: [mapserver-users] PostGIS query errors In-Reply-To: <92d38c31-d01f-1c00-5c43-29d6d7b72f53@squeakycode.net> References: <4ed2d6514b6d4cbfbfd223940f1b4913@PELEPCDEXC028.birch.int.bell.ca> <92d38c31-d01f-1c00-5c43-29d6d7b72f53@squeakycode.net> Message-ID: > -----Original Message----- > From: Andy Colson [mailto:andy at squeakycode.net] > Sent: 09 November 2016 17:43 > To: Kralidis, Tom (EC); mapserver-users at lists.osgeo.org > Subject: Re: [mapserver-users] PostGIS query errors > > On 11/9/2016 3:30 PM, Kralidis, Tom (EC) wrote: > > Hi all: using 7.0.2 against a PostgreSQL 9.3/PostGIS 2.2 instance we're getting > query errors. > > > > I've posted a Gist at [1] to help in reporting. Note that this functionality used > to work in 6.4.x. > > > > From the migration guides it doesn't look like much has changed w.r.t. > > PostGIS syntax in the mapfile. Any idea what could be going on here? > > It looks like the query that is constructed by mappostgis.c is something like: > > > > select > > > "stn_nam","avg_wnd_dir_10m_mt58_60","avg_wnd_spd_10m_mt58_60_symb > ol"," > > air_temp","stn_pres","mslp","dwpt_temp","rel_hum","observation_qa_summ > > > ary","observation_qa_problem_summary",encode(ST_AsBinary(ST_Force2D("t > > he_geom"),'NDR'),'hex') as geom,"data_payload_id" from (select * from > > data_mart_ca_live order by instance_datetime desc) as subquery where > > the_geom && ST_GeomFromText('POLYGON((-127.881959628204 > > 63.7547758989546,-127.881959628204 70.5833900726923,- > 103.751686743445 > > 70.5833900726923,-103.751686743445 63.7547758989546,- > 127.881959628204 > > 63.7547758989546))',4326) and () > > > > Note the trailing "()". When I remove the "()" and try direct in psql, the query > works. > > > > Any idea what could be going on here? > > > > Thanks > > > > ..Tom > > > > [1] > > https://gist.github.com/tomkralidis/26cb7214e282c144ba61598116d458e7 > > _______________________________________________ > > mapserver-users mailing list > > mapserver-users at lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > It looks to me, from the code mappostgis.c ~line 2018, in the > msPostGISBuildSQLWhere function, that you have either a FILTER or > NATIVE_FILTER being added. I don't see it in the gist you posted though. Is it > applied later some how? I'd bet it's also empty. > Indeed, it turns out that Python MapScript was doing a setFilter as part of the workflow (since changed to setProcessingKey). Thanks ..Tom > There is a comment about RFC91 too: > http://mapserver.org/id/development/rfc/ms-rfc-91.html > > any of that apply to you? > > -Andy > From yves.jacolin at camptocamp.com Thu Nov 10 02:16:02 2016 From: yves.jacolin at camptocamp.com (Yves Jacolin) Date: Thu, 10 Nov 2016 11:16:02 +0100 Subject: [mapserver-users] GetFeatureInfo layout in plain text Message-ID: <26890297.ZuXorl4Djx@tatras> Hello, I have to setup a text format for a WMS' GetFeatureInfo service. I would like to know if it is possible to change the layout using a template. My first test was not working so any feedback is welcome. The documentation said that the user should read the templating chapter so I guess this is possible. Any confirmation? Y. -- Responsable Formation et Support Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel (France) : +33 4 58 48 20 43 (new !) Tel (Suisse) : +41 21 619 10 43 Mob. : +33 6 18 75 42 21 Fax : 04 79 70 15 81 Mail : yves.jacolin at camptocamp.com http://www.camptocamp.com From joerg.thomsen at wheregroup.com Thu Nov 10 02:49:49 2016 From: joerg.thomsen at wheregroup.com (=?UTF-8?Q?J=c3=b6rg_Thomsen_=28WhereGroup=29?=) Date: Thu, 10 Nov 2016 11:49:49 +0100 Subject: [mapserver-users] GetFeatureInfo layout in plain text In-Reply-To: <26890297.ZuXorl4Djx@tatras> References: <26890297.ZuXorl4Djx@tatras> Message-ID: <219b7e10-cd52-99b3-c735-bf7ad9188895@wheregroup.com> Hi Yves, text/plain is text/plain, no layout. The Mapserver-templates work with html-format. Another way could be using the xml-output and styling it with xslt. But you can enable the html-output using templates with mapserver and it still will be possible to send text/plain requests. Templating ist easy and powerful, so to answer your question: yes, read the templating chapter. You'll find a short introduction in the old tutorial: http://demo.mapserver.org/tutorial/section3.html (example 3.1) J?rg Am 10.11.2016 um 11:16 schrieb Yves Jacolin: > Hello, > > I have to setup a text format for a WMS' GetFeatureInfo service. I would like > to know if it is possible to change the layout using a template. > > My first test was not working so any feedback is welcome. The documentation > said that the user should read the templating chapter so I guess this is > possible. > > Any confirmation? > > Y. > Viele Gr??e, J?rg Thomsen -- ******************************************** Where2B Konferenz 2016 15. Dezember 2016 in Bonn www.where2b-conference.com ******************************************** ------------------------------- J?rg Thomsen WhereGroup GmbH & Co. KG Gillweg 3 14193 Berlin Germany Fon: +49 (0)30 / 5130 278 74 Fax: +49 (0)30 / 89 09 53 11 joerg.thomsen at wheregroup.com www.wheregroup.com Amtsgericht Bonn, HRA 6788 ------------------------------- Komplement?rin: WhereGroup Verwaltungs GmbH vertreten durch: Olaf Knopp, Peter Stamm ------------------------------- Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com From yves.jacolin at camptocamp.com Thu Nov 10 03:39:05 2016 From: yves.jacolin at camptocamp.com (Yves Jacolin) Date: Thu, 10 Nov 2016 12:39:05 +0100 Subject: [mapserver-users] GetFeatureInfo layout in plain text In-Reply-To: <219b7e10-cd52-99b3-c735-bf7ad9188895@wheregroup.com> References: <26890297.ZuXorl4Djx@tatras> <219b7e10-cd52-99b3-c735-bf7ad9188895@wheregroup.com> Message-ID: <4683193.PjyNlRONCn@tatras> Thanks J?rg, Unfortunately I should use text format as ArcGIS desktop don't support other format (to be confirmed). Y. On Thursday, November 10, 2016 11:49:49 J?rg Thomsen wrote: > Hi Yves, > > text/plain is text/plain, no layout. The Mapserver-templates work with > html-format. Another way could be using the xml-output and styling it > with xslt. But you can enable the html-output using templates with > mapserver and it still will be possible to send text/plain requests. > > Templating ist easy and powerful, so to answer your question: yes, read > the templating chapter. You'll find a short introduction in the old > tutorial: http://demo.mapserver.org/tutorial/section3.html (example 3.1) > > J?rg > > Am 10.11.2016 um 11:16 schrieb Yves Jacolin: > > Hello, > > > > I have to setup a text format for a WMS' GetFeatureInfo service. I would > > like to know if it is possible to change the layout using a template. > > > > My first test was not working so any feedback is welcome. The > > documentation > > said that the user should read the templating chapter so I guess this is > > possible. > > > > Any confirmation? > > > > Y. > > Viele Gr??e, > J?rg Thomsen -- Responsable Formation et Support Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel (France) : +33 4 58 48 20 43 (new !) Tel (Suisse) : +41 21 619 10 43 Mob. : +33 6 18 75 42 21 Fax : 04 79 70 15 81 Mail : yves.jacolin at camptocamp.com http://www.camptocamp.com From joerg.thomsen at wheregroup.com Thu Nov 10 03:59:50 2016 From: joerg.thomsen at wheregroup.com (=?UTF-8?Q?J=c3=b6rg_Thomsen_=28WhereGroup=29?=) Date: Thu, 10 Nov 2016 12:59:50 +0100 Subject: [mapserver-users] GetFeatureInfo layout in plain text In-Reply-To: <4683193.PjyNlRONCn@tatras> References: <26890297.ZuXorl4Djx@tatras> <219b7e10-cd52-99b3-c735-bf7ad9188895@wheregroup.com> <4683193.PjyNlRONCn@tatras> Message-ID: so, what do you have to style? Perhaps you could create a text-format output with templates to create a sort of ascii-tables, you don't have to use html-tags within the templates. But in this case the request has to be format=text/html. J?rg Am 10.11.2016 um 12:39 schrieb Yves Jacolin: > Thanks J?rg, > > Unfortunately I should use text format as ArcGIS desktop don't support other > format (to be confirmed). > > Y. > On Thursday, November 10, 2016 11:49:49 J?rg Thomsen wrote: >> Hi Yves, >> >> text/plain is text/plain, no layout. The Mapserver-templates work with >> html-format. Another way could be using the xml-output and styling it >> with xslt. But you can enable the html-output using templates with >> mapserver and it still will be possible to send text/plain requests. >> >> Templating ist easy and powerful, so to answer your question: yes, read >> the templating chapter. You'll find a short introduction in the old >> tutorial: http://demo.mapserver.org/tutorial/section3.html (example 3.1) >> >> J?rg >> >> Am 10.11.2016 um 11:16 schrieb Yves Jacolin: >>> Hello, >>> >>> I have to setup a text format for a WMS' GetFeatureInfo service. I would >>> like to know if it is possible to change the layout using a template. >>> >>> My first test was not working so any feedback is welcome. The >>> documentation >>> said that the user should read the templating chapter so I guess this is >>> possible. >>> >>> Any confirmation? >>> >>> Y. >> >> Viele Gr??e, >> J?rg Thomsen > Viele Gr??e, J?rg Thomsen -- ******************************************** Where2B Konferenz 2016 15. Dezember 2016 in Bonn www.where2b-conference.com ******************************************** ------------------------------- J?rg Thomsen WhereGroup GmbH & Co. KG Gillweg 3 14193 Berlin Germany Fon: +49 (0)30 / 5130 278 74 Fax: +49 (0)30 / 89 09 53 11 joerg.thomsen at wheregroup.com www.wheregroup.com Amtsgericht Bonn, HRA 6788 ------------------------------- Komplement?rin: WhereGroup Verwaltungs GmbH vertreten durch: Olaf Knopp, Peter Stamm ------------------------------- Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com From yves.jacolin at camptocamp.com Thu Nov 10 04:02:40 2016 From: yves.jacolin at camptocamp.com (Yves Jacolin) Date: Thu, 10 Nov 2016 13:02:40 +0100 Subject: [mapserver-users] GetFeatureInfo layout in plain text In-Reply-To: References: <26890297.ZuXorl4Djx@tatras> <219b7e10-cd52-99b3-c735-bf7ad9188895@wheregroup.com> <4683193.PjyNlRONCn@tatras> Message-ID: humm, good point, I need to check the output request from ArcGIS. The users said that for other service they get a table, so probably an html format. Thanks, Y. 2016-11-10 12:59 GMT+01:00 J?rg Thomsen (WhereGroup) < joerg.thomsen at wheregroup.com>: > so, what do you have to style? Perhaps you could create a text-format > output with templates to create a sort of ascii-tables, you don't have > to use html-tags within the templates. But in this case the request has > to be format=text/html. > > J?rg > > > Am 10.11.2016 um 12:39 schrieb Yves Jacolin: > > Thanks J?rg, > > > > Unfortunately I should use text format as ArcGIS desktop don't support > other > > format (to be confirmed). > > > > Y. > > On Thursday, November 10, 2016 11:49:49 J?rg Thomsen wrote: > >> Hi Yves, > >> > >> text/plain is text/plain, no layout. The Mapserver-templates work with > >> html-format. Another way could be using the xml-output and styling it > >> with xslt. But you can enable the html-output using templates with > >> mapserver and it still will be possible to send text/plain requests. > >> > >> Templating ist easy and powerful, so to answer your question: yes, read > >> the templating chapter. You'll find a short introduction in the old > >> tutorial: http://demo.mapserver.org/tutorial/section3.html (example > 3.1) > >> > >> J?rg > >> > >> Am 10.11.2016 um 11:16 schrieb Yves Jacolin: > >>> Hello, > >>> > >>> I have to setup a text format for a WMS' GetFeatureInfo service. I > would > >>> like to know if it is possible to change the layout using a template. > >>> > >>> My first test was not working so any feedback is welcome. The > >>> documentation > >>> said that the user should read the templating chapter so I guess this > is > >>> possible. > >>> > >>> Any confirmation? > >>> > >>> Y. > >> > >> Viele Gr??e, > >> J?rg Thomsen > > > > > Viele Gr??e, > J?rg Thomsen > > -- > > ******************************************** > Where2B Konferenz 2016 > 15. Dezember 2016 in Bonn > www.where2b-conference.com > ******************************************** > > ------------------------------- > J?rg Thomsen > WhereGroup GmbH & Co. KG > Gillweg 3 > 14193 Berlin > Germany > > Fon: +49 (0)30 / 5130 278 74 > Fax: +49 (0)30 / 89 09 53 11 > > joerg.thomsen at wheregroup.com > www.wheregroup.com > Amtsgericht Bonn, HRA 6788 > ------------------------------- > Komplement?rin: > WhereGroup Verwaltungs GmbH > vertreten durch: > Olaf Knopp, Peter Stamm > ------------------------------- > Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Responsable Formation et Support Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel (France) : +33 4 58 48 20 43 (new !) Tel (Suisse) : +41 21 619 10 43 Mob. : +33 6 18 75 42 21 Fax : 04 79 70 15 81 Mail : yves.jacolin at camptocamp.com http://www.camptocamp.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From schepers at rvr-online.de Thu Nov 10 07:44:43 2016 From: schepers at rvr-online.de (Schepers, Benjamin) Date: Thu, 10 Nov 2016 15:44:43 +0000 Subject: [mapserver-users] GetFeatureInfo layout in plain text In-Reply-To: References: <26890297.ZuXorl4Djx@tatras> <219b7e10-cd52-99b3-c735-bf7ad9188895@wheregroup.com> <4683193.PjyNlRONCn@tatras> Message-ID: <7088A26751CB34409B159B4237D510A87C834888@W2K8-EXDB02.VERBAND.LOCAL> Hi Yves, from my point of view this isn't possible, templating in mapserver-WMS just works for HTML. You would need an wrapper-script, which does some postprocessing/transforming with GFI-response (text) from mapserver - could be done with bash/perl/python/php whatever, maybe mapscript-engine (I'm not into this) or within Apache-Webserver (mod_sed ;-) ). Most structured way would be rewriting GFI-request from text-format to gml-format within the receiving webserver, directing this request to mapserver (which would create gml-response), directing mapserver-response to xml-processor and transform to whatever you want and then let webserver deliver the response to the client... Edit: J?rg was faster, because of having a phonecall from one of his coworkers ;-) and also my post was blocked by the mailing-list caused by an attachment ? ,sorry, Jeff. ArcGIS Desktop 10.x does show html-GFI, see attachment (image is clipped, it is a screenshot from within ArcGIS): http://pasteboard.co/pANcOnMbD.jpg Ben Mit freundlichen Gr??en Im Auftrag Benjamin Schepers Luftbild und Geoinformationssysteme Kronprinzenstra?e 6 45128 Essen Fon: +49 201 2069-232 Fax: +49 201 2069-500 schepers at rvr-online.de [cid:image001.jpg at 01D23B71.BDC6EEC0] Die Regionaldirektorin Kronprinzenstra?e 35 45128 Essen Zentrale: +49 (0) 201 2069-0 Fax: +49 (0) 201 2069-500 www.metropoleruhr.de Postfach 10 32 64 45032 Essen Steuernummer: RVR 112/5797/0116 USt.-ldNr.: DE 173867500 Diese E-Mail koennte vertrauliche und/oder rechtlich geschuetzte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail sind nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Von: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Im Auftrag von Yves Jacolin Gesendet: Donnerstag, 10. November 2016 13:03 An: J?rg Thomsen (WhereGroup) Cc: mapserver-users Betreff: Re: [mapserver-users] GetFeatureInfo layout in plain text humm, good point, I need to check the output request from ArcGIS. The users said that for other service they get a table, so probably an html format. Thanks, Y. 2016-11-10 12:59 GMT+01:00 J?rg Thomsen (WhereGroup) >: so, what do you have to style? Perhaps you could create a text-format output with templates to create a sort of ascii-tables, you don't have to use html-tags within the templates. But in this case the request has to be format=text/html. J?rg Am 10.11.2016 um 12:39 schrieb Yves Jacolin: > Thanks J?rg, > > Unfortunately I should use text format as ArcGIS desktop don't support other > format (to be confirmed). > > Y. > On Thursday, November 10, 2016 11:49:49 J?rg Thomsen wrote: >> Hi Yves, >> >> text/plain is text/plain, no layout. The Mapserver-templates work with >> html-format. Another way could be using the xml-output and styling it >> with xslt. But you can enable the html-output using templates with >> mapserver and it still will be possible to send text/plain requests. >> >> Templating ist easy and powerful, so to answer your question: yes, read >> the templating chapter. You'll find a short introduction in the old >> tutorial: http://demo.mapserver.org/tutorial/section3.html (example 3.1) >> >> J?rg >> >> Am 10.11.2016 um 11:16 schrieb Yves Jacolin: >>> Hello, >>> >>> I have to setup a text format for a WMS' GetFeatureInfo service. I would >>> like to know if it is possible to change the layout using a template. >>> >>> My first test was not working so any feedback is welcome. The >>> documentation >>> said that the user should read the templating chapter so I guess this is >>> possible. >>> >>> Any confirmation? >>> >>> Y. >> >> Viele Gr??e, >> J?rg Thomsen > Viele Gr??e, J?rg Thomsen -- ******************************************** Where2B Konferenz 2016 15. Dezember 2016 in Bonn www.where2b-conference.com ******************************************** ------------------------------- J?rg Thomsen WhereGroup GmbH & Co. KG Gillweg 3 14193 Berlin Germany Fon: +49 (0)30 / 5130 278 74 Fax: +49 (0)30 / 89 09 53 11 joerg.thomsen at wheregroup.com www.wheregroup.com Amtsgericht Bonn, HRA 6788 ------------------------------- Komplement?rin: WhereGroup Verwaltungs GmbH vertreten durch: Olaf Knopp, Peter Stamm ------------------------------- Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Responsable Formation et Support Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel (France) : +33 4 58 48 20 43 (new !) Tel (Suisse) : +41 21 619 10 43 Mob. : +33 6 18 75 42 21 Fax : 04 79 70 15 81 Mail : yves.jacolin at camptocamp.com http://www.camptocamp.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 8303 bytes Desc: image001.jpg URL: From Steve.Lime at state.mn.us Thu Nov 10 10:50:39 2016 From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT)) Date: Thu, 10 Nov 2016 18:50:39 +0000 Subject: [mapserver-users] GetFeatureInfo layout in plain text In-Reply-To: <26890297.ZuXorl4Djx@tatras> References: <26890297.ZuXorl4Djx@tatras> Message-ID: This should be possible. Templates are not limited to HTML output, any text based format should be able to be created. You do this through output formats. Here's an example for plain text: OUTPUTFORMAT NAME 'plain-text' DRIVER 'TEMPLATE' MIMETYPE 'text/plain' FORMATOPTION "FILE=templates/plain.tmpl" FORMATOPTION 'ATTACHMENT=myfile.txt' END The template file's extension is really irrelevant to what's being delivered back to the client - the mimetype sets that. I don't recall of the top of my head how you expose this type via WMS but I think that's pretty straight forward. Steve -----Original Message----- From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Yves Jacolin Sent: Thursday, November 10, 2016 4:16 AM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] GetFeatureInfo layout in plain text Hello, I have to setup a text format for a WMS' GetFeatureInfo service. I would like to know if it is possible to change the layout using a template. My first test was not working so any feedback is welcome. The documentation said that the user should read the templating chapter so I guess this is possible. Any confirmation? Y. -- Responsable Formation et Support Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel (France) : +33 4 58 48 20 43 (new !) Tel (Suisse) : +41 21 619 10 43 Mob. : +33 6 18 75 42 21 Fax : 04 79 70 15 81 Mail : yves.jacolin at camptocamp.com http://www.camptocamp.com _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From dmorissette at mapgears.com Thu Nov 10 18:28:33 2016 From: dmorissette at mapgears.com (Daniel Morissette) Date: Thu, 10 Nov 2016 21:28:33 -0500 Subject: [mapserver-users] GetFeatureInfo layout in plain text In-Reply-To: References: <26890297.ZuXorl4Djx@tatras> Message-ID: <31d37e3c-09a1-f039-957d-37d2786128f1@mapgears.com> To complement what Steve wrote, have a look at the wms_getfeatureinfo_formatlist in http://mapserver.org/ogc/wms_server.html Daniel On 2016-11-10 1:50 PM, Lime, Steve D (MNIT) wrote: > This should be possible. Templates are not limited to HTML output, any text based format should be able to be created. You do this through output formats. Here's an example for plain text: > > OUTPUTFORMAT > NAME 'plain-text' > DRIVER 'TEMPLATE' > MIMETYPE 'text/plain' > FORMATOPTION "FILE=templates/plain.tmpl" > FORMATOPTION 'ATTACHMENT=myfile.txt' > END > > The template file's extension is really irrelevant to what's being delivered back to the client - the mimetype sets that. I don't recall of the top of my head how you expose this type via WMS but I think that's pretty straight forward. > > Steve > > -----Original Message----- > From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Yves Jacolin > Sent: Thursday, November 10, 2016 4:16 AM > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] GetFeatureInfo layout in plain text > > Hello, > > I have to setup a text format for a WMS' GetFeatureInfo service. I would like > to know if it is possible to change the layout using a template. > > My first test was not working so any feedback is welcome. The documentation > said that the user should read the templating chapter so I guess this is > possible. > > Any confirmation? > > Y. > -- Daniel Morissette http://www.mapgears.com/ T: +1 418-696-5056 #201 http://evouala.com/ - Location Intelligence Made Easy From inna.nogeste at bom.gov.au Thu Nov 10 22:43:03 2016 From: inna.nogeste at bom.gov.au (Inna Nogeste) Date: Fri, 11 Nov 2016 06:43:03 +0000 Subject: [mapserver-users] Mapserver - classifying multiple symbol sizes with multiple colours [SEC=UNCLASSIFIED] In-Reply-To: <41c76b93-f4dd-38d2-a9bc-7f220600354e@swoodbridge.com> References: <5d7701a9df6c472daa4e229601f7f697@iss-exch13-01.bom.gov.au> <41c76b93-f4dd-38d2-a9bc-7f220600354e@swoodbridge.com> Message-ID: <1377fadb77b6412fa0a9f4b52d6080d8@iss-exch13-01.bom.gov.au> Thanks, I used SYMBOLSCALEDENOM to scale the symbols are different scales. Regards, Inna -----Original Message----- From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Stephen Woodbridge Sent: Thursday, 10 November 2016 12:20 PM To: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Mapserver - classifying multiple symbol sizes with multiple colours [SEC=UNCLASSIFIED] STYLE SYMBOL 'xyz' SIZE [size] COLOR [colour] END where [colour] is a string "#rrggbb" -Steve W On 11/9/2016 6:35 PM, Inna Nogeste wrote: > I need to symbolise data showing both size and colour, where there are 4 different symbol sizes and 11 different colours. The 11 colours can be applied to all 4 different symbol sizes. > Is there an efficient way to code this or do I need to have 44 different styles/expressions such as the following: > > EXPRESSION ([size] = 1 and [colour] = 0%) EXPRESSION ([size] = 1 and > [colour] = 10%) EXPRESSION ([size] = 1 and [colour] = 20%) EXPRESSION > ([size] = 1 and [colour] = 30%) to EXPRESSION ([size] = 4 and [colour] > = 100%) > > In addition to this, I also need to scale the symbol [size] for different zoom levels which will increase the number of styles/expressions by a factor of at least 2 or 3 resulting in at least 88 blocks of code. > > Does anyone have any suggestions for the most/a efficient way to code this? > > Regards, > Inna Nogeste | Spatial Information Specialist Geospatial Data and > Services Information Systems and Services Division Bureau of > Meteorology www.bom.gov.au > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From inna.nogeste at bom.gov.au Thu Nov 10 22:46:15 2016 From: inna.nogeste at bom.gov.au (Inna Nogeste) Date: Fri, 11 Nov 2016 06:46:15 +0000 Subject: [mapserver-users] Label polygons outside [SEC=UNCLASSIFIED] Message-ID: <086a1640b7644b7496716422d0e49fae@iss-exch13-01.bom.gov.au> I need to position the polygon label outside the polygon. Do I have to use OFFSET for this or is there another parameter I can use? Is there a way to label polygons so that they don?t collide with an overlaying/underlaying point symbol which is positioned in the centre of the polygon? Regards, Inna Nogeste?| Spatial Information Specialist Geospatial Data and Services Information Systems and Services Division Bureau of Meteorology www.bom.gov.au From schepers at rvr-online.de Thu Nov 10 22:50:42 2016 From: schepers at rvr-online.de (Schepers, Benjamin) Date: Fri, 11 Nov 2016 06:50:42 +0000 Subject: [mapserver-users] GetFeatureInfo layout in plain text In-Reply-To: References: <26890297.ZuXorl4Djx@tatras> Message-ID: <7088A26751CB34409B159B4237D510A87C835318@W2K8-EXDB02.VERBAND.LOCAL> Hi @all, thank you for that inspiration, Steve! This shows how valuable this list is... And sorry, Yves, for giving a wrong hint; but HTML-GFI within ArcGIS 10.2+ works, but be careful with embedded javascript and advanced css in html-template, ArcGIS doesn't like that much. Some thoughts on the Template-thing from Steve/Daniel: Regarding to Daniels reference to wms-server-documentation (http://mapserver.org/ogc/wms_server.html#how-does-a-wms-work), GFI-section: "text/html output using MapServer query templates (see Templating) specified in the CLASS TEMPLATE parameter (the filename has to have an .html extension). The MIME type returned by the Class templates defaults to text/html and can be controlled using the metadata ?wms_feature_info_mime_type?. It looks like there's a "natural" binding between template and html output. As Daniel stated, this can be overridden with setting a other " wms_feature_info_mime_type" - OK so far. For example someone would now be using the template for individual text-plain output-styling and setting " 'wms_feature_info_mime_type' 'text/plain' ", what happens then, if a user requests the FeatureInfo in text/html, which is from my point of view the typical format? Mapserver wouldn't produce a valid html response anymore (because of the lack of an valid html-template), would it? Should GFI with HTML then be forbidden or are multiple templates for different outputformats possible? How would this work? Maybe I didn't fully understand Steve's hint and one of you can explain? Thanks a lot, Ben -----Urspr?ngliche Nachricht----- Von: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Im Auftrag von Lime, Steve D (MNIT) Gesendet: Donnerstag, 10. November 2016 19:51 An: Yves Jacolin; mapserver-users at lists.osgeo.org Betreff: Re: [mapserver-users] GetFeatureInfo layout in plain text This should be possible. Templates are not limited to HTML output, any text based format should be able to be created. You do this through output formats. Here's an example for plain text: OUTPUTFORMAT NAME 'plain-text' DRIVER 'TEMPLATE' MIMETYPE 'text/plain' FORMATOPTION "FILE=templates/plain.tmpl" FORMATOPTION 'ATTACHMENT=myfile.txt' END The template file's extension is really irrelevant to what's being delivered back to the client - the mimetype sets that. I don't recall of the top of my head how you expose this type via WMS but I think that's pretty straight forward. Steve -----Original Message----- From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Yves Jacolin Sent: Thursday, November 10, 2016 4:16 AM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] GetFeatureInfo layout in plain text Hello, I have to setup a text format for a WMS' GetFeatureInfo service. I would like to know if it is possible to change the layout using a template. My first test was not working so any feedback is welcome. The documentation said that the user should read the templating chapter so I guess this is possible. Any confirmation? Y. -- Responsable Formation et Support Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel (France) : +33 4 58 48 20 43 (new !) Tel (Suisse) : +41 21 619 10 43 Mob. : +33 6 18 75 42 21 Fax : 04 79 70 15 81 Mail : yves.jacolin at camptocamp.com http://www.camptocamp.com _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From woodbri at swoodbridge.com Fri Nov 11 06:28:19 2016 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Fri, 11 Nov 2016 09:28:19 -0500 Subject: [mapserver-users] Label polygons outside [SEC=UNCLASSIFIED] In-Reply-To: <086a1640b7644b7496716422d0e49fae@iss-exch13-01.bom.gov.au> References: <086a1640b7644b7496716422d0e49fae@iss-exch13-01.bom.gov.au> Message-ID: <100a2b73-fbec-72ad-d33f-155ae950a0c7@swoodbridge.com> On 11/11/2016 1:46 AM, Inna Nogeste wrote: > I need to position the polygon label outside the polygon. > Do I have to use OFFSET for this or is there another parameter I can use? > > Is there a way to label polygons so that they don?t collide with an overlaying/underlaying point symbol which is positioned in the centre of the polygon? Use POSITION AUTO on you LABEL definition might help, but you might have better luck if you only have two layers colliding by setting POSITION UC OFFSET 0 -10 on one layer an then: POSITION LC OFFSET 0 10 on the second layer. This will raise the first label and lower the second label. label1 + <-- label point label2 For labels outside the polygon or to avoid collision with other labels by using a leader line look at: http://mapserver.org/mapfile/leader.html -Steve W --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus From mafonso333 at gmail.com Wed Nov 16 01:46:43 2016 From: mafonso333 at gmail.com (Marco Afonso) Date: Wed, 16 Nov 2016 09:46:43 +0000 Subject: [mapserver-users] MAP_RESOLUTION parameter Message-ID: Hello, By using OpenLayers 3 and WMS I found a really usefull parameter: MAP_RESOLUTION. It's very important to request images with higher resolution for printing. I did some search about it's documentation but I can't find any. I found references to MAP.RESOLUTION and MAP.DEFRESOLUTION but not about MAP_RESOLUTION. Please where I can find documentation about this parameter. What is the default value assumed if MAP_RESOLUTION is missing on the WMS request? Thank you! -- Regards, Marco Afonso http://goo.gl/ZDtQjm -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at maanmittauslaitos.fi Wed Nov 16 02:18:39 2016 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Wed, 16 Nov 2016 10:18:39 +0000 Subject: [mapserver-users] MAP_RESOLUTION parameter Message-ID: <4f649ca98b7d476e8ec5d617025bc79e@C119S212VM022.msvyvi.vaha.local> Hi, There was some discussion 5 years ago https://lists.osgeo.org/pipermail/mapserver-users/2011-June/069136.html but obviously I did not made the documentation ticket. Because MAP_RESOLUTION can be used without having it in the mapfile I feel that it should be documented in http://mapserver.org/ogc/wms_server.html as a vendor parameter. For Mapserver CGI the place could be http://mapserver.org/cgi/controls.html. MAP.RESOLUTION and MAP.DEFRESOLUTION is the syntax to use as cgi controls. The default value is 72 and that is documented in http://mapserver.org/development/rfc/ms-rfc-55.html. -Jukka Rahkonen- L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Marco Afonso L?hetetty: 16. marraskuuta 2016 11:47 Vastaanottaja: mapserver Aihe: [mapserver-users] MAP_RESOLUTION parameter Hello, By using OpenLayers 3 and WMS I found a really usefull parameter: MAP_RESOLUTION. It's very important to request images with higher resolution for printing. I did some search about it's documentation but I can't find any. I found references to MAP.RESOLUTION and MAP.DEFRESOLUTION but not about MAP_RESOLUTION. Please where I can find documentation about this parameter. What is the default value assumed if MAP_RESOLUTION is missing on the WMS request? Thank you! -- Regards, Marco Afonso http://goo.gl/ZDtQjm [L?hett?j? poisti kuvan.] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ~WRD000.jpg Type: image/jpeg Size: 823 bytes Desc: ~WRD000.jpg URL: From mafonso333 at gmail.com Wed Nov 16 02:50:08 2016 From: mafonso333 at gmail.com (Marco Afonso) Date: Wed, 16 Nov 2016 10:50:08 +0000 Subject: [mapserver-users] MAP_RESOLUTION parameter In-Reply-To: <4f649ca98b7d476e8ec5d617025bc79e@C119S212VM022.msvyvi.vaha.local> References: <4f649ca98b7d476e8ec5d617025bc79e@C119S212VM022.msvyvi.vaha.local> Message-ID: Thank you Jukka. I dont think it should be a vendor param as one can build a WMS URL with the desired resolution. Im even thinking displaying a combo box to the user choose from the resolution predefined options. This is great param :) Em 16/11/2016 10:18, "Rahkonen Jukka (MML)" < jukka.rahkonen at maanmittauslaitos.fi> escreveu: > Hi, > > > > There was some discussion 5 years ago https://lists.osgeo.org/ > pipermail/mapserver-users/2011-June/069136.html but obviously I did not > made the documentation ticket. > > > > Because MAP_RESOLUTION can be used without having it in the mapfile I feel > that it should be documented in http://mapserver.org/ogc/wms_server.html > as a vendor parameter. For Mapserver CGI the place could be > http://mapserver.org/cgi/controls.html. MAP.RESOLUTION and > MAP.DEFRESOLUTION is the syntax to use as cgi controls. > > > > The default value is 72 and that is documented in http://mapserver.org/ > development/rfc/ms-rfc-55.html. > > > > -Jukka Rahkonen- > > > > *L?hett?j?:* mapserver-users [mailto:mapserver-users- > bounces at lists.osgeo.org] *Puolesta *Marco Afonso > *L?hetetty:* 16. marraskuuta 2016 11:47 > *Vastaanottaja:* mapserver > *Aihe:* [mapserver-users] MAP_RESOLUTION parameter > > > > > Hello, > > > > By using OpenLayers 3 and WMS I found a really usefull parameter: > MAP_RESOLUTION. > > > > It's very important to request images with higher resolution for printing. > > > > I did some search about it's documentation but I can't find any. > > > > I found references to MAP.RESOLUTION and MAP.DEFRESOLUTION but not about > MAP_RESOLUTION. > > > > Please where I can find documentation about this parameter. > > What is the default value assumed if MAP_RESOLUTION is missing on the WMS > request? > > > > Thank you! > > > > > > -- > > Regards, > > Marco Afonso > > http://goo.gl/ZDtQjm > > [image: L?hett?j? poisti kuvan.] > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ~WRD000.jpg Type: image/jpeg Size: 823 bytes Desc: not available URL: From jukka.rahkonen at maanmittauslaitos.fi Wed Nov 16 03:02:39 2016 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Wed, 16 Nov 2016 11:02:39 +0000 Subject: [mapserver-users] MAP_RESOLUTION parameter Message-ID: <5d7a0176e166458e9eadbddbfd89d743@C119S212VM022.msvyvi.vaha.local> Hi, WMS vendor parameter is an extra parameter that does not belong to those which are defined in the standard, but which makes some difference to WMS output if it is used with a server that knows what to do with it. Other servers must just skip it. Therefore I think that MAP_RESOLUTION is exactly a vendor parameter in the same way than these great vendor parameters of Geoserver http://docs.geoserver.org/stable/en/user/services/wms/vendor.html. -Jukka Rahkonen- L?hett?j?: Marco Afonso [mailto:mafonso333 at gmail.com] L?hetetty: 16. marraskuuta 2016 12:50 Vastaanottaja: Rahkonen Jukka (MML) Kopio: mapserver Aihe: Re: [mapserver-users] MAP_RESOLUTION parameter Thank you Jukka. I dont think it should be a vendor param as one can build a WMS URL with the desired resolution. Im even thinking displaying a combo box to the user choose from the resolution predefined options. This is great param :) Em 16/11/2016 10:18, "Rahkonen Jukka (MML)" > escreveu: Hi, There was some discussion 5 years ago https://lists.osgeo.org/pipermail/mapserver-users/2011-June/069136.html but obviously I did not made the documentation ticket. Because MAP_RESOLUTION can be used without having it in the mapfile I feel that it should be documented in http://mapserver.org/ogc/wms_server.html as a vendor parameter. For Mapserver CGI the place could be http://mapserver.org/cgi/controls.html. MAP.RESOLUTION and MAP.DEFRESOLUTION is the syntax to use as cgi controls. The default value is 72 and that is documented in http://mapserver.org/development/rfc/ms-rfc-55.html. -Jukka Rahkonen- L?hett?j?: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Marco Afonso L?hetetty: 16. marraskuuta 2016 11:47 Vastaanottaja: mapserver > Aihe: [mapserver-users] MAP_RESOLUTION parameter Hello, By using OpenLayers 3 and WMS I found a really usefull parameter: MAP_RESOLUTION. It's very important to request images with higher resolution for printing. I did some search about it's documentation but I can't find any. I found references to MAP.RESOLUTION and MAP.DEFRESOLUTION but not about MAP_RESOLUTION. Please where I can find documentation about this parameter. What is the default value assumed if MAP_RESOLUTION is missing on the WMS request? Thank you! -- Regards, Marco Afonso http://goo.gl/ZDtQjm [L?hett?j? poisti kuvan.] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 823 bytes Desc: image001.jpg URL: From mafonso333 at gmail.com Wed Nov 16 03:41:34 2016 From: mafonso333 at gmail.com (Marco Afonso) Date: Wed, 16 Nov 2016 11:41:34 +0000 Subject: [mapserver-users] MAP_RESOLUTION parameter In-Reply-To: <5d7a0176e166458e9eadbddbfd89d743@C119S212VM022.msvyvi.vaha.local> References: <5d7a0176e166458e9eadbddbfd89d743@C119S212VM022.msvyvi.vaha.local> Message-ID: Oh yes you are right it is not on the standards, so it can only be a vendor param. Anyway the purpose of this thread is to ask for documentation about MAP_RESOLUTION param. I will create an issue on github then. Thanks! Em 16/11/2016 11:02, "Rahkonen Jukka (MML)" < jukka.rahkonen at maanmittauslaitos.fi> escreveu: > Hi, > > > > WMS vendor parameter is an extra parameter that does not belong to those > which are defined in the standard, but which makes some difference to WMS > output if it is used with a server that knows what to do with it. Other > servers must just skip it. Therefore I think that MAP_RESOLUTION is > exactly a vendor parameter in the same way than these great vendor > parameters of Geoserver http://docs.geoserver.org/ > stable/en/user/services/wms/vendor.html. > > > > -Jukka Rahkonen- > > > > > > *L?hett?j?:* Marco Afonso [mailto:mafonso333 at gmail.com] > *L?hetetty:* 16. marraskuuta 2016 12:50 > *Vastaanottaja:* Rahkonen Jukka (MML) > > *Kopio:* mapserver > *Aihe:* Re: [mapserver-users] MAP_RESOLUTION parameter > > > > Thank you Jukka. > > I dont think it should be a vendor param as one can build a WMS URL with > the desired resolution. > > Im even thinking displaying a combo box to the user choose from the > resolution predefined options. > > This is great param :) > > > > Em 16/11/2016 10:18, "Rahkonen Jukka (MML)" maanmittauslaitos.fi> escreveu: > > Hi, > > > > There was some discussion 5 years ago https://lists.osgeo.org/ > pipermail/mapserver-users/2011-June/069136.html but obviously I did not > made the documentation ticket. > > > > Because MAP_RESOLUTION can be used without having it in the mapfile I feel > that it should be documented in http://mapserver.org/ogc/wms_server.html > as a vendor parameter. For Mapserver CGI the place could be > http://mapserver.org/cgi/controls.html. MAP.RESOLUTION and > MAP.DEFRESOLUTION is the syntax to use as cgi controls. > > > > The default value is 72 and that is documented in http://mapserver.org/ > development/rfc/ms-rfc-55.html. > > > > -Jukka Rahkonen- > > > > *L?hett?j?:* mapserver-users [mailto:mapserver-users- > bounces at lists.osgeo.org] *Puolesta *Marco Afonso > *L?hetetty:* 16. marraskuuta 2016 11:47 > *Vastaanottaja:* mapserver > *Aihe:* [mapserver-users] MAP_RESOLUTION parameter > > > > > Hello, > > > > By using OpenLayers 3 and WMS I found a really usefull parameter: > MAP_RESOLUTION. > > > > It's very important to request images with higher resolution for printing. > > > > I did some search about it's documentation but I can't find any. > > > > I found references to MAP.RESOLUTION and MAP.DEFRESOLUTION but not about > MAP_RESOLUTION. > > > > Please where I can find documentation about this parameter. > > What is the default value assumed if MAP_RESOLUTION is missing on the WMS > request? > > > > Thank you! > > > > > > -- > > Regards, > > Marco Afonso > > http://goo.gl/ZDtQjm > > [image: L?hett?j? poisti kuvan.] > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 823 bytes Desc: not available URL: From frodewj at gmail.com Thu Nov 17 03:57:28 2016 From: frodewj at gmail.com (=?UTF-8?Q?Frode_Wiseth_J=C3=B8rgensen?=) Date: Thu, 17 Nov 2016 12:57:28 +0100 Subject: [mapserver-users] Question about WMS Dimension and Cluster Message-ID: Hi When combining Cluster and WMS dimension it seems like the Cluster is ignored. This leeds to for instance that attribute "Cluster_FeatureCount" is missing so using it on SIZE and LABELS won't work and there is no clustering of objects. Is Clustering supposed to work when using WMS Dimension? *Sample of mapfile etc:* - GetMap request with dimension filter: &dim_mainmissiontype=Brann - gives non clustered map and if for instance Cluster_FeatureCount is used, an error is thrown - The same GetMap request without dimension filter - gives a image with clustered objects Example mapfile: LAYER TYPE point METADATA "WMS_TITLE" "Fire rescue missions2" "GML_INCLUDE_ITEMS" "oppdragid,mainmissiontype" "WMS_INCLUDE_ITEMS" "oppdragid,mainmissiontype" "WMS_MAINMISSIONTYPE_ITEM" "mainmissiontype" "WMS_MAINMISSIONTYPE_EXTENT" "Andre oppdrag,Brann,Brannhindrende tiltak,Ulykke" "WMS_MAINMISSIONTYPE_UNITS" "" "WMS_MAINMISSIONTYPE_DEFAULT" "" "WMS_DIMENSIONLIST" "mainmissiontype" END CONNECTION "user=xx password=xx dbname=xx host=localhost port=5433" CONNECTIONTYPE postgis DATA "wkb_geometry FROM (SELECT oppdragid, mainmissiontype, wkb_geometry FROM firerescuemissions) AS MYTABLE USING UNIQUE oppdragid USING SRID=4326" EXTENT -9223372036.854776 0 31.118456919 9223372036.854776 NAME "layer_x" PROCESSING "CLOSE_CONNECTION=DEFER" PROCESSING "CLUSTER_GET_ALL_SHAPES=ON" PROCESSING "ITEMS=oppdragid,mainmissiontype" PROJECTION "init=epsg:4326" END CLASS NAME "class" STYLE ANGLE auto COLOR 255 127 0 LINECAP round LINEJOIN round MAXSIZE 30 MINSIZE 10 OUTLINECOLOR 0 0 0 SIZE [Cluster_FeatureCount] SYMBOL "circle" WIDTH 1 END END CLUSTER MAXDISTANCE 40 REGION "ellipse" END END Example error message: - Error using Mapserver 7.0.1 and 7.0.2: - msDrawMap(): Image handling error. Failed to draw layer named 'layer_x'.msPostGISLayerWhichShapes(): Query error. Error executing query. Check server logs - Error using Mapserver 6.4.0: - msDrawMap(): Image handling error. Failed to draw layer named 'layer_x'.msPostGISLayerWhichShapes(): Query error. Error executing query: ERROR: column "Cluster:FeatureCount" does not exist LINE 1: select "Cluster:FeatureCount",encode(ST_AsBinary(ST_Force_2D... Running Mapserver on Windows, using binary from gisinterals.com. Thanks FrodeWJ -------------- next part -------------- An HTML attachment was scrubbed... URL: From pschmitt at gmail.com Thu Nov 17 14:56:16 2016 From: pschmitt at gmail.com (Peter Schmitt) Date: Thu, 17 Nov 2016 15:56:16 -0700 Subject: [mapserver-users] Non-square pixels when re-projecting on the fly Message-ID: Hi, I have a GeoTIFF in EPSG:4326. I want to re-project on the fly to 3857. The imagery looks good, but one thing confuses me: Pixels aren't square when zoomed in very far with OpenLayers. Here's my setup (see full mapfile & OpenLayers config at the end): When the PROJECTION block of the mapfile is set to 4326, I get square pixels: http://i.imgur.com/jDQrxKH.png where the WMS request looks something like: http://localhost:8080/?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&LAYERS=image_4326&MAP=/mapfile-4326.map&WIDTH=256&HEIGHT=256&CRS=EPSG%3A4326&STYLES=&BBOX=55.8872526884079%2C-2.8125375509262085%2C55.88725805282593%2C-2.8125321865081787 When the PROJECTION block of the mapfile is set to 3857 and I change the OpenLayers view to have projection: 'EPSG:3857' and set the center to coordinates in meters, I get rectangular pixels: http://i.imgur.com/bw4pNPX.png where the WMS request looks something like: http://localhost:8080/?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2FpngLAYERS=image_3857&MAP=/mapfile-3857.map&WIDTH=256&HEIGHT=256&CRS=EPSG%3A3857&STYLES=&BBOX=-313090.24800606444%2C7536002.4584995285%2C-313089.65084178094%2C7536003.055663812 Side-note for anyone finding this thread in the future... When I re-project a layer with a tileindex, I occasionally get banding at certain zoom levels unless I add this to my LAYER: `PROCESSING "RESAMPLE=AVERAGE"` Thanks, Pete ### Mapserver mapfile-4326.map MAP OUTPUTFORMAT NAME png24 DRIVER "AGG/PNG" MIMETYPE "image/png" IMAGEMODE RGB EXTENSION "png" END IMAGETYPE PNG24 IMAGECOLOR 255 255 255 PROJECTION "init=epsg:4326" END NAME "mosaic_wms_server" WEB METADATA "ows_title" "mosaics" "ows_onlineresource" " http://localhost:8080/?MAP=/mapfile-4326.map" "ows_srs" "EPSG:4326" "ows_enable_request" "*" "wms_feature_info_mime_type" "text/html" END END MAXSIZE 4096 LAYER NAME "image_4326" METADATA "ows_title" "image stored in 4326" "ows_srs" "EPSG:4326 EPSG:3857" END DATA "/path/to/image.tif" STATUS OFF TYPE RASTER PROJECTION "+init=epsg:4326" END END END ### OpenLayers-3 configuration for 4326: var map = new ol.Map({ layers: [ new ol.layer.Tile({ title: 'Test 4326', source: new ol.source.TileWMS({ url: 'http://localhost:8080/mapserv', params: { 'LAYERS': 'image_4326', 'MAP': '/mapfile-4326.map' } }) }) ], target: 'map', view: new ol.View({projection: "EPSG:4326", center: [-2.8126,55.8868],zoom: 20}) }); -------------- next part -------------- An HTML attachment was scrubbed... URL: From tom.kralidis at canada.ca Thu Nov 17 18:14:14 2016 From: tom.kralidis at canada.ca (Kralidis, Tom (EC)) Date: Fri, 18 Nov 2016 02:14:14 +0000 Subject: [mapserver-users] PostGIS date queries performance issues Message-ID: Hi all: using 7.0.2 against a PostgreSQL 9.3/PostGIS 2.2 instance we're getting very long (timeouts even) response times when doing WFS filters against PostgreSQL date types. I've posted a Gist at [1] to help in reporting. Note that this functionality used to work with acceptable performance in 6.4.x. Looking deeper (see Gist) it appears that the SQL queries that MapServer crafts for PostgreSQL are different. When I try the 7.0.2 based SQL in a psql prompt, the same very long response time results. Any idea what could be going on here? Thanks ..Tom [1] https://gist.github.com/tomkralidis/006594382d6339c2047b441108a3991b From jukka.rahkonen at maanmittauslaitos.fi Thu Nov 17 23:44:30 2016 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Fri, 18 Nov 2016 07:44:30 +0000 Subject: [mapserver-users] Non-square pixels when re-projecting on the fly Message-ID: <7da8e4e86e654fb9866707b889a8820e@C119S212VM022.msvyvi.vaha.local> Hi, Hi, I do not quite believe that your output pixels are non-square. I rather think that what you see are views of the native 4326 pixels reprojected into 3857. In Scotland (7536002 N in epsg:3857) projecting data from 4326 to 3857 is making quite a big stretch in Nort-South direction. With your test GetMap request the pixel size in output is about 2.33 millimeters which must mean heavy oversampling. -Jukka Rahkonen- Peter Schmitt wrote: [mapserver-users] Non-square pixels when re-projecting on the fly >Hi, >I have a GeoTIFF in EPSG:4326. I want to re-project on the fly to 3857. The imagery looks good, but one thing confuses me: Pixels aren't square when zoomed in very far with OpenLayers. Here's my setup (see full mapfile & OpenLayers config at the end): When the PROJECTION block of the mapfile is set to 4326, I get square pixels: http://i.imgur.com/jDQrxKH.png where the WMS request looks something like: http://localhost:8080/?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&LAYERS=image_4326&MAP=/mapfile-4326.map&WIDTH=256&HEIGHT=256&CRS=EPSG%3A4326&STYLES=&BBOX=55.8872526884079%2C-2.8125375509262085%2C55.88725805282593%2C-2.8125321865081787 When the PROJECTION block of the mapfile is set to 3857 and I change the OpenLayers view to have projection: 'EPSG:3857' and set the center to coordinates in meters, I get rectangular pixels: http://i.imgur.com/bw4pNPX.png where the WMS request looks something like: http://localhost:8080/?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2FpngLAYERS=image_3857&MAP=/mapfile-3857.map&WIDTH=256&HEIGHT=256&CRS=EPSG%3A3857&STYLES=&BBOX=-313090.24800606444%2C7536002.4584995285%2C-313089.65084178094%2C7536003.055663812 Side-note for anyone finding this thread in the future... When I re-project a layer with a tileindex, I occasionally get banding at certain zoom levels unless I add this to my LAYER: `PROCESSING "RESAMPLE=AVERAGE"` Thanks, Pete ### Mapserver mapfile-4326.map MAP OUTPUTFORMAT NAME png24 DRIVER "AGG/PNG" MIMETYPE "image/png" IMAGEMODE RGB EXTENSION "png" END IMAGETYPE PNG24 IMAGECOLOR 255 255 255 PROJECTION "init=epsg:4326" END NAME "mosaic_wms_server" WEB METADATA "ows_title" "mosaics" "ows_onlineresource" "http://localhost:8080/?MAP=/mapfile-4326.map" "ows_srs" "EPSG:4326" "ows_enable_request" "*" "wms_feature_info_mime_type" "text/html" END END MAXSIZE 4096 LAYER NAME "image_4326" METADATA "ows_title" "image stored in 4326" "ows_srs" "EPSG:4326 EPSG:3857" END DATA "/path/to/image.tif" STATUS OFF TYPE RASTER PROJECTION "+init=epsg:4326" END END END ### OpenLayers-3 configuration for 4326: var map = new ol.Map({ layers: [ new ol.layer.Tile({ title: 'Test 4326', source: new ol.source.TileWMS({ url: 'http://localhost:8080/mapserv', params: { 'LAYERS': 'image_4326', 'MAP': '/mapfile-4326.map' } }) }) ], target: 'map', view: new ol.View({projection: "EPSG:4326", center: [-2.8126,55.8868],zoom: 20}) }); -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andreas.Eichner at sid.sachsen.de Fri Nov 18 03:00:54 2016 From: Andreas.Eichner at sid.sachsen.de (Eichner, Andreas - SID) Date: Fri, 18 Nov 2016 11:00:54 +0000 Subject: [mapserver-users] PostGIS date queries performance issues In-Reply-To: <20161118021420.8EEBD61346D1@lists.osgeo.org> References: <20161118021420.8EEBD61346D1@lists.osgeo.org> Message-ID: <6F331135492B944D90731CE93743D5682557C5@FS-EX-DB101.fs.sachsen.de> Besides comparing the execution plans for both query versions, you could try: 1. omit the outer ORDER BY clause (not present in MS6 and the inner one is not relevant for the result, so might be optimized away by the planner) 2. try the MS7 SQL without the superfluous st_intersects() part (it might not use the spatial index in the same way as the "&&" operator) 3. replace the time comparision part with the MS6 BETWEEN construct 4. try all at once and/or combinations of them At least one should help you identify the cause. If you've found it post it here so that one could search the generating code. HTH > -----Urspr?ngliche Nachricht----- > Von: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Im > Auftrag von Kralidis, Tom (EC) > Gesendet: Freitag, 18. November 2016 03:14 > An: mapserver-users at lists.osgeo.org > Betreff: [mapserver-users] PostGIS date queries performance issues > > Hi all: using 7.0.2 against a PostgreSQL 9.3/PostGIS 2.2 instance we're > getting very long (timeouts even) response times when doing WFS filters > against PostgreSQL date types. > > I've posted a Gist at [1] to help in reporting. Note that this > functionality used to work with acceptable performance in 6.4.x. > > Looking deeper (see Gist) it appears that the SQL queries that MapServer > crafts for PostgreSQL are different. When I try the 7.0.2 based SQL in a > psql prompt, the same very long response time results. > > Any idea what could be going on here? > > Thanks > > ..Tom > > [1] https://gist.github.com/tomkralidis/006594382d6339c2047b441108a3991b > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From thomas.ellett at statkart.no Fri Nov 18 06:41:18 2016 From: thomas.ellett at statkart.no (tellett) Date: Fri, 18 Nov 2016 07:41:18 -0700 (MST) Subject: [mapserver-users] Mapcache support for multiple format types Message-ID: <1479480078148-5296486.post@n6.nabble.com> Hi all, I'm wondering if theres any other way in mapcache to support multiple formats (png and jpeg for example) than to create a new tileset? For example if I have a wms 'source' called topo2_wms (that supports png and jpeg), and a tileset called topo2cache, whats the best ways to create tiles in both png and jpeg? Is it really necessary to create 2 tilesets, 1 called topo2cache_png and one topo2cache_jpeg? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapcache-support-for-multiple-format-types-tp5296486.html Sent from the Mapserver - User mailing list archive at Nabble.com. From pschmitt at gmail.com Fri Nov 18 09:28:06 2016 From: pschmitt at gmail.com (Peter Schmitt) Date: Fri, 18 Nov 2016 10:28:06 -0700 Subject: [mapserver-users] Non-square pixels when re-projecting on the fly In-Reply-To: <7da8e4e86e654fb9866707b889a8820e@C119S212VM022.msvyvi.vaha.local> References: <7da8e4e86e654fb9866707b889a8820e@C119S212VM022.msvyvi.vaha.local> Message-ID: On Fri, Nov 18, 2016 at 12:44 AM, Rahkonen Jukka (MML) < jukka.rahkonen at maanmittauslaitos.fi> wrote: > I do not quite believe that your output pixels are non-square. I rather > think that what you see are views of the native 4326 pixels reprojected > into 3857. In Scotland (7536002 N in epsg:3857) projecting data from 4326 > to 3857 is making quite a big stretch in Nort-South direction. With your > test GetMap request the pixel size in output is about 2.33 millimeters > which must mean heavy oversampling. > > > Thanks for the reply! You are correct: the images I displayed are zoomed pretty far in, resulting in heavy oversampling. Here's a sample showing one pixel (blue highlight) on the heavily oversampled image: http://i.imgur.com/scO8iIm.png It is the oversampling I am trying to understand. Here is a heavily oversampled GetMap with data which went through gdalwarp to reproject the data from 4326 to 3857... then I use Mapserver to display the results setting the input & output PROJECTION blocks to 3857: http://i.imgur.com/MrfDb1E.png I expected Mapserver reproject on the fly to look more like this. Instead, oversampled pixels are stretched, like this: http://i.imgur.com/bw4pNPX.png I played around with various `PROCESSING "RESAMPLE=resample_method"` in my layer, but I get the same stretched output on heavily oversampled output using Mapserver to reproject on the fly from 4326 to 3857. When zoomed out to near-native resolution of my monitor, the output looks great. I only notice the stretching when oversampled. What is Mapserver using to reproject on the fly? Thanks again! Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.Lime at state.mn.us Fri Nov 18 10:10:07 2016 From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT)) Date: Fri, 18 Nov 2016 18:10:07 +0000 Subject: [mapserver-users] PostGIS date queries performance issues In-Reply-To: <20161118021420.6AE226146833@lists.osgeo.org> References: <20161118021420.6AE226146833@lists.osgeo.org> Message-ID: Tom: There were definitely changes in this area. Can you share the WFS filter plus the resulting SQL in each version. This is the type of thing that should have gotten better in 7.0 as WFS filters are translated more completely into native SQL. It?s possible I introduced an inefficiency in that translation beyond what was done for PostGIS in mapogcfilter.c in 6.4. -Steve -----Original Message----- From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Kralidis, Tom (EC) Sent: Thursday, November 17, 2016 8:14 PM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] PostGIS date queries performance issues Hi all: using 7.0.2 against a PostgreSQL 9.3/PostGIS 2.2 instance we're getting very long (timeouts even) response times when doing WFS filters against PostgreSQL date types. I've posted a Gist at [1] to help in reporting. Note that this functionality used to work with acceptable performance in 6.4.x. Looking deeper (see Gist) it appears that the SQL queries that MapServer crafts for PostgreSQL are different. When I try the 7.0.2 based SQL in a psql prompt, the same very long response time results. Any idea what could be going on here? Thanks ..Tom [1] https://gist.github.com/tomkralidis/006594382d6339c2047b441108a3991b _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From TMa at edrnet.com Fri Nov 18 12:22:03 2016 From: TMa at edrnet.com (TMa Teng) Date: Fri, 18 Nov 2016 20:22:03 +0000 Subject: [mapserver-users] Symbols for railroad rendering in svg Message-ID: Hi all, I am working on a project to export the wms to SVG format, it is the from the requirement of the features to be in vector format. And I am facing trouble to use the render engine to render the railroad symbol as a brush line. RailRoad Symbol I am using is as follow: CLASS NAME "MD_Railroad" STYLE SYMBOL "line_solid" SIZE 2 COLOR 0 0 0 END STYLE SYMBOL "tie" SIZE 6 COLOR 0 0 0 GAP -10 END END It works as expect when the return image in raster format such as PNG, but when using SVG it shows error: "msDrawLineSymbol(): Renderer error. renderer does not support brushed lines" Does anyone have any suggestion about how to design a vector-enabled symbol for railways please? I am using MapServer 7.0, data is in SQL Server Spatial. Best regards, Teng From andy at squeakycode.net Fri Nov 18 14:51:30 2016 From: andy at squeakycode.net (Andy Colson) Date: Fri, 18 Nov 2016 16:51:30 -0600 Subject: [mapserver-users] Symbols for railroad rendering in svg In-Reply-To: References: Message-ID: <6d9c23c5-d500-2e7c-83c4-8015f934a7d2@squeakycode.net> On 11/18/2016 2:22 PM, TMa Teng wrote: > Hi all, > > I am working on a project to export the wms to SVG format, it is the from the requirement of the features to be in vector format. And I am facing trouble to use the render engine to render the railroad symbol as a brush line. > > RailRoad Symbol I am using is as follow: > > CLASS > NAME "MD_Railroad" > > STYLE > SYMBOL "line_solid" > SIZE 2 > COLOR 0 0 0 > END > STYLE > SYMBOL "tie" > SIZE 6 > COLOR 0 0 0 > GAP -10 > END > END > > It works as expect when the return image in raster format such as PNG, but when using SVG it shows error: > > "msDrawLineSymbol(): Renderer error. renderer does not support brushed lines" > > Does anyone have any suggestion about how to design a vector-enabled symbol for railways please? I am using MapServer 7.0, data is in SQL Server Spatial. > > Best regards, > > Teng > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > Without seeing the "tie" symbol, its hard to say if mine is different. Here's how I draw mine: SYMBOL NAME "railway" TYPE truetype FONT "Vera" CHARACTER "|" END CLASS NAME 'Railroad' STYLE SYMBOL 0 COLOR 0 0 0 SIZE 1 END STYLE SYMBOL 'railway' COLOR 0 0 0 SIZE 7 GAP -10 END END -Andy From TMa at edrnet.com Fri Nov 18 15:36:06 2016 From: TMa at edrnet.com (TMa Teng) Date: Fri, 18 Nov 2016 23:36:06 +0000 Subject: [mapserver-users] Symbols for railroad rendering in svg In-Reply-To: <6d9c23c5-d500-2e7c-83c4-8015f934a7d2@squeakycode.net> References: <6d9c23c5-d500-2e7c-83c4-8015f934a7d2@squeakycode.net> Message-ID: Thanks for sharing your method. However that is still brush line for the railway symbol which is not supported when using SVG format, isn?t it? Could you verify if a wms getmap call which contains the railway layer and in the getmap request set the output format=SVG to see if that works at your side? Thanks again, Teng -----Original Message----- From: Andy Colson [mailto:andy at squeakycode.net] Sent: Friday, November 18, 2016 5:52 PM To: mapserver-users at lists.osgeo.org; TMa Teng Subject: Re: [mapserver-users] Symbols for railroad rendering in svg On 11/18/2016 2:22 PM, TMa Teng wrote: > Hi all, > > I am working on a project to export the wms to SVG format, it is the from the requirement of the features to be in vector format. And I am facing trouble to use the render engine to render the railroad symbol as a brush line. > > RailRoad Symbol I am using is as follow: > > CLASS > NAME "MD_Railroad" > > STYLE > SYMBOL "line_solid" > SIZE 2 > COLOR 0 0 0 > END > STYLE > SYMBOL "tie" > SIZE 6 > COLOR 0 0 0 > GAP -10 > END > END > > It works as expect when the return image in raster format such as PNG, but when using SVG it shows error: > > "msDrawLineSymbol(): Renderer error. renderer does not support brushed lines" > > Does anyone have any suggestion about how to design a vector-enabled symbol for railways please? I am using MapServer 7.0, data is in SQL Server Spatial. > > Best regards, > > Teng > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > Without seeing the "tie" symbol, its hard to say if mine is different. Here's how I draw mine: SYMBOL NAME "railway" TYPE truetype FONT "Vera" CHARACTER "|" END CLASS NAME 'Railroad' STYLE SYMBOL 0 COLOR 0 0 0 SIZE 1 END STYLE SYMBOL 'railway' COLOR 0 0 0 SIZE 7 GAP -10 END END -Andy From andy at squeakycode.net Fri Nov 18 17:51:14 2016 From: andy at squeakycode.net (Andy Colson) Date: Fri, 18 Nov 2016 19:51:14 -0600 Subject: [mapserver-users] Symbols for railroad rendering in svg In-Reply-To: References: <6d9c23c5-d500-2e7c-83c4-8015f934a7d2@squeakycode.net> Message-ID: <4f16096d-dbeb-c31b-7a69-9789052f06ae@squeakycode.net> Seems to work fine: http://maps.camavision.com/map/jasperia?LAYERS=railroad&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=svg&SRS=EPSG%3A3857&BBOX=-10383282.7081,5105096.2257452,-10333332.7081,5127296.2257452&WIDTH=1998&HEIGHT=888 -Andy On 11/18/2016 05:36 PM, TMa Teng wrote: > Thanks for sharing your method. > > However that is still brush line for the railway symbol which is not supported when using SVG format, isn?t it? Could you verify if a wms getmap call which contains the railway layer and in the getmap request set the output format=SVG to see if that works at your side? > > Thanks again, > Teng > > -----Original Message----- > From: Andy Colson [mailto:andy at squeakycode.net] > Sent: Friday, November 18, 2016 5:52 PM > To: mapserver-users at lists.osgeo.org; TMa Teng > Subject: Re: [mapserver-users] Symbols for railroad rendering in svg > > On 11/18/2016 2:22 PM, TMa Teng wrote: >> Hi all, >> >> I am working on a project to export the wms to SVG format, it is the from the requirement of the features to be in vector format. And I am facing trouble to use the render engine to render the railroad symbol as a brush line. >> >> RailRoad Symbol I am using is as follow: >> >> CLASS >> NAME "MD_Railroad" >> >> STYLE >> SYMBOL "line_solid" >> SIZE 2 >> COLOR 0 0 0 >> END >> STYLE >> SYMBOL "tie" >> SIZE 6 >> COLOR 0 0 0 >> GAP -10 >> END >> END >> >> It works as expect when the return image in raster format such as PNG, but when using SVG it shows error: >> >> "msDrawLineSymbol(): Renderer error. renderer does not support brushed lines" >> >> Does anyone have any suggestion about how to design a vector-enabled symbol for railways please? I am using MapServer 7.0, data is in SQL Server Spatial. >> >> Best regards, >> >> Teng >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > > Without seeing the "tie" symbol, its hard to say if mine is different. > Here's how I draw mine: > > SYMBOL > NAME "railway" > TYPE truetype > FONT "Vera" > CHARACTER "|" > END > > CLASS > NAME 'Railroad' > STYLE > SYMBOL 0 > COLOR 0 0 0 > SIZE 1 > END > STYLE > SYMBOL 'railway' > COLOR 0 0 0 > SIZE 7 > GAP -10 > END > END > > -Andy > From andy at squeakycode.net Fri Nov 18 17:53:09 2016 From: andy at squeakycode.net (Andy Colson) Date: Fri, 18 Nov 2016 19:53:09 -0600 Subject: [mapserver-users] Symbols for railroad rendering in svg In-Reply-To: References: <6d9c23c5-d500-2e7c-83c4-8015f934a7d2@squeakycode.net> Message-ID: Oh, also, my mapserver is: MapServer version 7.0.2 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WFS_SERVER SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE On 11/18/2016 05:36 PM, TMa Teng wrote: > Thanks for sharing your method. > > However that is still brush line for the railway symbol which is not supported when using SVG format, isn?t it? Could you verify if a wms getmap call which contains the railway layer and in the getmap request set the output format=SVG to see if that works at your side? > > Thanks again, > Teng > > -----Original Message----- > From: Andy Colson [mailto:andy at squeakycode.net] > Sent: Friday, November 18, 2016 5:52 PM > To: mapserver-users at lists.osgeo.org; TMa Teng > Subject: Re: [mapserver-users] Symbols for railroad rendering in svg > > On 11/18/2016 2:22 PM, TMa Teng wrote: >> Hi all, >> >> I am working on a project to export the wms to SVG format, it is the from the requirement of the features to be in vector format. And I am facing trouble to use the render engine to render the railroad symbol as a brush line. >> >> RailRoad Symbol I am using is as follow: >> >> CLASS >> NAME "MD_Railroad" >> >> STYLE >> SYMBOL "line_solid" >> SIZE 2 >> COLOR 0 0 0 >> END >> STYLE >> SYMBOL "tie" >> SIZE 6 >> COLOR 0 0 0 >> GAP -10 >> END >> END >> >> It works as expect when the return image in raster format such as PNG, but when using SVG it shows error: >> >> "msDrawLineSymbol(): Renderer error. renderer does not support brushed lines" >> >> Does anyone have any suggestion about how to design a vector-enabled symbol for railways please? I am using MapServer 7.0, data is in SQL Server Spatial. >> >> Best regards, >> >> Teng >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > > Without seeing the "tie" symbol, its hard to say if mine is different. > Here's how I draw mine: > > SYMBOL > NAME "railway" > TYPE truetype > FONT "Vera" > CHARACTER "|" > END > > CLASS > NAME 'Railroad' > STYLE > SYMBOL 0 > COLOR 0 0 0 > SIZE 1 > END > STYLE > SYMBOL 'railway' > COLOR 0 0 0 > SIZE 7 > GAP -10 > END > END > > -Andy > From TMa at edrnet.com Mon Nov 21 04:35:24 2016 From: TMa at edrnet.com (TMa Teng) Date: Mon, 21 Nov 2016 12:35:24 +0000 Subject: [mapserver-users] Symbols for railroad rendering in svg In-Reply-To: References: <6d9c23c5-d500-2e7c-83c4-8015f934a7d2@squeakycode.net> Message-ID: Thanks Andy, My 'tie' symbol is same as your 'railway', the actual problem is the track... My original one is as follow: SYMBOL NAME "line_solid" TYPE ellipse POINTS 1 1 END FILLED true END I changed it to what you suggested, and it works perfectly for SVG output. Really appreciate your help. Best regards, Teng -----Original Message----- From: Andy Colson [mailto:andy at squeakycode.net] Sent: Friday, November 18, 2016 8:53 PM To: TMa Teng ; mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Symbols for railroad rendering in svg Oh, also, my mapserver is: MapServer version 7.0.2 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WFS_SERVER SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE On 11/18/2016 05:36 PM, TMa Teng wrote: > Thanks for sharing your method. > > However that is still brush line for the railway symbol which is not supported when using SVG format, isn?t it? Could you verify if a wms getmap call which contains the railway layer and in the getmap request set the output format=SVG to see if that works at your side? > > Thanks again, > Teng > > -----Original Message----- > From: Andy Colson [mailto:andy at squeakycode.net] > Sent: Friday, November 18, 2016 5:52 PM > To: mapserver-users at lists.osgeo.org; TMa Teng > Subject: Re: [mapserver-users] Symbols for railroad rendering in svg > > On 11/18/2016 2:22 PM, TMa Teng wrote: >> Hi all, >> >> I am working on a project to export the wms to SVG format, it is the from the requirement of the features to be in vector format. And I am facing trouble to use the render engine to render the railroad symbol as a brush line. >> >> RailRoad Symbol I am using is as follow: >> >> CLASS >> NAME "MD_Railroad" >> >> STYLE >> SYMBOL "line_solid" >> SIZE 2 >> COLOR 0 0 0 >> END >> STYLE >> SYMBOL "tie" >> SIZE 6 >> COLOR 0 0 0 >> GAP -10 >> END >> END >> >> It works as expect when the return image in raster format such as PNG, but when using SVG it shows error: >> >> "msDrawLineSymbol(): Renderer error. renderer does not support brushed lines" >> >> Does anyone have any suggestion about how to design a vector-enabled symbol for railways please? I am using MapServer 7.0, data is in SQL Server Spatial. >> >> Best regards, >> >> Teng >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > > Without seeing the "tie" symbol, its hard to say if mine is different. > Here's how I draw mine: > > SYMBOL > NAME "railway" > TYPE truetype > FONT "Vera" > CHARACTER "|" > END > > CLASS > NAME 'Railroad' > STYLE > SYMBOL 0 > COLOR 0 0 0 > SIZE 1 > END > STYLE > SYMBOL 'railway' > COLOR 0 0 0 > SIZE 7 > GAP -10 > END > END > > -Andy > From jmckenna at gatewaygeomatics.com Mon Nov 21 04:41:14 2016 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Mon, 21 Nov 2016 08:41:14 -0400 Subject: [mapserver-users] Symbols for railroad rendering in svg In-Reply-To: References: <6d9c23c5-d500-2e7c-83c4-8015f934a7d2@squeakycode.net> Message-ID: <4a69d606-af2f-f728-5978-746ea3155467@gatewaygeomatics.com> MapServer does have a "Symbology Exchange" section on the wiki; it would be great to share your great symbol examples there: https://github.com/mapserver/mapserver/wiki/MapServer-Symbology-Exchange -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2016-11-21 8:35 AM, TMa Teng wrote: > Thanks Andy, > > My 'tie' symbol is same as your 'railway', the actual problem is the track... > > My original one is as follow: > SYMBOL > NAME "line_solid" > TYPE ellipse > POINTS 1 1 > END > FILLED true > END > > I changed it to what you suggested, and it works perfectly for SVG output. > > Really appreciate your help. > > Best regards, > Teng > > > -----Original Message----- > From: Andy Colson [mailto:andy at squeakycode.net] > Sent: Friday, November 18, 2016 8:53 PM > To: TMa Teng ; mapserver-users at lists.osgeo.org > Subject: Re: [mapserver-users] Symbols for railroad rendering in svg > > Oh, also, my mapserver is: > > MapServer version 7.0.2 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WFS_SERVER SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE > > > > On 11/18/2016 05:36 PM, TMa Teng wrote: >> Thanks for sharing your method. >> >> However that is still brush line for the railway symbol which is not supported when using SVG format, isn?t it? Could you verify if a wms getmap call which contains the railway layer and in the getmap request set the output format=SVG to see if that works at your side? >> >> Thanks again, >> Teng >> >> -----Original Message----- >> From: Andy Colson [mailto:andy at squeakycode.net] >> Sent: Friday, November 18, 2016 5:52 PM >> To: mapserver-users at lists.osgeo.org; TMa Teng >> Subject: Re: [mapserver-users] Symbols for railroad rendering in svg >> >> On 11/18/2016 2:22 PM, TMa Teng wrote: >>> Hi all, >>> >>> I am working on a project to export the wms to SVG format, it is the from the requirement of the features to be in vector format. And I am facing trouble to use the render engine to render the railroad symbol as a brush line. >>> >>> RailRoad Symbol I am using is as follow: >>> >>> CLASS >>> NAME "MD_Railroad" >>> >>> STYLE >>> SYMBOL "line_solid" >>> SIZE 2 >>> COLOR 0 0 0 >>> END >>> STYLE >>> SYMBOL "tie" >>> SIZE 6 >>> COLOR 0 0 0 >>> GAP -10 >>> END >>> END >>> >>> It works as expect when the return image in raster format such as PNG, but when using SVG it shows error: >>> >>> "msDrawLineSymbol(): Renderer error. renderer does not support brushed lines" >>> >>> Does anyone have any suggestion about how to design a vector-enabled symbol for railways please? I am using MapServer 7.0, data is in SQL Server Spatial. >>> >>> Best regards, >>> >>> Teng >>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >> >> Without seeing the "tie" symbol, its hard to say if mine is different. >> Here's how I draw mine: >> >> SYMBOL >> NAME "railway" >> TYPE truetype >> FONT "Vera" >> CHARACTER "|" >> END >> >> CLASS >> NAME 'Railroad' >> STYLE >> SYMBOL 0 >> COLOR 0 0 0 >> SIZE 1 >> END >> STYLE >> SYMBOL 'railway' >> COLOR 0 0 0 >> SIZE 7 >> GAP -10 >> END >> END >> >> -Andy >> > From thomas.bonfort at gmail.com Tue Nov 22 00:43:51 2016 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Tue, 22 Nov 2016 08:43:51 +0000 Subject: [mapserver-users] Mapcache support for multiple format types In-Reply-To: <1479480078148-5296486.post@n6.nabble.com> References: <1479480078148-5296486.post@n6.nabble.com> Message-ID: There is no support for multiple formats per tileset (yet?), as I could not imagine a compelling use-case that would warrant it. Would you care to explain why this would be needed? -- thomas On Fri, Nov 18, 2016 at 3:41 PM tellett wrote: > Hi all, > > I'm wondering if theres any other way in mapcache to support multiple > formats (png and jpeg for example) than to create a new tileset? > > For example if I have a wms 'source' called topo2_wms (that supports png > and > jpeg), and a tileset called topo2cache, whats the best ways to create tiles > in both png and jpeg? Is it really necessary to create 2 tilesets, 1 called > topo2cache_png and one topo2cache_jpeg? > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/Mapcache-support-for-multiple-format-types-tp5296486.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.ellett at statkart.no Tue Nov 22 03:19:39 2016 From: thomas.ellett at statkart.no (tellett) Date: Tue, 22 Nov 2016 04:19:39 -0700 (MST) Subject: [mapserver-users] Mapcache support for multiple format types In-Reply-To: References: <1479480078148-5296486.post@n6.nabble.com> Message-ID: <1479813579568-5296917.post@n6.nabble.com> Hi Thomas, Really, its just so that we don't need to have 2 separate layers in the service for each format type. The norwegian mapping authority has about 25 cache 'services' and so its a bit messy in the config and WMTS capabilities file if we have to have 50 tilesets instead of 25. Its no problem technically having 2 tilesets called 'topo2_png' and 'topo2_jpeg' for example (they would have the same title and abstract), it just would have been preferable for us to have 1 layer support multiple formats so that the client could call the same service/layer/tileset and choose the format type through the kvp parameter. Not a show-stopper for us, we just have to change our way of thinking :) Tom -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapcache-support-for-multiple-format-types-tp5296486p5296917.html Sent from the Mapserver - User mailing list archive at Nabble.com. From mathias.cunault at inrap.fr Tue Nov 22 07:35:03 2016 From: mathias.cunault at inrap.fr (Leehan) Date: Tue, 22 Nov 2016 08:35:03 -0700 (MST) Subject: [mapserver-users] Can't get capabilities xml error message Message-ID: <1479828903941-5296958.post@n6.nabble.com> hello, Mapserver 7 & Apache are installed using ms4w 3.1.4. All is running fine with windows server 2008. I can get a map in FireFox. I can't get the WMS with Qgis : failed to load capabilities (traduction from french, sorry) Indeed, I can't get the capabilities in FF either with : http://10.210.1.32:8080/cgi-bin/mapserv.exe?...\fond_mapserver.map&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetCapabilities& here's the message : Previously I had a message beginning by "mandatory metadata...'. I worked on my mapfile and then get this last message just above. here's my mapfile : MAP WEB METADATA "wms_title" "WMS-Inrap, aide au montage des op?rations" "wms_onlineresource" "http://10.210.1.32:8080/Apache/cgi-bin/mapserv.exe?MAP=C:/ms4w/map/fond_mapserver.map&" "wms_enable_request" "*" "wms_srs" "EPSG:2154 EPSG:3857 EPSG:900913" "wms_encoding" "UTF-8" END END All layers have METADATA with wms_title and wms_srs (even if this last param is not required because I have a PROJECTION object). I feel a little lost. Thanks -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Can-t-get-capabilities-xml-error-message-tp5296958.html Sent from the Mapserver - User mailing list archive at Nabble.com. From jukka.rahkonen at maanmittauslaitos.fi Tue Nov 22 08:15:36 2016 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Tue, 22 Nov 2016 16:15:36 +0000 Subject: [mapserver-users] Can't get capabilities xml error message Message-ID: <0e691ca1bbed4ee78fd132f0800ffce1@C119S212VM022.msvyvi.vaha.local> Hi, I believe that a quick fix is to edit your mapfile and change " op?rations " into "operations". Non-ASCII character should be OK if you save the mapfile as UTF8 which is a requirement nowadays in any case. Plain ASCII mapfiles still do work even if they are saved as Latin1 or something. -Jukka Rahkonen- Leehan wrote: [mapserver-users] Can't get capabilities xml error message > hello, > Mapserver 7 & Apache are installed using ms4w 3.1.4. All is running fine with windows server 2008. I can get a map in FireFox. I can't get the WMS with Qgis : failed to load capabilities (traduction from french, sorry) Indeed, I can't get the capabilities in FF either with : http://10.210.1.32:8080/cgi-bin/mapserv.exe?...\fond_mapserver.map&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetCapabilities& here's the message : Previously I had a message beginning by "mandatory metadata...'. I worked on my mapfile and then get this last message just above. here's my mapfile : MAP WEB METADATA "wms_title" "WMS-Inrap, aide au montage des op?rations" "wms_onlineresource" "http://10.210.1.32:8080/Apache/cgi-bin/mapserv.exe?MAP=C:/ms4w/map/fond_mapserver.map&" "wms_enable_request" "*" "wms_srs" "EPSG:2154 EPSG:3857 EPSG:900913" "wms_encoding" "UTF-8" END END All layers have METADATA with wms_title and wms_srs (even if this last param is not required because I have a PROJECTION object). I feel a little lost. Thanks -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Can-t-get-capabilities-xml-error-message-tp5296958.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From thomas.bonfort at gmail.com Tue Nov 22 09:28:30 2016 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Tue, 22 Nov 2016 17:28:30 +0000 Subject: [mapserver-users] Mapcache support for multiple format types In-Reply-To: <1479813579568-5296917.post@n6.nabble.com> References: <1479480078148-5296486.post@n6.nabble.com> <1479813579568-5296917.post@n6.nabble.com> Message-ID: Hi Tom, My question wasn't clear, or you did not answer my question ;-) I was looking for a compelling *use-case* where the solution requires a tile server to support both jpeg and png for a given tileset. My stance for mapcache is that the data producer (i.e. you as the mapcache administrator) knows his data and therefore which format (*singular*) is best suited for a given tileset. I'd be happy to revisit my judgment if presented with a scenario where more than one format per tileset is actually needed. Cheers, Thomas On Tue, Nov 22, 2016 at 12:19 PM tellett wrote: Hi Thomas, Really, its just so that we don't need to have 2 separate layers in the service for each format type. The norwegian mapping authority has about 25 cache 'services' and so its a bit messy in the config and WMTS capabilities file if we have to have 50 tilesets instead of 25. Its no problem technically having 2 tilesets called 'topo2_png' and 'topo2_jpeg' for example (they would have the same title and abstract), it just would have been preferable for us to have 1 layer support multiple formats so that the client could call the same service/layer/tileset and choose the format type through the kvp parameter. Not a show-stopper for us, we just have to change our way of thinking :) Tom -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapcache-support-for-multiple-format-types-tp5296486p5296917.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthew.f.cechini at nasa.gov Tue Nov 22 12:51:04 2016 From: matthew.f.cechini at nasa.gov (Cechini, Matthew F. (GSFC-423.0)[Science Systems & Applications, Inc.]) Date: Tue, 22 Nov 2016 20:51:04 +0000 Subject: [mapserver-users] Mapcache support for multiple format types In-Reply-To: References: <1479480078148-5296486.post@n6.nabble.com> <1479813579568-5296917.post@n6.nabble.com> Message-ID: A compelling situation could be a layer that has uses cases where you want it have transparency or not, making it an ?overlay? or ?base layer? respectively. Though, if you?re serving it as 24+1bit PNG with transparency, you?re gonna lose quality in JPEG, so you would probably want to return a 24bit PNG. And at that point, you would have to have separate layers because the mime type is the same. As an aside, a member of our team did work on a JPNG approach where tiles that require transparency are PNG and those that do not are JPEG. The devil is in the details of quality mapping with that though. Matt ................................................................. Matthew Cechini Contractor, Science Systems and Applications, Inc. NASA GIBS Systems/Software Engineer 410.205.6272 From: mapserver-users > on behalf of thomas bonfort > Date: Tuesday, November 22, 2016 at 1:28 PM To: tellett >, "mapserver-users at lists.osgeo.org" > Subject: Re: [mapserver-users] Mapcache support for multiple format types Hi Tom, My question wasn't clear, or you did not answer my question ;-) I was looking for a compelling *use-case* where the solution requires a tile server to support both jpeg and png for a given tileset. My stance for mapcache is that the data producer (i.e. you as the mapcache administrator) knows his data and therefore which format (*singular*) is best suited for a given tileset. I'd be happy to revisit my judgment if presented with a scenario where more than one format per tileset is actually needed. Cheers, Thomas On Tue, Nov 22, 2016 at 12:19 PM tellett > wrote: Hi Thomas, Really, its just so that we don't need to have 2 separate layers in the service for each format type. The norwegian mapping authority has about 25 cache 'services' and so its a bit messy in the config and WMTS capabilities file if we have to have 50 tilesets instead of 25. Its no problem technically having 2 tilesets called 'topo2_png' and 'topo2_jpeg' for example (they would have the same title and abstract), it just would have been preferable for us to have 1 layer support multiple formats so that the client could call the same service/layer/tileset and choose the format type through the kvp parameter. Not a show-stopper for us, we just have to change our way of thinking :) Tom -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapcache-support-for-multiple-format-types-tp5296486p5296917.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.bonfort at gmail.com Tue Nov 22 23:49:17 2016 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Wed, 23 Nov 2016 07:49:17 +0000 Subject: [mapserver-users] Mapcache support for multiple format types In-Reply-To: References: <1479480078148-5296486.post@n6.nabble.com> <1479813579568-5296917.post@n6.nabble.com> Message-ID: On Tue, Nov 22, 2016 at 9:51 PM Cechini, Matthew F. (GSFC-423.0)[Science Systems & Applications, Inc.] wrote: > A compelling situation could be a layer that has uses cases where you want > it have transparency or not, making it an ?overlay? or ?base layer? > respectively. > In theory that would be a use case. In practice, I doubt that you would be using the exact same layers in an overlay or in a base layer. Plus you would probably want to use a different wms in order to include the TRANSPARENT=ON|OFF KVP parameter. I.e. you need distinct tileset definitions. Supposing the previous limitations do not apply to you (i.e. you use exact same layers in overlay or basemap, and you always set TRANSPARENT=ON in your source (letting mapcache set your transparent background to black when saving as jpeg)), you'd get an advantage by supporting both jpeg and png only if the jpeg tile file sizes are significantly smaller than the png ones, and that the network bandwidth you plan to spare with that offsets the cost of having to store all your tiles twice. > > > Though, if you?re serving it as 24+1bit PNG with transparency, you?re > gonna lose quality in JPEG, so you would probably want to return a 24bit > PNG. And at that point, you would have to have separate layers because the > mime type is the same. > > As an aside, a member of our team did work on a JPNG approach where tiles > that require transparency are PNG and those that do not are JPEG. The > devil is in the details of quality mapping with that though. > Mapcache supports JPNG (called "mixed" in mapcache terms) since 2012. Should that support not have been available, support for both jpeg and png for a single tileset would make more sense. -- thomas > > Matt > ................................................................. > Matthew Cechini > Contractor, Science Systems and Applications, Inc. > NASA GIBS Systems/Software Engineer > 410.205.6272 > > From: mapserver-users on behalf > of thomas bonfort > Date: Tuesday, November 22, 2016 at 1:28 PM > To: tellett , "mapserver-users at lists.osgeo.org" > > Subject: Re: [mapserver-users] Mapcache support for multiple format types > > Hi Tom, > My question wasn't clear, or you did not answer my question ;-) > I was looking for a compelling *use-case* where the solution requires a > tile server to support both jpeg and png for a given tileset. My stance for > mapcache is that the data producer (i.e. you as the mapcache administrator) > knows his data and therefore which format (*singular*) is best suited for a > given tileset. I'd be happy to revisit my judgment if presented with a > scenario where more than one format per tileset is actually needed. > > Cheers, > Thomas > > On Tue, Nov 22, 2016 at 12:19 PM tellett > wrote: > > Hi Thomas, > > Really, its just so that we don't need to have 2 separate layers in the > service for each format type. The norwegian mapping authority has about 25 > cache 'services' and so its a bit messy in the config and WMTS capabilities > file if we have to have 50 tilesets instead of 25. > > Its no problem technically having 2 tilesets called 'topo2_png' and > 'topo2_jpeg' for example (they would have the same title and abstract), it > just would have been preferable for us to have 1 layer support multiple > formats so that the client could call the same service/layer/tileset and > choose the format type through the kvp parameter. Not a show-stopper for > us, > we just have to change our way of thinking :) > > Tom > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/Mapcache-support-for-multiple-format-types-tp5296486p5296917.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.ellett at statkart.no Wed Nov 23 00:41:16 2016 From: thomas.ellett at statkart.no (tellett) Date: Wed, 23 Nov 2016 01:41:16 -0700 (MST) Subject: [mapserver-users] Mapcache support for multiple format types In-Reply-To: References: <1479480078148-5296486.post@n6.nabble.com> <1479813579568-5296917.post@n6.nabble.com> Message-ID: <1479890476233-5297064.post@n6.nabble.com> I can't really think of a compelling usecase Thomas to be honest, for us it was more an ease of use issue given our existing services :) However, I hadn't been aware of the mixed format possibilities with mapcache (should of read all documentation of course instead of just the oncfiguration file page!!), that will probably solve our issues nicely meaning we can store 1 tileset and reduce network bandwidth issues whilst still retaining the important transparency. Thanks for the help! Tom -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapcache-support-for-multiple-format-types-tp5296486p5297064.html Sent from the Mapserver - User mailing list archive at Nabble.com. From thomas.bonfort at gmail.com Wed Nov 23 00:55:53 2016 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Wed, 23 Nov 2016 08:55:53 +0000 Subject: [mapserver-users] Mapcache support for multiple format types In-Reply-To: <1479890476233-5297064.post@n6.nabble.com> References: <1479480078148-5296486.post@n6.nabble.com> <1479813579568-5296917.post@n6.nabble.com> <1479890476233-5297064.post@n6.nabble.com> Message-ID: Tom, The client supplied format is mostly ignored by mapcache, so you should not have issues with your existing services. The only case where it is not ignored (and is irrelevant with the current issue of multiple formats per tileset) is if you have set inside your wms service definition, *and* the current request could not be processed by directly returning a cached tile (i.e. assembling tiles was requested) -- thomas On Wed, Nov 23, 2016 at 9:41 AM tellett wrote: > I can't really think of a compelling usecase Thomas to be honest, for us it > was more an ease of use issue given our existing services :) However, I > hadn't been aware of the mixed format possibilities with mapcache (should > of > read all documentation of course instead of just the oncfiguration file > page!!), that will probably solve our issues nicely meaning we can store 1 > tileset and reduce network bandwidth issues whilst still retaining the > important transparency. Thanks for the help! > > Tom > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/Mapcache-support-for-multiple-format-types-tp5296486p5297064.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathias.cunault at inrap.fr Wed Nov 23 01:37:09 2016 From: mathias.cunault at inrap.fr (Leehan) Date: Wed, 23 Nov 2016 02:37:09 -0700 (MST) Subject: [mapserver-users] Can't get capabilities xml error message In-Reply-To: <0e691ca1bbed4ee78fd132f0800ffce1@C119S212VM022.msvyvi.vaha.local> References: <1479828903941-5296958.post@n6.nabble.com> <0e691ca1bbed4ee78fd132f0800ffce1@C119S212VM022.msvyvi.vaha.local> Message-ID: <1479893829103-5297075.post@n6.nabble.com> I made the change you have suggested. It has just changed the error message : "Num?ro de ligne 144, colonne 17 : ---------p" -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Can-t-get-capabilities-xml-error-message-tp5296958p5297075.html Sent from the Mapserver - User mailing list archive at Nabble.com. From mathias.cunault at inrap.fr Wed Nov 23 01:44:35 2016 From: mathias.cunault at inrap.fr (Leehan) Date: Wed, 23 Nov 2016 02:44:35 -0700 (MST) Subject: [mapserver-users] Can't get capabilities xml error message In-Reply-To: <1479893829103-5297075.post@n6.nabble.com> References: <1479828903941-5296958.post@n6.nabble.com> <0e691ca1bbed4ee78fd132f0800ffce1@C119S212VM022.msvyvi.vaha.local> <1479893829103-5297075.post@n6.nabble.com> Message-ID: <1479894275050-5297077.post@n6.nabble.com> Besides I forgot to mention that mapfile was working fine with mapserver 6.4 -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Can-t-get-capabilities-xml-error-message-tp5296958p5297077.html Sent from the Mapserver - User mailing list archive at Nabble.com. From jukka.rahkonen at maanmittauslaitos.fi Wed Nov 23 02:34:47 2016 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Wed, 23 Nov 2016 10:34:47 +0000 Subject: [mapserver-users] Can't get capabilities xml error message Message-ID: <22af8cea85c84fdfa159356f3cddd494@C119S212VM022.msvyvi.vaha.local> Hi, Save the GetCapabilities response on the disk, open it with text editor and see what there is on the line 144 at place 17. But did you already convert your mapfile into UTF8? You must do it anyways so do it now before making any other changes. -Jukka Rahkonen- Leehan wrote: Re: [mapserver-users] Can't get capabilities xml error message >I made the change you have suggested. It has just changed the error message : "Num?ro de ligne 144, colonne 17 : ---------<Title>p" -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Can-t-get-capabilities-xml-error-message-tp5296958p5297075.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From mathias.cunault at inrap.fr Wed Nov 23 02:50:48 2016 From: mathias.cunault at inrap.fr (mathias cunault) Date: Wed, 23 Nov 2016 11:50:48 +0100 Subject: [mapserver-users] Can't get capabilities xml error message In-Reply-To: <22af8cea85c84fdfa159356f3cddd494@C119S212VM022.msvyvi.vaha.local> References: <22af8cea85c84fdfa159356f3cddd494@C119S212VM022.msvyvi.vaha.local> Message-ID: <CAHGWC_+QjvB+NS3H9UWfAz6eiOr0qrrNmrdb-rYiKHL=QVRu0w@mail.gmail.com> My mapfile is in UTF8 since the start. If saving the GetCapabilities response means right clic and save as mapserv.exe.xml, then here is the full response : ?? > > <?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml-stylesheet href="mapserv.exe_fichiers/intl.css" type="text/css"?> <parsererror xmlns="http://www.mozilla.org/newlayout/xml/parsererror.xml">Erreur > d?analyse XML : balise non ferm?e Emplacement : http://10.210.1.32:8080/cgi-bin/mapserv.exe?map=C > :\ms4w\map\fond_mapserver.map&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetCapabilities& Num?ro de ligne 144, Colonne 9 :<sourcetext> <Title --------^</sourcetext></parsererror> ?That's all. No line 144... Am i right ?? 2016-11-23 11:34 GMT+01:00 Rahkonen Jukka (MML) < jukka.rahkonen at maanmittauslaitos.fi>: > Hi, > > Save the GetCapabilities response on the disk, open it with text editor > and see what there is on the line 144 at place 17. But did you already > convert your mapfile into UTF8? You must do it anyways so do it now before > making any other changes. > > -Jukka Rahkonen- > > > > Leehan wrote: > Re: [mapserver-users] Can't get capabilities xml error message > > >I made the change you have suggested. > It has just changed the error message : > "Num?ro de ligne 144, colonne 17 : > ---------<Title>p" > > > > -- > View this message in context: http://osgeo-org.1560.x6. > nabble.com/Can-t-get-capabilities-xml-error-message-tp5296958p5297075.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- *----------* *Mathias Cunault* *charg? d?op?ration et de recherche* *Inrap Tours - 148 av. Maginot37000 TOURS06 32 05 98 96mathias.cunault at inrap.fr <mathias.cunault at inrap.fr>* www.inrap.fr abonnez-vous ? la lettre d'information de l'Inrap : http://www.inrap.fr/newsletter.php Darth Mathias : "Topology is a pathway to many abilities some consider to be unnatural" Padwan : "Is it possible to learn this power ?" Darth Mathias : "Not from an archaeologist !" -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20161123/a9e3aa45/attachment.htm> From jukka.rahkonen at maanmittauslaitos.fi Wed Nov 23 03:27:34 2016 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Wed, 23 Nov 2016 11:27:34 +0000 Subject: [mapserver-users] Can't get capabilities xml error message Message-ID: <b58dbe9c9e7a42dea46ced35ba8ba996@C119S212VM022.msvyvi.vaha.local> It seems that there is already some XML parser involved. With browser you should do right click ? view page source before saving. Or use curl and download the response directly into a file curl -o get_cap.txt "http://10.210.1.32:8080/Apache/cgi-bin/mapserv.exe?MAP=C:/ms4w/map/fond_mapserver.map&service=WMS&version=1.3.0&request=GetCapabilities" If your problem deals with titles or abstracts in your mapfile, comment them all out first, check if GetCapabilities work, and start adding them back one be one. You will soon find which title makes problem. -Jukka Rahkonen- mathias cunault wrote: Re: [mapserver-users] Can't get capabilities xml error message My mapfile is in UTF8 since the start. If saving the GetCapabilities response means right clic and save as mapserv.exe.xml, then here is the full response : ?? <?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml-stylesheet href="mapserv.exe_fichiers/intl.css" type="text/css"?> <parsererror xmlns="http://www.mozilla.org/newlayout/xml/parsererror.xml">Erreur d?analyse XML : balise non ferm?e Emplacement : http://10.210.1.32:8080/cgi-bin/mapserv.exe?map=C:\ms4w\map\fond_mapserver.map&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetCapabilities& Num?ro de ligne 144, Colonne 9 :<sourcetext> <Title --------^</sourcetext></parsererror> ?That's all. No line 144... Am i right ?? 2016-11-23 11:34 GMT+01:00 Rahkonen Jukka (MML) <jukka.rahkonen at maanmittauslaitos.fi<mailto:jukka.rahkonen at maanmittauslaitos.fi>>: Hi, Save the GetCapabilities response on the disk, open it with text editor and see what there is on the line 144 at place 17. But did you already convert your mapfile into UTF8? You must do it anyways so do it now before making any other changes. -Jukka Rahkonen- Leehan wrote: Re: [mapserver-users] Can't get capabilities xml error message >I made the change you have suggested. It has just changed the error message : "Num?ro de ligne 144, colonne 17 : ---------<Title>p" -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Can-t-get-capabilities-xml-error-message-tp5296958p5297075.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/mapserver-users -- ---------- Mathias Cunault charg? d?op?ration et de recherche Inrap Tours - 148 av. Maginot 37000 TOURS 06 32 05 98 96 mathias.cunault at inrap.fr<mailto:mathias.cunault at inrap.fr> www.inrap.fr<http://www.inrap.fr> abonnez-vous ? la lettre d'information de l'Inrap : http://www.inrap.fr/newsletter.php Darth Mathias : "Topology is a pathway to many abilities some consider to be unnatural" Padwan : "Is it possible to learn this power ?" Darth Mathias : "Not from an archaeologist !" -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20161123/71627d96/attachment.htm> From mathias.cunault at inrap.fr Wed Nov 23 05:02:58 2016 From: mathias.cunault at inrap.fr (Leehan) Date: Wed, 23 Nov 2016 06:02:58 -0700 (MST) Subject: [mapserver-users] Can't get capabilities xml error message In-Reply-To: <1479828903941-5296958.post@n6.nabble.com> References: <1479828903941-5296958.post@n6.nabble.com> Message-ID: <1479906178338-5297113.post@n6.nabble.com> It seems that, for some reason, bbox is not created like in the other layer. <Name>d?partements</Name> <Title>d?partements EPSG:2154 -5.52188 10.6995 41.3035 51.0898 3e+006 pollution sites pollu?s References: <1479828903941-5296958.post@n6.nabble.com> Message-ID: <25d2e3f6-c672-3882-3c5c-97ccb96f350b@gatewaygeomatics.com> Hi, Regarding your issue, here is my advice for how I always debug such a situation: - I narrow down the mapfile until I am able to have the smallest/shortest mapfile that still generates the error (one layer, simple classification) - once I have that tiny mapfile, then examine that one problem layer (most times I also change the data in that layer, from something like a PostGIS connection to a local shapefile, and see if that changes anything) - for OGC/WMS requests, I will run the request directly from the MS4W commandline, such as: setenv.bat mapserv -nh QUERY_STRING="map=D:\ms4w\blah.map&SERVICE=wms&REQUEST=GetCapabilities" > getcap.xml And open that generated xml file to check for any errors or "WARNING"s in the response. Thank you for the positive feedback from you that MS4W is working great for you and your clients. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2016-11-22 11:35 AM, Leehan wrote: > hello, > > Mapserver 7 & Apache are installed using ms4w 3.1.4. All is running fine > with windows server 2008. > I can get a map in FireFox. > I can't get the WMS with Qgis : failed to load capabilities (traduction from > french, sorry) > Indeed, I can't get the capabilities in FF either with : > http://10.210.1.32:8080/cgi-bin/mapserv.exe?...\fond_mapserver.map&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetCapabilities& > > here's the message : > > > Previously I had a message beginning by "mandatory metadata...'. I worked on > my mapfile and then get this last message just above. > > here's my mapfile : > MAP > WEB > METADATA > "wms_title" "WMS-Inrap, aide au montage des op?rations" > "wms_onlineresource" > "http://10.210.1.32:8080/Apache/cgi-bin/mapserv.exe?MAP=C:/ms4w/map/fond_mapserver.map&" > "wms_enable_request" "*" > "wms_srs" "EPSG:2154 EPSG:3857 EPSG:900913" > "wms_encoding" "UTF-8" > > END > END > > All layers have METADATA with wms_title and wms_srs (even if this last param > is not required because I have a PROJECTION object). > I feel a little lost. > Thanks > > > > From jmckenna at gatewaygeomatics.com Wed Nov 23 06:10:29 2016 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Wed, 23 Nov 2016 10:10:29 -0400 Subject: [mapserver-users] Can't get capabilities xml error message In-Reply-To: <25d2e3f6-c672-3882-3c5c-97ccb96f350b@gatewaygeomatics.com> References: <1479828903941-5296958.post@n6.nabble.com> <25d2e3f6-c672-3882-3c5c-97ccb96f350b@gatewaygeomatics.com> Message-ID: In that tiny mapfile (one layer), I would also remove any special characters and numbers from any of your strings in that small mapfile (so no accents, numbers, spaces in any NAME parameters, and remove any special characters from the wms_title metadata or elsewhere). Working with that copied mapfile and removing all those things helps me debug always - then later I can go back to the full mapfile, get that working at the commandline, then test with a manual request in the browser, and finally test in a client such as QGIS or OpenLayers. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2016-11-23 9:48 AM, Jeff McKenna wrote: > Hi, > > Regarding your issue, here is my advice for how I always debug such a > situation: > > - I narrow down the mapfile until I am able to have the > smallest/shortest mapfile that still generates the error (one layer, > simple classification) > > - once I have that tiny mapfile, then examine that one problem layer > (most times I also change the data in that layer, from something like a > PostGIS connection to a local shapefile, and see if that changes anything) > > - for OGC/WMS requests, I will run the request directly from the MS4W > commandline, such as: > > setenv.bat > mapserv -nh > QUERY_STRING="map=D:\ms4w\blah.map&SERVICE=wms&REQUEST=GetCapabilities" >> getcap.xml > > And open that generated xml file to check for any errors or "WARNING"s > in the response. > > Thank you for the positive feedback from you that MS4W is working great > for you and your clients. > > -jeff > > > From mathias.cunault at inrap.fr Wed Nov 23 07:48:42 2016 From: mathias.cunault at inrap.fr (mathias cunault) Date: Wed, 23 Nov 2016 16:48:42 +0100 Subject: [mapserver-users] Can't get capabilities xml error message In-Reply-To: References: <1479828903941-5296958.post@n6.nabble.com> <25d2e3f6-c672-3882-3c5c-97ccb96f350b@gatewaygeomatics.com> Message-ID: I did what you said : I copy and paste layer by layer from the old mapfile to a new one, and test each time. I did not make any modification (as far as i know). Now I can get the capabilities in FF ! Thanks. Now I have the list of layers in QGIS. But I can't load them : it seems to have a problem of connection with PostGIS. Log error says : Error executing SQL: (connection pointer is NULL ) in msPostGISLayerGetExtent()[Wed Nov 23 16:33:27 2016].216000 msPostGISLayerGetExtent(): General error message. Error executing SQL. Check server logs. I guess that the logs in the message are PostGIS ones ? 2016-11-23 15:10 GMT+01:00 Jeff McKenna : > In that tiny mapfile (one layer), I would also remove any special > characters and numbers from any of your strings in that small mapfile (so > no accents, numbers, spaces in any NAME parameters, and remove any special > characters from the wms_title metadata or elsewhere). Working with that > copied mapfile and removing all those things helps me debug always - then > later I can go back to the full mapfile, get that working at the > commandline, then test with a manual request in the browser, and finally > test in a client such as QGIS or OpenLayers. > > -jeff > > > > -- > Jeff McKenna > MapServer Consulting and Training Services > http://www.gatewaygeomatics.com/ > > > > On 2016-11-23 9:48 AM, Jeff McKenna wrote: > >> Hi, >> >> Regarding your issue, here is my advice for how I always debug such a >> situation: >> >> - I narrow down the mapfile until I am able to have the >> smallest/shortest mapfile that still generates the error (one layer, >> simple classification) >> >> - once I have that tiny mapfile, then examine that one problem layer >> (most times I also change the data in that layer, from something like a >> PostGIS connection to a local shapefile, and see if that changes anything) >> >> - for OGC/WMS requests, I will run the request directly from the MS4W >> commandline, such as: >> >> setenv.bat >> mapserv -nh >> QUERY_STRING="map=D:\ms4w\blah.map&SERVICE=wms&REQUEST=GetCapabilities" >> >>> getcap.xml >>> >> >> And open that generated xml file to check for any errors or "WARNING"s >> in the response. >> >> Thank you for the positive feedback from you that MS4W is working great >> for you and your clients. >> >> -jeff >> >> >> >> > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- *----------* *Mathias Cunault* *charg? d?op?ration et de recherche* *Inrap Tours - 148 av. Maginot37000 TOURS06 32 05 98 96mathias.cunault at inrap.fr * www.inrap.fr abonnez-vous ? la lettre d'information de l'Inrap : http://www.inrap.fr/newsletter.php Darth Mathias : "Topology is a pathway to many abilities some consider to be unnatural" Padwan : "Is it possible to learn this power ?" Darth Mathias : "Not from an archaeologist !" -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmckenna at gatewaygeomatics.com Wed Nov 23 07:55:45 2016 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Wed, 23 Nov 2016 11:55:45 -0400 Subject: [mapserver-users] Can't get capabilities xml error message In-Reply-To: References: <1479828903941-5296958.post@n6.nabble.com> <25d2e3f6-c672-3882-3c5c-97ccb96f350b@gatewaygeomatics.com> Message-ID: <1b457e01-162e-f8cd-af45-dc88210e952c@gatewaygeomatics.com> Another step in my debugging is always, for problem database layers, is to add an EXTENT parameter inside that same layer (which you get from an ogrinfo command). Also, if everything works (commandline, manual requests in browser), then I always use a tool like Fiddler to get the exact (problem) request that is being generated by QGIS. Anyway, thanks again for using MS4W for sharing your spatial information. Be sure to contact me and help support MS4W, as I see that it is very important for your needs. Thanks again, -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2016-11-23 11:48 AM, mathias cunault wrote: > I did what you said : I copy and paste layer by layer from the old > mapfile to a new one, and test each time. I did not make any > modification (as far as i know). Now I can get the capabilities in FF ! > Thanks. > > Now I have the list of layers in QGIS. But I can't load them : it seems > to have a problem of connection with PostGIS. Log error says : > Error executing SQL: (connection pointer is NULL > ) in msPostGISLayerGetExtent()[Wed Nov 23 16:33:27 2016].216000 > msPostGISLayerGetExtent(): General error message. Error executing SQL. > Check server logs. > I guess that the logs in the message are PostGIS ones ? > > > 2016-11-23 15:10 GMT+01:00 Jeff McKenna >: > > In that tiny mapfile (one layer), I would also remove any special > characters and numbers from any of your strings in that small > mapfile (so no accents, numbers, spaces in any NAME parameters, and > remove any special characters from the wms_title metadata or > elsewhere). Working with that copied mapfile and removing all those > things helps me debug always - then later I can go back to the full > mapfile, get that working at the commandline, then test with a > manual request in the browser, and finally test in a client such as > QGIS or OpenLayers. > > -jeff > > > > -- > Jeff McKenna > MapServer Consulting and Training Services > http://www.gatewaygeomatics.com/ > > > > On 2016-11-23 9:48 AM, Jeff McKenna wrote: > > Hi, > > Regarding your issue, here is my advice for how I always debug > such a > situation: > > - I narrow down the mapfile until I am able to have the > smallest/shortest mapfile that still generates the error (one layer, > simple classification) > > - once I have that tiny mapfile, then examine that one problem layer > (most times I also change the data in that layer, from something > like a > PostGIS connection to a local shapefile, and see if that changes > anything) > > - for OGC/WMS requests, I will run the request directly from the > MS4W > commandline, such as: > > setenv.bat > mapserv -nh > QUERY_STRING="map=D:\ms4w\blah.map&SERVICE=wms&REQUEST=GetCapabilities" > > getcap.xml > > > And open that generated xml file to check for any errors or > "WARNING"s > in the response. > > Thank you for the positive feedback from you that MS4W is > working great > for you and your clients. > > -jeff > > > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > > > -- > /----------/ > /Mathias Cunault/ > /charg? d?op?ration et de recherche > ///Inrap Tours - /148 av. Maginot > 37000 TOURS > 06 32 05 98 96 > _mathias.cunault at inrap.fr _/ > www.inrap.fr > abonnez-vous ? la lettre d'information de l'Inrap : > http://www.inrap.fr/newsletter.php > > Darth Mathias : "Topology is a pathway to many abilities some consider > to be unnatural" > Padwan : "Is it possible to learn this power ?" > Darth Mathias : "Not from an archaeologist !" From mathias.cunault at inrap.fr Thu Nov 24 00:31:42 2016 From: mathias.cunault at inrap.fr (mathias cunault) Date: Thu, 24 Nov 2016 09:31:42 +0100 Subject: [mapserver-users] Can't get capabilities xml error message In-Reply-To: <1b457e01-162e-f8cd-af45-dc88210e952c@gatewaygeomatics.com> References: <1479828903941-5296958.post@n6.nabble.com> <25d2e3f6-c672-3882-3c5c-97ccb96f350b@gatewaygeomatics.com> <1b457e01-162e-f8cd-af45-dc88210e952c@gatewaygeomatics.com> Message-ID: thanks for advice. WMS is back again, at last ! 2016-11-23 16:55 GMT+01:00 Jeff McKenna : > Another step in my debugging is always, for problem database layers, is to > add an EXTENT parameter inside that same layer (which you get from an > ogrinfo command). > > Also, if everything works (commandline, manual requests in browser), then > I always use a tool like Fiddler to get the exact (problem) request that is > being generated by QGIS. > > Anyway, thanks again for using MS4W for sharing your spatial information. > Be sure to contact me and help support MS4W, as I see that it is very > important for your needs. > > Thanks again, > > -jeff > > > > -- > Jeff McKenna > MapServer Consulting and Training Services > http://www.gatewaygeomatics.com/ > > > > > On 2016-11-23 11:48 AM, mathias cunault wrote: > >> I did what you said : I copy and paste layer by layer from the old >> mapfile to a new one, and test each time. I did not make any >> modification (as far as i know). Now I can get the capabilities in FF ! >> Thanks. >> >> Now I have the list of layers in QGIS. But I can't load them : it seems >> to have a problem of connection with PostGIS. Log error says : >> Error executing SQL: (connection pointer is NULL >> ) in msPostGISLayerGetExtent()[Wed Nov 23 16:33:27 2016].216000 >> msPostGISLayerGetExtent(): General error message. Error executing SQL. >> Check server logs. >> I guess that the logs in the message are PostGIS ones ? >> >> >> 2016-11-23 15:10 GMT+01:00 Jeff McKenna > >: >> >> In that tiny mapfile (one layer), I would also remove any special >> characters and numbers from any of your strings in that small >> mapfile (so no accents, numbers, spaces in any NAME parameters, and >> remove any special characters from the wms_title metadata or >> elsewhere). Working with that copied mapfile and removing all those >> things helps me debug always - then later I can go back to the full >> mapfile, get that working at the commandline, then test with a >> manual request in the browser, and finally test in a client such as >> QGIS or OpenLayers. >> >> -jeff >> >> >> >> -- >> Jeff McKenna >> MapServer Consulting and Training Services >> http://www.gatewaygeomatics.com/ >> >> >> >> >> On 2016-11-23 9:48 AM, Jeff McKenna wrote: >> >> Hi, >> >> Regarding your issue, here is my advice for how I always debug >> such a >> situation: >> >> - I narrow down the mapfile until I am able to have the >> smallest/shortest mapfile that still generates the error (one >> layer, >> simple classification) >> >> - once I have that tiny mapfile, then examine that one problem >> layer >> (most times I also change the data in that layer, from something >> like a >> PostGIS connection to a local shapefile, and see if that changes >> anything) >> >> - for OGC/WMS requests, I will run the request directly from the >> MS4W >> commandline, such as: >> >> setenv.bat >> mapserv -nh >> QUERY_STRING="map=D:\ms4w\blah.map&SERVICE=wms&REQUEST=GetCa >> pabilities" >> >> getcap.xml >> >> >> And open that generated xml file to check for any errors or >> "WARNING"s >> in the response. >> >> Thank you for the positive feedback from you that MS4W is >> working great >> for you and your clients. >> >> -jeff >> >> >> >> >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org > osgeo.org> >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> >> >> >> >> -- >> /----------/ >> /Mathias Cunault/ >> /charg? d?op?ration et de recherche >> ///Inrap Tours - /148 av. Maginot >> 37000 TOURS >> 06 32 05 98 96 >> _mathias.cunault at inrap.fr _/ >> www.inrap.fr >> abonnez-vous ? la lettre d'information de l'Inrap : >> http://www.inrap.fr/newsletter.php >> >> Darth Mathias : "Topology is a pathway to many abilities some consider >> to be unnatural" >> Padwan : "Is it possible to learn this power ?" >> Darth Mathias : "Not from an archaeologist !" >> > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- *----------* *Mathias Cunault* *charg? d?op?ration et de recherche* *Inrap Tours - 148 av. Maginot37000 TOURS06 32 05 98 96mathias.cunault at inrap.fr * www.inrap.fr abonnez-vous ? la lettre d'information de l'Inrap : http://www.inrap.fr/newsletter.php Darth Mathias : "Topology is a pathway to many abilities some consider to be unnatural" Padwan : "Is it possible to learn this power ?" Darth Mathias : "Not from an archaeologist !" -------------- next part -------------- An HTML attachment was scrubbed... URL: From even.rouault at spatialys.com Thu Nov 24 08:12:57 2016 From: even.rouault at spatialys.com (Even Rouault) Date: Thu, 24 Nov 2016 17:12:57 +0100 Subject: [mapserver-users] Refreshing AWS credentials for the /vsis3/ driver In-Reply-To: <201610271910.17353.even.rouault@spatialys.com> References: <201610271910.17353.even.rouault@spatialys.com> Message-ID: <201611241712.58514.even.rouault@spatialys.com> > That's what I suspected. The IFD are not placed at the beginning of the > file, but rather rewritten after each "data section". > Which libtiff version is used in your GDAL build: internal libtiff or > system libtiff (if so, which version)? But I wouldn't surprise that the > issue exists with any libtiff version because of what I mentionned with > jpeg compression. That might probably be fixable (likely with some > headaches) Follow up : I've just committed a fix in GDAL trunk so that -co COPY_SRC_OVERVIEWS=YES -co COMPRESS=JPEG produces those "cloud optimized geotiffs" with the IFD first in the file. Similarly to other compression schemes or uncompressed images. Even -- Spatialys - Geospatial professional services http://www.spatialys.com From ankuriimt at gmail.com Sun Nov 27 05:44:44 2016 From: ankuriimt at gmail.com (ankur chitranshi) Date: Sun, 27 Nov 2016 19:14:44 +0530 Subject: [mapserver-users] php upgrade to 5.6 into ms4w Message-ID: kindly suggest me , how upgrate a php version 5.4 to 5.6 in ms4w folder. thanks in advance... -------------- next part -------------- An HTML attachment was scrubbed... URL: From sethg at geographika.co.uk Sun Nov 27 10:04:22 2016 From: sethg at geographika.co.uk (Seth G) Date: Sun, 27 Nov 2016 19:04:22 +0100 Subject: [mapserver-users] New Raster MapServer Tutorial Message-ID: <9cece80a-8cff-2aa9-c128-bce136c7c21b@geographika.co.uk> Hi list, I've completed a new tutorial for raster data in MapServer, and using templates for querying. https://geographika.github.io/tutorial/quickstart/raster.html Comments and feedback welcome. This relates to http://mapserver.org/development/rfc/ms-rfc-115.html A few items it would be useful to know further details on: - Does anyone have recommendations on what output formats to use? There are technical details at http://www.mapserver.org/mapfile/outputformat.html but not much in the way of recommendations. I guess if you need transparency you need the default PNG32 format. It is slightly unclear how to reduce the default PNG quality (if possible), or any advantages/disadvantages of using CAIRO/PNG. - There may be a bug in the raster querying code. Clicking on the sea in the demo correctly returns RGB values of 10,10,51 for pixels representing the sea. However to set these pixels to an alternate colour the MAP file needed: EXPRESSION ([red] = 10 AND [green] = 10 AND [blue] = 10) https://geographika.github.io/tutorial/quickstart/raster.map.html#qs-raster-map There may be an misunderstanding on my part, but it looks like the [blue] should be 10 also. Regards, Seth -- web: http://geographika.co.uk twitter: @geographika -------------- next part -------------- An HTML attachment was scrubbed... URL: From schepers at rvr-online.de Sun Nov 27 23:14:26 2016 From: schepers at rvr-online.de (Schepers, Benjamin) Date: Mon, 28 Nov 2016 07:14:26 +0000 Subject: [mapserver-users] New Raster MapServer Tutorial In-Reply-To: <7088A26751CB34409B159B4237D510A87C843990@W2K8-EXDB02.VERBAND.LOCAL> References: <9cece80a-8cff-2aa9-c128-bce136c7c21b@geographika.co.uk> <7088A26751CB34409B159B4237D510A87C84392F@W2K8-EXDB02.VERBAND.LOCAL> <7088A26751CB34409B159B4237D510A87C84396C@W2K8-EXDB02.VERBAND.LOCAL> <7088A26751CB34409B159B4237D510A87C843979@W2K8-EXDB02.VERBAND.LOCAL> <7088A26751CB34409B159B4237D510A87C843990@W2K8-EXDB02.VERBAND.LOCAL> Message-ID: <7088A26751CB34409B159B4237D510A87C8439CF@W2K8-EXDB02.VERBAND.LOCAL> Hi Seth, nice work! To your questions: - PNG24/32: lossless, so no quality-parameter, just compression efficiency (comparable to ZIP-Compression; size vs. needed time) [FORMATOPTION ?ZLEVEL=n?] - PNG8: also lossless compression, but with color-depth-reduction (quantization), if you have data with more than 256 colors ? this can/will be lossy; also holds transparency-information (look-up-table for defined colors can have rgba-values) - JPEG: IMHO the optimum for base-layers because of it?s small size and good performance (at least, if the base layer is not optimized with reduced color ? png8); optimum for aerial images and ?noisy? data; quality can be controlled as show downwards? - GeoTIFF: good solution, if you?d like to use the wms as ?download-service? ? images then hold complete GeoTIFF-Header (was buggy with older mapserver/GDAL-versions, but seems OK for now) Transparency can be controlled in different manners (in mapfile or in original data), at least these, please correct me: Mapfile: - LAYER-MASK (polygon-layer, outer area is transparent) - LAYER-OFFSITE (mapfile-NoData-value) Data-side: - NoData-value (e.g. GTIFF-Header) - Alpha/Transparency (e.g. GTIFF ? per Pixel) - Mask-layer inside data (separate GDAL-special pixel-mask-layer inside GTIFF for full transparency; useful in combination with GTIFF inside JPEG-compression, because JPEG can?t hold alpha-channel and NoData doesn?t work calculable caused by lossy compression) If compiling GDAL and mapserver by your own, then using libjpeg-turbo instead of libjpeg brings some extra pieces of performance, specially when dealing with large amounts of image-data. You can define/modify default-formats and add special GDAL compression-options with ? FORMATOPTION ?KEY=VALUE? ?, do not forget to add format to formatlist: http://pastebin.com/1YztvEcw Ben Luftbild und Geoinformationssysteme Kronprinzenstra?e 6 45128 Essen Fon: +49 201 2069-232 Fax: +49 201 2069-500 schepers at rvr-online.de Die Regionaldirektorin Kronprinzenstra?e 35 45128 Essen Zentrale: +49 (0) 201 2069-0 Fax: +49 (0) 201 2069-500 www.metropoleruhr.de Postfach 10 32 64 45032 Essen Steuernummer: RVR 112/5797/0116 USt.-ldNr.: DE 173867500 -------------- next part -------------- An HTML attachment was scrubbed... URL: From emperor_stef at yahoo.gr Mon Nov 28 12:09:46 2016 From: emperor_stef at yahoo.gr (Stefanos Anastasiou) Date: Mon, 28 Nov 2016 20:09:46 +0000 (UTC) Subject: [mapserver-users] Labels moving References: <792358004.3739227.1480363786392.ref@mail.yahoo.com> Message-ID: <792358004.3739227.1480363786392@mail.yahoo.com> Hello list, I'm drawing some features and render them with OpenLayers controls. As I pan to various directions I notice that the labels are moving every time I pan. Example: A label of a polygon is in the center when the map is first loaded. When I pan to the right, the label is also moving to the right. It's like it's trying to fit in the image. Is this normal or am I missing something? -Stefanos From MarkVolz at co.lyon.mn.us Mon Nov 28 12:51:40 2016 From: MarkVolz at co.lyon.mn.us (Mark Volz) Date: Mon, 28 Nov 2016 20:51:40 +0000 Subject: [mapserver-users] mapcache returning 304 - not modified codes after service cache was cleared Message-ID: <36CA828A36E29F45B7CF0A1766E5DFA37C26BF68@swmail01.r8nssis.local> Hello, I recently changed the scales of a mapcache service for a client to support a new high resolution air photo. The new air photo is working great, but my old air photo services are now all shifted off by several miles. We cleared the cache and restarted apache but the webserver is still returning a 304 - not modified error. What can I do to force MapCache / Apache to realize that the underlying files have been updated? Thank You Sincerely, Mark Volz, GISP Lyon County GIS Coordinator 504 Fairgrounds Rd Marshall, MN 56258 Ph: (507) 532-8218 Fax: (507) 532-8217 http://lyonco.org/ http://geomoose.lyonco.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From joerg.thomsen at wheregroup.com Tue Nov 29 00:16:28 2016 From: joerg.thomsen at wheregroup.com (=?UTF-8?Q?J=c3=b6rg_Thomsen_=28WhereGroup=29?=) Date: Tue, 29 Nov 2016 09:16:28 +0100 Subject: [mapserver-users] Labels moving In-Reply-To: <792358004.3739227.1480363786392@mail.yahoo.com> References: <792358004.3739227.1480363786392.ref@mail.yahoo.com> <792358004.3739227.1480363786392@mail.yahoo.com> Message-ID: Hi, this is normal, mapserver tries to find the best placements for as much labels as possible. J?rg Am 28.11.2016 um 21:09 schrieb Stefanos Anastasiou: > Hello list, > I'm drawing some features and render them with OpenLayers controls. As I pan to various directions I notice that the labels are moving every time I pan. Example: A label of a polygon is in the center when the map is first loaded. When I pan to the right, the label is also moving to the right. It's like it's trying to fit in the image. Is this normal or am I missing something? > > -Stefanos > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > Viele Gr??e, J?rg Thomsen -- ******************************************** Where2B Konferenz 2016 15. Dezember 2016 in Bonn www.where2b-conference.com ******************************************** ------------------------------- J?rg Thomsen WhereGroup GmbH & Co. KG Gillweg 3 14193 Berlin Germany Fon: +49 (0)30 / 5130 278 74 Fax: +49 (0)30 / 89 09 53 11 joerg.thomsen at wheregroup.com www.wheregroup.com Amtsgericht Bonn, HRA 6788 ------------------------------- Komplement?rin: WhereGroup Verwaltungs GmbH vertreten durch: Olaf Knopp, Peter Stamm ------------------------------- Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com From alexis.vandevoorde at meteoconsult.com Tue Nov 29 01:52:28 2016 From: alexis.vandevoorde at meteoconsult.com (newmapserver) Date: Tue, 29 Nov 2016 02:52:28 -0700 (MST) Subject: [mapserver-users] Can I inject dataset directly into mapserver with API ? Message-ID: <1480413148022-5297815.post@n6.nabble.com> Hi, I'm a new user in MapServer. I would like to know if I can directly inject dataset into mapserver (with an API that send data for each position (latitude, longitude)) without using a connection at Mysql... Thanks for your help. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Can-I-inject-dataset-directly-into-mapserver-with-API-tp5297815.html Sent from the Mapserver - User mailing list archive at Nabble.com. From tom.kralidis at canada.ca Tue Nov 29 03:39:10 2016 From: tom.kralidis at canada.ca (Kralidis, Tom (EC)) Date: Tue, 29 Nov 2016 11:39:10 +0000 Subject: [mapserver-users] PostGIS date queries performance issues In-Reply-To: References: <20161118021420.6AE226146833@lists.osgeo.org> Message-ID: Steve: info can be found at https://gist.github.com/tomkralidis/006594382d6339c2047b441108a3991b > -----Original Message----- > From: Lime, Steve D (MNIT) [mailto:Steve.Lime at state.mn.us] > Sent: 18 November 2016 13:10 > To: Kralidis, Tom (EC); mapserver-users at lists.osgeo.org > Subject: RE: PostGIS date queries performance issues > > Tom: There were definitely changes in this area. Can you share the WFS filter > plus the resulting SQL in each version. This is the type of thing that should have > gotten better in 7.0 as WFS filters are translated more completely into native > SQL. It?s possible I introduced an inefficiency in that translation beyond what > was done for PostGIS in mapogcfilter.c in 6.4. -Steve > > -----Original Message----- > From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On > Behalf Of Kralidis, Tom (EC) > Sent: Thursday, November 17, 2016 8:14 PM > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] PostGIS date queries performance issues > > Hi all: using 7.0.2 against a PostgreSQL 9.3/PostGIS 2.2 instance we're getting > very long (timeouts even) response times when doing WFS filters against > PostgreSQL date types. > > I've posted a Gist at [1] to help in reporting. Note that this functionality used to > work with acceptable performance in 6.4.x. > > Looking deeper (see Gist) it appears that the SQL queries that MapServer crafts > for PostgreSQL are different. When I try the 7.0.2 based SQL in a psql prompt, > the same very long response time results. > > Any idea what could be going on here? > > Thanks > > ..Tom > > [1] https://gist.github.com/tomkralidis/006594382d6339c2047b441108a3991b > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From Steve.Lime at state.mn.us Tue Nov 29 05:53:29 2016 From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT)) Date: Tue, 29 Nov 2016 13:53:29 +0000 Subject: [mapserver-users] Labels moving In-Reply-To: <792358004.3739227.1480363786392@mail.yahoo.com> References: <792358004.3739227.1480363786392.ref@mail.yahoo.com>, <792358004.3739227.1480363786392@mail.yahoo.com> Message-ID: That is normal. Label position is computed based on the clipped geometry. There is a LAYER processing directive called LABEL_NO_CLIP available if you want to avoid that behavior. --Steve _______________________________________ From: mapserver-users [mapserver-users-bounces at lists.osgeo.org] on behalf of Stefanos Anastasiou [emperor_stef at yahoo.gr] Sent: Monday, November 28, 2016 2:09 PM To: MapserverList OSGEO Subject: [mapserver-users] Labels moving Hello list, I'm drawing some features and render them with OpenLayers controls. As I pan to various directions I notice that the labels are moving every time I pan. Example: A label of a polygon is in the center when the map is first loaded. When I pan to the right, the label is also moving to the right. It's like it's trying to fit in the image. Is this normal or am I missing something? -Stefanos _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From bfraser at geoanalytic.com Tue Nov 29 07:30:24 2016 From: bfraser at geoanalytic.com (Brent Fraser) Date: Tue, 29 Nov 2016 08:30:24 -0700 Subject: [mapserver-users] Can I inject dataset directly into mapserver with API ? In-Reply-To: <1480413148022-5297815.post@n6.nabble.com> References: <1480413148022-5297815.post@n6.nabble.com> Message-ID: <8d70c921-36d5-c71c-9c2c-50047da139d2@geoanalytic.com> You may be able to get mapserver to read a data stream using OGR's geojson format , giving a URL (instead of a file) for the data source. Have a look at: http://mapserver.org/input/vector/ogr.html http://www.gdal.org/drv_geojson.html Any reason why you do not want to use a database as an intermediate data store? Best Regards, Brent Fraser On 11/29/2016 2:52 AM, newmapserver wrote: > Hi, > I'm a new user in MapServer. > I would like to know if I can directly inject dataset into mapserver (with > an API that send data for each position (latitude, longitude)) without using > a connection at Mysql... > Thanks for your help. > > -- > View this message in context: http://osgeo-org.1560.x6.nabble.com/Can-I-inject-dataset-directly-into-mapserver-with-API-tp5297815.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users