[OpenLayers-Users] GetFeatureInfo on ASP.NET platform with MapServer finally working

2010-04-12 Thread sunny74
Dear Friends, This is to inform you that I had struggled a lot to GetFeatureInfo working on the ASP.NET platform(on windowsXP, IIS 5.1 and Visual Studio 2008). I would like to put on record the main points of the solution so that another guy need not have to break his head in order to get it

[OpenLayers-Users] GetFeatureInfo on ASP.NET platform with MapServer finally working

2010-04-12 Thread sunny74
Dear Friends, This is to inform you that I had struggled a lot to GetFeatureInfo working on the ASP.NET platform(on windowsXP, IIS 5.1 and Visual Studio 2008). I would like to put on record the main points of the solution so that another guy need not have to break his head in order to get it

[OpenLayers-Users] vector layer destroyed twice throws error

2010-04-12 Thread Chris Green
Hello List I am using OL 2.8 and have a vector layer that is populated with features via WFS. In my application I need to be able to remove and re-create the vector layer repeatedly, which I can perform once only but the second time I call layer.detroy() I get the error 'this div is null'

[OpenLayers-Users] draw feature example

2010-04-12 Thread sunny74
Dear Friends, There is a draw feature example which shows drawing a point,line and polygon layer. But there is no example on drawing a circle with a fixed radius or an ellipse with a fixed a,b. I want to draw a circle or ellipse around the point of click. Assuming that there is a way of drawing

[OpenLayers-Users] popups and z-index

2010-04-12 Thread ivan marchesini
Dear OpenLayers Users, I'm creating a webMapping application where I'm using more than 85 layers... my problem arises when I switch on the higher layers (86, 87, 88, an so on...) and contemporary I click on the map to get a popup: the popup appears under the layers!!! It is a problem of z-index

Re: [OpenLayers-Users] vector layer destroyed twice throws error

2010-04-12 Thread Eric Lemoine
On Mon, Apr 12, 2010 at 8:13 AM, Chris Green chris.gr...@ibstv.co.uk wrote: Hello List I am using OL 2.8 and have a vector layer that is populated with features via WFS. In my application I  need to be able to remove and re-create the vector layer repeatedly, which I can perform once only  

Re: [OpenLayers-Users] draw feature example

2010-04-12 Thread Eric Lemoine
On Mon, Apr 12, 2010 at 8:35 AM, sunny74 sb@hotmail.com wrote: Dear Friends, There is a draw feature  example which shows drawing a point,line and polygon layer. But there is no example on drawing a circle with a fixed radius or an ellipse with a fixed a,b. I want to draw a circle or

Re: [OpenLayers-Users] dynamic layer choosing to get attributes

2010-04-12 Thread Eric Lemoine
On Fri, Apr 9, 2010 at 1:36 PM, Sarah Schuessler sarah_f...@yahoo.de wrote: Hi list, is there a best practice for choosing a layer: I have different layer and for one of them I want to get attribute data. By now I 'choose' my layer with a GeoExt.data.FeatureStore and a

Re: [OpenLayers-Users] Success! and one minor quirk :)

2010-04-12 Thread Eric Lemoine
On Fri, Apr 9, 2010 at 5:05 AM, Stephen Woodbridge wood...@swoodbridge.com wrote: Hi Eric, Sorry for the very long delay in getting back to this, but life happens regardless of code :) Questions inline below ... Eric Lemoine wrote: On Wed, Mar 17, 2010 at 6:30 AM, Stephen Woodbridge

Re: [OpenLayers-Users] Problem while adding a vector layer

2010-04-12 Thread Eric Lemoine
On Thu, Apr 8, 2010 at 8:38 AM, usha madhuri life.madh...@yahoo.com wrote: I am doing a project using Openlayers API with Google Maps as my base layer. I got a problem while adding a  vector layer(kml layer) or even just a linestring on google maps(base layer on openlayers API). The vector

Re: [OpenLayers-Users] vector layer destroyed twice throws error

2010-04-12 Thread Eric Lemoine
On Mon, Apr 12, 2010 at 10:16 AM, Chris Green chris.gr...@ibstv.co.uk wrote: Hi Eric The code I am using (slightly simplified) is below. I am not calling getZIndex, I have been assuming that it is called somehow as part of the layer.destroy() function Layer.destroy() doesn't call getZIndex.

