Re: [OpenLayers-Users] How to fetch polygon color from SLD ?

2009-12-01 Thread Dragan Podvezanec
Ivan Grcic-2 wrote: > > Hi, > > this is more for Geoserver user list... but try with this params: > > &LEGEND_OPTIONS=forceLabels:off&RULE=Rule 2a > > LEGEND_OPTIONS is a geoserver spesific so it probably wont work with > other wms servers, while RULE is SLD standard si it should work with >

Re: [OpenLayers-Users] How to fetch polygon color from SLD ?

2009-12-01 Thread Ivan Grcic
Hi, this is more for Geoserver user list... but try with this params: &LEGEND_OPTIONS=forceLabels:off&RULE=Rule 2a LEGEND_OPTIONS is a geoserver spesific so it probably wont work with other wms servers, while RULE is SLD standard si it should work with any comliant server. http://geoserver.org/d

[OpenLayers-Users] WFS geometry problem from openlayers after moving to Geoserver 2.0

2009-12-01 Thread Phil Scadden
Issues here. filter: new OpenLayers.Filter.Spatial({ property: "SHAPE", type: OpenLayers.Filter.Spatial.DWITHIN, distance: m

[OpenLayers-Users] PopUp Boxes

2009-12-01 Thread Dash
Hey folks, I am struggling to understand why my popup boxes are not displaying. I've read multiple articles and browsed the Users area extensively without any success. My ultimate goal is to create a popup for a marker. The error I'm receiving is px is null. Here is my code: // Create new ma

[OpenLayers-Users] would you mind take me off the mailing list: yapingluo2...@yahoo.com

2009-12-01 Thread Yaping Luo
Thanks __ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com.___ Users mailing list Users@openlay

Re: [OpenLayers-Users] Openlayers with Google Fusion

2009-12-01 Thread Jon Solanu
Any chance you know which Layer class was used or if something custom was done? Christopher Schmidt-2 wrote: > > On Tue, Dec 01, 2009 at 12:16:51PM -0800, Jon Solanu wrote: >> >> Can OpenLayers display data from a Google Fusion server? >> >> I haven't been able to find any documentation on

Re: [OpenLayers-Users] Openlayers with Google Fusion

2009-12-01 Thread Christopher Schmidt
On Tue, Dec 01, 2009 at 12:16:51PM -0800, Jon Solanu wrote: > > Can OpenLayers display data from a Google Fusion server? > > I haven't been able to find any documentation on if its supported or not. I've seen it done, however, OpenLayers developers don't have one to test with, so there is a ch

[OpenLayers-Users] Openlayers with Google Fusion

2009-12-01 Thread Jon Solanu
Can OpenLayers display data from a Google Fusion server? I haven't been able to find any documentation on if its supported or not. -- View this message in context: http://n2.nabble.com/Openlayers-with-Google-Fusion-tp4096007p4096007.html Sent from the OpenLayers Users mailing list archive at

[OpenLayers-Users] How to fetch polygon color from SLD ?

2009-12-01 Thread Dragan Podvezanec
Hi all. I'm trying to make custom layer switcher, with legend, because I have thematic map. It contains few polygon WMS layers from Geoserver. Those layers are same layer on GS, but filtered by attributes, so I can switch them on or off. What intterests me, how can I make small PNG with layer c

[OpenLayers-Users] Is that possible if user download map from webgis application???

2009-12-01 Thread truongpm
Hi all, I'm have been working with mapserver and openlayers for three month. So i don't know is that possible to allow user download my map to his machine??? (If i used mapserver and openlayers) My requirement is allow user draw the rectangle on map and download this frame to his machine. After th

Re: [OpenLayers-Users] Broken image for no tile, on Chrome

2009-12-01 Thread Eric Lemoine
On Tuesday, December 1, 2009, Frederic Junod wrote: > Hi all, > > I've created a small test case for this issue: > http://dev.camptocamp.com/~fredj/image-load-error.html > The WMS layer always returns a 404 error so all the tiles are broken; > they all should have a green background. > > With Chro

Re: [OpenLayers-Users] WFS called with xmlhttprequest in different domain

2009-12-01 Thread Jana Golinowski
Hi, > I have a web app served by IIS that calls WFS in geoserver. I've read > that a proxy is needed to do this, but everything that I'm finding is > for Apache.. I don't think there is no information about setting up a Reverse Proxy with IIS. Using Google you can find more than 2 million resu

Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents

2009-12-01 Thread Kris Geusebroek
Hi, Well the style could be because you don't provide a style in the url, this way geoserver uses the default style specified in the layer configuration. So you might want to add the layer style also And the resolution might be because of the width and height setting wich I think is smaller th

[OpenLayers-Users] WFS called with xmlhttprequest in different domain

2009-12-01 Thread JuKiM
Hi, I have a web app served by IIS that calls WFS in geoserver. I've read that a proxy is needed to do this, but everything that I'm finding is for Apache.. To resolve this, I create a page called test.aspx that acts as a ProxyHost (test.aspx?url=) which is called and loads the URL passed as query

[OpenLayers-Users] How Print openlayer Maps into pdf documents

2009-12-01 Thread fsalas
Kris, I continue with this problems, I make one function for a print to pdf but, the map is not similar ,for example the point icons that show in pdf is poi style Instead my style , and also the resolution in pdf document is very low. ¿ How resolve this problems? This is my function function

[OpenLayers-Users] Postgis layer srs 2908 supported?

2009-12-01 Thread Sarah_S
Hi list, I new to OL and want to use a multipolygon layer from postgis (within mapfish). layer has srs 2908 but is not displayed. I use this code: new OpenLayers.Layer.Vector("nyc_buildings", {protocol: new mapfish.Protocol.MapFish ({url: "nyc_buildings"}), strategies: [new OpenL

Re: [OpenLayers-Users] Broken image for no tile, on Chrome

2009-12-01 Thread Frederic Junod
Hi all, I've created a small test case for this issue: http://dev.camptocamp.com/~fredj/image-load-error.html The WMS layer always returns a 404 error so all the tiles are broken; they all should have a green background. With Chrome (on linux), some of the tiles do not have the olImageLoadError c

Re: [OpenLayers-Users] Change the style of scaletext

2009-12-01 Thread Andreas Hocevar
It is possible, but not very elegant: var scaleControl = map.addControl(new OpenLayers.Control.Scale(null, { updateScale: function() { var scale = scaleControl.map.getScale(); if (scale) { scaleControl.element.innerHTML = "1 : " + OpenLayers.Number.f