[OpenLayers-Users] Security issues dealing with openlayers

2010-07-28 Thread Manuel Aymerich
Hi all, I am not sure if this is the right place to ask this question, but I am sure many of you have dealt with this problem at one time or another. I am working with openlayers together with Mapserver CGI (caching with tilecache). I am configuring a public site and I was wondering about t

Re: [OpenLayers-Users] extract attributes from a geoserver wms [SEC=Unclassified]

2010-07-28 Thread Miles Jordan
The content of a GetFeatureInfo response is determined by the WMS - you have very little control over what it outputs from the client side apart from applying CSS to it. Assuming you are using Geoserver, you can create a template for what the getFeatureInfo response should look like either on a

Re: [OpenLayers-Users] Resolutions with Geowebcache and WMSGetFeatureInfo [Sec=Unclassified]

2010-07-28 Thread Miles Jordan
Hi Andreas, Thanks. That method works, but I was hoping I could get geowebcache to work so that clients that consume data from us can access both maps and getfeatureinfo from the one url. Ideally I would like to have geoserver completely inaccessible from outside the firewall, with geowebcache

Re: [OpenLayers-Users] overwriting functions

2010-07-28 Thread ulao
Not sure my last message sent??? Resending. I do this OpenLayers.Control.SelectFeature.prototype.myDownfeature = function() { //your code this.downfeature() } But this only works if you can allow a function rename. -- View this message in context: http://osgeo-org.1803224.n2.nabble.

Re: [OpenLayers-Users] overwriting functions

2010-07-28 Thread ulao
I do this OpenLayers.Control.SelectFeature.prototype.myDownfeature = function() { //your code this.downfeature() } But this only works if you can allow a function rename. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/overwriting-functions-tp1825571p5345913.

Re: [OpenLayers-Users] overwriting functions

2010-07-28 Thread Piero Campa
Hi Paul, is there a specific place where to put the overwritten prototype? Because I'm trying to, but the default method is still called. Thanks. Piero -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/overwriting-functions-tp1825571p5345898.html Sent from the OpenLayers U

Re: [OpenLayers-Users] HOW TO USE LOGICAL FILTERS

2010-07-28 Thread Arnd Wippermann
So should it work create filterComparison1 for attribute1 create filterComparison2 for attribute2 create filterLogical with above filters add filterLogical as filter to the rule var filterComparison1 = new OpenLayers.Filter.Comparison({ type: OpenLayers.Filter.Comparison.GREATER_THAN,

Re: [OpenLayers-Users] google maps-like zooming

2010-07-28 Thread Lennox Antoine
I believe it already works in V3 of the api : http://openlayers.org/dev/examples/google-v3.html I read somewhere that it still doesn't work in some browsers though (couldn't find link). I just tried in IE and FireFox and it didn't work. Safari and Chrome gives you the smooth zoom in though. Here

[OpenLayers-Users] Strange behaviour OpenLayers.Control.WMSGetFeatureInfo with tiled WMS

2010-07-28 Thread Arlen Poort
Dear listers, I have a tiled Mapserver WMS which I use in an Openlayers environment. It contains a lot of points (polling stations) that are clickable, and a popup appears with the point info. The strange thing is: when I click on a single point, I get no results, and sometimes a dbf error message

Re: [OpenLayers-Users] HOW TO USE LOGICAL FILTERS

2010-07-28 Thread Piero Campa
I think you're on the right way. Maybe you now have to create a rule on the 'rules' logical filter you created, then add it to the style of the feature layer. Think you should read here: http://docs.openlayers.org/library/feature_styling.html#rule-based-styling

[OpenLayers-Users] HOW TO USE LOGICAL FILTERS

2010-07-28 Thread s.williams
I want to combine two separate filters using a logical filter, the objective is to use a comparison filter to set the point radius of a marker from feature "attribute1" and use another filter to set the color of that marker from "attribute2". Thanks for the help Here's what I have

Re: [OpenLayers-Users] google maps-like zooming

2010-07-28 Thread Piero Campa
I read somewhere, and tested too, that this does not have effects on Google layers. Still no continuous zooming is achieved. OL developers: is it an available skill now that OL has support for the V3 Google APIs? Will it ever be? Thank you. Piero -- View this message in context: http://osgeo-

Re: [OpenLayers-Users] International date line and bounds [SEC=UNCLASSIFIED]

2010-07-28 Thread David Zwarg
Hello Piero, This is my understanding of how wrapDateLine works: The wrapDateLine property is used by tile layers when determining which tiles to display. If your layer contains "wrapDateLine: true", the layer adjusts it's tile coordinates if the IDL is in the map viewport. If your layer contain

Re: [OpenLayers-Users] Can't restrict Openlayers.Layer.OSM to use specific zoom levels

2010-07-28 Thread christopher.schmidt
On Jul 28, 2010, at 8:50 AM, ext Piero Campa wrote: > > Hi, I'm not bringing answers. :) > I can't see the OpenLayers.Layer.OSM class in the API reference, nor it gets > recognized whether I implement it. > Guess the last stable OL version 2.9.1 is not supporting this class yet...? http://dev.o

Re: [OpenLayers-Users] Can't restrict Openlayers.Layer.OSM to use specific zoom levels

2010-07-28 Thread Piero Campa
Hi, I'm not bringing answers. :) I can't see the OpenLayers.Layer.OSM class in the API reference, nor it gets recognized whether I implement it. Guess the last stable OL version 2.9.1 is not supporting this class yet...? Piero -- View this message in context: http://osgeo-org.1803224.n2.nabble.

Re: [OpenLayers-Users] International date line and bounds [SEC=UNCLASSIFIED]

2010-07-28 Thread Piero Campa
Thank you David, ok so: isn't it the behaviour of a layer with wrapDateLine = false, i.e. the default behaviour? Moreover, I was trying to see the effect of maxExtent property of the map (I think I have to set it wider to just 1 globe, so to go beyond the IDL), but nothing changes, even for very

Re: [OpenLayers-Users] International date line and bounds [SEC=UNCLASSIFIED]

2010-07-28 Thread Piero Campa
Thank you David, ok so: isn't it the behaviour of a layer with wrapDateLine = false, i.e. the default behaviour? Moreover, I was trying to see the effect of maxExtent property of the map (I think I have to set it wider to just 1 globe, so to go beyond the IDL), but nothing changes, even for very

Re: [OpenLayers-Users] Openlayer is messing with dragging of popup. Please help

2010-07-28 Thread Rossko
> http://jsbin.com/emoge3/3/edit will explain whats the problem. Doesn't seem to be any map there. > WHY IS IT NOT ACCEPTED ? What "it", accepted where? > WHATS WRONG? Your caps lock key is stuck? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Openlayer-is-messing

Re: [OpenLayers-Users] Fwd: pb with Strategy.Refresh

2010-07-28 Thread Sébastien Geindre
Thanks for your answer. I added a fresh function that close the popup open on the layer before refresh it : new OpenLayers.Strategy.Refresh( { force: true, interval: 6, refresh: function() { if (this.layer && this.layer.refresh) { while( th

Re: [OpenLayers-Users] Satellite Maps for free or low cost?

2010-07-28 Thread Piero Campa
http://onearth.jpl.nasa.gov/ returns '403 FORBIDDEN' now, guess it's no more available, or need a kind of subscription. Do you know an other good satellite worldwide WMS? Piero -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Satellite-Maps-for-free-or-low-cost-tp182534

Re: [OpenLayers-Users] International date line and bounds [SEC=UNCLASSIFIED]

2010-07-28 Thread Piero Campa
Thank you David, ok so: isn't it the behaviour of a layer with wrapDateLine = false, i.e. the default behaviour? Moreover, I was trying to see the effect of maxExtent property of the map (I think I have to set it wider to just 1 globe, so to go beyond the IDL), but nothing changes, even for very

[OpenLayers-Users] VirtualEarth VEMapStyle.Birdseye mode doesn't work

2010-07-28 Thread BrainDrain
I'm trying to enable VEMapStyle.Birdseye mode for VirtualEarth layer in my OL app using if (mapObject.IsBirdseyeAvailable()) { mapObject.SetMapStyle(VEMapStyle.BirdseyeHybrid); } Birdseye scene displayed, but it seems that panning (moving center) doesn't work: v

[OpenLayers-Users] Fwd: pb with Strategy.Refresh

2010-07-28 Thread Kris Geusebroek
Sorry, forgot to keep the list in the loop Hi Sebastien, The refresh strategy only reloads the layer, so the problem with the Math.random key would be in the Http class i guess. I think that is due to the fact that you generate the number once during construction of the Http class. The probl

Re: [OpenLayers-Users] Satellite Maps for free or low cost?

2010-07-28 Thread Piero Campa
http://onearth.jpl.nasa.gov/ http://onearth.jpl.nasa.gov/ returns '403 FORBIDDEN' now, guess it's no more available, or need a kind of subscription. Do you know an other good satellite worldwide WMS? Piero -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Satellite-Maps-

[OpenLayers-Users] problems with zoom and resolutions

2010-07-28 Thread Francesco Angi
Hi everybody, I'm building an application based on OpenLayers but, strange enough, I'm facing a problem with zoom and resolutions. Though I googled a lot and searched through the mailing list, I still haven't found the correct answer to how to calculate resolutions. Here's how I calculate th

Re: [OpenLayers-Users] International date line and bounds [SEC=UNCLASSIFIED]

2010-07-28 Thread Piero Campa
Thank you David, ok so: isn't it the behaviour of a layer with wrapDateLine = false, i.e. the default behaviour? Moreover, I was trying to see the effect of maxExtent property of the map (I think I have to set it wider to just 1 globe, so to go beyond the IDL), but nothing changes, even for very

[OpenLayers-Users] pb with Strategy.Refresh

2010-07-28 Thread Sébastien Geindre
hi all, Some pbs with Strategy.Refresh : Imagine the following layer : var layer = new OpenLayers.Layer.Vector("FIR+Sigmets", { strategies : [ new OpenLayers.Strategy.BBOX() ,new OpenLayers.Strategy.Refresh( {force: tru

[OpenLayers-Users] extract attributes from a geoserver wms

2010-07-28 Thread Giuseppe Naponiello
Hi all, my problem is: I have a map with two wms layers served by GeoServer, and would like to display in a pop-up some attributes of the second layer. I would also like to customize the pop-ups. I tried several ways but the one I work is: #info = new OpenLayers.Control. #WMSGetFeatureInfo (( #