Re: [OpenLayers-Users] 4326 WMS overlay on top of google reproject, WMS not showing up

2008-09-18 Thread Eric Lemoine
Hi. Does your WMS server support re-projecting your layer from 4326 to 900913? Eric 2008/9/18, Ed Fialkowski <[EMAIL PROTECTED]>: > Hello all, I'm trying to display a North American borders WMS layer > (in EPSG:4326) on top of the google satellite layer here in > openlayers. > I got the google lay

Re: [OpenLayers-Users] How to remove and reload a GML layer - solved

2008-09-18 Thread Robert Sanson
I ended up using layer.destroy();, followed by recreating the layer from scratch, but aos had to add some dummy date to the end, to force the browser to load from the Web server, rather than from cache like so: dummyDate = new Date() ; dummyParameter = "&" + dummyDate.getTime(); fbnd = new Open

Re: [OpenLayers-Users] How to remove and reload a GML layer - solved

2008-09-18 Thread Jesus
Hi, i have the same problem i try the layer.redraw(true) method, cause it should reload the layer? but nothing I notice that if i create a new layer or even a map it not instantiate a new object it just add the new members of the old one to the new one. any clue? I´m using the zoomify layers pr

Re: [OpenLayers-Users] loading heavy WFS. solutions?

2008-09-18 Thread G. Allegri
An Interesting dissertation: 16 June 2008, Theodor Foerster, about PhD research towards creating a WPS for automated generalization. http://www.nottingham.ac.uk/~cczrmg/accordent/pmzcc1/20080616-141916-IH01/msh.htm 2008/9/18 Alexandre Dube <[EMAIL PROTECTED]>: > Unfortunately, I have tested it wi

Re: [OpenLayers-Users] Vectors with text

2008-09-18 Thread Linda_Rawson
I am trying to fold this into Openlayers 2.7 rc2 and having a devil of a time. Here is the files that I have changed: Renderer/Element.js Renderer/SVG.js Renderer/VML.js Geometry/Collection.js Geometry/LinearRing.js Geometry/Point.js What else is there to make this work? Do you have this workin

Re: [OpenLayers-Users] adding .shp layer

2008-09-18 Thread Dr. Franz-Josef Behr
I'd like to add that there are other WMS server programs which support Shape format like (UMN) MapServer and SUAS MapServer. Mit freundlichen Grüßen / Regards / Cordialement Dr. Franz-Josef Behr Participate in http://www.opengeocod

Re: [OpenLayers-Users] loading heavy WFS. solutions?

2008-09-18 Thread Alexandre Dube
Unfortunately, I have tested it with only one layer. I'm still working on it. Thanks for your interests, Alexandre G. Allegri wrote: > Hi Alexandre. > Interesting. Could I ask on how much heavy shapes have you tested it? > It seems an intensive algorithm to be used at runtime. > With PostGIS l

[OpenLayers-Users] 4326 WMS overlay on top of google reproject, WMS not showing up

2008-09-18 Thread Ed Fialkowski
Hello all, I'm trying to display a North American borders WMS layer (in EPSG:4326) on top of the google satellite layer here in openlayers. I got the google layer to reproject (thank you documentation), but I can't seem to get the WMS overlay to do what I tell it. Here's a linky: http://niceguy.wu

Re: [OpenLayers-Users] SLD for Openlayers. Need some help.

