Re: [OpenLayers-Users] WMS layers and Gmaps V3 with OL 2.9.1

2010-08-29 Thread P Kishor
ers does not. Suggestions? > Best regards, > Bart > > -- > Looking for flexible support on OpenLayers or GeoExt? Please check out > http://www.osgis.nl/support.html > > Bart van den Eijnden > OSGIS > bart...@osgis.nl > > On Aug 29, 2010, at 6:38 AM, P K

Re: [OpenLayers-Users] WMS layers and Gmaps V3 with OL 2.9.1

2010-08-29 Thread P Kishor
regards, > Bart > > -- > Looking for flexible support on OpenLayers or GeoExt? Please check out > http://www.osgis.nl/support.html > > Bart van den Eijnden > OSGIS > bart...@osgis.nl > > On Aug 29, 2010, at 6:38 AM, P Kishor wrote: > >> I have the following, sim

[OpenLayers-Users] inconsistency in control syntax

2010-08-28 Thread P Kishor
// the following works var cs = new OpenLayers.Control.Scale(); cs.div = document.getElementById("scale"); this.map.addControl(cs); // The following also works this.map.addControl(new OpenLayers.Control.MousePosition({div: document.getElementById("coords")})); // The following does not work. Why

[OpenLayers-Users] WMS layers and Gmaps V3 with OL 2.9.1

