[OpenLayers-Users] gain performance by 300+ features

2009-09-02 Thread Michael Handerek
Hi, I have to display some linefeatures generated from a set of gps position data. To do so, i have created a vector layer and a linestring feature from it. The data also contains information about moving direction I also have to render on the map. I tried to add point features to the vector

Re: [OpenLayers-Users] Can OpenLayers APIs merge line features

2009-09-02 Thread Kevin Yang
Stephen Woodbridge wrote: Kevin Yang wrote: Hello everyone, A problem troubled me for a long time. Can OpenLayers APIs merge line features ?I use this function to solve the following problem: When I calculate the shortest path, I get the WKTs of the LineStrings, but it is not

Re: [OpenLayers-Users] How to call a function that sets attributes for features added by drawfeature-control

2009-09-02 Thread Max Stephan
Hi Alexandre, good idea. I´m now assigning an attribute to the feature I´ve added via the function that is triggered when a feature has been added. It contains a hexadecimal-color (depending on the colorvalue that is chosen in dropdown-menu). In the styleMap I define the fillColor as

Re: [OpenLayers-Users] IE7 vector rendering error

2009-09-02 Thread Jo Cook
Hi Eric, Yeah, that line is there Jo Eric Lemoine-2-2 wrote: Hi. VML.js is most probably not included in the built file. Edit the built file and search for OpenLayers.Renderer.VML = OpenLayers.Class to check that. Cheers, -- Eric Lemoine Camptocamp France SAS Savoie

Re: [OpenLayers-Users] Scale on the map in nautical miles

