[Geomoose-users] measure tool geomoose 2.4

Brent Fraser bfraser at geoanalytic.com
Wed Jul 4 06:49:21 PDT 2012


The scale bar (generated by OpenLayers) is set by Geomoose to represent 
the geodesic distance (the distance on the ground, more or less) not the 
distance on the map projected plane (and this is a good thing).  But the 
measure tools need to be set that way too.

  In Geomoose main.js, around line 139 (in v2.4), add:

     Tools['measure'].geodesic = true;
     Tools['measurearea'].geodesic = true;

Best Regards,
Brent Fraser

On 7/2/2012 9:16 AM, Eli Adam wrote:
> Radoslav,
>
> Perhaps someone on the email list knows the answer
>
> Eli
>
> On Mon, Jul 2, 2012 at 7:14 AM, Radoslav Melicher
> <melicherr at kolektory.cz> wrote:
>> Hi, Eli.
>>
>> I find out that in my instance of geomoose 2.4 there is a problem with measure tool... The problem is with both distance and area measurement. When I try to use the measure tool it works weirdly. In left bottom corner there is the "ruler" which I use for this. So I try to measure the distance according to this ruler. And when the ruler says some distance should have 100 meters, the measure tool told me its about 66 meters. The same thing is with the area measure tool, it gives me result, and when I compute squareroot from the result I get something about 66 meters. I use meters and I also have it set in mapbook as ground units. In mapbook I use only EPSG:900913 and 4326 system.
>> I cannot find the solution in forum and on internet. Maybe, I just didn't make the right query. In that case, I appologize.
>> Thanks in advance
>>
>> Best Regards
>>
>> Radoslav Melicher
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>





More information about the Geomoose-users mailing list