Re: [OpenLayers-Users] Get lat/lon from pixel coordinates via a webservice?

2008-08-22 Thread Christopher Schmidt
On Fri, Aug 22, 2008 at 11:43:20PM +0200, Kaspar Fischer wrote: > Dear list, > > Is there a way to convert the x/y-coodinates, measured from the top- > left corner of a map centered at a fixed position and zoom level, to > lat/long-coordinates without running on a browser? It's all planar math.

[OpenLayers-Users] Get lat/lon from pixel coordinates via a webservice?

2008-08-22 Thread Kaspar Fischer
Dear list, Is there a way to convert the x/y-coodinates, measured from the top- left corner of a map centered at a fixed position and zoom level, to lat/long-coordinates without running on a browser? For instance, is there a webservice available for this? Background: I need to show on my website

Re: [OpenLayers-Users] SLD file and labels

2008-08-22 Thread Eric Lemoine
Not that i'm aware of, but i'd be quite to hear otherwise :) Eric 2008/8/22, Zer <[EMAIL PROTECTED]>: > > Hello all, > > Does anyone know if there has been any progress in this case? Would be a > nice feature! > > Thanks, > > -Z > > > Tim Schaub-3 wrote: >> >> Hey- >> >> hcan-hcan wrote: >>> Hi! >

Re: [OpenLayers-Users] Bug with custom markers?

2008-08-22 Thread Eric Lemoine
Hi all. That'd be fantastic if someone could post an example showing the problem - a simple html+js file which would just work by placing it in OL's examples directory. Am i asking too much here? :) Eric 2008/8/22, Felipe Reyes <[EMAIL PROTECTED]>: > > Im facing the same problem, it seems that fir

Re: [OpenLayers-Users] Bug with custom markers?

2008-08-22 Thread Felipe Reyes
Im facing the same problem, it seems that firefox is not registering the events did somebody fixed this? thanks in advance. Fred van Beelen wrote: > > I have the same problem in FF. IE it works OK! > Can't see the problem (Firebug). > > Regards, > Fred van Beelen (BICT) > www.waterwegwijzer.

Re: [OpenLayers-Users] SLD file and labels

2008-08-22 Thread Zer
Hello all, Does anyone know if there has been any progress in this case? Would be a nice feature! Thanks, -Z Tim Schaub-3 wrote: > > Hey- > > hcan-hcan wrote: >> Hi! >> >> I'm using the label examples from camptocamp's sandbox >> (vectors-with-text). >> Works just fine! Now I have started

Re: [OpenLayers-Users] using openlayers.rule with existing style

2008-08-22 Thread Eric Lemoine
Maybe the OpenLayers version you're using does support the display style property, that one was introduced after the others. I think 2.6 has it. Eric 2008/8/22, Brenningmeyer, Todd <[EMAIL PROTECTED]>: > Eric, > Thanks. That helped and I now see that I may be able to do this with the > addUniqueV

Re: [OpenLayers-Users] Map won't zoom to full extent

2008-08-22 Thread Chris Adams
This is because your resolutions do not allow for it. If you want your the whole map to fit the visible extents, you will either need to adjust the size of your map so it fits, or adjust your highest resolution. Even adjusting your resolution, you may still need to change the width or height of

Re: [OpenLayers-Users] Custom markers

2008-08-22 Thread Indika Tantrigoda
Thanks Eric, after I removed featureClass, got what I was looking for Regards, Indika 2008/8/22 Eric Lemoine <[EMAIL PROTECTED]> > Hi. If you use externalGraphics do not pass any featureClass to the > WFS constructor. Also check the name of the external graphics prop i > can't remember if there'

Re: [OpenLayers-Users] Custom markers

2008-08-22 Thread Eric Lemoine
Hi. If you use externalGraphics do not pass any featureClass to the WFS constructor. Also check the name of the external graphics prop i can't remember if there's a trailing s or not. Eric 2008/8/22, Indika Tantrigoda <[EMAIL PROTECTED]>: > Hi all, > > I seem to have some trouble with the followin

[OpenLayers-Users] expand on georss layer

2008-08-22 Thread Don Martin
We've got a georss example working on our site - truck tracking records from a sql query rendered as georss. We need a couple of other things from this layer if possible - 1. color coded markers/icons indicating when the vehicle is next scheduled to be available - so different markers for

[OpenLayers-Users] custom projection: what OL classes would be affected?

2008-08-22 Thread Mike Quentel
The proprietary map server software developed by my employer uses a patented custom projection, called "Spherical Correction". This projection algorithm reduces computational effort through a 3 x 3 transformation matrix that uses the cosine of the latitude, from 0 to 41 degrees north or south of t

Re: [OpenLayers-Users] Custom markers

2008-08-22 Thread Indika Tantrigoda
Hi all, I seem to have some trouble with the following var symbolizer = OpenLayers.Util.applyDefaults( {externalGraphic: "./marker-blue.png", pointRadius: 20}, OpenLayers.Feature.Vector.style["default"]); wfs_test = new OpenLayers.Layer.WFS( "WFS Test",

Re: [OpenLayers-Users] using openlayers.rule with existing style

2008-08-22 Thread Brenningmeyer, Todd
Eric, Thanks. That helped and I now see that I may be able to do this with the addUniqueValueRules? At least it seems that this is the case. I was unable to get the symbolizer with {display: "none"} to hide the selected features. When I change the fillcolor the color changes on redraw but wh

Re: [OpenLayers-Users] WMS request too long

2008-08-22 Thread Ivan Grcic
Hi, why dont you just use tag SLD=sld_file.url examples: for dynamicaly created sld SLD=http://server.com/sld.php?param1=x,param2=y for static SLD=http://server.com/file.sld Bg, Ivan On Fri, Aug 22, 2008 at 11:31 AM, Kenneth Skovhede, GEOGRAF A/S < [EMAIL PROTECTED]> wrote: > You can try to

Re: [OpenLayers-Users] WMS request too long

2008-08-22 Thread Kenneth Skovhede, GEOGRAF A/S
You can try to send the request as a POST, rather than a GET. AFAIK, there is no way you can fix IE to send arbitrary request strings. Regards, Kenneth Skovhede, GEOGRAF A/S Bas Couwenberg skrev: Hello, when retrieving my layer with WMS I want to send a SLD document in the sld_body tag. Th

[OpenLayers-Users] WMS request too long

2008-08-22 Thread Bas Couwenberg
Hello, when retrieving my layer with WMS I want to send a SLD document in the sld_body tag. The length of the WMS request gets very long this way and I came across the limitations in IE. It seems that IE only allows a Get request length of 2083. Is there a way to go around this issue without losin