[mapserver-users] limit GetLegendGraphic to feature types (classes) in dynamic layer
Hi Folks, I have set up a dynamic WMS layer using MapServer variables (and a PostGIS layer). That is working well. Depending on user input on the web map I would like not only to show only the types of features in the dynamic layer on the map (that part is working already) but also in the legend (i.e. legend icons limited to the current feature class). Is there a way to limit the wms GetLegendGraphic request to specific feature type classes (define din map file) ? Specifically is the a way without using SLDs , something even simpler like a filter ? Thanks Karsten Karsten Vennemann Principal Terra GIS LTD Seattle, WA USA www.terragis.net blocked::http://www.terragis.net/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] character encoding shape file with german umlaute
Hi List, I had some trouble with getting correct character encoding to work with MapServer and with german Umlauten (ÄÜÖ and ß). For a PostGIS layer I got it fixed setting the permanent variable 'client encoding' to LATIN1 does the trick ;) The db otherwise is utf8 , the system german locale (which has impact really anyway for he most part). However I have now trouble also with labels from a shape file based MapServer WMS which show screwed up as some symbols . The attributes are showing correctly inside the dbf table. The same layers just 'worked' on the old server - however something must be different on the new one since that is just came up with the move. Is there anything I can look for to coax MapServer to correctly encode label test annotations ? I tried setting ENCODING 'LATIN1' in the label to no avail .. Cheers Karsten Terra GIS LTD www.terragis.net ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] RE: character encoding shape file with german umlaute
No stop. setting ENCODING 'LATIN1' in the label fixed it :) Sorry for the disturbance Karsten _ From: karsten vennemann [mailto:kars...@terragis.net] Sent: Thursday, April 28, 2011 00:55 To: 'mapserver-users@lists.osgeo.org' Subject: character encoding shape file with german umlaute Hi List, I had some trouble with getting correct character encoding to work with MapServer and with german Umlauten (ÄÜÖ and ß). For a PostGIS layer I got it fixed setting the permanent variable 'client encoding' to LATIN1 does the trick ;) The db otherwise is utf8 , the system german locale (which has impact really anyway for he most part). However I have now trouble also with labels from a shape file based MapServer WMS which show screwed up as some symbols . The attributes are showing correctly inside the dbf table. The same layers just 'worked' on the old server - however something must be different on the new one since that is just came up with the move. Is there anything I can look for to coax MapServer to correctly encode label test annotations ? I tried setting ENCODING 'LATIN1' in the label to no avail .. Cheers Karsten Terra GIS LTD www.terragis.net ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] WMS title tags
I have been working for a while with WMS layers served by MapServer at they work great. One thing I was wondering about: What are the wms_title and wms_group_title tags actually good for ? When I tried to use them to access a WMS they actually don't work (in a http request as layer names), instead with MapServer the MapServer layer names has to be used (at least in all cases I checked). So for example I have a group of river layer in my map file just like the one below: LAYER NAME Rivers GROUP Rivers TYPE LINE DUMP true METADATA wms_group_title the_rivers wms_title the_rivers wms_srs epsg:4326 wms_feature_info_mime_type text/html END ... So Rivers I can use to get the layer in a getmap request but not the_rivers. So is there any use for wms_group_title and wms_title ? How is this handled by other map rendering engines (Geoserver, Mapnik , Degree?) Thanks so much Karsten ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] OS and MapServer related talks at WAURISA 2009, May 4th-6th, 2009, Bellevue, WA, USA
The CUGOS group http://groups.google.com/group/cugos http://groups.google.com/group/cugos (a chapter of OSGEO) is doing an introductory workshop on Open Source GIS at the upcoming WAURISA conference in Bellevue, WA, USA from May 4th-6th. The half day workshop Introduction to Open Source GIS - A Practical Approach: http://www.waurisa.org/conferences/2009/Workshops.html http://www.waurisa.org/conferences/2009/Workshops.html will be held on May 4th, 2009. CUGOS will also have an information table related to FOSS4G, OSGEO and related local resources. The conference will also be of interest to more advanced users and developers of FOSS4G since it will host a substantial number of talks related to OS GIS (12+ presentation out of 60 or so) http://www.waurisa.org/conferences/2009/Agenda.html http://www.waurisa.org/conferences/2009/Agenda.html Remember to sign up for the conference by 4/21/09 to get the early bird rate http://www.waurisa.org/conferences/2009_Conference_Index.html http://www.waurisa.org/conferences/2009_Conference_Index.html Karsten Vennemann Principal Terra GIS LTD Seattle, USA http://www.terragis.net www.terragis.net ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Obama Campaign - Mapping voters with Mapserver, PostGIS and Openlayers
I wanted to share this with you all. http://www.terragis.net/2008/11/24/obama-campaign-mapping-voters-with-mapserver-postgis-and-openlayers/ Karsten ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[MAPSERVER-USERS] wms getfeatureinfo get multiple results back ?
Hi I'm using Mapserver with Openlayers to retrieve attributes via a getfeatureinfo query to a postgis/wms layer. I defined templates and it works fine to identify one point but if there are multiple points (with the same geometry) on the same location I only get one to display in the html template output. I added to my wms_onlineresource http://xy.com/cgi-bin/mapserv?map=/mnt/maps/usa.mapmode=nquery;. Any ideas what I might be missing to get multiple results back ? -- View this message in context: http://www.nabble.com/wms-getfeatureinfo-get-multiple-results-back---tp20297727p20297727.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users