Re: [OpenLayers-Users] vector layer destroyed twice throws error

2010-04-12 Thread Chris Green
Hi Eric Thanks for your suggestion but unfortunately it doesn't help - I tried to destroy the SelectFeature Control (testing if null first) before destroying the vector layer, but there was no change to the problem - I still get 'zIndex is null' errors each of the even number of times that I call

Re: [OpenLayers-Users] vector layer destroyed twice throws error

2010-04-12 Thread Eric Lemoine
On Monday, April 12, 2010, Chris Green chris.gr...@ibstv.co.uk wrote: Hi Eric Thanks for your suggestion but unfortunately it doesn't help - I tried to destroy the SelectFeature Control (testing if null first) before destroying the vector layer, but there was no change to the problem - I

[OpenLayers-Users] OpenLayer OSM, how do i rotate a picture? (and a good way to position it)

2010-04-12 Thread Atl
Hey Im trying to place a picture (floorplan of a building) on top of OSM, but i run into some problems. - I need to rotate the picture - Find a good way to position the picture on top of the map. (im currently just placing the picture at a given coordinate). I think of something like upper left

Re: [OpenLayers-Users] draw feature example

2010-04-12 Thread sunny74
Hi, Thanks for your reply. So if I draw a polygon the how can I get some information about the features covered by the polygon. Atleast the feature name or the lonlat so that using the lonlat I am able to make a GFI request. Thanks. -- View this message in context:

Re: [OpenLayers-Users] OpenLayer OSM, how do i rotate a picture? (and a good way to position it)

2010-04-12 Thread Arnd Wippermann
Hi, You can add your image as a point feature on a vector layer using externalGraphic. http://gis.ibbeck.de/ginfo/apps/OLExamples/OL27/examples/ExternalGraphicOver lay/ExternalGraphicOverlay.asp The tricky part is to calculate the position and extent of the image if you zoom in or out. But that

[OpenLayers-Users] Multiple Vector Layers (FireFox issue)

2010-04-12 Thread chandanpansare
I have multiple vector layers added in map and for each layer I have SelectFeature control. In IE, Chrome and Safari I'm able to select features of all the layers but in case of FireFox only features from the last layer added are accessible. would like to if there any work around / solution for

Re: [OpenLayers-Users] Multiple Vector Layers (FireFox issue)

2010-04-12 Thread Andreas Hocevar
On 2010-04-12 20:30 , chandanpansare wrote: I have multiple vector layers added in map and for each layer I have SelectFeature control. In IE, Chrome and Safari I'm able to select features of all the layers but in case of FireFox only features from the last layer added are accessible. would

[OpenLayers-Users] Vector labels at different zoom levels

2010-04-12 Thread Jeff Dege
I'm adding some attributes to the GML data I'm using to draw a vector layer, and have set the label member of the style object to display those attributes. It works fine, except that it looks lousy when I zoom out. The labels are still drawn the same, even though the features may be nearly

Re: [OpenLayers-Users] What is best way to provides maps without access to internet?

2010-04-12 Thread Lisa Gaudette
It's possible to just load images - OpenLayers.Layer.Image, but this can get finicky if you need to properly georeference and line things up, or allow for much zooming. It is possible to do some of those things it just gets painful :) MostlyBaldEagle wrote: I guess I could run a map server

Re: [OpenLayers-Users] Problem with images when put OpenLayers.js in local path

2010-04-12 Thread Lisa Gaudette
From the .zip or .tar download file, you're going to want the following files/directories in the same directory for all the default images: OpenLayers.js img/ theme/ (with a subdirectory of default, which has more image and css files) style.css (not sure this is necessary) I suspect you're

Re: [OpenLayers-Users] Vector labels at different zoom levels

2010-04-12 Thread Arnd Wippermann
Hi Jeff, that's the styleMap I use to get the effect. Still in IE the labels with the font-size = 0px will drawn in very small letters?! Labels are a function of the zoomlevel (context) and the features are a function of the attribute popClass (UniqueValueRules). var styleMapCapitols;

Re: [OpenLayers-Users] draw feature example

2010-04-12 Thread Eric Lemoine
On Mon, Apr 12, 2010 at 3:42 PM, sunny74 sb@hotmail.com wrote: Hi, Thanks for your reply. So if I draw a polygon the how can I get some information about the features covered by the polygon. Atleast the feature name or the lonlat so that using the lonlat I am able to make a GFI