[mapserver-users] SLD Filter with comment breaks filter
Hi, The filter PropertyIsLike works now as expected with 6 RC2. I have noticed two other issues: 1. The use of a filter And/Or with two or more conditions and adding a comment between the conditions resolves to true for all features, whether true or not. NA3DESCAsia DESCRIPTIOContinent 2. The use of a filter And/Or with only one condition resolves to true for all features, whether true or not. NA3DESCAsia Arnd ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] Reference Map must be a GIF????
I just looked again and I'm using .jpg and .png images but no .gif. :-( _ From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Worth Lutz Sent: Friday, May 06, 2011 2:19 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Reference Map must be a GIF When did the restriction, "the Reference Map base image must be a .gif", start being enforced? I now see it in my old printed copy (version 5.2) of the documentation. I checked there to see if this was new to MapServer version 6 as I found it first in the online documentation. Obviously I had never read the documentation closely in this area. All my reference maps are "png" drawn with Mapserver (aggpng I think) and work in version 5.6. When my try/catch throws an exception trying to draw this reference map, the exception message is an empty string. Through testing and looking at the apache logs, I find that there are MapServer Errors in the MapServer errorObj and PHP Notices and Warning. These are: [Mapserver Error] msDrawREferenceMap() : error loading reference image /data/mapfiles/ref_maps/. [MapServer Error] readImage(): unsupported pixmap format/n in . Is this truly a change in the image type restriction for Reference Maps or is it just an change in the checking for errors when the MapScriptException was added? Was I just lucky my ".png" reference maps worked in the past? Am I the only one to try this? I don't have many to convert but wanted to point this out so it could be added to the Migration Guide if it must remain a restriction. _ No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1325 / Virus Database: 1500/3619 - Release Date: 05/06/11 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Reference Map must be a GIF????
When did the restriction, "the Reference Map base image must be a .gif", start being enforced? I now see it in my old printed copy (version 5.2) of the documentation. I checked there to see if this was new to MapServer version 6 as I found it first in the online documentation. Obviously I had never read the documentation closely in this area. All my reference maps are "png" drawn with Mapserver (aggpng I think) and work in version 5.6. When my try/catch throws an exception trying to draw this reference map, the exception message is an empty string. Through testing and looking at the apache logs, I find that there are MapServer Errors in the MapServer errorObj and PHP Notices and Warning. These are: [Mapserver Error] msDrawREferenceMap() : error loading reference image /data/mapfiles/ref_maps/. [MapServer Error] readImage(): unsupported pixmap format/n in . Is this truly a change in the image type restriction for Reference Maps or is it just an change in the checking for errors when the MapScriptException was added? Was I just lucky my ".png" reference maps worked in the past? Am I the only one to try this? I don't have many to convert but wanted to point this out so it could be added to the Migration Guide if it must remain a restriction. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapServer 6.0.0-rc2 release
Windows users can access the RC2 release at: http://www.maptools.org/ms4w/index.phtml?page=RELEASE_mapserver_ms4w3.x_dev-6.0.0.html -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 11-05-05 11:39 PM, Daniel Morissette wrote: The MapServer Team is pleased to announce the release of MapServer 6.0.0-rc2. The 6.0 release introduces important changes in key components of the MapServer core (rendering, query and expressions), and for this reason we count on you, MapServer power users, to help test the release in your respective environments and provide feedback (through the users list or Trac tickets). We had to issue a new release candidate since a few important issues were reported and fixed in rc1. If all goes well and no blocker issues are reported, then this release candidate could lead us to a final 6.0.0 release next week. The full release plan which also includes the list of new features and changes in this release is available at: http://mapserver.org/trunk/development/release/release-plan-6.0.html The list of fixes since the last release candidate is attached at the end of this message. For a complete list see the HISTORY.TXT file at: http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-0-rc2/mapserver/HISTORY.TXT We have started working on a 5.6 -> 6.0 migration guide. This document contains important notes on backwards incompatibilities or other changes required when upgrading to 6.0. The latest version is available online at: http://mapserver.org/trunk/MIGRATION_GUIDE.html The source for this release can be downloaded at: http://mapserver.org/download.html or http://download.osgeo.org/mapserver/mapserver-6.0.0-rc2.tar.gz The binary distributions listed in the download page should be updated with binaries for the new beta release in the next day or so. Once again we need your help to ensure a high quality product, so please help out by testing your applications with this new code base. Thanks! - The MapServer Team Version 6.0.0-rc2 (2011-05-05) -- - Fixed seg fault with [shpxy] tag... (#3860) - Removed obsolete msQueryByOperator() function - Call msLayerClose() before msLayerOpen() in the various query functions (#3692) - Fix WMS 1.3.0 to use full list of epsg codes with inverted axis (#3582) - PHP/Mapscript: Added getResultsBounds() method in layer object (#2967) - Fix SLD containing a PropertyIsLike filter (#3855) - Fixed msUnionLayerNextShape to return correct values (#3859) - Union layer: fix for the failure if one or more of the source layers are not in the current extent (#3858) - Fix memory leak in msResampleGDALToMap() (#3857) - Fix missing initialization of default formats in WCS 1.x. - Fix maxoverlapangle when value is set to 0 (#3856) ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] FOSS4G 2011 Community Program Review ends on Sunday - Please vote now!
Hi MapServer Users, As in previous year, the selection process of the FOSS4G 2011 conference program will be based (in part) on review and votes from the community: http://community-review.foss4g.org/ There are lots of very interesting proposals, including a good number of MapServer related ones. This is your chance to make sure your favorite topics will make it in the program, and hopefully to help ensure MapServer is also well reprensented in the program (better than in previous years). There are only two days left, the community review period ends on Sunday May 8th. I encourage you to take a few minutes to review the proposals and vote now: http://community-review.foss4g.org/ -- Daniel Morissette http://www.mapgears.com/ Provider of Professional MapServer Support since 2000 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Getting the tag in a WMS GetCapabilities response fromMap Server
Hello, I believe what you are looking for is available in MapServer 6.0 (described in the development version of the WMS Server doc: http://www.mapserver.org/trunk/ogc/wms_server.html#reference-section) I think the metadata tags you need with MapServer 6.0 are: - wms_authorityurl_name, - wms_authorityurl_href - wms_identifier_authority - wms_identifier_value -jeff (hello from a beautiful sunny day on the East coast) -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 11-05-06 11:26 AM, Lopes, Jose (AAFC-AAC) wrote: Hi, I though this would be an easy thing but it didn't work I cannot find any instruction on how to set this (sorry, newby MapServer user...). I added a "wms_identifier" "myIdentifier" to the .map file in the layer METADATA section. Also tried adding an IDENTIFIER element in the LAYER section. But when I call GetCapabiliites there is never an Identifier tag in the response. Any hints please... Thanks, Joe ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Getting the tag in a WMS GetCapabilities response fromMap Server
Hi, I though this would be an easy thing but it didn't work I cannot find any instruction on how to set this (sorry, newby MapServer user...). I added a"wms_identifier""myIdentifier" to the .map file in the layer METADATA section. Also tried adding an IDENTIFIER element in the LAYER section. But when I call GetCapabiliites there is never an Identifier tag in the response. Any hints please... Thanks, Joe ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapServer 6.0.0-rc2 release
UbuntuGIS MapServer packages have been updated for the RC2 release: https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing/ Alan On May 5, 2011 10:39:07 pm Daniel Morissette wrote: > The MapServer Team is pleased to announce the release of MapServer > 6.0.0-rc2. > > The 6.0 release introduces important changes in key components of the > MapServer core (rendering, query and expressions), and for this reason > we count on you, MapServer power users, to help test the release in your > respective environments and provide feedback (through the users list or > Trac tickets). > > We had to issue a new release candidate since a few important issues > were reported and fixed in rc1. If all goes well and no blocker issues > are reported, then this release candidate could lead us to a final 6.0.0 > release next week. The full release plan which also includes the list of > new features and changes in this release is available at: >http://mapserver.org/trunk/development/release/release-plan-6.0.html > > The list of fixes since the last release candidate is attached at the > end of this message. For a complete list see the HISTORY.TXT file at: > > http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-0-rc2/mapserver/HISTOR > Y.TXT > > We have started working on a 5.6 -> 6.0 migration guide. This document > contains important notes on backwards incompatibilities or other changes > required when upgrading to 6.0. The latest version is available online at: > > http://mapserver.org/trunk/MIGRATION_GUIDE.html > > The source for this release can be downloaded at: > > http://mapserver.org/download.html > or > http://download.osgeo.org/mapserver/mapserver-6.0.0-rc2.tar.gz > > The binary distributions listed in the download page should be updated > with binaries for the new beta release in the next day or so. > > Once again we need your help to ensure a high quality product, so please > help out by testing your applications with this new code base. > > Thanks! - The MapServer Team > > > Version 6.0.0-rc2 (2011-05-05) > -- > > - Fixed seg fault with [shpxy] tag... (#3860) > > - Removed obsolete msQueryByOperator() function > > - Call msLayerClose() before msLayerOpen() in the various query >functions (#3692) > > - Fix WMS 1.3.0 to use full list of epsg codes with inverted axis (#3582) > > - PHP/Mapscript: Added getResultsBounds() method in layer object (#2967) > > - Fix SLD containing a PropertyIsLike filter (#3855) > > - Fixed msUnionLayerNextShape to return correct values (#3859) > > - Union layer: fix for the failure if one or more of the source layers >are not in the current extent (#3858) > > - Fix memory leak in msResampleGDALToMap() (#3857) > > - Fix missing initialization of default formats in WCS 1.x. > > - Fix maxoverlapangle when value is set to 0 (#3856) > > > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Alan Boudreault Mapgears http://www.mapgears.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] MapServer 6.0.0-rc2 release
Daniel Morissette wrote Subject: [mapserver-users] MapServer 6.0.0-rc2 release Date: 06.05.2011 04:39 >The MapServer Team is pleased to announce the release of MapServer >6.0.0-rc2. > Updated packages for RHEL and CentOS 5.6 can be downloaded from http://elgis.argeo.org/ testing repository. Scientific Linux need php53 packages in order to install php-mapserver6. >The 6.0 release introduces important changes in key components of the >MapServer core (rendering, query and expressions), and for this reason >we count on you, MapServer power users, to help test the release in your >respective environments and provide feedback (through the users list or >Trac tickets). > >We had to issue a new release candidate since a few important issues >were reported and fixed in rc1. If all goes well and no blocker issues >are reported, then this release candidate could lead us to a final 6.0.0 >release next week. The full release plan which also includes the list of >new features and changes in this release is available at: > http://mapserver.org/trunk/development/release/release-plan-6.0.html > >The list of fixes since the last release candidate is attached at the >end of this message. For a complete list see the HISTORY.TXT file at: > >http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-0-rc2/mapserver/HISTORY.TXT > >We have started working on a 5.6 -> 6.0 migration guide. This document >contains important notes on backwards incompatibilities or other changes >required when upgrading to 6.0. The latest version is available online >at: > > http://mapserver.org/trunk/MIGRATION_GUIDE.html > >The source for this release can be downloaded at: > > http://mapserver.org/download.html >or > http://download.osgeo.org/mapserver/mapserver-6.0.0-rc2.tar.gz > >The binary distributions listed in the download page should be updated >with binaries for the new beta release in the next day or so. > >Once again we need your help to ensure a high quality product, so please >help out by testing your applications with this new code base. > >Thanks! - The MapServer Team > > >Version 6.0.0-rc2 (2011-05-05) >-- > >- Fixed seg fault with [shpxy] tag... (#3860) > >- Removed obsolete msQueryByOperator() function > >- Call msLayerClose() before msLayerOpen() in the various query > functions (#3692) > >- Fix WMS 1.3.0 to use full list of epsg codes with inverted axis (#3582) > >- PHP/Mapscript: Added getResultsBounds() method in layer object (#2967) > >- Fix SLD containing a PropertyIsLike filter (#3855) > >- Fixed msUnionLayerNextShape to return correct values (#3859) > >- Union layer: fix for the failure if one or more of the source layers > are not in the current extent (#3858) > >- Fix memory leak in msResampleGDALToMap() (#3857) > >- Fix missing initialization of default formats in WCS 1.x. > >- Fix maxoverlapangle when value is set to 0 (#3856) > > Enjoy, Peter R3 GIS Srl - GmbH http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Arrowhead in Mapserver 6.0
vector symbols are ill-defined by nature in mapserver, especially if you are using negative values and single points like you are. more precisely, you should *never* use -99 -99 x y -99 -99 as in that case you are drawing a line with a single point which will be rightfully discarded by cairo and agg, whereas gd will render a single pixel. A vector symbol that should work should be POINTS 0 0 1 0.5 0 1 END But I would strongly recommend that you use a truetype symbol for arrowheads: SYMBOL TYPE TRUETYPE FONT sans CHARACTER '>' NAME "to" END SYMBOL TYPE TRUETYPE FONT sans CHARACTER '<' NAME "from" END regards, thomas On Fri, May 6, 2011 at 06:59, Makoto Niwa wrote: > Hi,list > > I tried new MapServer 6.0(rc2). > > I got diffrent images GD/PNG and CAIRO renderes for arrowhead symbols. > > Attached images are > ms6_gd.gif : render by GD/GIF > ms6_aggpng8.png : render by AGG/PNG > > CAIRO renderer image is as same as AGG. > CARIO/AGG renderer has incorrect ofsset for arrowhead symbols. > I used vcetor type symbols for arrowhead symbols. > > But I got same results both AGG and GD in MapSever 5.6 > > Is this behavior correct in MapServer 6 ? > > regards, > > makoto. > > --- > Symbol definition: > SYMBOL > NAME "from" > TYPE vector > POINTS > 0 10 > -20 0 > 0 -10 > -99 -99 > -40 10 > -99 -99 > -40 -10 > END > END > > SYMBOL > NAME "to" > TYPE vector > POINTS > 0 10 > 20 0 > 0 -10 > -99 -99 > 40 10 > -99 -99 > 40 -10 > END > END > > Style in the layer: > STYLE > ANGLE AUTO > GEOMTRANSFORM "start" > SYMBOL "from" > COLOR 255 20 20 > WIDTH 2 > END > STYLE > ANGLE AUTO > GEOMTRANSFORM "end" > SYMBOL "to" > COLOR 20 20 255 > WIDTH 2 > END > > --- > Makoto Niwa Orkney,Inc. > Queen's Tower C 12F > 2-3-5 Minatomirai, Nishi, Yokohama, Japan > TEL.81-45-228-3320 FAX.81-45-228-3321 > E-mail n...@orkney.co.jp http://www.orkney.co.jp > > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users