[mapguide-users] Generating tiles for google maps

George McLean gmclean at gorge.net
Thu Dec 20 11:00:45 EST 2007


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["false_northing",0.000],PARAMETER["central_meridian",0.00000000000000],PARAMETER["standard_parallel_1",0.00000000000000],PARAMETER["latitude_of_origin",0.00000000000000],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["standard_parallel_1",0],PARAMETER["central_meridian",0],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["Meter",1],EXTENSION["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"]]
</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
>
>
>   



More information about the mapguide-users mailing list