<div dir="ltr">Hello all, <br><br>Did some more research on this and I would point out a few aspects.<br><br>I tested with the demo files and there, it all seems ok. The thing is, in the demo shapefile, we have the data in meters and so is the mapbook.xml file configured. eg: <font size="1"><b><param name="ground_units">m</param></b></font>.<br>
<br>All my shapes, projections, all the data I have is in feet. I guess this is the problem as I don't think there is a ground_units param for feet (only <font size="1"><b>‘m’, ‘in’, ‘mi’, ‘dd’</b></font>).<br><br>The only place where I found something related to feet was in the \geomoose\htdocs\php\print.php file which deals with the print option:<br>
<br><div><font size="1"><b>if($ground_units == 'ft') {</b></font></div><div><font size="1"><b><span class="" style="white-space:pre"> </span>$inches_per_unit = 12.0;</b></font></div><div><font size="1"><b><span class="" style="white-space:pre"> </span>}</b></font></div>
<div style><br>Really close to the difference I gave as an example in my first post (1:<span style="font-family:arial,sans-serif;font-size:13px">448286 - Chameleon and in GeoMoose I have 1:35203 for the same extent</span>); 448286/35203 =~ 12,7<br>
<br>As I am not a developer (but would like to be sometime in the future), I would need some guidelines as to where I could add/modify/update the ground_unit param (eg: <font size="1"><b><param name="ground_units">ft</param></b></font>) so GeoMoose could treat correctly the feet unit of measurement and have a correct scale. I think it would be a huge enhancement for this to be supported as especially US data is kept mostly in projections using feet.</div>
<div style><br>I really appreciate all the feedback received,</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 19, 2013 at 9:30 PM, James Klassen <span dir="ltr"><<a href="mailto:klassen.js@gmail.com" target="_blank">klassen.js@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I second that. Even feet vs meters should only be a factor of 3. My experience is GeoMoose scales are close to but not exactly the same as MapServer scales (when DPI is left as defaults). I haven't tried a site using feet lately, but I know it used to work (the first GeoMoose site was in feet.)</p>
<p dir="ltr">I'm sorry I am too swamped right now to dig into this further at the moment. Hopefully someone else on the list can help you more.</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Jun 19, 2013 11:07 AM, "Brent Fraser" <<a href="mailto:bfraser@geoanalytic.com" target="_blank">bfraser@geoanalytic.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Since the difference in the reported
scale between Chameleon and Geomoose is over an order of
magnitude, I suspect there is a units mis-configuration
somewhere. Just where depends on which reported scale is closer
to what's expected...<br>
<br>
<pre cols="72">Best Regards,
Brent Fraser</pre>
On 6/19/2013 9:37 AM, Robert R. Raiz wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello James,<br>
<br>
Well, yes, actually for me it is important to know that the
MINSCALE / MAXSCALE from map files will be read accordingly in
GeoMoose. I need the correspondence between them to be correct
and to be able to check the correct rendering of features.<br>
<br>
I tested today and it seems what I have in the lower right part
(GeoMoose) is not quite ok compared to what I have in the
mapfile (I am only referring to scale here);<br>
<br>
To sum up, seeing the big difference between the scales in
Chameleon and GeoMoose at the same extent, I do not understand
how this could work. To give a short eg: I have a class rendered
in the mapfile between MINSCALE 2000 and MAXSCALE 6000. How can
see this range (class) in GeoMoose if I cannot rely on the scale
in the bottom right corner.<br>
<br>
Hope I am not missing something here :)</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Jun 19, 2013 at 6:08 PM, James
Klassen <span dir="ltr"><<a href="mailto:klassen.js@gmail.com" target="_blank">klassen.js@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Not really since the browsers don't accurately
report screen DPI, so traditional scales in the
interactive map are rather meaningless. The main place
the scale is important is to allow printing to a known
scale. Assuming GeoMoose's DPI matches MapServer's (and I
think it is at least close), it also helps when setting
min/max scale denominators in MapServer layers/classes.</p>
<p dir="ltr">The scale reported in the interface (in the
drop down in the lower right) is a scale assuming some
nominal display DPI. (Either 72, 75 or 96 I think, but
would have to check to be sure.)</p>
<p dir="ltr">The scales parameter in the mapbook is actually
a resolution. (It is simply passed into OpenLayers to
setup the zoom levels, primarily for the popular tiled
basemaps.)</p>
<div class="gmail_quote">
<div>
<div>On Jun 19, 2013 9:41 AM, "Robert R.
Raiz" <<a href="mailto:raizrobert@gmail.com" target="_blank">raizrobert@gmail.com</a>>
wrote:<br type="attribution">
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>
<div dir="ltr">Oh, as usual, I find something right
after I post..<br>
I read that "<span>The scales
are actually ground units per pixel resolution
settings and not true scales. </span>"<br>
<br>
Is it possible to somehow change this to render
actual scales? </div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Jun 19, 2013 at
5:33 PM, Robert R. Raiz <span dir="ltr"><<a href="mailto:raizrobert@gmail.com" target="_blank">raizrobert@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello all,<br>
<br>
As I said in a previous post, I am trying to
replace the old Chameleon web mapping tool
with GeoMoose.<br>
<br>
Something that I did not quite understand,
is why the scales are different in these two
mapping tools if they have the same extent;<br>
<br>
So, I have an extent in the mapfile.
Chameleon is giving me a scale of 448286 and
in GeoMoose I have 1:35203<br>
<br>
Can you please tell me what am I missing? I
first thought that it has something to do
with the ground_units param (as I need the
units in feet);<br>
<br>
Thank you,<span><font color="#888888"><br>
-- <br>
<b><i>Raiz Roland Robert</i></b><br>
<br>
<br>
</font></span></div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<b><i>Raiz Roland Robert</i></b><br>
<br>
<br>
</div>
<br>
</div>
</div>
_______________________________________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
<br>
</blockquote>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<b><i>Raiz Roland Robert</i></b><br>
<br>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Geomoose-users mailing list
<a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
<br></blockquote></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><b><i>Raiz Roland Robert</i></b><br><br><br>
</div>