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

2008-09-17 Thread Eric Lemoine
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. So you have to options: either wait for Protocol.WFS to be in trunk

Re: [OpenLayers-Users] WMS Question

2008-09-17 Thread Eric Lemoine
Hi. You need your WMS to serve images projected in ESPG:900913 for that layer. OpenLayers won't do the 4326 to 900913 re-projection of the images. Eric 2008/9/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Hi, > > I've got an application using the Yahoo basemap. It's loosely based on the > spherical

[OpenLayers-Users] WMS Question

2008-09-17 Thread Jeff_Hobbs
Hi, I've got an application using the Yahoo basemap. It's loosely based on the sphericalmercator example. I'd like to make a WMS in SRS 4326 as a third basemap/base layer. I can add the WMS, however it doesn't appear on my map. I'm guessing it's a projection issue. Is there a way to get it to alig

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

2008-09-17 Thread David Fawcett
Have you thought about creating several versions of your polygon data? Essentially, the vector pyramids that you were talking about.Keep your very detailed layer and then create several, increasingly more generalized layers. Set up a WFS or WMS using MapServer. For the MapServer layer that y

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

2008-09-17 Thread Robert Sanson
Hi The trick to getting the reload layer to work was to add a dummy parameter to the end of the URL, so the browser thought it was a new request. Cheers, Robert >>> "Robert Sanson" <[EMAIL PROTECTED]> 18/09/2008 12:03 p.m. >>> Does anyone know how to remove and reload a GML layer? I have

[OpenLayers-Users] Recommended projection for

2008-09-17 Thread Petra Staub
Hi all I have a big image, represented by many tiles in different zoom levels. I have them stored locally in following (OSGEO recommended) structure: ..///.jpg I managed to somehow to display them in OpenLayers, however, I still have little bit a mess with resolutions and zoom levels. ;-) Ques

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

