Re: [OpenLayers-Users] problem with WFS GetFeature

2009-11-24 Thread Andreas Hocevar
Hi, can you please try the following and report back if it works: pablo lopez wrote: > control = new OpenLayers.Control.GetFeature({ > protocol: OpenLayers.Protocol.WFS.fromWMSLayer(layer), Instead, use protocol: OpenLayers.Protocol.WFS.fromWMSLayer(l

[OpenLayers-Users] problem with WFS GetFeature

2009-11-24 Thread pablo lopez
Hi list I've seen this topic discussed on this list but I'm still a little lost. I want to run the wfs get feature example with my own data served trough mapserver. I'm able to make the request and mapserver returns what seems to be a valid gml, the only problem is that it is not displaying in OL.

Re: [OpenLayers-Users] Common style for points, lines and polygons

2009-11-24 Thread Arnd Wippermann
Hi, The way, you declare your common style, you set all not named properties of the common OL style to null. If you add pointRadius : 10 to your style, it should also work for points. I use var newStyle = new OpenLayers.Util.applyDefaults( { strokeColor: "black",

[OpenLayers-Users] Common style for points, lines and polygons

2009-11-24 Thread Yves Moisan
Hi All, I'm trying to get a common style for any of (point,line,polygon). I thought something like : var s = new OpenLayers.Style({ fillColor: "#FF", strokeColor: "#FF", strokeWidth: 2 }); var myStyles = new OpenLayers.StyleMap(s); would wor

Re: [OpenLayers-Users] export SVG

2009-11-24 Thread Maria Neywell
Thanks Kris, I'm using mapserver 5.2. I have tested all mapserver exports to render my map in svg, see : http://mapserver.org/output/svg.html but, the point is that all of theseoutputs give meup simplified geometry. I want to export my map in a svg with geometries who match exactly with my map.

Re: [OpenLayers-Users] GetFeatureInfo... Access denied..

2009-11-24 Thread JuKiM
wow! This is what I was looking for...!! I found that I need to define the proxyhost like "OpenLayers.ProxyHost = "/geoserver/rest/proxy?url=";" but the 'rest/proxy' confused me, and I looked for an alternative way.. Thanks a lot! 2009/11/24 > Hi, > > why don't you set: > > OpenLayers.Proxy

Re: [OpenLayers-Users] export SVG

2009-11-24 Thread Kris Geusebroek
Hi Maria, I don;t know what mapserver you are using, but I believe in geoserver it's possible to get your wms request in svg (or even pdf) format. Cheers Kris From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Maria Neywell Sent: Tuesday, November 24,

Re: [OpenLayers-Users] GetFeatureInfo... Access denied..

2009-11-24 Thread bartvde
Hi, why don't you set: OpenLayers.ProxyHost = 'test.aspx?param='; and then you don't need to change anything inside of the OpenLayers library. Best regards, Bart > Hi all, > > Finally I've decided to modify the openlayers call. > Now I make the XmlHttpRequest.open against the same domain (The

Re: [OpenLayers-Users] GetFeatureInfo... Access denied..

2009-11-24 Thread JuKiM
Hi all, Finally I've decided to modify the openlayers call. Now I make the XmlHttpRequest.open against the same domain (The IIS served application), and there I redirect the call to geoserver, and then return the result to the client.. I've modifyed the OpenLayers.js doing this: sUrl = "test.as

Re: [OpenLayers-Users] export SVG

2009-11-24 Thread bartvde
No this is not possible currently, you would need to implement write support for the Format.SVG which is in: http://trac.openlayers.org/ticket/1808 Best regards, Bart > Hi list, > > > > I’m trying to export my current map into a svg file. I saw this old post : > http://openlayers.org/pipermail/d

[OpenLayers-Users] export SVG

2009-11-24 Thread Maria Neywell
Hi list, I’m trying to export my current map into a svg file. I saw this old post : http://openlayers.org/pipermail/dev/2008-August/003302.html but i would like to do my export with all browsers and with all kinds of layers. Is there a possibility with OpenLayers for example to convert from s