<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I've followed that either, here's some short of my setup :<br>
<br>
--mapbook.xml--<br>
<configuration><br>
<!--<br>
<param name="links_bar_html"><![CDATA[Perfect
timing for some damn CDATA "all" of 'its' here
<&>]]></param><br>
<param
name="layer_controls.unfade.on">false</param><br>
--><br>
<param name="zoomto['Jump To:']"><![CDATA[<br>
{<br>
'Dakota County' :
[521238.614537864,4924218.86673578,473921.947801381,4974430.36885032],<br>
'Parcel Data' :
[497205.409367,4923984.423582,477595.805945,4941970.52988],<br>
'Full State of MN' :
[189783.560000,4816309.330000,761653.524114,5472346.500000]<br>
}<br>
]]></param><br>
<br>
<param
name="max_extent">85.114072,-24.850000,149.993751,20.000000</param><br>
<param
name="initial_extent">94.9731,-11.0076,141.03,5.90701</param><br>
<br>
<param
name="layer_controls.legend.on">false</param><br>
<param
name="mapserver_url">/cgi-bin/mapserv.exe</param><br>
<param
name="mapfile_root">/ms4w/apps/geomoose2/maps/</param><br>
<br>
<param name="projection">EPSG:4326</param><br>
<br>
<param name="ground_units">m</param><br>
<param
name="scales">.2,.5,1,2,4,8,16,32,64,128,256,550</param><br>
<br>
--base.map--<br>
MAP<br>
NAME "basemap"<br>
# Map image size<br>
SIZE 800 460<br>
UNITS METERS<br>
<br>
INCLUDE "../../geomoose_globals.map"<br>
<br>
EXTENT 85.114072 -24.850000 149.993751 20.000000<br>
<br>
PROJECTION<br>
'init=epsg:4326'<br>
END<br>
<br>
--compiled.js--<br>
var CONFIGURATION = {<br>
'links_bar_html' : "",<br>
'waiting_html' : 'Loading...',<br>
'mapserver_url' : "",<br>
'mapfile_root' : "",<br>
'mapbook' : "php/getmapbook.php",<br>
'fractional_zoom' : true,<br>
'scales' : [.2,.5,1,2,4,8,16,32,64,128,256,550],<br>
'max_extent' : [85.114072,-24.850000,149.993751,20.000000],<br>
'initial_extent' : [94.9731,-11.0076,141.03,5.90701],<br>
'projection' : "EPSG:4326",<br>
'ground_units' : 'm',<br>
'coordinate_display' : {<br>
xy: true, /* Ground Units */<br>
latlon: true, /* Longitude and Latitude */<br>
usng: false /* U.S. National Grid */<br>
<br>
--settings.ini--<br>
[defaults]<br>
; Location of the default mapbook<br>
mapbook=mapbook.xml<br>
<br>
[map]<br>
projection=EPSG:4326<br>
<br>
--geomoose.html--<br>
<script type="text/javascript"
src="./proj4js/lib/defs/EPSG4326.js"></script><br>
<br>
--EPSG4326.js--<br>
Proj4js.defs["EPSG:4326"] = "+title=long/lat:WGS84 +proj=longlat
+a=6378137.0 +b=6356752.31424518 +ellps=WGS84 +datum=WGS84
+units=degrees"<br>
<br>
<br>
Is there somethong wrong somewhere and how do you determined which
scale factor to add (lower or upper)?<br>
<br>
Thank you,<br>
Zery<br>
<br>
On 3/16/2012 8:13 PM, Ed Boesenberg wrote:
<blockquote cite="mid:000d01cd036e$2907b7f0$7b1727d0$@com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">Try adding more scale factors to the scales
list. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">If you are changing the projection, have you
followed the procedure at </span><a moz-do-not-send="true"
href="http://geomoose.org/docs/projections.html">http://geomoose.org/docs/projections.html</a>?<span
style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">Ed<o:p></o:p></span></p>
<div>
<div style="border-right: medium none; border-width: 1pt
medium medium; border-style: solid none none; border-color:
rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color;
padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size: 10pt;
font-family:
"Tahoma","sans-serif";">From:</span></b><span
style="font-size: 10pt; font-family:
"Tahoma","sans-serif";">
<a class="moz-txt-link-abbreviated" href="mailto:geomoose-users-bounces@lists.osgeo.org">geomoose-users-bounces@lists.osgeo.org</a>
[<a class="moz-txt-link-freetext" href="mailto:geomoose-users-bounces@lists.osgeo.org">mailto:geomoose-users-bounces@lists.osgeo.org</a>] <b>On
Behalf Of </b><a class="moz-txt-link-abbreviated" href="mailto:zery.sp@gmail.com">zery.sp@gmail.com</a><br>
<b>Sent:</b> Friday, March 16, 2012 6:44 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:geomoose-users@lists.osgeo.org">geomoose-users@lists.osgeo.org</a><br>
<b>Subject:</b> [Geomoose-users] Adding Layer with
EPSG:4326<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I'm a new comer, I'm aware that this might
have been asked many times, but please let me ask one more
time. I'm using GM 2.2 with MS4W, I have disabled all the
built in layers and background map, then I add my own
mapserver layer and configure everything according to the
documentation and some archive post here. The layer is in
longlat projection. The map is shown in GM but the problem is
I can't get zoom-in or out at the current view.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I believe it is something to do with scales
and projection system, but I really can't figure out what to
do.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When the map is shown the scales number in
the bottom of page is showing 1:15xxxxx (notice that its about
1,5million). And the initial extent is not corresponding to
the initial extent value I've set in mapbook.xml. And the
max_extent either.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I change ground units from "m" to "dd" and
back to "m" nothings happen.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I add ".2" in scales and it only make my
map view bigger but still can't do zooming.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So please can someone help me what to do to
fixed all this?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Zery<o:p></o:p></p>
<div>
<p class="MsoNormal">Powered by Telkomsel BlackBerry®<o:p></o:p></p>
</div>
</div>
</blockquote>
</body>
</html>