Opened 15 years ago
Closed 15 years ago
#343 closed defect (fixed)
Measure: Area is wrong when unit of Map CS is feet
Reported by: | christinebao | Owned by: | Christine Bao |
---|---|---|---|
Priority: | P2 | Milestone: | Future |
Component: | Widgets | Version: | 1.1.1 |
Severity: | Major | Keywords: | Measure |
Cc: | Jenny He, arthur.liu@… | Browser: | All |
External ID: | 1281984 | Operating System: | All |
state: | Committed |
Description
From Autodesk QA report:
Steps:
- Open one flexible web layout which Unit of CS is feet.
- Measure -> Draw one triangle
Check the number of area and the value is wrong.
Attachments (1)
Change History (5)
comment:1 by , 15 years ago
by , 15 years ago
Attachment: | MeasureArea.patch added |
---|
comment:2 by , 15 years ago
Attach patch http://trac.osgeo.org/fusion/attachment/ticket/343/MeasureArea.patch for fixing this defect. Please review. Thank you!
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
state: | New → Committed |
Status: | new → closed |
Commit the patch to fix this defect.
Note:
See TracTickets
for help on using tickets.
Tech diagnosis:
The code for measure area is:
Please note: there is a TODO here: result is in square meters - convert to other units?
As the map unit is feet, and length is measured in feed, it's better to convert the area from square meters to square feets.
Add the code to fix this defect:
In this way, the quantity is coverted to square feets if needed.