Opened 15 years ago
Closed 15 years ago
#392 closed defect (fixed)
Warning 'towgs84' is null or not an object popup if the CS of the map is CA-I (NAD27 California State Planes, Zone I(401), US Foot)
Reported by: | liuar | Owned by: | madair |
---|---|---|---|
Priority: | P2 | Milestone: | 2.0 |
Component: | Core | Version: | 2.0.0-RC1 |
Severity: | Major | Keywords: | |
Cc: | madair@…, jenny.he@… | Browser: | All |
External ID: | 1316655 | Operating System: | All |
state: | New |
Description
- Create a map using NAD27 as coordinate system
- View the the map
- A warning popup - Warning 'towgs84' is null or not an object
Change History (6)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Cc: | added |
---|
Hi Mike,
Could you review my solution and submit it if there's no problem? Since I can only can the compressed version of proj4js
Regards,
Arthur
comment:3 by , 15 years ago
Milestone: | Future → 2.0 |
---|---|
Status: | new → assigned |
this was fixed in a later version of proj4js. I will update to the most recent version.
comment:4 by , 15 years ago
fixed in trunk and 2.0 branch, should this be applied to the adsk/2.2gp branch?
comment:5 by , 15 years ago
The 2.2gp branch should not be updated to the latest version of proj4js. I'll modify the existing version of proj4js-compressed.js with this specific fix.
comment:6 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Applied this fix to proj4js-compressed.js in adsk/2.2gp branch with changeset:
Note:
See TracTickets
for help on using tickets.
In proj4js.js
if the datumCode is NAD27(CA-I), the datumDef will not contain a property named towgs84. So, to fix this problem or the workaround of this defect is add "&& datumDef.towgs84" to the if clause to make sure towgs84 is included in datumDef.