Re: [OpenLayers-Users] Erase feature

2009-09-22 Thread Vidal, Antoni
Thank's a lot. It seems is a better control than our. I'll try it. Regards, Antoni Vidal Unitat d'Aplicacions SIG-WEB Institut Cartogràfic de Catalunya Parc de Montjuïc, E-08038 Barcelona Tel. (+34) 93 567 15 00 (ext. 3228) www.icc.cat   -Missatge original- De: Alexandre Dube

[OpenLayers-Users] Problems with kml parser

2009-09-22 Thread Vidal, Antoni
Hello list, We are developing a new functionality to load kml from client and show it over the maps. Nothing special, but there are some kml that doesn't work properly, but I don't get any error !. An example of this is the following kml code: ?xml version=1.0 encoding=UTF-8?kml

Re: [OpenLayers-Users] Positioning the lat/long mouseposition display.

2009-09-22 Thread regioGIS
Hi Chris, I did now, and that did the trick. Thanks. For the mouse position though, I had to mention 'div.olControlMousePosition' in my style tag ( in stead of simply .olControlMousePosition ), since it is mentioned that way in the default style.css too ??? Cheers, Christopher Schmidt-2

Re: [OpenLayers-Users] Request PDF from GeoServer

2009-09-22 Thread Christopher Schmidt
On Tue, Sep 22, 2009 at 02:54:18PM +0200, Andreas Hocevar wrote: cgp wrote: Referring to the archives: http://www.mail-archive.com/users@openlayers.org/msg00277.html I am wondering how to print the base layer to the PDF as well? I am using Google base layers and I don't know which

[OpenLayers-Users] (no subject)

2009-09-22 Thread Rauch, Barbara
Hello, I successfully implemented the Mapfish Print Module in my OpenLayers-Client for to print WMS and WFS-Symbols. Afterwards I embedded a layer in OpenLayers using the ArcGIS-Rest API, but it's not possible to print this layer. The PDF is produced, but when I open it, the map-image is

Re: [OpenLayers-Users] (no subject)

2009-09-22 Thread Eric Lemoine
Please ask the question to the MapFish mailing list. Thanks, On Tue, Sep 22, 2009 at 3:58 PM, Rauch, Barbara ra...@rvr-online.de wrote: Hello, I successfully implemented the Mapfish Print Module in my OpenLayers-Client for to print WMS and WFS-Symbols. Afterwards I embedded a layer in

[OpenLayers-Users] erasing previous markers

2009-09-22 Thread Surya Tarigan
Dear list, Every time a user choose a location from drop down list, a marker will be constructed on the WMS map by a function (see snippet below). To avoid being crowded, how to erase markers created  by previous users, before a new user choose a new location? Any hints would be appreciated.

[OpenLayers-Users] Performance Tuning in Internet Explorer

2009-09-22 Thread jim.meyer
Hi, We are rendering a vector layer that has 1000+ shapes. Currently, it is very slow in IE. Any ideas as to where to start to improve performance? The code that is being used to render this layer is below: shapeStore.on('load', function(ds){

Re: [OpenLayers-Users] Performance Tuning in Internet Explorer

2009-09-22 Thread Pavel Iacovlev
If you have so many shapes you could: 1) Reduce the number of shapes to like 100 2) Render your layer server-side and serve it via WMS-C for example Depends what are you using your vector layer for, as a workground you can: on small scales use the WMS layer of your data and on big scales use the

Re: [OpenLayers-Users] Performance Tuning in Internet Explorer

2009-09-22 Thread Christopher Schmidt
On Tue, Sep 22, 2009 at 10:34:42AM -0400, jim.me...@concept-solutions.com wrote: Hi, We are rendering a vector layer that has 1000+ shapes. Currently, it is very slow in IE. Any ideas as to where to start to improve performance? Render fewer shapes. Regards, -- Christopher Schmidt

Re: [OpenLayers-Users] Performance Tuning in Internet Explorer

2009-09-22 Thread jim.meyer
Hi Christopher, We are rendering active airspaces on our map. We are required to render this many shapes on the map. Any other ideas? Thanks, Jim Jim Meyer Java Programmer ConceptSolutions, LLC We Make Business Intelligent 703.889.8434 [desk] 703.391.9041[fax] www.Concept-Solutions.com

Re: [OpenLayers-Users] Performance Tuning in Internet Explorer

