gvSIG bugs #4662

Not recognized projection files don't have a CRS code in Add layer

Added by Antonio Falciano over 6 years ago. Updated over 6 years ago.

Status:Closed% Done:

0%

Priority:HighSpent time:-
Assignee:-
Category:CRS
Target version:2.4.0-2837 (rev. org.gvsig.desktop-2.0.204)
Severity:Major Add-on version:
gvSIG version:2.4.0 Add-on build:
gvSIG build:2835 Add-on resolve version:
Operative System: Add-on resolve build:
Keywords: Proyecto:
Has patch:Yes Hito:
Add-on name:Unknown

Description

When we add an ESRI Shapefile to a view, if its projection file is not identified with an EPSG (or ESRI) code, we see only the "(projected on the fly)" string in the "Add layer" dialog without CRS code under the layer name.
So I attach a patch that assigns a null value to CRS code in order to have the "Unknown CRS. Assumed..." string followed by the View CRS code, just like it happens when we add a shp without prj file. Furthermore, the patch contains also further improvements about mapping ESRI and EPSG SR names.

nullSRS.patch Magnifier (3.44 KB) Antonio Falciano, 09/12/2017 03:46 PM

nullSRS_2.patch Magnifier - (update of nullSRS.patch) (9.22 KB) Antonio Falciano, 09/12/2017 07:52 PM

Associated revisions

Revision 741
Added by Joaquín del Cerro Murciano over 6 years ago

refs #4662. Patch provided by Antonio Falciano.

History

#1 Updated by Antonio Falciano over 6 years ago

I attach a new patch (nullSRS_2.patch) that solves also the issue related to corrupt WKT.

#2 Updated by Joaquín del Cerro Murciano over 6 years ago

  • Target version changed from 2.4.0-2850-final (rev. org.gvsig.desktop-2.0.220) to 2.4.0-2837 (rev. org.gvsig.desktop-2.0.204)

#3 Updated by Joaquín del Cerro Murciano over 6 years ago

  • Status changed from New to Fixed

#4 Updated by Antonio Falciano over 6 years ago

  • Status changed from Fixed to Closed

Also available in: Atom PDF