<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
After saving the layer in MapGuide Studio, select the menu "File" and
"Save as xml..."<br>
The file it saves is the internal representation of the MapDefinition.<br>
<br>
You can open this file with almost any text editor (plain text only, no
MS Word).<br>
You can use notepad if you like.<br>
<br>
Somewhere in the file will be a an xml entry called
<FiniteScales>.<br>
In this entry you can hand modify the scales.<br>
After you are done, you can reinsert the MapDefintion into the MapGuide
server.<br>
<br>
Open a browser with:<br>
<a class="moz-txt-link-freetext" href="http://localhost/mapguide/mapagent/index.html">http://localhost/mapguide/mapagent/index.html</a><br>
Select "Resource", the "SetResource"<br>
<br>
To the right, enter the resourceID you want to save the map under.<br>
Browse the file as the "Content" item.<br>
Leave the "Header" blank.<br>
Press submit.<br>
<br>
You will now have updated/create a MapDefintion in the server.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth, GEOGRAF A/S
</pre>
<br>
<br>
ori gudes skrev:
<blockquote cite="mid:13573215.post@talk.nabble.com" type="cite">
<pre wrap="">Dear Maksim
can you send me a sample that make it more clear ?
Ori
Maksim Sestic wrote:
</pre>
<blockquote type="cite">
<pre wrap="">You should export map .xml definition file, correct scales by hand, then
re-import changed .xml file to the MG server using web tier test
application. I guess there's a change request for MG Studio regarding this
one.
Regards,
Maksim Sestic
ori gudes wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Dear Maksim
Do you have any information about generating consistent set of scales?
Cheers Ori
Do you have any information of
Maksim Sestic wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Dear all,
I'm using MGE 2008 with MapGuide Studio 2008, and I'm new to Base Layers
concept.
I created one Base Layer with a raster Layer in it. Then I set the
nearest Zoom In (250), farthest Zoom Out (50000) and total number of
scales (10) parameters. End result is autogenerated set of scales. When
I run this map in Web browser I can zoom only to scales matching the
ones in BaseLayer's autogenerated scale list.
The question is - how do I change single scale in (auto)generated scale
list? I.e. I want to have consistent, geodetic set of scales as in 100,
250, 500, 1000, 1500, 2000, 2500, ... 50000. Is it doable with MGS at
all?
With kindest regards,
Maksim Sestic
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>