[Geomoose-users] GM3 Coordinate Display precision

Kevin Grootendorst kgrootendorst at gmail.com
Sat Jan 12 18:51:42 PST 2019


Thanks Jim. Had to make a slight change to make it work:
var point_projections = [
        {
            label: 'UTM 17N',
            ref: 'EPSG:26917',
            precision: '0',
        },


On Sat, 12 Jan 2019 at 21:39, James Klassen <klassen.js at gmail.com> wrote:

> Already covered.  Add precision to the point_projections array in app.js.
>
> And probably also worth a issue to add this to the docs if it isn't in
> there.
>
> ex:
>
>     var point_projections = [
>         {
>             label: 'X,Y',
>             ref: 'EPSG:200068',
>             precision: 0
>         },
>
>     ...
>
>
> On Sat, Jan 12, 2019, 18:38 Kevin Grootendorst <kgrootendorst at gmail.com
> wrote:
>
>> All,
>> In the footer of my app, I'm displaying coordinates in UTM 17, however,
>> it defaults to 10 decimal places.  Can this be changed to 1 or 0 decimals?
>> From searching the list archives, I see that pre-v3, there was a
>> coordinate_display.js or main.js that could be modified to change precision.
>> I'm guessing this could be done in the app.js file in GM3, but not sure
>> where/how to implement.
>> Is it in the app.addProjection?
>> app.addProjection({
>>         ref: 'EPSG:26917',
>>         def: '+proj=utm +zone=17 +ellps=GRS80 +datum=NAD83 +units=m
>> +no_defs'
>>     });
>>
>> Cheers,
>> Kevin
>> _______________________________________________
>> Geomoose-users mailing list
>> Geomoose-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geomoose-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20190112/bbd0127c/attachment.html>


More information about the Geomoose-users mailing list