gvSIG bugs #2090

No default geometry type for Postgis sources

Added by Jose Manuel Vivó Arnal over 10 years ago. Updated over 10 years ago.

Status:Closed% Done:

0%

Priority:HighSpent time:-
Assignee:Juan Lucas Domínguez
Category:Database
Target version:2.1.0-2217-devel
Severity: Add-on version:
gvSIG version:2.0.0 Add-on build:
gvSIG build: Add-on resolve version:
Operative System: Add-on resolve build:
Keywords: Proyecto:
Has patch:Yes Hito:
Add-on name:Unknown

Description

On postgis sources the geometry columns has no set the default type if it is not defined on geometry_columns table. This produces an exception if you tries to create a layer with it.

This patch set default geometry type to Geomerty.TYPE.GEOMETRY, so store could be used to create a layer.

fixes_no_default_GeometryType_on_postgis.patch Magnifier (849 Bytes) Jose Manuel Vivó Arnal, 11/06/2013 12:51 PM


Related issues

Related to Application: gvSIG desktop - gvSIG bugs #2091: JDBCStoreProvider doesn't now how to create a "count" sql... Closed
Related to Application: gvSIG desktop - gvSIG bugs #2100: direct-sql sources select-sql creation problem Closed
Related to Application: gvSIG desktop - gvSIG bugs #2089: Erroneous condition on PostgreSQLHelper.getFullEnvelopeOf... Closed

History

#1 Updated by Juan Lucas Domínguez over 10 years ago

  • Assignee set to Juan Lucas Domínguez

#2 Updated by Juan Lucas Domínguez over 10 years ago

  • Status changed from New to Fixed

Setting default geometry type in case field is not registered in geometry_columns table. Patch provided by jmvivo.

gvsig-postgresql:r17

#3 Updated by Joaquín del Cerro Murciano over 10 years ago

  • Target version set to 2.1.0-2217-devel

#4 Updated by Álvaro Anguix over 10 years ago

  • Status changed from Fixed to Closed

Also available in: Atom PDF