Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?
Thanks.

share|improve this question
2  
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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.