2010-08-28 Thread P Kishor
I have the following, simplest possible code. Works without gmaps layer, but no WMS shows up when gmaps layer is included. What is it that I am doing wrong? function init(){ var lon = -90.397; var lat = 45.93; var zoom = 5; var map = new

[OpenLayers-Users] overlaying multiple gifs with a slider on a map div

2010-08-26 Thread P Kishor
The subject line is muddled, but here is what I am envisioning -- I have a set of images that I show in a div, and I have a jQuery slider that allows the user to "scrub" forward and backward creating a time series animation. I am not doing a video or a gif animation because I want that slider cont

Re: [OpenLayers-Users] Does anyone have the projection definitions for all EPSG codes in Proj4js format?

2010-06-06 Thread P Kishor
On Fri, Jun 4, 2010 at 6:17 PM, Vadim Bokin wrote: > > My map viewer is using Proj4js for re-projection and I know that it goes out > to http://spatialreference.org/ to get definitions that are not yet known to > OpenLayers through the /def/*.js files. > > However, I know that my map client will b

Re: [OpenLayers-Users] slimming OL

2010-03-09 Thread P Kishor
On Tue, Mar 9, 2010 at 1:36 PM, Christopher Schmidt wrote: > On Tue, Mar 09, 2010 at 01:06:50PM -0600, P Kishor wrote: >> On Tue, Mar 9, 2010 at 1:02 PM, Wendell Turner wrote: >> > On Tue, Mar 09, 2010 at 10:04:44AM -0500, Christopher Schmidt wrote: >> >> On Tue, Ma

Re: [OpenLayers-Users] slimming OL

2010-03-09 Thread P Kishor
On Tue, Mar 9, 2010 at 1:02 PM, Wendell Turner wrote: > On Tue, Mar 09, 2010 at 10:04:44AM -0500, Christopher Schmidt wrote: >> On Tue, Mar 09, 2010 at 08:26:36AM -0600, P Kishor wrote: >> > On Tue, Mar 9, 2010 at 8:23 AM, Alexandre Dube wrote: >> > > Hi, >>

Re: [OpenLayers-Users] slimming OL

2010-03-09 Thread P Kishor
ugh guidance to choose from them. How about something simpler? "Make my OL similar in size and functionality to the current version of Gmaps" kinda choice. > > Regards, > > Alexandre > > > P Kishor wrote: >> >> From Firebug's 'Net' panel

[OpenLayers-Users] slimming OL

2010-03-09 Thread P Kishor
>From Firebug's 'Net' panel, my mixed, OpenLayers, Google Maps test page shows >-- Google js -- maps: 4.3 KB main.js: 67.7 KB vp: 661 B %7Bmod_drag,mod_ctrapi%7D.js: 11.2 KB vp: 660 B = That totals 85 KB OpenLayers.js: 695.1 KB Why is OL almost 10 times the size of Gmaps scr

Re: [OpenLayers-Users] jQuery/OpenLayers-2.8 conflict

2010-01-30 Thread P Kishor
On Sat, Jan 30, 2010 at 12:28 PM, AlessioDL wrote: > > Using let it > works also in firefox > moral of the story... always use http://www.punkish.org Carbon Model http://carbonmodel.org Charter Member, Open Source Geospatial Foundation http://www.osgeo.org Science Commons Fellow, http://science

Re: [OpenLayers-Users] jQuery/OpenLayers-2.8 conflict

2010-01-30 Thread P Kishor
On Sat, Jan 30, 2010 at 8:50 AM, AlessioDL wrote: > > Hi list, > http://faq.openlayers.org/misc/why-doesnt-openlayers-work-with-jquery/ This > page tells that the conflict issue between jQuery/OL "is fixed by default in > release 2.8 and later". > > Probably I'm doing something wrong, but it seems

Re: [OpenLayers-Users] jQuery/OpenLayers-2.8 conflict

2010-01-30 Thread P Kishor
On Sat, Jan 30, 2010 at 8:50 AM, AlessioDL wrote: > > Hi list, > http://faq.openlayers.org/misc/why-doesnt-openlayers-work-with-jquery/ This > page tells that the conflict issue between jQuery/OL "is fixed by default in > release 2.8 and later". > > Probably I'm doing something wrong, but it seems

Re: [OpenLayers-Users] some questions about popup extent & hyperlink

2009-12-21 Thread P Kishor
On Mon, Dec 21, 2009 at 9:22 AM, beppe wrote: > Hi, > I'm an italian OL's newbie, I come from a mapserver world and I'm very > happy to discover every day something about OpenLayers! > I've this code [1] and this mapfile [2], the geographic elements are > stored in a postgis table. > The code work

Re: [OpenLayers-Users] getFeatureInfo appears to stop working when I zoom in

2009-10-09 Thread P Kishor
On Fri, Oct 9, 2009 at 11:43 AM, wrote: > Hi all, > > > >    getFeatureInfo appears to stop working when I zoomin.  Any ideas as to > why this would happen? > Seems like the same error as I reported at http://n2.nabble.com/MapServer-failing-to-find-any-result-causing-WMSGetFeatureInfo-hang-td36

Re: [OpenLayers-Users] Result of expression 'map' [undefined] is not an object.

2009-10-04 Thread P Kishor
On Mon, Oct 5, 2009 at 12:02 AM, Roald de Wit wrote: > Hi, > > On 05/10/09 14:53, P Kishor wrote: >> On Sun, Oct 4, 2009 at 10:44 PM, Stephen Woodbridge >>  wrote: >> >>> Kishor, >>> >>> I'm pretty sure that the trailing common is not po

Re: [OpenLayers-Users] Result of expression 'map' [undefined] is not an object.

2009-10-04 Thread P Kishor
E (well, not easily anyway) so I haven't really tested. Can someone please confirm the browsers/versions in which the trailing comma croaks? > > -Steve > > P Kishor wrote: >> >> On Sun, Oct 4, 2009 at 12:13 PM, Andreas Hocevar >> wrote: >>>

Re: [OpenLayers-Users] Result of expression 'map' [undefined] is not an object.

2009-10-04 Thread P Kishor
On Sun, Oct 4, 2009 at 12:13 PM, Andreas Hocevar wrote: > Also make sure that you don't have extra commas at the end of object > definitions. > if you mean, do like this var foo = { a: 'blah', b: 'blech' }; and not like var foo = { a: 'blah', b: 'blech', }; let me ask you, why not? Javascript

Re: [OpenLayers-Users] Openlayers Layer.Switcher Problem with Classes ?!

2009-10-02 Thread P Kishor
On Thu, Oct 1, 2009 at 12:35 PM, wrote: > Hi list, > > Im running Openlayers 2.8, an umn mapserver with a WMS-Mapfile including 1 > Layer with many different classes. Like: > CLASS > EXPRESSION "fast_food" >  STYLE >  SYMBOL 'fastfood' >    SIZE 6 >    MINSIZE 6 >    MAXSIZE 25 >  END > END > CL

Re: [OpenLayers-Users] Multiple responses on GetFeatureInfo

2009-09-29 Thread P Kishor
On Tue, Sep 29, 2009 at 9:17 AM, wrote: > Hi list, > > has anyone of you experienced a problem like this: > If I click on one of the point-features in my application > (http://www.seisonline.bgr.de/karto/SEIS.iframe.html) I get the same response > (GetFeatureInfo) a couple of times. > > The sam

Re: [OpenLayers-Users] two different versions of docs

2009-09-20 Thread P Kishor
. On Sun, Sep 20, 2009 at 11:13 AM, Bill Thoen wrote: > P Kishor wrote: >> The only place where the above info is available to me is either the >> actual source file for WMSGetFeatureInfo, or [2a] or [2b]. >> >> Once again, I ask, is there some better way, not obvious to me,

Re: [OpenLayers-Users] two different versions of docs

2009-09-20 Thread P Kishor
On Sun, Sep 20, 2009 at 12:14 AM, Christopher Schmidt wrote: > On Sat, Sep 19, 2009 at 10:32:53PM -0500, P Kishor wrote: >> http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Control/WMSGetFeatureInfo-js.html >> reachable via the front-door >>

[OpenLayers-Users] two different versions of docs

2009-09-19 Thread P Kishor
http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Control/WMSGetFeatureInfo-js.html reachable via the front-door versus http://dev.openlayers.org/docs/files/OpenLayers/Control/WMSGetFeatureInfo-js.html The former offers a fraction of the api info as compared to the

Re: [OpenLayers-Users] WMSGetFeatureInfo not firing

2009-09-19 Thread P Kishor
On Sat, Sep 19, 2009 at 7:47 PM, P Kishor wrote: > I have a bizarre problem that I can't debug. My code is > > var info = new OpenLayers.Control.WMSGetFeatureInfo({ >            url: "http://localhost/cgi-bin/mapserv?map=/path/to/my.map&";, >            m

[OpenLayers-Users] WMSGetFeatureInfo not firing

2009-09-19 Thread P Kishor
I have a bizarre problem that I can't debug. My code is var info = new OpenLayers.Control.WMSGetFeatureInfo({ url: "http://localhost/cgi-bin/mapserv?map=/path/to/my.map&";, maxFeatures: 12, title: 'Identify features by clicking', queryVisible: true,

[OpenLayers-Users] meta query re. documentation

2009-09-18 Thread P Kishor
I have a high level query here, as to how to proceed with developing with OL. Let's say, I have my data in Pg, and am serving it as WMS via MapServer. I want to implement WMSGetFeatureInfo. I have the following two websites http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLa

Re: [OpenLayers-Users] WMS server error. Requested layer(s) are not queryable.

2009-09-18 Thread P Kishor
On Fri, Sep 18, 2009 at 9:12 PM, P Kishor wrote: > On Fri, Sep 18, 2009 at 6:51 PM, Christopher Schmidt > wrote: >> On Fri, Sep 18, 2009 at 04:11:30PM -0500, P Kishor wrote: >>> Inspired by a recent post, I decided to implement WMSGetFeatureInfo >>> using the code

Re: [OpenLayers-Users] WMS server error. Requested layer(s) are not queryable.

2009-09-18 Thread P Kishor
On Fri, Sep 18, 2009 at 6:51 PM, Christopher Schmidt wrote: > On Fri, Sep 18, 2009 at 04:11:30PM -0500, P Kishor wrote: >> Inspired by a recent post, I decided to implement WMSGetFeatureInfo >> using the code in the OL examples. However, I am getting the fol

[OpenLayers-Users] WMS server error. Requested layer(s) are not queryable.

2009-09-18 Thread P Kishor
Inspired by a recent post, I decided to implement WMSGetFeatureInfo using the code in the OL examples. However, I am getting the following error msWMSFeatureInfo(): WMS server error. Requested layer(s) are not queryable. My backend server is MapServer, and per another archived email, I have my

Re: [OpenLayers-Users] OpenLayers Examaple does not work

2009-09-17 Thread P Kishor
2009/9/17 Mario Nuñez Jimenez : > Hello list, > > I am trying to get loaded 2 layers, one wms and another wfs but always fails > and I don’t know why. > > This is the example code “WFS: United States (GeoServer)” taken from > http://openlayers.org/dev/examples/ where only I changed the path to .js,

[OpenLayers-Users] map div height 90% not working

2009-09-15 Thread P Kishor
I have the following page structure body { width: 100%; height: 100%; margin: 0; } #main { width: 100%; height: 100%; } #map { width: 100%; height: 90%; } Yet, my map div height collapses to nothing... a pixel maybe, and the map vanishes. Of course, if I change either #main { height:

Re: [OpenLayers-Users] .MapServer v. .WMS

2009-09-14 Thread P Kishor
crap... went too soon. Please read on... On Mon, Sep 14, 2009 at 6:22 PM, P Kishor wrote: > Two questions -- > > 1. Given that I can query OpenLayers.Layer.WMS() just as easily as > OpenLayers.Layer.MapServer(), is one preferred over the other? I feel > I am getting a bette

[OpenLayers-Users] .MapServer v. .WMS

2009-09-14 Thread P Kishor
Two questions -- 1. Given that I can query OpenLayers.Layer.WMS() just as easily as OpenLayers.Layer.MapServer(), is one preferred over the other? I feel I am getting a better response from OpenLayers.Layer.MapServer() over OpenLayers.Layer.WMS()... am I hallucinating, or should I do some measured

Re: [OpenLayers-Users] changing fonts in the layerswitcher

2009-09-11 Thread P Kishor
On Fri, Sep 11, 2009 at 1:13 AM, Andreas Hocevar wrote: > P Kishor wrote: >> is there a way to change the fonts in the layerswitcher control short >> of fiddling with the hard coded styles in LayerSwitcher.js >> loadContents method? >> > > Unfortulately not

Re: [OpenLayers-Users] changing fonts in the layerswitcher

2009-09-11 Thread P Kishor
;  .olControlLayerSwitcher { >              font-size: x-small !important; >              padding-right: 50px !important; >              } That is exactly what I was looking for. I couldn't find those style declarations in my stylesheet, so was not sure what to hit. Many thanks, > - mika - &g

[OpenLayers-Users] changing fonts in the layerswitcher

2009-09-10 Thread P Kishor
is there a way to change the fonts in the layerswitcher control short of fiddling with the hard coded styles in LayerSwitcher.js loadContents method? loadContents: function() { //configure main div this.div.style.position = "absolute"; this.div.style.top = "25px";

Re: [OpenLayers-Users] Control documentation incomplete, inconsistent and misleading

2009-09-10 Thread P Kishor
On Thu, Sep 10, 2009 at 1:21 PM, Andreas Hocevar wrote: > So if you are still willing to contribute, a patch for that would be nice. > If you do not want to follow the procedure on > http://trac.openlayers.org/wiki/HowToContribute, then please let me know > what you would like to read in the docs

Re: [OpenLayers-Users] Control documentation incomplete, inconsistent and misleading

2009-09-10 Thread P Kishor
On Thu, Sep 10, 2009 at 8:14 AM, Christopher Schmidt wrote: > On Wed, Sep 09, 2009 at 10:59:34PM -0500, P Kishor wrote: >> Per the docs for Control >> >> "Controls by default are added to the map they are contained within >> however it is possible to add a contr

[OpenLayers-Users] Control documentation incomplete, inconsistent and misleading

2009-09-09 Thread P Kishor
Per the docs for Control "Controls by default are added to the map they are contained within however it is possible to add a control to an external div by passing the div in the options parameter." which is followed by the example "var control = new OpenLayers.Control({div: myDiv});" That leads

[OpenLayers-Users] attaching a control to an external div

2009-09-09 Thread P Kishor
Per the docs for Control "Controls by default are added to the map they are contained within however it is possible to add a control to an external div by passing the div in the options parameter." which seems to be completely not like the source code at http://openlayers.org/dev/examples/mouse-p