Re: [Geoserver-users] CQL_FILTER works but click also gives popup of hidden/filtered markers

2012-05-31 Thread Asle Benoni
OpenLayers.Control.WMSGetFeatureInfo({. I mean how would I exactly add that in code so the click also sends the CQL filter (if there is one)? Any example would be nice. Even if I am on the wrong list with this question :-) ~asle benoni 2012/5/30 Phil Scadden p.scad...@gns.cri.nz: I think this should be on the OL list

Re: [Geoserver-users] CQL_FILTER works but click also gives popup of hidden/filtered markers

2012-05-31 Thread Asle Benoni
uses OpenLayers? Still it behaves like I want it too and my map does not! ~asle benoni 2012/5/31 Asle Benoni asle.ben...@gmail.com: Thanks. I have problems posting to the OL list. Must be some sort of spam filter blocking me out. Anyway, I have played with the CQL filter in the GeoServer preview

[Geoserver-users] CQL_FILTER works but click also gives popup of hidden/filtered markers

2012-05-30 Thread Asle Benoni
); popup.autoSize = true; map.addPopup(popup, true); Ext.ux.Lightbox.register(a[rel^=lightbox],true); } } }); map.addControl(info); info.activate(); ~asle benoni

Re: [Geoserver-users] Filtering what markers are shown on layer depending on search params

2012-05-10 Thread Asle Benoni
Thanks, I am trying to get this. Even if I change the createLayer function I am still confused as to the layer name: function createWmsLayer(name, url, params, options) { var layer = new OpenLayers.Layer.WMS(name, url, params, options) map.addLayer(layer); return layer;

Re: [Geoserver-users] Filtering what markers are shown on layer depending on search params

2012-05-09 Thread Asle Benoni
layer by calling the layer gbif_ns:ikke_rodlistet. So how do I reference it in the function with mergeNewParams ? Thanks. ~asle 2012/5/9 Asle Benoni asle.ben...@gmail.com: Thanks for pointing me to the CQL filter. I have looked at this and found this page with a starter insight: http

[Geoserver-users] Geoserver 2.1.3 SLD Will not accept Halo tag

2012-05-08 Thread Asle Benoni
Hi, I have tried to follow the docs for SLD styling and rules (will soon convert to the CSS module!). I am trying to use Halo but I get this error. What am I doing wrong? org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'Halo'. One of

Re: [Geoserver-users] Geoserver 2.1.3 SLD Will not accept Halo tag

2012-05-08 Thread Asle Benoni
Thanks Andrea! Works fine even if it does not validate. I guess it would be smart to change to the CSS plugin for SLD? ~asle 2012/5/8 Andrea Aime andrea.a...@geo-solutions.it: On Tue, May 8, 2012 at 12:34 PM, Asle Benoni asle.ben...@gmail.com wrote: Hi, I have tried to follow the docs for SLD

Re: [Geoserver-users] Geoserver 2.1.3 SLD Will not accept Halo tag

2012-05-08 Thread Asle Benoni
, 2012 at 3:24 PM, Asle Benoni asle.ben...@gmail.com wrote: Thanks Andrea! Works fine even if it does not validate. I guess it would be smart to change to the CSS plugin for SLD? That's relative to your priorities. If you want to use an official standard, don't mind the extra verbosity

Re: [Geoserver-users] How do I make a text layer (text instead of markers)?

2012-04-30 Thread Asle Benoni
and are shown based on the bbox. http://tolerance.org/mix-it-up/map Brian On Fri, Apr 27, 2012 at 9:27 AM, Asle Benoni asle.ben...@gmail.com wrote: Thanks! This was very helpful. I also was able to apply some zoom-based rules to my markers on other maps. How do I make text or markers not show

[Geoserver-users] Filtering what markers are shown on layer depending on search params

2012-04-30 Thread Asle Benoni
Hi, I am not sure if this is a GeoServer task. I have an OpenLayers/Mapfish site using GeoServer 2.1.3 and I want to have a search box where I search for i.ex. a project name. When I get the list of projects I click on the projects and the map only shows the markers from that project. Where do I

Re: [Geoserver-users] Filtering what markers are shown on layer depending on search params

2012-04-30 Thread Asle Benoni
/Size              /Graphic            /PointSymbolizer        !-- end of pushpins -- - Larry -Original Message- From: Asle Benoni [mailto:asle.ben...@gmail.com] Sent: Monday, April 30, 2012 8:35 AM To: geoserver-users@lists.sourceforge.net Subject: [Geoserver-users] Filtering what

Re: [Geoserver-users] How do I make a text layer (text instead of markers)?

2012-04-27 Thread Asle Benoni
Thanks! This was very helpful. I also was able to apply some zoom-based rules to my markers on other maps. How do I make text or markers not show until there is a certain zoom level. Like in the examples on docs.geoserver.org where the labels use the  VendorOption name=spaceAround10/VendorOption

[Geoserver-users] How do I make a text layer (text instead of markers)?

2012-04-26 Thread Asle Benoni
Hello, I have a geoserver 2.1 running fine with many layers with markers. I want to show a layer where the markers are the text from a field in the database (Postgis) instead of an icon. How do I do that? Can anyone send me in the right direction? Do I use SLD styling? Or do I do this in

Re: [Geoserver-users] How do I make a text layer (text instead of markers)?

2012-04-26 Thread Asle Benoni
Hi Edward, Thanks for helping out! I read the GeoServer docs link you pointed out. But I wonder how do I get some text labels to show only when zoomed in to a certain zoom level. I would not want the street names of a city to show when I view the whole country but when I have zoomed in to street