gvSIG bugs #1351

Coordinate operation error with PostGIS layer

Added by Antonio Falciano over 11 years ago. Updated over 10 years ago.

Status:New% Done:

0%

Priority:Normal
Assignee:-
Category:-
Target version:-
Severity: Add-on name:Unknown
gvSIG version:1.12.0 Add-on version:
gvSIG build:1417 Add-on build:
Operative System:Windows Add-on resolve version:
Keywords: Add-on resolve build:
Has patch:No

Description

If I load a PostGIS layer defined in EPSG:32633 in a view defined in EPSG:4326, the following coordinate operation error occurs:

DEBUG Thread-30 com.iver.andami.messages.NotificationManager - Coordinate operation error: +proj=longlat +ellps=WGS84 +datum=WGS84  to +proj=tmerc +lat_0=0.0 +lon_0=15.0 +k=0.9996 +x_0=500000.0 +y_0=0.0 +ellps=WGS84 +datum=WGS84 +units=m : 
java.lang.IllegalStateException: Coordinate operation error: +proj=longlat +ellps=WGS84 +datum=WGS84  to +proj=tmerc +lat_0=0.0 +lon_0=15.0 +k=0.9996 +x_0=500000.0 +y_0=0.0 +ellps=WGS84 +datum=WGS84 +units=m : 
    at org.gvsig.crs.COperation.convert(COperation.java:275)
    at com.iver.cit.gvsig.fmap.layers.VectorialDBAdapter.reprojectRectIfNecessary(VectorialDBAdapter.java:264)
    at com.iver.cit.gvsig.fmap.layers.VectorialDBAdapter.getFeatureIterator(VectorialDBAdapter.java:125)
    at com.iver.cit.gvsig.fmap.layers.VectorialDBAdapter.getFeatureIterator(VectorialDBAdapter.java:147)
    at com.iver.cit.gvsig.fmap.layers.FLyrVect._draw(FLyrVect.java:388)
    at com.iver.cit.gvsig.fmap.layers.FLyrVect.draw(FLyrVect.java:627)
    at com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:209)
    at com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:175)
    at com.iver.cit.gvsig.fmap.MapContext.draw(MapContext.java:1088)
    at com.iver.cit.gvsig.fmap.MapControl$PaintingRequest.paint(MapControl.java:1043)
    at com.iver.cit.gvsig.fmap.MapControl$Drawer2$Worker.run(MapControl.java:1234)
    at java.lang.Thread.run(Unknown Source)

The issue seems to be the same reported in #1171 for gvSIG 2.0.

History

#1 Updated by Álvaro Anguix over 10 years ago

  • Project changed from Application: gvSIG desktop to | gvSIG desktop 1

Also available in: Atom PDF