gvSIG bugs #2389

No transformation is offered from 4326 to 3035

Added by Cesar Martinez Izquierdo about 10 years ago. Updated over 9 years ago.

Status:Closed% Done:

100%

Priority:NormalSpent time:-
Assignee:Joaquín del Cerro Murciano
Category:CRS
Target version:2.1.0-2248-testing
Severity: Add-on version:
gvSIG version:2.1.0 Add-on build:
gvSIG build:2220 Add-on resolve version:
Operative System:Windows Add-on resolve build:
Keywords: Proyecto:
Has patch:Yes Hito:
Add-on name:Unknown

Description

When trying to load a layer in EPSG:4326 to a view using EPSG:3035 projection, no transformation is offered in the projection dialog of the load layer dialog.
Steps to reproduce:
- Create a new view using EPSG:3035 projection
- Click on add layer
- Select a shapefile using EPSG:4326 projection
- Search for EPSG transformations
Result: no transformation is offered.

Doing the opposite thing (loading a 3035 layer on a 4326 view) results in 2 transformations being offered.

TransformationEpsgPanel.patch Magnifier (13.5 KB) Antonio Falciano, 09/08/2014 02:49 PM


Related issues

Related to Application: gvSIG desktop - gvSIG bugs #2371: WMS - Can't get proj4 string error Won't fix 02/24/2014
Related to Application: gvSIG desktop - gvSIG feature requests #2306: Update the EPSG database Closed 02/08/2014

Associated revisions

Revision 279
Added by Joaquín del Cerro Murciano over 9 years ago

No transformation is offered from 4326 to 3035, refs #2389

History

#1 Updated by Álvaro Anguix almost 10 years ago

#2 Updated by Álvaro Anguix almost 10 years ago

  • Category set to CRS

#3 Updated by Antonio Falciano almost 10 years ago

As I stated here (http://listserv.gva.es/pipermail/gvsig_internacional/2014-June/009212.html), it "seems to occur with other transformations too and it should depend by how gvSIG (and GeoTools) manage the direction of transformations and not by the Registry, because each transformation is declared only once in the Registry itself, even if it's valid in both directions."

#4 Updated by Antonio Falciano over 9 years ago

Other transformations that are not available in the EPSG transformation panel:

+------------+------------+
|    VIEW    |    LAYER   |
+============+============+
| EPSG:6708  | EPSG:4326  |
+------------+------------+
| EPSG:4258  | EPSG:4326  |
+------------+------------+
| EPSG:4326  | EPSG:4258  |
+------------+------------+
| EPSG:4326  | EPSG:6706  |
+------------+------------+
| EPSG:6706  | EPSG:4326  |
+------------+------------+

#5 Updated by Antonio Falciano over 9 years ago

There were a typo in a couple of SQL statements and a missing check about the kind of CRSs (projected or geographic 2D). I attach a patch that fix this issue.

PS: I can't set the "Has patch" flag in the notes, because I don't have the permission.

#6 Updated by Álvaro Anguix over 9 years ago

  • Has patch changed from No to Yes

#7 Updated by Álvaro Anguix over 9 years ago

  • Assignee set to Joaquín del Cerro Murciano

Joaquín, te asigno los bugs que vea que tienen parche, por si procede meterlos para la Rc2

#8 Updated by Joaquín del Cerro Murciano over 9 years ago

  • Target version changed from 2.1.0-2259-rc3 to 2.1.0-2248-testing
  • Status changed from New to Fixed

#9 Updated by Antonio Falciano over 9 years ago

  • Status changed from Fixed to Closed

Also available in: Atom PDF