[mapguide-users] Generating tiles for google maps

Kori Maleski Kori.Maleski at websoftdev.com
Thu Dec 20 13:13:42 EST 2007


I think this is the one.


Details in the link that follows:

PROJCS["Mercator Spheric", GEOGCS["WGS84basedSpheric_GCS",
DATUM["WGS84basedSpheric_Datum", SPHEROID["WGS84based_Sphere", 6378137, 0],
TOWGS84[0, 0, 0, 0, 0, 0, 0]], PRIMEM["Greenwich", 0, AUTHORITY["EPSG",
"8901"]], UNIT["degree", 0.0174532925199433, AUTHORITY["EPSG", "9102"]],
AXIS["E", EAST], AXIS["N", NORTH]], PROJECTION["Mercator"],
PARAMETER["False_Easting", 0], PARAMETER["False_Northing", 0],
PARAMETER["Central_Meridian", 0], PARAMETER["Latitude_of_origin", 0],
UNIT["metre", 1, AUTHORITY["EPSG", "9001"]], AXIS["East", EAST],
AXIS["North", NORTH]]


http://www.sharpgis.net/2007/07/27/TheMicrosoftLiveMapsAndGoogleMapsProjecti
on.aspx




________________________________




Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
kori.maleski at websoftdev.com
________________________________

 
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of George McLean
Sent: Thursday, December 20, 2007 8:01 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Generating tiles for google maps

Thanks for the suggestions. I tried removing quotes and using CDATA but 
have not had any success yet. I think the quotes are not problem. I 
tried another projection from another map and it worked fine. The XML of 
the working file is below.

<CoordinateSystem>
PROJCS["WORLD-MERCATOR",GEOGCS["LL84",DATUM["WGS84",SPHEROID["WGS84",6378137
.000,298.25722293]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295
]],PROJECTION["Mercator_1SP"],PARAMETER["false_easting",0.000],PARAMETER["fa
lse_northing",0.000],PARAMETER["central_meridian",0.00000000000000],PARAMETE
R["standard_parallel_1",0.00000000000000],PARAMETER["latitude_of_origin",0.0
0000000000000],UNIT["Meter",1.00000000000000]]
</CoordinateSystem>
<Extents>
<MinX>0</MinX>
<MaxX>0</MaxX>
<MinY>0</MinY>
<MaxY>0</MaxY>
</Extents>
<BackgroundColor>FFFFFFFF</BackgroundColor>
<Metadata />
</MapDefinition>


I think there must be something in the coordinate definition that does 
not work.

<CoordinateSystem>
PROJCS["unnamed",GEOGCS["unnamed 
ellipse",DATUM["unknown",SPHEROID["unnamed",6378137,0]],PRIMEM["Greenwich",0
],UNIT["degree",0.0174532925199433]],PROJECTION["Mercator_2SP"],PARAMETER["s
tandard_parallel_1",0],PARAMETER["central_meridian",0],PARAMETER["false_east
ing",0],PARAMETER["false_northing",0],UNIT["Meter",1],EXTENSION["PROJ4","+pr
oj=merc 
+a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 
+units=m +nadgrids=@null +wktext  +no_defs"]]
</CoordinateSystem>

I need to educate myself on the parameters in these WKT coordinate 
definitions.

Thanks again for the help,

George







Jason Birch wrote:
> I think that you may either need to change your " to &quot; ... or maybe
> use something like
>
> <![CDATA[
> PROJCS["unnamed",GEOGCS["unnamed
> ellipse",DATUM["unknown",SPHEROID["unnamed",6378137,0]],PRIMEM["Greenwic
> h",0],UNIT["degree",0.0174532925199433]],PROJECTION["Mercator_2SP"],PARA
> METER["standard_parallel_1",0],PARAMETER["central_meridian",0],PARAMETER
> ["false_easting",0],PARAMETER["false_northing",0],UNIT["Meter",1],EXTENS
> ION["PROJ4","+proj=merc 
> +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 
> +units=m +nadgrids=@null +wktext  +no_defs"]]
> ]]> 
>
> I have no idea whether either will work though... haven't tried this
> with MapGuide.
>
> Jason
>
> -----Original Message-----
> From: George McLean
> Subject: Re: [mapguide-users] Generating tiles for google maps
>
> I have have been trying to modify my map using mapagent. I have exported
> the resource content and then edited the coordinate system to use the
> WKT representation of the projection. I can not seem to get past an
> error in the Metadata tag:
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>   

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users



More information about the mapguide-users mailing list