Re: [OpenLayers-Users] Spherical Mercator 4326 Layers do not line up

2010-08-18 Thread Rohan Parkes
u have the units defined as 'ft' in your map global options. I think this should be 'm'. Rohan Parkes From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of B. Heath Robinson Sent: Sunday, 15 August 2010 06:38 To: users@openlayers.org Subject

Re: [OpenLayers-Users] Spherical Mercator and 4326 alignment problem

2010-08-16 Thread Arlen Poort
I'm not a wizard myself, but I had the same problem a few months ago. In my Openlayers code, I finally put in the code below, and this gave a good result. But perhaps this is of no help. In my Mapfile, I don't have the Google projection (900913), but WGS84 (4326). Best regards, Arlen fu

[OpenLayers-Users] Spherical Mercator and 4326 alignment problem

2010-08-16 Thread B. Heath Robinson
I am having a problem with a WMS layer lining up on top of a Google map. It appears to be about 15mi south of were it needs to be. I am assuming this is because of the fact that spherical mercator ignores the fact the earth is an ellipse. Anyway, I have included my openlayers code and my mapfile

[OpenLayers-Users] Spherical Mercator 4326 Layers do not line up

2010-08-14 Thread B. Heath Robinson
I am having a problem with a WMS layer lining up on top of a Google map. It appears to be about 15mi south of were it needs to be. I am assuming this is because of the fact that spherical mercator ignores the fact the earth is an ellipse. Anyway, I have included my openlayers code and my mapfile

[OpenLayers-Users] Spherical Mercator and WMS question

2010-02-24 Thread ashley_c_mort
I have a simple question, how does the example at http://openlayers.org/dev/examples/baseLayers.html place the marker correctly on both WMS and Google layers? I thought you had to configure everything for Spherical Mercator when using something like Google Maps with WMS How does that base

[OpenLayers-Users] Spherical Mercator

2010-01-20 Thread Diego Roberto
Good morning, I have a question regarding this question: Spherical Mercator. I threw in an application usually Google Maps, Yahoo Maps service of the OL. But the coordinates that are displayed are coordinated metrics.Ok. My question is can have this kind of layer ownership and work with geograph

Re: [OpenLayers-Users] spherical mercator example

2008-04-13 Thread Richard Duivenvoorde
Hi Tara, I think http://openlayers.org/api/OpenLayers.js will return you openlayers 2.5, and Projection is available in trunk/2.6 So you have to get trunk and build a OpenLayers.js yourself (or point to the OpenLayers.js of the example itself? Or if you download 2.5 from: http://www.openlayer

[OpenLayers-Users] spherical mercator example

2008-04-13 Thread Tara Athan
I am trying to understand the spherical mercator example http://openlayers.org/dev/examples/spherical-mercator.html So I copied the source to my website, changed the relative reference for the OpenLayers script to http://openlayers.org/api/OpenLayers.js";> and changed the Google API key to the

Re: [OpenLayers-Users] Spherical Mercator and PanZoomBar with Scales

2008-04-03 Thread Linda Rawson
Actually I have quite the hack to do this. But I was hoping not to hack anymore! It looked so promising to be able to define scales on the map that I was hoping it would carry over. Thanks! Linda On Thu, Apr 3, 2008 at 10:05 AM, Christopher Schmidt <[EMAIL PROTECTED]> wrote: > On Thu, Apr 03, 2

Re: [OpenLayers-Users] Spherical Mercator and PanZoomBar with Scales

2008-04-03 Thread Christopher Schmidt
On Thu, Apr 03, 2008 at 09:56:38AM -0600, Linda Rawson wrote: > What I was hoping for with 2.6 was the following: 2.6 doesn't change the behavior in this regard in any way I'm aware of. Was there something that made you think it would? There is no way to define anything other than factor-of-two z

[OpenLayers-Users] Spherical Mercator and PanZoomBar with Scales

