[OpenLayers-Users] Problem with WFS

2009-11-17 Thread maimaj
Hi all, I have a WMS layer as my base layer and also a WFS layer on top of it. OpenLayers renders the WMS layer perfectly, but the WFS layer doesn't show up. I am pretty sure that the OpenLayers is sending an appropriate request to the server (Geoserver) and the server is also responding

Re: [OpenLayers-Users] GeoServer Proxy Extension OpenLayers

2009-11-17 Thread stash
Pedro Baracho wrote: In fact, changing the security settings won't solve the problem if you are accessing it via file:// On Mon, Nov 16, 2009 at 5:39 PM, Pedro Baracho pedropbara...@gmail.comwrote: What is the link on your browser when you open the example? is it http:// ... or

Re: [OpenLayers-Users] GeoServer Proxy Extension OpenLayers

2009-11-17 Thread Andreas Hocevar
stash wrote: thanks for the answer. When I open my html file the browser opens it as a file. Is there any possibility how to solve the problem when i open it as a file? No. OpenLayers is a *web* mapping library. I already told you to access your page via

[OpenLayers-Users] Update error

2009-11-17 Thread pericoltoxic
I'm looking for a strategy to use OL as an editor to update a polygon PostGis layer. My PostGis table looks like gid int4 primary key, name varchar2(20), geom polygon I implement a classic stategy var saveStrategy = new OpenLayers.Strategy.Save()

Re: [OpenLayers-Users] Problem with WFS

2009-11-17 Thread Pedro Baracho
Could you please copy your code so I can take look? As I understand, WFS problems are usually related to: 1- Proxy and Cross Domain Requests 2- Projections 3- Incorrect OL instancing As you stated on your email, you are getting correct responses so my guess is that you got a problem with

Re: [OpenLayers-Users] SLD on the fly

2009-11-17 Thread David Alda Fernandez de Lezea
Hello, I'm using MapServer WMS and want to apply some complex SLD to an OL WMS layer. It seems that some features cannot be used in OL, for example putting the text label in the centroid of the polygon or fill-opacity (I can't make this work, even with mapserver). I've been looking to your

Re: [OpenLayers-Users] GeoServer Proxy Extension OpenLayers

2009-11-17 Thread stash
Andreas Hocevar-2 wrote: stash wrote: thanks for the answer. When I open my html file the browser opens it as a file. Is there any possibility how to solve the problem when i open it as a file? No. OpenLayers is a *web* mapping library. I already told you to access your page via

Re: [OpenLayers-Users] Huge amount of data crashing browser

2009-11-17 Thread Christopher Schmidt
On Mon, Nov 16, 2009 at 11:22:20PM -0200, Pedro Baracho wrote: I know GeoServer is different from OpenLayers, but what I am questioning is how big is that impact on rendering data. I have a development environment on my machine consisting of Apache Tomcat and GeoServer. This same machine is

Re: [OpenLayers-Users] Query problem

2009-11-17 Thread Arnd Wippermann
Hi, I got your second approach idea. But is that using WMSfeaturegetinfo or my method? And it sounds like giving all queryable layers' information within one window only, right? It use your method and it will only open one window. But if there is no result for all queried layers, the window open

Re: [OpenLayers-Users] SLD on the fly

2009-11-17 Thread Brad Spencer
David, You can manipulate the opacity of any layer within OL. To change a layer’s opacity I just use the following method layerObjectName.setOpacity(newOpacity); Where ‘newOpacity’ is a real number between 0 and 1 [0=transparent and 1=opaque therefore 0.5=half transparent etc].

Re: [OpenLayers-Users] OpenLayers with Google Maps - how to obtain degree lat/long?

2009-11-17 Thread plen
Eric, The transform function indeed seemed to work. My Point now is listed in decimal lat/lon. I though that would solve my problem but it looks like something else is not working. When I use that new transformed Point to add an icon to the map, the icon gets added to the 0,0 location

[OpenLayers-Users] overview map using google layer

2009-11-17 Thread Gabriel Nolasco
Hi, I'm unsuccessfully trying to create an overview map using a google layer. The result is a null bounds exception. I've found some messages on forums about this issue but none of them very conclusive. Has anyone succeeded to create an overview map with spherical Mercator projection? Thanks in

[OpenLayers-Users] Possible to override default ZoomBox control behavior...

2009-11-17 Thread Steve Lime
Hi all: I'm wondering if it's possible to override the basic behavior of the ZoomBox control to: - work normally if a box is drawn - implement a click handler if the user, well, clicks (as opposed to zooming) Or would creating a new control be necessary? Thanks! Steve

Re: [OpenLayers-Users] OpenLayers with Google Maps - how to obtain degree lat/long?

2009-11-17 Thread plen
I think I have it. I just needed to reverse the transformation. -- View this message in context: http://n2.nabble.com/OpenLayers-with-Google-Maps-how-to-obtain-degree-lat-long-tp4016339p4022658.html Sent from the OpenLayers Users mailing list archive at Nabble.com.

[OpenLayers-Users] GetFeatures , features property...

2009-11-17 Thread Dragan Podvezanec
Hi all. If I understood documentation right, features property in GetFeature Control should fill an object with selected features. I don't know why, but I get nothing: map.someobject = {}; map.someevent.somelayer = new OpenLayers.Control.GetFeature({

Re: [OpenLayers-Users] Problem with WFS

2009-11-17 Thread maimaj
Thanks for your help in the first step. You've been right, the problem was with projection. It's resolved but the WFS features do not show up. Before you mentioned that it might be a projection problem, I copied the request string (obtained by getFullRequestString function of WFS class) in the