gvSIG bugs #4531
Projections for Portugal are not always recognized correctly
Status: | Closed | % Done: | 0% | |
---|---|---|---|---|
Priority: | Normal | Spent time: | - | |
Assignee: | - | |||
Category: | CRS | |||
Target version: | 2.4.0-2835 (rev. org.gvsig.desktop-2.0.202) | |||
Severity: | Major | Add-on version: | ||
gvSIG version: | 2.4.0 | Add-on build: | ||
gvSIG build: | 2827 | Add-on resolve version: | ||
Operative System: | Add-on resolve build: | |||
Keywords: | Proyecto: | |||
Has patch: | Yes | Hito: | ||
Add-on name: | Unknown |
Description
ESRI projections for Portugal are not always well recognized, because gvSIG searches only in the EPSG Registry when trying to match a projection file with an existing CRS code (see #4290).
Some discussions about it:
http://osgeo-org.1560.x6.nabble.com/EPSG-codes-for-Portugal-td5322515.html
http://osgeo-org.1560.x6.nabble.com/Fwd-Projections-for-Portugal-td5325819.html
https://forum.openstreetmap.org/viewtopic.php?id=57756
Sample data:
https://drive.google.com/file/d/0ByBJp2L6jySyWGh1dVh5Q2R5S1E/view?usp=sharing
I attach a patch in order to make faster projection file recognition than in gvSIG 2.3.1, detecting also ESRI WKTs when there's not an exact match in EPSG Registry. Generally, if the SR code is less of 33000 the SR is interpreted as an EPSG one (with transformation parameters predefined in GDAL), otherwise as an ESRI one (without transformation parameters). So the user has to set the transformation parameters in the last case.
The patch also contains an update of the esri.script file derived from the esri-proj-codes project (https://github.com/Esri/esri-proj-codes), licensed under the Apache License, Version 2.0.
Related issues
Associated revisions
refs #4531, Patch provided by Antonio Falciano. Better recognition of the ESRI projections for Portugal
History
#1 Updated by Antonio Falciano almost 7 years ago
- File gvSIG-desktop-2.4.0-org.gvsig.projection.app.jcrs-2.1.71-SNAPSHOT-2125-testing-all-all-j1_7.gvspki added
I've forgotten to attach also the package index (gvspki).
#2 Updated by Antonio Falciano almost 7 years ago
- Status changed from New to Fixed
#3 Updated by Antonio Falciano almost 7 years ago
- Status changed from Fixed to New
#4 Updated by Antonio Falciano over 6 years ago
- Status changed from New to Awaiting response
- File Projections for Portugal.zip added
#5 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-2839-RC2 (rev. org.gvsig.desktop-2.0.206)
#6 Updated by Joaquín del Cerro Murciano over 6 years ago
- Target version changed from 2.4.0-2839-RC2 (rev. org.gvsig.desktop-2.0.206) to 2.4.0-2835 (rev. org.gvsig.desktop-2.0.202)
- Status changed from Awaiting response to Fixed
#7 Updated by Antonio Falciano over 6 years ago
- Status changed from Fixed to Closed
#8 Updated by Joaquín del Cerro Murciano almost 6 years ago
- Related to gvSIG bugs #4869: Falla al cargar una capa intentando reconocer la proyeccion. added
#9 Updated by Joaquín del Cerro Murciano almost 6 years ago
- Related to gvSIG bugs #4832: The PRJ file is not recognized correctly added