[OpenLayers-Users] WFS not shown, but data received?!

2010-04-06 Thread agentsees
Hello! I have a big problem with adding a WFS. The content seems to load completely (can see the complete GML Code it in Firebug), but it doesnt appear in my map. I have tried for hours now in different ways but cant get a result. Adding the source as WMS is no problem at all. I dont get

Re: [OpenLayers-Users] Vector layer: overlapping data

2010-04-06 Thread Daniel Degasperi
Hi Tim, I finally got the time to test the z-Index Feature and it works great!! Thank you for updating the stylemap example. Best regards, Daniel Am 25.03.2010 18:14, schrieb Tim Schaub: Tim Schaub wrote: Daniel Degasperi wrote: Hi, I have a Vector Layer with Linestrings, which

[OpenLayers-Users] Control outside map

2010-04-06 Thread Antonio Santiago
Hi, i'm working on a DojoToolkit project and i would like to have the controls (like draw point, draw polyigon, etc) in a dojo-button. is there an easy way to achieve that? Also i was looking for a way to start an action programatically, that is, somebody clicks my button and programtically i

[OpenLayers-Users] Elevations

2010-04-06 Thread Nicholas Hogg
Hi, I'm new to open layers and am very impressed by what I have read and seen on on openlayers.org. I am wanting to use open layers for a project I am working on where essentially the maps will be floor plans and we need to plot points on the map that represent different objects. The maps

[OpenLayers-Users] GML from PostGIS

2010-04-06 Thread Rahn Hanno (rahn)
Hello list, I have another question. I would show features out of a postgis database. Is this possible? I want to read the geometry directly out of the database, but I don't know if this is possible. Perhaps somebody can help me. Is there somebody who has already done this and can give me an

Re: [OpenLayers-Users] Control outside map

2010-04-06 Thread Antonio Santiago
Thanks for the reference but i think what i need is to know how to invoke a control programatically. Any ideas on that? On Tue, Apr 6, 2010 at 12:22 PM, bart...@osgis.nl wrote: Hi, if you look at GeoExt actions you can see a way to do this (i.e. the concept could be usable):

Re: [OpenLayers-Users] jquey open layers

2010-04-06 Thread Giuseppe Naponiello
Thanks to all, it was a very stupid error about library path syntax Now it works fine. ;) -beppe- 2010/4/6 Gilles Bassière gilles.bassi...@makina-corpus.com beppe wrote: Hi all, I'm using ol with jquery and I've seen that if I include jquery library in my page, controls disappear

Re: [OpenLayers-Users] Different types of polygons?

2010-04-06 Thread Jeff Dege
Once I have features with different attributes, the mechanisms you describe would work, but I don't have any attributes in my features to distinguish them by. The features are being created by the DrawFeature control. And it doesn't add any attributes to the features it creates. My problem is

Re: [OpenLayers-Users] Different types of polygons?

2010-04-06 Thread Jeff Dege
You've given me two ideas: 1. In the Vector layer's featureadded event handler, check which control is active. 2. Apply two different feateradded event handlers to the two different DrawFeature controls. Either should work. Depending on how time is left in the schedule after I get the rest

[OpenLayers-Users] PROBLEM GOOGLE + WMS

2010-04-06 Thread Alessandro Gorreta
I'm trying to do a sample thing. Put a google layer with a WMS layer from mapguide server. All works fine when I show viewer the first time, but when a redraw all WMS layer is placed wrong. If I omit singlelayer also is WRONG. Some IDEAS ??? function openlayerinit(xcent,ycent) { openlayermap

Re: [OpenLayers-Users] PROBLEM GOOGLE + WMS

2010-04-06 Thread Alexandre Dube
Hi, Have you tried with 'sphericalMercator': true ? Alexandre Alessandro Gorreta wrote: I'm trying to do a sample thing. Put a google layer with a WMS layer from mapguide server. All works fine when I show viewer the first time, but when a redraw all WMS layer is placed wrong. If I

