[Geomoose-users] Two Questions

Jim Klassen Jim.Klassen at ci.stpaul.mn.us
Wed May 5 09:10:35 EDT 2010


If you are working in a Mapserver template, you can use the [item ...] tag to format the numbers.

>>> Len Kne <lkne at houstoneng.com> 05/05/10 8:37 AM >>>
Hi Dave

While there is a way to format the numbers using JavaScript, the most common way to deal with formatting of numbers coming from a shape file is to create a text field in the shape file which holds the values formatted the way you want. 

To increase the identify target area, you can add or increase tolerance to the layer in the map file.  Currently the tolerance has to be in ground units or some other measurement besides pixels.  In order for pixel tolerance to work, GM needs to provide the image size and extent to make the pixel calculation.  I've got this working on a couple sites, but need to clean it up to get it into trunk.

Len
________________________________________
From: Dave Misun [dmisun at kapur-assoc.com]
Sent: Tuesday, May 04, 2010 3:09 PM
To: 'geomoose-users at lists.sourceforge.net'
Subject: [Geomoose-users] Two Questions

Hello Everyone,

I have two questions that I haven't been able to figure out because I either was looking in the wrong place or I didn't understand what I was looking at. My first question involves results returned from identify or search queries. GeoMOOSE displays the results in the INFORMATION window using scientific notation for the Zip Code and Acreage fields (see below), which is not what the original data uses. Where do I set this parameter? I looked in the php files, but nothing jumped out at me. Ditto the MAPBOOK file. I want to display the results using regular decimal or in the case of the ZIP field, integer, notation.

Owner Zip:
        6.06140000000e+008
Size in Acres:  2.29568019965e-001

My second question involves setting the size of the cursor target when using the IDENTIFY tool. I assume the target is specified in pixels, but I have not found where I set this; I'd like to increase the size a bit.

I did a search for these topics in the user list archives, but didn't find any postings referencing these particular issues.

Thank you,

Dave Misun


------------------------------------------------------------------------------
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geomoose-users





More information about the Geomoose-users mailing list