Re: [OpenLayers-Users] http protocol problem

2008-11-05 Thread Didrik Pinte
On Wed, 2008-11-05 at 23:23 +0100, Eric Lemoine wrote: > Hi. How do you register your callback? Sorry i don't see what you're > talking about. Eric Hi Eric, I register the callback like this : var protocol, vector_layer;

Re: [OpenLayers-Users] cluster strategy filtering

2008-11-05 Thread Didrik Pinte
On Wed, 2008-11-05 at 15:19 -0700, Tim Schaub wrote: > My suggestion to a similar inquiry [1] was to add a threshold property > to the cluster strategy. If a cluster contains fewer features than the > threshold, the original features are added to the layer instead of a > cluster. > > You can

[OpenLayers-Users] Google Maps 900913 and EPSG 3785

2008-11-05 Thread Jeff_Hobbs
Hi, I'm using Erdas' Image Web Server to create a WMS. I'm exposing the WMS as EPSG 3785 which is the official EPSG code for the sphericalmercator projection (as opposed to 900913). I can see 3785 in my get capabilities request. My code is calling the WMS like this: sclarco

[OpenLayers-Users] Solution to proxy for WFS request on IIS

2008-11-05 Thread zhuhua zha
We know that it needs proxy when we use WFS request in openlayers. Wiki had told us how to add proxy.cgi on apache, but I can not find useful solution on iis. I have done some experiment about proxy on iis yesterday, and I got a solution for the work at last. Environment: Openlayers 2.7, Python 2.

Re: [OpenLayers-Users] http protocol problem

2008-11-05 Thread Eric Lemoine
Hi. How do you register your callback? Sorry i don't see what you're talking about. Eric 2008/11/5, Didrik Pinte <[EMAIL PROTECTED]>: > On Wed, 2008-11-05 at 09:30 -0500, Christopher Schmidt wrote: >> On Wed, Nov 05, 2008 at 06:26:16AM -0800, Jerome Freyre wrote: >> > >> > Hi Didrik, >> > >> > It

Re: [OpenLayers-Users] cluster strategy filtering

2008-11-05 Thread Tim Schaub
Hey- Didrik Pinte wrote: > On Wed, 2008-11-05 at 11:25 +0100, Didrik Pinte wrote: >> Hi, >> >> How is it possible to a Filter.Comparison on clustered layer based on >> the feature attributes ? Looking through the code, it seems impossible >> because the cluster strategy hiddes the feature attribut

[OpenLayers-Users] Using GetFeatureInfo on MapGuide layers via WMS

