Opened 19 years ago

Last modified 19 years ago

#1465 new enhancement

Provide mapunits in template file

Reported by: b.veldkamp@… Owned by: sdlime
Priority: high Milestone:
Component: MapServer CGI Version: unspecified
Severity: minor Keywords:
Cc:

Description

Here's an enhancement request: 
I'd like to have the UNITS parameter from a mapfile available in the template
file. I am doing client side distance measurements, and I need to distinguish
between degrees, meters, feet etc.
My current workaround is to add an entry ("units" "meters") to the WEB |
METADATA block, but then I still need to change this parameter in two places, if
the datasource changes.

Berend

Change History (3)

comment:1 by b.veldkamp@…, 19 years ago

Also see this thread:
http://lists.umn.edu/cgi-bin/wa?A2=ind0509&L=mapserver-users&P=23652

comment:2 by sdlime, 19 years ago

Are you looking for the main UNITS (map level), layer UNITS or both?

Steve

comment:3 by b.veldkamp@…, 19 years ago

Units at map level
Note: See TracTickets for help on using tickets.