2008-04-03 Thread Linda Rawson
What I was hoping for with 2.6 was the following: var map, layer; function init(){ var options = { scales: [55468034,13867008,3466752,108336,54168,27084,13542,6771], projection: "EPSG:900913", units: "m", ma

Re: [OpenLayers-Users] spherical Mercator and google overlay

2008-02-03 Thread Eric Lemoine
Hi Andrea If you use sphericalMercator and therefore the 900913 OpenLayers is correct to use 900913 for the bbox coordinates. Given that, if you know you have a feature in that bbox and if that feature doesn't get displayed in the map, you definitely have a problem, but that problem doesn't lie i

[OpenLayers-Users] spherical Mercator and google overlay

2008-02-03 Thread Andrea Maschio
Hi, when building a Layer, there isn't a BBOX parameter in the options available. When I build a new WFS layer over a Google layer, I noticed that the http request string has a BBOX in srs 900913, which is correct because in geoserver my feature is in this srs. But, the problem is, geoserver

Re: [OpenLayers-Users] Spherical Mercator and Digital Globe

2007-10-08 Thread Paul Spencer
Hi Linda, I created a Digital Globe layer for our customers (we resell), I haven't actually used it in any production environments yet, it is just for demos. My implementation for OpenLayers was different from theirs (apparently I didn't use the shared cache) so I am waiting to get their

[OpenLayers-Users] Spherical Mercator and Digital Globe

2007-10-04 Thread Linda Rawson
Has anyone done anything with Digital Globe? They have an implementation that a programmer of theirs tried but now he is on sabbatical and offers no more support. The problem according to them is: Apparently OpenLayers has some issues with the vector drawing over imagery that we had to hack in o

Re: [OpenLayers-Users] spherical-mercator

2007-10-02 Thread Christopher Schmidt
On Tue, Oct 02, 2007 at 02:13:56PM -0600, Linda Rawson wrote: > In this case my WMS layer is the following: > > var wms = new OpenLayers.Layer.WMS( > "Canada Map", > "http://wms.cits.rncan.gc.ca/cgi-bin/cubeserv.cgi?";, > {'layers': layer

Re: [OpenLayers-Users] spherical-mercator

2007-10-02 Thread Linda Rawson
In this case my WMS layer is the following: var wms = new OpenLayers.Layer.WMS( "Canada Map", "http://wms.cits.rncan.gc.ca/cgi-bin/cubeserv.cgi?";, {'layers': layerOptions, 'format':'png'}, { 'reproject

Re: [OpenLayers-Users] spherical-mercator

2007-10-02 Thread Eric Lemoine
On 10/2/07, Christopher Schmidt <[EMAIL PROTECTED]> wrote: > On Tue, Oct 02, 2007 at 12:33:08PM -0600, Linda Rawson wrote: > > But my base map isn't that projection. I changed it to EPSG:26919. Why > > aren't my layers using that projection? > > I must be blind. I thought your base map was Yahoo

Re: [OpenLayers-Users] spherical-mercator

2007-10-02 Thread Christopher Schmidt
On Tue, Oct 02, 2007 at 12:33:08PM -0600, Linda Rawson wrote: > But my base map isn't that projection. I changed it to EPSG:26919. Why > aren't my layers using that projection? I must be blind. I thought your base map was Yahoo with SphericalMercator. Yahoo with SphericalMercator is EPSG:900913.

Re: [OpenLayers-Users] spherical-mercator

2007-10-02 Thread Christopher Schmidt
On Tue, Oct 02, 2007 at 12:20:02PM -0600, Linda Rawson wrote: > Notice I changed the projection from EPSG:900913 to EPSG:26919. You can't overlay layers of images of different projections in OpenLayers. Your basemap determines the projection of your data: in this case, your base map is in EPSG:900

[OpenLayers-Users] spherical-mercator

2007-10-02 Thread Linda Rawson
I have the following example partially taken from the spherical-mercator.html: http://www.w3.org/1999/xhtml";> #map { width: 800px; height: 475px; border: 1px solid black; } http://api.maps.yahoo.com/ajaxymap?v=3.0&appid=euzuro-o