2008-11-05 Thread gingerbbm
Dear all I am accessing MapGuide layers via WMS in OpenLayers. I want to be able to click a point and see feature information (ultimately to create dynamic tooltips). I found the following code to do this job. map.events.register('click', map, function (e) { OpenLayers.Util.getElemen

[OpenLayers-Users] GeoRSS and Filter Comparison

2008-11-05 Thread mippon
I have a geoRss layers which works fine as per examples, i have added a filter comparison which only works on property title and does the job. however if I add an additional tag e..g 5 it does not filter that property. What can I do to solve this issue so that I can have an georss file with some

Re: [OpenLayers-Users] Problems with Internet Explorer: Digitizing tools, Loading GML/KML files, ...

2008-11-05 Thread Sebastian Paasche
OK, I made a self-test, and it is actually the case as Christopher Yves have explained. Putting everything in an Apache2 and all works fine. Thank you guys! What about the imagery issue: I assume, raster data can be displayed in OpenLayers only when they are integrated via WMS, right? Sebasti

Re: [OpenLayers-Users] Problems with Internet Explorer: Digitizing tools, Loading GML/KML files, ...

2008-11-05 Thread Christopher Schmidt
On Wed, Nov 05, 2008 at 03:57:28PM +0100, Sebastian Paasche wrote: > So just for my understanding: I am not allowed to load vector data files from > the same directory where my HTML page is placed? Correct. > So this is not possible, isn't it? But putting everything in a web server > might solv

Re: [OpenLayers-Users] Problems with Internet Explorer: Digitizing tools, Loading GML/KML files, ...

2008-11-05 Thread Sebastian Paasche
So just for my understanding: I am not allowed to load vector data files from the same directory where my HTML page is placed? HTML in d:\web\html Javascript (incl. openlayers) in d:\web\js files in d:\web\kml //load data in Javascript var kml = new OpenLayers.Layer.GML("KML", "../kml/data.kml"

Re: [OpenLayers-Users] http protocol problem

2008-11-05 Thread Didrik Pinte
On Wed, 2008-11-05 at 09:30 -0500, Christopher Schmidt wrote: > On Wed, Nov 05, 2008 at 06:26:16AM -0800, Jerome Freyre wrote: > > > > Hi Didrik, > > > > It is strange... I do almost the same thing and it is working... > > The only change is that I use the OpenLayers.Strategy.Fixed() and > > Open

Re: [OpenLayers-Users] Problems with Internet Explorer: Digitizing tools, Loading GML/KML files, ...

2008-11-05 Thread Christopher Schmidt
On Wed, Nov 05, 2008 at 09:38:46AM -0500, Yves Moisan wrote: > > > > Specifically, it may mean that you're attempting to use file:/// URLs in > > IE7, which you can't do. > > I've been caught with weird problems trying to access files on the > filesystem using the file:/// protocol in Firefox.

Re: [OpenLayers-Users] Problems with Internet Explorer: Digitizing tools, Loading GML/KML files, ...

2008-11-05 Thread Yves Moisan
> Specifically, it may mean that you're attempting to use file:/// URLs in > IE7, which you can't do. I've been caught with weird problems trying to access files on the filesystem using the file:/// protocol in Firefox. The minute I used http on a filesystem location controlled by Apache, probl

Re: [OpenLayers-Users] http protocol problem

2008-11-05 Thread Christopher Schmidt
On Wed, Nov 05, 2008 at 06:26:16AM -0800, Jerome Freyre wrote: > > Hi Didrik, > > It is strange... I do almost the same thing and it is working... > The only change is that I use the OpenLayers.Strategy.Fixed() and > OpenLayers.Strategy.Cluster() Yes, you need to use a strategy that requests fe

Re: [OpenLayers-Users] Problems with Internet Explorer: Digitizing tools, Loading GML/KML files, ...

2008-11-05 Thread Christopher Schmidt
On Wed, Nov 05, 2008 at 03:09:53PM +0100, Sebastian Paasche wrote: > One addition: > > Meanwhile, I figured out that IE 6 works fine for me. In IE 7 I get the > message "Access Denied" ... any help is greatly appreciated! Access denied typically means you're violating the Same Origin Policy. Spe

Re: [OpenLayers-Users] yet another spherical mercator / geographic question

2008-11-05 Thread Christopher Schmidt
On Tue, Nov 04, 2008 at 04:36:27PM -0800, Andrew Schuh wrote: > > I have managed to get all of my data in EPSG900913 believing that would help > me overlay on google imagery but I still have a nagging problem. I have a > vector data source representing some polygons. These display very > accurat

Re: [OpenLayers-Users] http protocol problem

2008-11-05 Thread Jerome Freyre
Hi Didrik, It is strange... I do almost the same thing and it is working... The only change is that I use the OpenLayers.Strategy.Fixed() and OpenLayers.Strategy.Cluster() In Firebug, can you see the HTTP Request when the layer is loaded? In the response do you have the correct geojson? In my

Re: [OpenLayers-Users] http protocol problem

2008-11-05 Thread Didrik Pinte
On Wed, 2008-11-05 at 14:35 +0100, Didrik Pinte wrote: > Hi, > > I've updated my layer definition to use OpenLayers.Protocol.HTTP and it > does not work. > > Here is the layer definition : > > vector_layer = new OpenLayers.Layer.Vector('Points', { > styleMap: styleMap, >

Re: [OpenLayers-Users] Problems with Internet Explorer: Digitizing tools, Loading GML/KML files, ...

2008-11-05 Thread Sebastian Paasche
One addition: Meanwhile, I figured out that IE 6 works fine for me. In IE 7 I get the message "Access Denied" ... any help is greatly appreciated! Thanks, Sebastian On Wednesday 05 November 2008, Sebastian Paasche wrote: > Hi OpenLayers users & developers, > > I am preparing an OpenLayers appli

[OpenLayers-Users] http protocol problem

2008-11-05 Thread Didrik Pinte
Hi, I've updated my layer definition to use OpenLayers.Protocol.HTTP and it does not work. Here is the layer definition : vector_layer = new OpenLayers.Layer.Vector('Points', { styleMap: styleMap, strategies : [ new OpenLayers.Strategy.Cluster()

[OpenLayers-Users] Problems with Internet Explorer: Digitizing tools, Loading GML/KML files, ...

2008-11-05 Thread Sebastian Paasche
Hi OpenLayers users & developers, I am preparing an OpenLayers application to be used on a local system without server interaction. Basically, it should load GML/KML data from the file system and demonstrate the use of the digitizing tools. Everything is based on OL 2.7.0. Files to be loaded:

Re: [OpenLayers-Users] cluster strategy filtering

2008-11-05 Thread Didrik Pinte
On Wed, 2008-11-05 at 11:25 +0100, Didrik Pinte wrote: > Hi, > > How is it possible to a Filter.Comparison on clustered layer based on > the feature attributes ? Looking through the code, it seems impossible > because the cluster strategy hiddes the feature attributes by the > cluster attribute (t

Re: [OpenLayers-Users] Modifying a vector object's styling

2008-11-05 Thread gingerbbm
Perfect! Thanks Tim. -- View this message in context: http://n2.nabble.com/Modifying-a-vector-object%27s-styling-tp1449984p1459578.html Sent from the OpenLayers Users mailing list archive at Nabble.com. ___ Users mailing list Users@openlayers.org http

[OpenLayers-Users] cluster strategy filtering

2008-11-05 Thread Didrik Pinte
Hi, How is it possible to a Filter.Comparison on clustered layer based on the feature attributes ? Looking through the code, it seems impossible because the cluster strategy hiddes the feature attributes by the cluster attribute (the count property). Would there be an easy and clean solution to th

[OpenLayers-Users] Strange displaying with IE

2008-11-05 Thread Jerome Freyre
Hi all, I am going to finish my bachelor work and currently I am debugging my application to make it more "portable". My applications is working correctly on : - Safari Mac and Windows - Firefox Mac and Windows - Opera Windows - Chrome Windows but now I am making nightmares about IE!!! Current