[Chameleon-dev] [Bug 988] New: [Chameleon - Widget] ProjectionLabel
widget doesn't show correct label
bugzilla-daemon at maptools.org
bugzilla-daemon at maptools.org
Tue Mar 15 08:02:02 EST 2005
http://www.maptools.org/bugzilla/show_bug.cgi?id=988
Summary: [Chameleon - Widget] ProjectionLabel widget doesn't show
correct label
Product: Chameleon
Version: 2.0
Platform: PC
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: Widget
AssignedTo: chameleon-dev at lists.maptools.org
ReportedBy: pspencer at dmsolutions.ca
The projection label can show incorrect labels (i.e. it doesn't find a match in
the projection shared resource. Since this code has been used, unchanged, for a
couple of years, it seems that something may have changed in mapscript's
reporting of the projection string.
Changing the index at which the code looks for the epsg code from 5 to 6 makes
it work. Inspecting the projection, it seems that the projection is now
reported with a "+" in front of it. This only happens if you call
'setProjection' on the map object (i.e. if you have a projection defined without
the + then it works until you change projections).
The code for detecting the epsg code is not very robust and needs to be updated
to search for epsg:xxxxx rather than use a fixed offset in a string.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Please do NOT reply to this email, use the link above instead to
login to bugzilla and submit your comment. Any email reply to this
address will be lost.
More information about the Chameleon-dev
mailing list