Bug report #10870

Processing: Batch processing > Import into PostGIS | Error

Added by Paolo Cavallini over 10 years ago. Updated over 9 years ago.

Status:Closed
Priority:Normal
Assignee:Victor Olaya
Category:Processing/Core
Affected QGIS version:2.4.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:19238

Description

Apparently the SRID is missing when attempting to batch import:

Algorithm Import into PostGIS starting...
Algorithm Import into PostGIS correctly executed...
Algorithm Import into PostGIS starting...
Error importing to PostGIS Errore nella creazione della sorgente dati "public"."fvg_": ERROR: AddGeometryColumn() - invalid SRID CONTESTO:
SQL statement "SELECT AddGeometryColumn('',$1,$2,$3,$4,$5,$6,$7)"
PL/pgSQL function addgeometrycolumn(character varying,character varying,character varying,integer,character varying,integer,boolean)
line 5 at SQL statement

When importing one by one, everything OK.

History

#1 Updated by Giovanni Manghi over 10 years ago

  • Status changed from Open to Feedback

I cannot confirm here, it works as expected on both Linux and Windows.

Can you add sample data?

#2 Updated by Paolo Cavallini over 10 years ago

  • Resolution set to fixed/implemented
  • Status changed from Feedback to Closed

#3 Updated by Giovanni Manghi over 9 years ago

  • Category changed from 94 to Processing/Core

Also available in: Atom PDF