Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to import data from Spatialite into PostGIS through drag and drop in DB Manager but all I received was an error:

Feature write errors:
Creation error for features from #1 to #202. Provider errors was:
PostGIS error while adding features: ERROR: invalid input syntax for integer: ""

enter image description here

Is there any way to fix this?

share|improve this question
You can answer you own questions and even accept your own answers. Please post an answer or close your question so it does not appear as "unanswered" anymore. – underdark Mar 1 '13 at 10:33
up vote 1 down vote accepted

It was my stupidity: after inspections, I found my Spatialite Integer columns contain "" - fixed it by turning them all to null and import again.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.