Re: [OpenLayers-Users] Is it possible to have an OverviewMap for a vector layer?

2010-04-06 Thread sasamil
I had a lot of troubles with this, too. IMHO the problem exists regardless of the layer type (it can be vector, wms, wfs,... whatsoever). As I remember the point is to use baselayer.clone() instead of baselayer and the scale of overview should be carefully set in the options (ovOptions in my

[OpenLayers-Users] VectorLayer destroyFeatures doesn't work properly?

2010-04-06 Thread gtg287y
I have a vectorLayer, polygonLayer, which I am calling destroyFeatures(polygonLayer.features) on. I can confirm that after calling it, the features go away in the polygonLayer.features variable. However, the features (polygons drawn by the DrawFeatures controller as per the example found at:

[OpenLayers-Users] typename error in WFS GetFeature request

2010-04-06 Thread sunny74
Dear Friends, I am making a WFS Getfeature request and parsing the response of that request using GML to add a new vector layer over a particular feature of a layer. The purpose is to change the color of a one or more features in a layer So I have a WMS layer and I am making a WFS GetFeature

Re: [OpenLayers-Users] typename error in WFS GetFeature request

2010-04-06 Thread Mapmaker
In GeoServer the typename is typically namespace:layername... -- View this message in context: http://n2.nabble.com/typename-error-in-WFS-GetFeature-request-tp4860968p4861072.html Sent from the OpenLayers Users mailing list archive at Nabble.com. ___

Re: [OpenLayers-Users] PROBLEM GOOGLE + WMS

2010-04-06 Thread Alessandro Gorreta
yes, but with 'sphericalMercator': true I do not see my WMS layer.. 2010/4/6 Alexandre Dube ad...@mapgears.com Hi, Have you tried with 'sphericalMercator': true ? Alexandre Alessandro Gorreta wrote: I'm trying to do a sample thing. Put a google layer with a WMS layer from mapguide

Re: [OpenLayers-Users] please help us test OpenLayers 2.9RC1

2010-04-06 Thread Tim Schaub
Bart van den Eijnden wrote: Thanks Arnd, I've opened up a ticket (no solution as yet): http://trac.openlayers.org/ticket/2562 I've attached a patch for review to this ticket. Discussion about another RC on the dev list. Tim Andreas/Tim, any chance you can have a look at this, since you

Re: [OpenLayers-Users] Is it possible to have an OverviewMap for a vector layer?

2010-04-06 Thread Bart van den Eijnden
If you just leave out the layers parameter alltogether, the overview map will by default clone the baselayer of your map. Best regards, Bart On Apr 6, 2010, at 9:13 PM, sasamil wrote: I had a lot of troubles with this, too. IMHO the problem exists regardless of the layer type (it can be

[OpenLayers-Users] GetFeatureInfo cann't send request?

2010-04-06 Thread ahwangyuwei
Hello, When the html file store on localhost, Why the LoadURL can't get response? var params = { REQUEST: GetFeatureInfo, EXCEPTIONS: application/vnd.ogc.se_xml, BBOX: map.getExtent().toBBOX(), X:

Re: [OpenLayers-Users] typename error in WFS GetFeature request

2010-04-06 Thread sunny74
Hi, I am using mapserver. -- View this message in context: http://n2.nabble.com/typename-error-in-WFS-GetFeature-request-tp4860968p4863078.html Sent from the OpenLayers Users mailing list archive at Nabble.com. ___ Users mailing list

Re: [OpenLayers-Users] PROBLEM GOOGLE + WMS

2010-04-06 Thread Alessandro Gorreta
FOUND A STUPID SOLUTION I've noticed the problem is extent recalculation in redraw function. So this works temporary for me , but is strange because redraw in singletiled / untiled layers behaviour is like a normal layer. WHY SOME IDEAS ??? openlayermap = new OpenLayers.Map('openlayermap');