Re: [OpenLayers-Users] distances in spherical mercator

2009-03-20 Thread Alessio Di Lorenzo
Hi Bill and thanks for the answer, I solved with this Tim Shaub's patch http://trac.openlayers.org/attachment/ticket/1819/geodesic.patch ciao, alessio Bill Thoen wrote: Alessio, I think you can just use the planar distances because the google SRS is a projected coordinate

[OpenLayers-Users] Support Candidate OpenGIS Web Map Tiling Service

2009-03-20 Thread Gau, Hans-Jürgen
hi list, I think the current version 2.7 of OpenLayers does not support the Candidate OpenGIS Web Map Tiling Service (actual Version 0.6). Supports the new version 2.8 this? Thanks, Hans ___ Users mailing list Users@openlayers.org

Re: [OpenLayers-Users] Strategy cluster and slow map behavior.

2009-03-20 Thread Tiemens, Gerben
Thats right, But I wanted it to work on a webserver without any rights to run a mapping server. (only clientside code allowed). I know how to do it on Mapserver or Geoserver ;) It would be nice if the GML layer as an option only binds the vectors that are in view. Like the wfs, but then on

Re: [OpenLayers-Users] IE8 error when adding a vector layer

2009-03-20 Thread Christopher Schmidt
On Fri, Mar 20, 2009 at 10:32:30AM +, Joao Duarte wrote: Hi list, I was trying my OL app in IE8 and when I add a Vector Layer to the map, when the time comes to assign the VML renderer, I get an error on this line (in the VML constructor): style.addRule('olv\\:*', behavior:

Re: [OpenLayers-Users] Pink tiles with Firefox 3/IE6 (Mapserver layer)

2009-03-20 Thread PaulJames
Any Help? PaulJames wrote: Hello guys... I´m getting random pink tiles with mapserver layer... The src of the pink tiles works great (the tile was created ok) ... My code (html) map = new OpenLayers.Map('map'); layer = new OpenLayers.Layer.MapServer(Map,

Re: [OpenLayers-Users] IE8 error when adding a vector layer

2009-03-20 Thread Joao Duarte
Yes Chris, I think that's better too. http://groups.google.com/group/google-excanvas/browse_thread/thread/8762ed1e de73509 https://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=33390 5 The two links above give me some hints but I still haven't figured out the whole picture. For

Re: [OpenLayers-Users] IE8 error when adding a vector layer

2009-03-20 Thread Joao Duarte
Hi Amos, You can file the bug. Meanwhile I can also dig in the problem and talk with you if I can achieve some fix for this. Regards, João Duarte SAPO Mapas - http://mapas.sapo.pt -Original Message- From: Amos Hayes [mailto:aha...@gcrc.carleton.ca] Sent: sexta-feira, 20 de Março de

Re: [OpenLayers-Users] Support Candidate OpenGIS Web Map Tiling Service

2009-03-20 Thread Christopher Schmidt
On Fri, Mar 20, 2009 at 10:53:34AM +0100, Gau, Hans-Jürgen wrote: hi list, I think the current version 2.7 of OpenLayers does not support the Candidate OpenGIS Web Map Tiling Service (actual Version 0.6). Supports the new version 2.8 this? No. Regards, -- Christopher Schmidt

Re: [OpenLayers-Users] IE8 error when adding a vector layer

2009-03-20 Thread Amos Hayes
There was already an OL bug filed which points to VML problems as a result of the same error. I have added the specific error info to it. http://trac.openlayers.org/ticket/1910 I'm still suspicious about the fact that the rule falls in a CSS styling problem. Digging in, it looks like the

Re: [OpenLayers-Users] IE8 error when adding a vector layer

2009-03-20 Thread Amos Hayes
On 20-Mar-09, at 11:33 AM, Amos Hayes wrote: I'm still suspicious about the fact that the rule falls in a CSS styling problem. Sorry, what I was trying to say was that I think the problem has something to do with IE8's removal/change of support for behavior and/ or expressions in CSS.

Re: [OpenLayers-Users] IE8 error when adding a vector layer

2009-03-20 Thread Christopher Schmidt
On Fri, Mar 20, 2009 at 11:33:40AM -0400, Amos Hayes wrote: There was already an OL bug filed which points to VML problems as a result of the same error. I have added the specific error info to it. http://trac.openlayers.org/ticket/1910 I'm still suspicious about the fact that the rule

[OpenLayers-Users] Internet Explorer 8

2009-03-20 Thread Chris Adams
So IE 8 was release just a couple days ago, this may be too soon to ask -- But how long until a fully functional version of OL is released which supports it? - Chris Adams ___ Users mailing list Users@openlayers.org

Re: [OpenLayers-Users] Internet Explorer 8

2009-03-20 Thread Amos Hayes
Have a look at the discussion thread from this morning. http://n2.nabble.com/IE8-error-when-adding-a-vector-layer-td2508102.html -- Amos Hayes Geomatics and Cartographic Research Centre Carleton University aha...@gcrc.carleton.ca +1.613.520.2600x8179 On 20-Mar-09, at 2:19 PM, Chris Adams

Re: [OpenLayers-Users] Adding Text to map.... possible?

2009-03-20 Thread Andreas Hocevar
Hi Peter, On Fri, Mar 20, 2009 at 1:16 AM, plen petera...@earthlink.net wrote: I am using the OpenLayers drawing controls to add points, lines, and polygons.  Our customer would like to also add text to the map, in addition to the other objects.  This would allow the user to add some text (ex.

Re: [OpenLayers-Users] IE8 error when adding a vector layer

2009-03-20 Thread Amos Hayes
Well simply changing to -ms-behavior didn't work. I then found two more leads: From http://code.google.com/p/explorercanvas/source/browse/trunk/excanvas.js if (!doc.namespaces['g_vml_']) { doc.namespaces.add('g_vml_', 'urn:schemas-microsoft-com:vml',

Re: [OpenLayers-Users] this.callbacks is undefined error

2009-03-20 Thread Bill Thoen
bart...@osgis.nl wrote: Hi, first of all, please don't cross-post to dev and users if it is not necessary. Maybe you can check out the following for pointers: http://dev.openlayers.org/sandbox/bartvde/wmsgetfeatureinfo/openlayers/lib/OpenLayers/Control/FeatureInfo.js I think this has a

Re: [OpenLayers-Users] Adding Text to map.... possible?

2009-03-20 Thread plen
Andreas, Thanks for the reply. I am happy to hear that others have thought of this type of capability. I will look for the functionality in later OL versions. Thanks again - Peter Andreas Hocevar-2 wrote: Hi Peter, On Fri, Mar 20, 2009 at 1:16 AM, plen petera...@earthlink.net wrote:

Re: [OpenLayers-Users] this.callbacks is undefined error

2009-03-20 Thread Bart van den Eijnden (OSGIS)
Hi Bill, this was because the proxy wasn't overriding the OGC mimetype to text/xml. This is fixed now see: http://trac.openlayers.org/changeset/9109 http://trac.openlayers.org/changeset/9110 Best regards, Bart Bill Thoen wrote: bart...@osgis.nl wrote: Hi, first of all, please don't

Re: [OpenLayers-Users] Adding Text to map.... possible?

2009-03-20 Thread ABateman
Hi Peter, Couldn't you use a Marker's layer - like the markersTextLayer example to do this? -Anita plen wrote: Hello, I am using the OpenLayers drawing controls to add points, lines, and polygons. Our customer would like to also add text to the map, in addition to the other objects.

Re: [OpenLayers-Users] Print / Saving Image

2009-03-20 Thread youknowho
I found the same behavior when panning before printing, and filed a bug ticket (http://trac.openlayers.org/ticket/1813), which apparently was just closed because it is not a bug. The review of the issue states The wiki printing code is the problem here. It presumably uses getLonLatFromPixel, not

[OpenLayers-Users] How to Set Up Layer Visibility by Scale

2009-03-20 Thread Bill Thoen
I'm trying to get a WMS layer to appear only within a specific scale range , and I not having any luck setting minscale and maxscale properties when I load the layer onto the map. For example, I want one layer land parcels to show from 1:1 up to 1:100,000 scale, so I set minscale to 0.1,

Re: [OpenLayers-Users] How to Set Up Layer Visibility by Scale

2009-03-20 Thread Bart van den Eijnden (OSGIS)
Hi, minScale and maxScale should be denominators, so use 10 and not 0.1. Best regards, Bart Bill Thoen wrote: I'm trying to get a WMS layer to appear only within a specific scale range , and I not having any luck setting minscale and maxscale properties when I load the layer onto

Re: [OpenLayers-Users] How to Set Up Layer Visibility by Scale

2009-03-20 Thread Bill Thoen
Thanks... I never would have guessed that. Is the sense of max and min backwards as well? In other words, does maxscale apply to the largest denominator or the largest scale (1/denominator)? To put it more explicitly, if I set maxscale to 10 does that mean that the layer is visible between

Re: [OpenLayers-Users] Adding Text to map.... possible?

2009-03-20 Thread plen
Anita, I haven't worked with marker text layers before but that doesn't appear to be what I am looking for anyway. The text layer seems to just display some text in the popup based on a title and description placed in a file. We create our own marker popup due to some content and styling

Re: [OpenLayers-Users] Internet Explorer 8

2009-03-20 Thread Tim Schaub
Hey- I've been told the following fixes OL in IE8: if(document.namespaces == null) { document.createElement('namespaces'); } If someone can put the code above in a script tag *before* OpenLayers.js and confirm that it fixes things, please make a ticket with this information. Thanks, Tim

Re: [OpenLayers-Users] Internet Explorer 8

2009-03-20 Thread Amos Hayes
Thanks Tim. I can't try until Monday (and I will!), but I'm a little suspicious. Is that necessary to solve a few things in IE8's 'IE7 compatible' mode? Because there seems to be bigger problems when trying to get it running in IE8's standards mode (which does a much better job with

Re: [OpenLayers-Users] Internet Explorer 8

2009-03-20 Thread Amos Hayes
Turns out I had what I needed at home to try. So I gave it a whirl. No joy. -- Amos On 20-Mar-09, at 9:40 PM, Amos Hayes wrote: Thanks Tim. I can't try until Monday (and I will!), but I'm a little suspicious. Is that necessary to solve a few things in IE8's 'IE7 compatible' mode?

[OpenLayers-Users] Newbie question - displaying layer of text objects on a map

2009-03-20 Thread Andrew Smith
Hi all, I am an absolute beginner when it comes to all things GIS. I've been playing with OpenLayers for a few days and am quite impressed with what it can do so far. However, something I haven't been able to find any examples of is showing a text object on a map. Here's what I want to do. I