2009-09-02 Thread Andreas Hocevar
Hi Markus, you may want to have a look at GeoExt (http://geoext.org/). If that feels like overkill, at least take my advice: Creating web-based dialogs without a JavaScript framework (like ExtJS, JQuery or similar) is painful. Regards, Andreas. Markus wrote: Dear OL-Specialists, How can I

Re: [OpenLayers-Users] RegularPolygon Styling

2009-09-02 Thread Andreas Hocevar
Eric Lemoine wrote: On Tue, Aug 25, 2009 at 7:20 PM, Heidt, Christopher M.christopher.m.he...@saic.com wrote: The temporary style that exists in the other shape handlers doesn't seem to work with RegularPolygon. How do I change the style of a RegularPolygon during the draw phase?

Re: [OpenLayers-Users] gain performance by 300+ features

2009-09-02 Thread Christoph Ratke
Hi Michael, do you have considered to use a WMS? Best regards, Christoph Michael Handerek schrieb: Hi, I have to display some linefeatures generated from a set of gps position data. To do so, i have created a vector layer and a linestring feature from it. The data also contains information

Re: [OpenLayers-Users] WFS layer prechargement with layer not visible possible?

2009-09-02 Thread Andreas Hocevar
Jimmy Aumard wrote: Hi Eric, How I know if the layer is loaded or not? Register a listener for the layer's loadend event... And the user have possibility to save the point on layer (but not the same every time he have choice on hislayer). ... and add your Save control in that event. Then,

Re: [OpenLayers-Users] RegularPolygon Radius

2009-09-02 Thread Andreas Hocevar
Hi Christopher, the radius is always in map units. If your projection (e.g. EPSG:900913) has units in m, then the RegularPolygon radius will be m, otherwise (e.g. EPSG:4326), it will be degrees. Regards, Andreas. Heidt, Christopher M. wrote: Is it possible for OL to create a circle with a

Re: [OpenLayers-Users] Openstreetmap with 23032 srid json

2009-09-02 Thread Andreas Hocevar
Alessandro Ronchi wrote: It's not possible? It is, but you need to set your projections correctly and use proj4js. Please follow the instructions in http://trac.openlayers.org/wiki/Documentation/Dev/proj4js to get started. Two hints: * OpenLayers only supports EPSG:4326 and EPSG:900913 out of

Re: [OpenLayers-Users] keep map displayed when loading on zoom

2009-09-02 Thread Andreas Hocevar
Florent Gravin wrote: Is there a way to keep the map displayed when you zoom (with bad resolution) until the new tiles with a better resolution are loaded. Like for exemple in Google Map where you NEVER have white map because data are loading.. This can be done in OL too. All you need is to

Re: [OpenLayers-Users] keep map displayed when loading on zoom

2009-09-02 Thread Adrian Popa
Sorry for butting in, but is this effect supposed to work also when the layer has singleTile='true'? (One image from mapserver) Thanks Andreas Hocevar wrote: Florent Gravin wrote: Is there a way to keep the map displayed when you zoom (with bad resolution) until the new tiles with a better

Re: [OpenLayers-Users] Strange. Labels treated as numbers

2009-09-02 Thread Andreas Hocevar
Christopher Schmidt wrote: On Fri, Aug 28, 2009 at 08:52:11AM +0200, Arnd Wippermann wrote: Hi, I want to label features by the attribute name ( label:${name} ). The labels should be 06.01, 06.10, 06.080 etc.. But displayed as labels are this: 6.01, 6.1, 6.08. Looking at the code I get

[OpenLayers-Users] Pink problems

2009-09-02 Thread McKinnon, Piper
I'm new to open layers and geoserver, but have been having speedy success until today when I tried to launch a simple open layers demo through IIS 6.0. Everything seems to work great except the loading of wms images. I get the dreaded pink tiles. When I attempt to view the image, I get the

Re: [OpenLayers-Users] RegularPolygon Styling

2009-09-02 Thread Eric Lemoine
On Wed, Sep 2, 2009 at 10:40 AM, Andreas Hocevarahoce...@opengeo.org wrote: Eric Lemoine wrote: On Tue, Aug 25, 2009 at 7:20 PM, Heidt, Christopher M.christopher.m.he...@saic.com wrote: The temporary style that exists in the other shape handlers doesn't seem to work with RegularPolygon. How

Re: [OpenLayers-Users] IE7 vector rendering error

2009-09-02 Thread Eric Lemoine
On Wed, Sep 2, 2009 at 10:23 AM, Jo Cookj.c...@oxfordarch.co.uk wrote: Hi Eric, Yeah, that line is there dunno what's going on then... -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : eric.lemo...@camptocamp.com

Re: [OpenLayers-Users] WMSGetFeatureInfo with IE

2009-09-02 Thread Eric Lemoine
On Wed, Sep 2, 2009 at 7:13 PM, Micho Garmicho...@gmail.com wrote: Hi all, I have a code to realise a GetFeatureInfo and runs well on Firefox but not return any result in IE. Reading the documentation I have not seen nothing about this. I think it work the same for both. Something about

Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents

2009-09-02 Thread Kris Geusebroek
Hi, If you are using geoserver you can create a wms request with format application/pdf et volia! Cheers Kris -Original Message- From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Alexandre Dube Sent: Wednesday, September 02, 2009 5:29 PM To: fsalas

Re: [OpenLayers-Users] Ta not working on IE7

2009-09-02 Thread Andreas Hocevar
Hi, bt is not a valid value for labelAlign. Also, make sure that you are really working with OpenLayers 2.8 and not a release candidate, because there was an issue with IE7 (http://trac.openlayers.org/ticket/2135). Regards, Andreas. newbie wrote: Dear All, Recently I just switch

[OpenLayers-Users] map.getLayersBy() Question

2009-09-02 Thread Bill Thoen
I'm trying to use getLayersBy() to select layers for a getFeatureInfo tool, and I can get it to work for one criterion : map.getLayersBy(queryable, true) , but suppose I want to use two criteria, like where queryable and visibleity are BOTH true? I can't seem to get the right syntax. TIA, -

Re: [OpenLayers-Users] WMSGetFeatureInfo doesnt seem to work

2009-09-02 Thread Andreas Hocevar
Hi, just a guess: try specifying the srs as projection property in the layer option, not as (commented out) srs property in the layer params. Regards, Andreas. Dominik Wiedner wrote: Hi guys, Currently I try to find my way in to OpenLayers. The problem, I'm currently facing, is that this