2008-09-18 Thread Arnd Wippermann
You can add the parameter to your layer declaration var wmsX = new OpenLayers.Layer.WMS("Gemeinden","http://localhost/cgi-bin/mapserv.exe?";, { map:"C:/Daten/TestDaten/Map_Dateien/Kanton_ZH_Gemeinden.map", layers:"gemeinden", format:"image/png", EXCEPTIONS:"application/vnd.ogc.se_i

Re: [OpenLayers-Users] loading heavy WFS. solutions?

2008-09-18 Thread G. Allegri
This is exactly the other solution we're considering. Two approaches: 1 - WMS until a certain zoom and then WFS 2 - WMS and feature overlay only for "clicked features" 3 - A mix from the twos: WMS with click->overaly, and then WFS at certain zooms. A specific question for Eric: did you implement

Re: [OpenLayers-Users] loading heavy WFS. solutions?

2008-09-18 Thread Eric Lemoine
Hi. We got pretty good results here by using WMS along with GetFeatureInfo-like queries with Handler.Hover. The features resulting from a query can be added to a vector layer and/or to an external grid with 1:1 interaction between the grid records and the features on the map. We found this to be a

Re: [OpenLayers-Users] Flickr: example? wiki?

2008-09-18 Thread Christopher Schmidt
On Thu, Sep 18, 2008 at 08:27:50AM -0700, crinolium wrote: > > I want to use Flickr with OpenLayers. I found the Flickr.js-File. But I don't > know how to use it. Is there an example, documentation or wiki anywhere? Or > where can I find information about it? > > What's the xmlNode-parameter, whi

[OpenLayers-Users] Flickr: example? wiki?

2008-09-18 Thread crinolium
I want to use Flickr with OpenLayers. I found the Flickr.js-File. But I don't know how to use it. Is there an example, documentation or wiki anywhere? Or where can I find information about it? What's the xmlNode-parameter, which I need for the constructor? Where can I get it? -- View this messag

Re: [OpenLayers-Users] VectorLayer disappears at zoom 17 (and lesser).

2008-09-18 Thread Christopher Schmidt
On Thu, Sep 18, 2008 at 07:15:52AM -0700, Salvaro wrote: > > I've one problem to do this, as the another time I'm programming direct in > Java with GWT+openlayers, and haven't a way to put it in a server with a > legible code. I don't care how the Javascript looks: I just want to see a live examp

Re: [OpenLayers-Users] VectorLayer disappears at zoom 17 (and lesser).

2008-09-18 Thread Salvaro
I've one problem to do this, as the another time I'm programming direct in Java with GWT+openlayers, and haven't a way to put it in a server with a legible code. I guess it should be a problem when calculates/uses the resolution/scale (is possible to configure it manually?). The fact of the map w

Re: [OpenLayers-Users] loading heavy WFS. solutions?

2008-09-18 Thread G. Allegri
Hi Alexandre. Interesting. Could I ask on how much heavy shapes have you tested it? It seems an intensive algorithm to be used at runtime. With PostGIS layers I would use its simplify rutine. Anyway the topological unconsistency still reamins in both the solutions... Giovanni _

[OpenLayers-Users] getDataExtent

2008-09-18 Thread Kenny
Hi All, I have the following function that retrieve info from a xml file and displays the markers What I am trying to do is zoom to the position where the markers are I think I should be using the getDataExtent() function but unfortunately I don’t really know how to to. Could someone P

Re: [OpenLayers-Users] VectorLayer disappears at zoom 17 (and lesser).

2008-09-18 Thread Christopher Schmidt
On Thu, Sep 18, 2008 at 06:15:34AM -0700, Salvaro wrote: > > I did it (upgraded to the OL 2.7). > But the problem with vectorLayer continues. > It's still appearing with WMS and in the Google Maps with > sphericalMecator=false (with the known problem when pan), but when I set > sphericalMercator=t

Re: [OpenLayers-Users] VectorLayer disappears at zoom 17 (and lesser).

2008-09-18 Thread Salvaro
I did it (upgraded to the OL 2.7). But the problem with vectorLayer continues. It's still appearing with WMS and in the Google Maps with sphericalMecator=false (with the known problem when pan), but when I set sphericalMercator=true, the vectorLayer disappears and only appears on the zoom level 17

Re: [OpenLayers-Users] loading heavy WFS. solutions?

2008-09-18 Thread Alexandre Dube
I had the same problem of loading a heavy WFS layer and didn't want to use WMS as an alternate solution because I wanted to change the opacity when over a feature. The features are polygons. I use mapserver with shapefiles. I wrote a little script using phpmapscript which loads a given shapef

Re: [OpenLayers-Users] util.js: Line 585 encodedValue = encodeURIComponent(value);

2008-09-18 Thread Kenneth Skovhede, GEOGRAF A/S
If your key is "key" and your value is "x?&c=f" then your url will be: http://server/page?key=x?&= Which the server will read as: key = x? c = f With encoding yo get something like: http://server/page?key=x%3F%26c%3Df And the server will read it as: key = x?&c=f You can argue that you might want

Re: [OpenLayers-Users] WFS Vector data styling and filtering

2008-09-18 Thread Christopher Schmidt
On Thu, Sep 18, 2008 at 07:40:57AM +0200, Eric Lemoine wrote: > Hi. The WFS protocol class that's been developed in the > vector-behavior sandbox does support filter. This work isn't in trunk > yet, but will probably be in pretty soon, it might even be in 2.7 > which should come out in a week or so

[OpenLayers-Users] util.js: Line 585 encodedValue = encodeURIComponent(value);

2008-09-18 Thread Carolin Wengerter
Why or when do I need the line 585 of code util.js? encodedValue = encodeURIComponent(value); ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] loading heavy WFS. solutions?

2008-09-18 Thread G. Allegri
Thanks everyone. I've convinced the customer about the problem... We'll follow the mixed WMS/WFS model. 2008/9/18 Simone Gadenz <[EMAIL PROTECTED]>: > My two cents: > > - if the WFS serves a large number of small polygon I believe you should set > an upper zoom limit to avoid the map to be really

[OpenLayers-Users] SLD for Openlayers. Need some help.

2008-09-18 Thread Rahn Hanno (rahn)
Hello list, My english ist not very well but I will try it in English. :-) Perhaps somebody can help me. I try to use SLD Documents with OpenLayers. I have a WMS Polygon Layer in my page like this: var options = {

Re: [OpenLayers-Users] loading heavy WFS. solutions?

2008-09-18 Thread Simone Gadenz
My two cents: - if the WFS serves a large number of small polygon I believe you should set an upper zoom limit to avoid the map to be really crowded and not readable, hence not usable from your demanding users; - we had a similar problem with a point layer of global critical infrastructures and we