Defect #785

Map can't use SRS others than standard ones (EPSG:4326...)

Added by Van Hoecke Hélène over 4 years ago. Updated about 3 years ago.

Status:ClosedStart date:07/21/2014
Priority:NormalDue date:07/31/2014
Assignee:-% Done:

100%

Category:MAP
Target version:4.2.0
Affected version:4.2.0

Description

Some EasySDI users have noticed that map can't display data in other SRS than EPSG:4326 and EPSG:900913.
Javascript error is raised when a map is configured with a specific SRS like EPSG:21781 for Switzerland.


Related issues

Related to easySDI - Enhancement #810: Upgrade Boundless SDK GXP library to the latest version Closed 08/25/2014 08/25/2014

History

#1 Updated by Van Hoecke Hélène over 4 years ago

  • % Done changed from 0 to 100

Problem was :

- no Proj4js library was loaded with the map. Openlayers can transform coordinates by itself between EPSG:4326 and EPSG:900913 but can not handle others SRS.

- Proj4js library version currently embedded in EasySDI project (1.4.1), and used for extent definition in the metadata form, is not compatibe with the version of OpenLayers used in the map.

- OpenLayers version used in the map (2.12) has a bug (managment of reverse axis order for WMS 1.3.0) which is always ran when SRS other than the 2 mentionned above are used. This bug is corrected in v2.13 (which is also not compatible with Proj4js 1.4.1).

Correction made :
1/ Replace OL 2.12 by OL 2.13 in the MAP.
2/ Add Proj4js 1.1.0 to EasySDI project.
3/ Load Proj4js 1.1.0 in the MAP.

Conclusion :
We now have 2 versions of Proj4js and 2 versions of OpenLayers embedded in the EasySDI project.
We should replace the use of Proj4js 1.4.1 and Openlayers 2.12 by versions 1.1.0 and 2.13 every where in the project.

#2 Updated by Magoni Bruno over 4 years ago

  • Status changed from New to Affected

#3 Updated by Magoni Bruno over 4 years ago

  • Status changed from Affected to Resolved

#4 Updated by Magoni Bruno over 4 years ago

  • Related to Enhancement #810: Upgrade Boundless SDK GXP library to the latest version added

#5 Updated by Battaglia Marc over 4 years ago

  • Status changed from Resolved to Closed

#6 Updated by Magoni Bruno almost 4 years ago

  • Target version changed from 156 to 4.2.0

#7 Updated by Magoni Bruno almost 4 years ago

  • Affected version changed from to 4.2.0

#8 Updated by Van Hoecke Hélène about 3 years ago

  • Assignee deleted (Van Hoecke Hélène )

Also available in: Atom PDF