[mapguide-users] Fusion and Open layers Coordinate systems

Flipper scotth at mpowerinnovations.com
Tue Oct 20 20:26:11 EDT 2009


I tried sending that definition string in and then I get a TOWGS84 Error.

 

From: Mike Adair [via OSGeo.org]
[mailto:ml-node+3857043-2028133694 at n2.nabble.com] 
Sent: Tuesday, October 20, 2009 1:39 AM
To: Flipper
Subject: Re: [mapguide-users] Fusion and Open layers Coordinate systems

 

Did you include the definition string for your projection? 
http://spatialreference.org/ref/epsg/32054/proj4js/
That has to be defined somewhere, either with a <script> tag or just in 
your JS code. 

I'm not sure about your second question. 

Mike 


Flipper wrote: 


> Mike and DM guys, 
> I got Mapguide to return an EPSG Code from several maps using 
> ConvertWkttoEPSG code in Mapguide 2.1...Next step is to have open layers
Do 
> transformation... 
> My example is Wisconsin Stateplane South nad 27 ft...or EPSG:32054... 
> 
> In open layers I have done the following... 
> var google = new OpenLayers.Projection("EPSG:900913"), 
> JAXCC = new OpenLayers.Projection("EPSG:32054"), 
> latlon = new OpenLayers.Projection("EPSG:4326");; 
> var extent = new OpenLayers.Bounds(2479000,480000,2496000,501000); 
> var newextent = extent.transform(JAXCC, latlon); 
> 
> The extent is the WI-S Extent...New Extent should come through with lat
and 
> lon...but it just returns the same points again...Now if I change extents
to 
> 10,10,20,20 and change my transform to latlon,google I get changed 
> results...What gives does open layers only do transforms on those two 
> systems? Am i missing some master file with all the EPSG coordinate
systems 
> in it? 
> 
> Also...Do you know if all Mapguide layers have to be projected onto
google, 
> or can google/bing/yahoo layers be projected into the mapguide maps local 
> coordinate system? 
>   


-- 
   Michael Adair 
   Senior Software Architect 
   DM Solutions Group Inc. 

   Office: (613) 565-5056 x26 
   [hidden email]
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3857043&i=0>  
   http://www.dmsolutions.ca
   http://research.dmsolutions.ca


_______________________________________________ 
mapguide-users mailing list 
[hidden email]
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3857043&i=1>  
http://lists.osgeo.org/mailman/listinfo/mapguide-users



  _____  

View message @
http://n2.nabble.com/Fusion-and-Open-layers-Coordinate-systems-tp3782529p385
7043.html 
To unsubscribe from Re: Fusion and Open layers Coordinate systems, click
< (link removed) 
ubm92YXRpb25zLmNvbXwzODUxOTUxfDI1OTExMDc5MA==>  here. 

 


-- 
View this message in context: http://n2.nabble.com/Fusion-and-Open-layers-Coordinate-systems-tp3782529p3862194.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20091020/83e56cde/attachment.html


More information about the mapguide-users mailing list