[mapguide-users] Re: Problem with Studio 2010 +Flexible layouts Error

Mark Pendergraft markp at Meadgilman.com
Tue Feb 23 11:29:40 EST 2010


As was pointed out in the link i posted, you need to change the projection of
your map in the Application Definition.  Under the Extension element, you
need to add a ProjectionCode and a ProjectionDef node.

I believe the ProjectionCode you want is:
EPSG:26911

the ProjectionDef would be:
+proj=utm +zone=11 +ellps=GRS80 +datum=NAD83 +units=m +no_defs

So your map definition should be something like the following:

<MapSet> 
     <MapGroup id="layer"> 
       <Map> 
         <Type>MapGuide</Type> 
         <SingleTile>true</SingleTile> 
         <Extension> 
             <ProjectionCode>EPSG:26911</ProjectionCode>
              <ProjectionDef>+proj=utm +zone=11 +ellps=GRS80 +datum=NAD83
+units=m +no_defs</ProjectionDef>
          <ResourceId>Library://MFS/Maps/MGA.MapDefinition</ResourceId>
           <ResourceId>Library://state/layer.MapDefinition</ResourceId> 
           <SelectionAsOverlay>true</SelectionAsOverlay> 
           <SelectionColor>0x0000FFA0</SelectionColor> 
         </Extension> 
       </Map> 
       <Extension /> 
     </MapGroup> 
  </MapSet> 


-Mark
-- 
View this message in context: http://n2.nabble.com/Problem-with-Studio-2010-Flexible-layouts-Error-tp4596619p4619931.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list