Re: [OpenLayers-Users] Switching Layers Assigned to a SelectFeature Control

2009-01-14 Thread Alexandre Dube
Hi Bill, Keep in mind that only your top layer is the only one you can interact with. Plus, I'm not sure if what you're trying to do is a good practice. I would recommend on control per layer, only one usable at a time on the top most layer. You could register some visibilitychanged events to

[OpenLayers-Users] how to set up proxy host?

2009-01-14 Thread Xiaoyu Guan
Dear all: I have two server, Apache, and Tomcat, they are running at same server. Geoserver is running on Tomcat, TileCache running on Apache. for example, apache using port 2008, Tomcat using port 2009 When I use getFeatureinfo, I have error :uri deny. I try to solve the problem by using

Re: [OpenLayers-Users] Google and UK grid vector overlay

2009-01-14 Thread Thomas Wood
I have an Ordnance Survey transformation class, for those that do not wish to use proj4js. It is available for download at http://ge.pythonmoo.co.uk/maps/OpenLayers.Projection.OrdnanceSurvey.js Please _do not_ hotlink to it. goliah wrote: Hi Arnd. thank you for your response. No, i

Re: [OpenLayers-Users] OpenLayers Book

2009-01-14 Thread David Fawcett
Mika, I think that you have pointed out the significant challenge for grass roots generated documentation for a quickly changing project like OpenLayers. Most of us who post questions to the list do not have enough knowledge of OpenLayers to write large parts of the documentation. (Definitely

Re: [OpenLayers-Users] OpenLayers Book

2009-01-14 Thread M.E.Dodd
I started off all keen on openlayers tried to put some pages together which sort of worked but then have more or less given up due to the lack of documentation. If you want a load of people to use openlayers then there does definitely need to be decent documentation or people will get fed up and

Re: [OpenLayers-Users] OpenLayers Book

2009-01-14 Thread Christopher Schmidt
On Wed, Jan 14, 2009 at 09:15:55AM -0600, David Fawcett wrote: To me, an area of documentation that would be very useful would be the higher level stuff. (e.g. What are the current best practices? [vector layer with markers vs. marker layer] , How do all of these contexts, strategies, etc.

Re: [OpenLayers-Users] OpenLayers Book

2009-01-14 Thread Christopher Schmidt
On Wed, Jan 14, 2009 at 03:24:34PM -, M.E.Dodd wrote: I started off all keen on openlayers tried to put some pages together which sort of worked but then have more or less given up due to the lack of documentation. If you want a load of people to use openlayers then there does definitely

[OpenLayers-Users] [Fwd: RE: OpenLayers Book]

2009-01-14 Thread Yves Moisan
Since that was alson posted on the list ... ---BeginMessage--- Hi Chip, Le mardi 13 janvier 2009 à 14:28 -0800, Chip Taylor a écrit : Just curious about your statement I don't think we should take it upon ourselves to waste beautiful Saturdays generating documentation for free (person

Re: [OpenLayers-Users] Problem with multiple SelectFeature controls

2009-01-14 Thread Bill Thoen
From the responses I'm getting in the [OpenLayers-Users] Switching Layers Assigned to a SelectFeature Control thread and some Googling it appears that handling multiple vector layers simultaneously in OpenLayers is not well supported. In fact, it basically won't work. Only one layer of

Re: [OpenLayers-Users] OpenLayers Book

2009-01-14 Thread Chip Taylor
I agree with what most people here have to say about contributions and, if I were more than a developer at a company that uses OL, I'd be extremely happy to contribute financially. Unfortunately reality is that Open Source is not supported adequately by people and the very nature of Open

Re: [OpenLayers-Users] OpenLayers Book

2009-01-14 Thread Christopher Schmidt
On Wed, Jan 14, 2009 at 08:46:07AM -0800, Chip Taylor wrote: I still stick by the statement that good code without good documentation is less than the product it should be. I also realize that given the model and the reluctance of programmers to document code I doubt the situation will change

Re: [OpenLayers-Users] Problem with multiple SelectFeature controls

2009-01-14 Thread Andre Pereira de Matos
We have implemented another solution for this problem... We made a control that throws events (click, mouseover, mouseout) for a specific group of features, and we don't mind if the features are in different layers or not. It just works... If anyone want the code I can share it... I sent a

Re: [OpenLayers-Users] Google and UK grid vector overlay

2009-01-14 Thread Mauro Bianchi
Hi Thomas, with your transformation class everything works perfect! So I think I stay this implementation, but I still can't understand why my proj4s version is not working. Thanks a lot Mauro 2009/1/14 Thomas Wood grand.edgemas...@gmail.com: I have an Ordnance Survey transformation class,

Re: [OpenLayers-Users] OpenLayers.Control.ScaleLine accuracy issue

2009-01-14 Thread plen
Christopher, Yes, currently I get the viewport bounds via: var coordArray = map.getBounds().toArray(); From that I can get the SW and NE viewport coordinates. This is where the problem starts. The first issue was getting the proper distance between the SW point and the NE point. This is

Re: [OpenLayers-Users] OpenLayers Book

2009-01-14 Thread Tim Schaub
Hey- Christopher Schmidt wrote: On Tue, Jan 13, 2009 at 02:31:14PM -0800, Chip Taylor wrote: Just curious about your statement I don't think we should take it upon ourselves to waste beautiful Saturdays generating documentation for free (person opinion). Why would you waste your beautiful

Re: [OpenLayers-Users] how to set up proxy host?

2009-01-14 Thread Tim Schaub
Hey- Xiaoyu Guan wrote: Dear all: I have two server, Apache, and Tomcat, they are running at same server. Geoserver is running on Tomcat, TileCache running on Apache. for example, apache using port 2008, Tomcat using port 2009 When I use getFeatureinfo, I have error :uri deny. I try to

[OpenLayers-Users] Rookie problem with getting a map to draw with Drupal

2009-01-14 Thread Gene Sally
Hi, I'm trying to use openlayers in conjunction with Drupal and I'm having problems with the map rendering. The javascript code runs without error, but I don't see the map on the page. I've been fiddling with this to the point where I'm out of things to try. I used a debugger (along with

Re: [OpenLayers-Users] OpenLayers Book

2009-01-14 Thread Jay Douillard
I think perhaps a way to approach this issue is through this list. My logic is as follows Search documentation --- No answer --- Ask List --- Summarize and generalize responses and add to documentation. I know not everyone can even do that--as they might not be at the level to understand

[OpenLayers-Users] OL 2.7 measure control questions

2009-01-14 Thread Zer
Dear list, Is there a way to change to mouse pointer to a hair cross when using then measure control? Is there a way to always present the measured distance in meters? The distance shows in km as soon as a distance longer than 1000m is measured. Thanks, Z -- View this message in context:

[OpenLayers-Users] WFS Layer Behavior

2009-01-14 Thread Bill Thoen
When you open a WFS layer does OL load the entire data file, or just the features that are visible in the map window? I tried feeding it a large table and it took quite a while to display, so I was wondering if that was because it had to dig into the table to find the features in the map

Re: [OpenLayers-Users] WFS Layer Behavior

2009-01-14 Thread Tim Schaub
Hey- Bill Thoen wrote: When you open a WFS layer does OL load the entire data file, or just the features that are visible in the map window? I tried feeding it a large table and it took quite a while to display, so I was wondering if that was because it had to dig into the table to find

Re: [OpenLayers-Users] OL 2.7 measure control questions

2009-01-14 Thread Tim Schaub
Zer wrote: Dear list, Is there a way to change to mouse pointer to a hair cross when using then measure control? control.events.on({ activate: function() { map.div.style.cursor = crosshair; }, deactivate: function() { map.div.style.cursor = default; }

Re: [OpenLayers-Users] Switching Layers Assigned to a SelectFeature Control

2009-01-14 Thread Eric Lemoine
Hi. Have you tried: deactivate control, change its layer, activate control. I'm not sure it'll work but it's worth trying. Eric 2009/1/13, Bill Thoen bth...@gisnet.com: I've got three vector feature layers and I'd like to use the same tool to select any feature from any of these layers. But I