[Geomoose-users] coordinates showed in footer section

Johan Forsman Johan.Forsman at LA.GOV
Tue Jan 15 10:05:02 PST 2013


All:

For pedagogic purposes I wanted to display decimal degrees together with DMS format. I don't write code worth anything but after much grief I managed to cobble together a user extension (by liberal use of copy-paste methods) that apparently is able to add those "new" formats to the already-existing map-sourced coordinate readout. Please see the attached. You'll surely want to create a much better function to accomplish this, but I am all for adding a DMS option as well. For me it was also important to be able to fix the number of decimals shown in the DD format.

Take care,
Johan.

From: geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Mark Volz
Sent: Tuesday, January 15, 2013 8:14 AM
To: Jim Klassen
Cc: geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] coordinates showed in footer section

Jim,

Could something like this work?

                'coordinate_display' : {
                                xy: true,               /* Ground Units */
                                latlon: true,        /* Longitude and Latitude */
                                usng: true,          /* U.S. National Grid */
                                alt_coordinate: 26915  /* projection of the alternate coordinates to display */
                },

                'coordinate_display' : {
                                xy: true,               /* Ground Units */
                                latlon: true,        /* Longitude and Latitude */
                                usng: true,          /* U.S. National Grid */
                                alt_coordinate: false  /*don't display any alternate coordinates */
                },

Mark Volz
GIS Specialist

From: Jim Klassen [mailto:klassen.js at gmail.com] 
Sent: Monday, January 14, 2013 4:15 PM
To: Mark Volz
Cc: GeoMOOSE Users List
Subject: Re: [Geomoose-users] coordinates showed in footer section

Mark and others,

Would you want it to display the county and native XY at the same time?  I'm just trying to figure out what the configuration would look like.

The "code" part is relatively simple.

Jim

On Jan 14, 2013, at 4:00 PM, Mark Volz wrote:

Jim,
 
At one time I thought it would be worthwhile to display coordinates on the bottom in different system than the map.  One use case would be to draw a map using UTM 15 so I could take better advantage of the high speed state WMS server, while displaying coordinates in a county system that users care about.
 
 
 
 
Mark Volz
GIS Specialist
 
From: geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of James Klassen
Sent: Friday, January 11, 2013 9:59 AM
To: Alejandro Garcia
Cc: geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] coordinates showed in footer section
 
The coordinates display in the same projection as the map is drawn in.  (Although this wouldn't necessarily have to be the case, but I don't believe anyone has requested otherwise yet.)
 
Given that, it sounds like you may have skipped Step 4 (Updating <configuration> in the mapbook).
 
Note: if you don't display in 3857/900913 you cannot use the common commercial tile sources for basemaps.
 
On Fri, Jan 11, 2013 at 4:43 AM, Alejandro Garcia <alegarmen at gmail.com> wrote:
Hello to all,

I'm starting to prepare a map web viewer based on geomoose 2.6. All my data are in EPSG:32628, that is, UTM28N and WGS84. I followed the instruccions I found here (http://www.geomoose.org/docs/projections.html), but it doesn't work, I can see maps but not in the correct position by far. The aplication seems work always in EPSG:3857. I've seen even in the live demo (http://www.geomoose.org/demo/geomoose.html) coordinates showed are under EPSG:3857 specifications instead do it in EPSG:26915.
As you can imagine, show the coordinates in our reference system is very important. 
What I'm doing wrong? any help?

_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geomoose-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: coord_readout1.jpg
Type: image/jpeg
Size: 13259 bytes
Desc: coord_readout1.jpg
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20130115/593132e5/attachment.jpg>


More information about the Geomoose-users mailing list