gvSIG feature requests #2610

Add reading support of projection files (.prj) for shapefile

Added by Antonio Falciano almost 10 years ago. Updated over 8 years ago.

Status:Closed% Done:

0%

Priority:HighSpent time:-
Assignee:Francisco Díaz Carsí
Category:CRS
Target version:2.3.0-2409 (rev. org.gvsig.desktop-2.0.115)
gvSIG version:2.3.0 Add-on resolve version:
Keywords:prj Add-on resolve build:
Has patch: Proyecto:
Add-on name:Unknown Hito:
Add-on version:

Description

Adding reading support of projection files (.prj) would enhance the "Add layer" capabilities:
if a layer has the .prj file, its WKT should be parsed and the corresponding CRS directly associated with it,
else the user should specify the CRS of the layer in the Properties of the Add layer dialog (a bit tricky, too many clicks!)

Adding writing support of projection files (.prj) would enhance the "Export layer" capabilities:
gvSIG should read the View CRS, convert it in ESRI WKT and finally export the .prj file.


Related issues

Related to Application: gvSIG desktop - gvSIG feature requests #3861: Add writing support of projection files (.prj) for shapefile Closed 11/06/2015

Associated revisions

Revision 431
Added by Francisco Díaz Carsí over 8 years ago

refs #2610 Modificaciones en el api de projection para permitir la lectura y escritura de archivos prj.

Revision 436
Added by Francisco Díaz Carsí over 8 years ago

refs #2610 Modificaciones para permitir la lectura de archivos prj y su interpretación para la reproyección al vuelo automática del shp.
- Arreglos para eliminar de la vista aquellas geometrías (o partes de ellas) que no se pueden reproyectar en las capas reproyectadas al vuelo.

Revision 42464
Added by Francisco Díaz Carsí over 8 years ago

refs #2610 Modificaciones para permitir la lectura de archivos prj y su interpretación para la reproyección al vuelo automática del shp.
- Arreglos para eliminar de la vista aquellas geometrías (o partes de ellas) que no se pueden reproyectar en las capas reproyectadas al vuelo.

History

#1 Updated by Antonio Falciano almost 10 years ago

Adding writing support of projection files (.prj) would obviously enhance the "Create a new layer" (shp) too:
the user should specify the CRS, while gvSIG should parse it as ESRI WKT and write also the .prj file.

#2 Updated by Antonio Falciano almost 10 years ago

gvSIG jCRS extension (based on GeoTools 2.1) is able to convert a CRS code to the WKT and Proj.4 formats quite good (see #2632), but it actually lacks of a parsing and identifying mechanism, like that provided by the latest version of GeoTools respectively in CRS.parseWKT and CRS.lookupIdentifier (http://docs.geotools.org/stable/userguide/library/referencing/crs.html#matching-a-coordinatereferencesystem), very useful in order to match a WKT representation (e.g. coming from a .prj file) with a CRS code.

#3 Updated by Álvaro Anguix over 8 years ago

  • gvSIG version changed from 2.1.0 to 2.3.0
  • Target version set to 98
  • Priority changed from Normal to High
  • Assignee set to Francisco Díaz Carsí

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

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

  • Subject changed from Add writing and reading support of projection files (.prj) for shapefile to Add reading support of projection files (.prj) for shapefile

He separado esta peticion en dos, una de soporte de lectura y otra de escritura, ya que ahora mismo podemos resolver la de lectura pero estamos teniendo problemas con la escritura.

#6 Updated by Francisco Díaz Carsí over 8 years ago

  • Target version changed from 98 to 2.3.0-2409 (rev. org.gvsig.desktop-2.0.115)
  • Status changed from New to Fixed

#7 Updated by Álvaro Anguix over 8 years ago

  • Status changed from Fixed to Closed

Also available in: Atom PDF