gvSIG bugs #512

Can't use the measure distances and areas tools

Added by Manuel Madrid about 12 years ago. Updated almost 12 years ago.

Status:Closed% Done:

100%

Priority:HighSpent time:-
Assignee:Cesar Ordiñana
Category:-
Target version:2.0.0-alpha6
Severity: Add-on version:
gvSIG version:2.0.0 Add-on build:
gvSIG build:2045 Add-on resolve version:
Operative System: Add-on resolve build:
Keywords: Proyecto:
Has patch:No Hito:
Add-on name:Unknown

Description

1. Create a view
2. Load a vector layer (http://downloads.gvsig.org/download/geodata/vector/SHP2D/comvalenciana_muni.shp)
3. Click on the measure distances or areas tool icon
4. Click on the view (first point of the distance or area)
5. Error.

The error appears repeatedly.

Attached the log file.

gvSIG.log (135 KB) Manuel Madrid, 04/09/2012 02:40 AM

History

#1 Updated by Manuel Madrid about 12 years ago

  • Subject changed from Can't use the measure distances tool to Can't use the measure distances and areas tools
  • Description updated (diff)

#2 Updated by Manuel Madrid almost 12 years ago

  • Target version set to 2.0.0-rc1

#3 Updated by Cesar Ordiñana almost 12 years ago

  • Status changed from New to In progress
  • Assignee set to Cesar Ordiñana

#4 Updated by Cesar Ordiñana almost 12 years ago

  • Status changed from In progress to Fixed
  • % Done changed from 0 to 100

Seems to me the error was not related to the measure and area tools, but to a problem in the installation of the CRS extension in the build 2045, as appears in the log file. This error is produced when gvSIG is unable to load the Proj4 native library from the system:

Could not initialize class org.gvsig.crs.proj.CrsProj
java.lang.NoClassDefFoundError: Could not initialize class org.gvsig.crs.proj.CrsProj
    at org.gvsig.crs.CrsGT.getCrsProj(CrsGT.java:324)
    at org.gvsig.crs.CrsGT.toGeo(CrsGT.java:287)
    at org.gvsig.fmap.mapcontext.ViewPort.distanceWorld(ViewPort.java:717)
    at org.gvsig.app.project.documents.view.toolListeners.MeasureListener.points(MeasureListener.java:93)
...

I've tested it now and doesn't happen to me.

#5 Updated by Joaquín del Cerro Murciano almost 12 years ago

  • Target version changed from 2.0.0-rc1 to 2.0.0-alpha6

#6 Updated by María Maluenda almost 12 years ago

  • Status changed from Fixed to Closed

Closed in the gvSIG build 2049

Also available in: Atom PDF