2009-09-22 Thread Till Adams
Jim, if it is just necessary to *SHOW* the shapes you probably might check to serve them as WMS (try UMN or GeoServer) or pure as UMN-CGI service ? Doing that, your performance is an issue of the WMS server and not of OpenLayers and there are many screws to work on like indexing,

Re: [OpenLayers-Users] Performance Tuning in Internet Explorer

2009-09-22 Thread jim.meyer
Hi Till, We are using a lot of checkboxes on the client-side to generate a complex query that determines which shapes to display. This information is sent to the server where a complex query runs and returns JSON to the client with the shape data. These shapes are rendered in a different

Re: [OpenLayers-Users] Performance Tuning in Internet Explorer

2009-09-22 Thread Guillaume Sueur
Hi, Actually MapServer provides runtime variable substitution (http://mapserver.org/cgi/runsub.html) which allows you to easily tune an SQL query on the fly. Just add your specific parameters to your OL.Layer.WMS and it will do the job. I've used that earlier for real-time meteo data rendering,

[OpenLayers-Users] Navteq WMS (EPSG:4326) and OSM (EPSG:900913) together in a map

2009-09-22 Thread Saris Hein
Hi All, I am trying to set up a demo with two layers, the first one being a WMS layer with Navteq MapTP WMS service, and the second one being OSM. The Navteq WMS service is only available in EPSG:4326. The OSM layer is available in EPSG:900913. If I set the map projection to 900913, the

Re: [OpenLayers-Users] Performance Tuning in Internet Explorer

2009-09-22 Thread jim.meyer
Hi Christopher, We are using GeoServer (not MapServer). Is there a way to take all of the client-side options and pass them in a request to GeoServer so that GeoServer will interpret and style the variable shape data correctly? Thanks, Jim Jim Meyer Java Programmer ConceptSolutions,

Re: [OpenLayers-Users] Navteq WMS (EPSG:4326) and OSM (EPSG:900913) together in a map

2009-09-22 Thread Christopher Schmidt
On Tue, Sep 22, 2009 at 08:12:07PM +0200, Saris Hein wrote: Hi All, I am trying to set up a demo with two layers, the first one being a WMS layer with Navteq MapTP WMS service, and the second one being OSM. The Navteq WMS service is only available in EPSG:4326. The OSM layer is

Re: [OpenLayers-Users] Performance Tuning in Internet Explorer

2009-09-22 Thread Christopher Schmidt
On Tue, Sep 22, 2009 at 02:12:52PM -0400, jim.me...@concept-solutions.com wrote: Hi Christopher, We are using GeoServer (not MapServer). Is there a way to take all of the client-side options and pass them in a request to GeoServer so that GeoServer will interpret and style the

Re: [OpenLayers-Users] Performance Tuning in Internet Explorer

2009-09-22 Thread Kris Geusebroek
Hi Jim, I think you can pass an sld style in the sld_body parameter of your request. An other option is to create an sld clientside and save that somewhere geoserver knows of and pas a normal wms request. Cheers Kris -Original Message- From: users-boun...@openlayers.org

Re: [OpenLayers-Users] Performance Tuning in Internet Explorer

2009-09-22 Thread Andreas Hocevar
jim.me...@concept-solutions.com wrote: Hi Christopher, We are using GeoServer (not MapServer). Is there a way to take all of the client-side options and pass them in a request to GeoServer so that GeoServer will interpret and style the variable shape data correctly? For styling,

[OpenLayers-Users] OpenLayers.Request.GET doesn't get data

2009-09-22 Thread Tobias Wendorff
Hi there, how can I make OpenLayers.Request.GET work? I've changes this in the example-file click.html: trigger: function(e) { var lonlat = map.getLonLatFromViewPortPx(e.xy); var request = OpenLayers.Request.GET({ url: 'http://127.0.0.1/coordinates.php', params:

Re: [OpenLayers-Users] OpenLayers.Request.GET doesn't get data

2009-09-22 Thread Eric Lemoine
On Tuesday, September 22, 2009, Tobias Wendorff tobias.wendo...@uni-dortmund.de wrote: Hi there, how can I make OpenLayers.Request.GET work? I've changes this in the example-file click.html: trigger: function(e) {     var lonlat = map.getLonLatFromViewPortPx(e.xy);     var request =