2008-09-17 Thread Robert Sanson
Does anyone know how to remove and reload a GML layer? I have a layer added to my map as: va map, fbnd; fbnd = new OpenLayers.Layer.GML("Farm boundary", "http://10.65.192.1/cgi-bin/agbwfs.exe?farmid="+farmid+"&request=getfeature&typename=farm&service=wfs&version=1.0.0&BBOX="+

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

2008-09-17 Thread G. Allegri
Mmm, as I was expecting it's not a good solution for polygons. The simplification removes the little ones, and it's ok, but it returns a lot of holes along the polygon boundaries, as it doesn't preserve a topological coherence. I hope the next release of PostGIS will integrate the topology suite (a

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

2008-09-17 Thread G. Allegri
I was doing it right now :-) I was blocked by a problem while I was creating a view for the simplified geometries. The simplify alone works fine, but with the create view statement it returns empty... But this is something for the PostGIS ML. Thanks anyway for sharing the URL. 2008/9/18 percy <[E

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

2008-09-17 Thread G. Allegri
Sure, 12MB are incompatible with the web, that's why I'm trying to find the right tradeoff between accuracy and sinmplification. I just wanted to know if someone has evere experimented something like vector pyramids. I've just read something about it on the Geoserver site... 2008/9/18 Christopher

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

2008-09-17 Thread Christopher Schmidt
On Wed, Sep 17, 2008 at 03:10:00PM -0700, percy wrote: > how would the click handler deal with hover events for a WMS of polygon > features? It wouldn't. You'd use a Hover Handler for something like that. But the user didn't mention that aspect of things. There are limitations to what you can d

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

2008-09-17 Thread G. Allegri
> how would the click handler deal with hover events for a WMS of polygon > features? In fact there's no way of dealing with it. And above all the problem of highlighting remains. I definetly need WFS... ___ Users mailing list Users@openlayers.org http:/

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

2008-09-17 Thread G. Allegri
That's not a reason of functionality, it's about the interaction experience my customer wants: an alternative to Flash maps. Highlighting when passing over, and one-to-one interaction between features and gridded datas... 2008/9/18 Christopher Schmidt <[EMAIL PROTECTED]>: > On Wed, Sep 17, 2008 at

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

2008-09-17 Thread Christopher Schmidt
On Wed, Sep 17, 2008 at 10:43:58PM +0200, G. Allegri wrote: > I'm using Mapserver (and Geoserver). The mixed solution (WMS/WFS) is > not good to me: I need to permit the userto interact with datas (hover > selection, i.e.) at all the zoom levels... There's no reason that this can't be done with WM

Re: [OpenLayers-Users] Slow performance when zooming in to large vector object in IE

2008-09-17 Thread Zer
Hi Andreas, Unfortunately, I can not provide a public link for the moment, I could create a code snippet and a GML file if that could help. I am using 2.6 and in this case is it just one (1) vector! I will give 2.7 a try asap in report back. -Z Andreas Hocevar-3 wrote: > > > Can you provid

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

2008-09-17 Thread G. Allegri
I've found a recent page on the problem on the Geoserver website... I don't know if it's yet implemented http://geoserver.org/display/GEOS/Vector+Super+Overlays 2008/9/17 G. Allegri <[EMAIL PROTECTED]>: > I'm using Mapserver (and Geoserver). The mixed solution (WMS/WFS) is > not good to me: I need

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

2008-09-17 Thread G. Allegri
I'm using Mapserver (and Geoserver). The mixed solution (WMS/WFS) is not good to me: I need to permit the userto interact with datas (hover selection, i.e.) at all the zoom levels... 2008/9/17 Robert Sanson <[EMAIL PROTECTED]>: > Wouldn't it be better to have a couple of layers defined in OL and h

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

2008-09-17 Thread Robert Sanson
Wouldn't it be better to have a couple of layers defined in OL and have the data serverd from something like Featureserver, Geoserver or Mapserver. For zoomed out, request it as a WMS. When zoomed in, request it as WFS or GML? Robert >>> "G. Allegri" <[EMAIL PROTECTED]> 18/09/2008 8:32 a.m. >>

Re: [OpenLayers-Users] Slow performance when zooming in to large vector object in IE

2008-09-17 Thread Andreas Hocevar
Zer wrote: > I have a vector layer containing some pretty large vectors. In IE7, when > zooming in within one of these vectors so that the vector object exceeds the > view port, performance gets really slow at zoom levels 1 and 0. IE appears > to hang for up to 30 sec, and when released, panning is

[OpenLayers-Users] loading heavy WFS. solutions?

2008-09-17 Thread G. Allegri
Hi list, I need to load a heavy GML (the original shapefile is >12 MB), and I can't make any simplification, beacuse it's composed by little, needed, polygons. Has ever been experimented something to do a sort of "pyramids" with vectorial features? The only solution I can imagine is to produce vari

[OpenLayers-Users] Slow performance when zooming in to large vector object in IE

2008-09-17 Thread Zer
Hi all! I have a vector layer containing some pretty large vectors. In IE7, when zooming in within one of these vectors so that the vector object exceeds the view port, performance gets really slow at zoom levels 1 and 0. IE appears to hang for up to 30 sec, and when released, panning is almost i

Re: [OpenLayers-Users] OpenLayers.Control.PanZoomBar : Can I get the Zoom bar (slider) without the Pan buttons?

2008-09-17 Thread mpriour
Andrew is correct that there is no way to do this via the API you either have to overwrite some CSS or make a new control that leaves out the pan elements. I have made such a control and uploaded it into my sandbox. You can find it here: http://dev.openlayers.org/sandbox/mpriour/lib/OpenLayers/Co

Re: [OpenLayers-Users] adding .shp layer

2008-09-17 Thread Jeremy Jackson
Thanks to everyone who responded. these were very helpful. cheers, Jeremy On Tue, Sep 16, 2008 at 1:48 PM, Christopher Schmidt < [EMAIL PROTECTED]> wrote: > On Tue, Sep 16, 2008 at 01:37:08PM -0400, Jeremy Jackson wrote: > > I see the arcgis example in the FAQ section that uses a png layer from

Re: [OpenLayers-Users] OpenLayers.Control.PanZoomBar : Can I get the Zoom bar (slider) without the Pan buttons?

2008-09-17 Thread Andrew de Klerk
As far as I am aware it is not possible through the api, however you could do something like: Document.getElementById("OpenLayers_Control_PanZoom_panleft").style.display= 'none'; Etc Using firebug you can determine what the different div's are called (panright, pandown etc) >From what I can see

[OpenLayers-Users] OpenLayers.Control.PanZoomBar : Can I get the Zoom bar (slider) without the Pan buttons?

2008-09-17 Thread Matthew Pettis
[REPOSTING: No answer from first post] Hi, I'd like to get the slider that this class creates without getting the pan buttons. Can this be done easily? Thanks, Matt ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/user

[OpenLayers-Users] WFS Vector data styling and filtering

2008-09-17 Thread Per-Olof Norén
Hi guys, We're using openlayers 2.6 o show markers served from geoserver WFS that is backed by postgis. What we need to do is to dynamically setting a ogc filter to the WFS requests made to the server and to style markers according to feature data. So far I have managed to display markers usi

[OpenLayers-Users] Customize Icon

2008-09-17 Thread davyd
Hi friends... I'm using the Point Track Marker example, but I need to change the default red icon of the markers... rss = new OpenLayers.Layer.GeoRSS(parts[parts.length-1], value); rss.events.register("loadend", window, populateMap); map.addLayer(rss); Any Ide

Re: [OpenLayers-Users] Change color on a feature?

2008-09-17 Thread Alexandre Dube
Hi Swärd, Here's a simple example of how it can be done. ( Note that I just copied/pasted some of my code and changed some parts of it so it might have some errors, but the objective here is to make you understand how I did it )... The following will work with a selectFeature Control acti

[OpenLayers-Users] Openlayers and KaMap layer

2008-09-17 Thread Sture Dingsøyr
Hi all.. I have an OpenLayers application that uses a KaMap base layer (OpenLayers.Layer.KaMap). The application is placed on a webserver, but the KaMap application is placed on a different server... Everything works fine in IE, FireFox except in Opera... Here no images are shown in the map...

[OpenLayers-Users] Change color on a feature?

2008-09-17 Thread Swärd Mårten
Hello! Is it possible to change the color of a feature that is already drawn to the map? If so, how do I do it? :-) I have a WFS layer and I need to change the colors of the feature depending of values that the user decides..

[OpenLayers-Users] Placing map controls

2008-09-17 Thread Mark Ayad
Hi all Can anyone tell me the magic inorder to position the map controlls better. See attatched image of the problem, where the zoon / pan controll overlaps the zoom minus. I'm guessing its some css magic that needs to be done. Cheers all. Mark <>

[OpenLayers-Users] Can we number the markers?

2008-09-17 Thread Bijoy K. Anupam
Hi Guys! Can we number the markers? Also, can I give a different identification to the markers so that I can show/hide its popup from a link outside the map area? ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo