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 having a Polygon shape-file. When I try to import this shape-file in PostGIS some of the attributes in Geom Field is found empty. But in attribute table when I select that polygon It is visible in QGIS. What is mistake I have committed?

share|improve this question
    
Try validate geometry of shape-file in QGIS: Vector - Geometry Tools - Check geometry validity –  HasT Sep 2 '13 at 9:47
    
@HasT I tried it is displaying no Geometery errors.What can i do? –  Arun Sep 2 '13 at 10:53
1  
can you in detailes write all actions when you import shape-file in database (tools, "some of the attributes in Geom Field is found empty" - how you see this). Try import these shape-file on another computer/or PostGIS database. –  HasT Sep 2 '13 at 11:10
    
@HasT I imported the shapefile in qgis in post Gis using dbf loader in postGis. –  Arun Sep 2 '13 at 11:33
    
With postgreSQL some lines may appear empty but they are not. Try the following query to see if the geometry is actually empty: "select * from your_table_name Where geom is NULL;". Then load your geometric table in QGIS to check the result or post the details attributes which seems to be empty –  Benno Sep 2 '13 at 12:38

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.