Opened 16 years ago

Closed 15 years ago

#1330 closed bug (fixed)

SPIT fails to load shapefile when no fields detected

Reported by: mwtoews Owned by: nobody
Priority: minor: annoyance Milestone: Version 1.2.0
Component: C++ Plugins Version: Trunk
Keywords: Cc: pcav, jef, wonder
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

SPIT throws an error "No fields detected" when a Shapefile with no attributes is loaded. This file (see attached) was generated from AutoCAD Map 3D 2008, and can be viewed in QGIS (v. 0.11) and ESRI software.

Attributes are not required for Shapefiles, nor for PostGIS.

Attachments (1)

poly.zip (974 bytes ) - added by mwtoews 16 years ago.
Example shapefile without attributes

Download all attachments as: .zip

Change History (5)

by mwtoews, 16 years ago

Attachment: poly.zip added

Example shapefile without attributes

comment:1 by lutra, 15 years ago

Cc: pcav jef added
Milestone: Version 1.0.3Version 1.2.0
Platform: WindowsAll

SPIT doesn't works, but Postgis Manager works fine.

I guess we have decision to make: SPIT seems to me that is not developed any more, on the other hand Potsgis Manager is not yet a core plugin, but is developed and has already many more features (and is more robust) than SPIT.

Ideas?

comment:2 by pcav, 15 years ago

Cc: wonder added

+1 to PostGIS manager for me, but the last word should go to Martin, I guess

comment:3 by pcav, 15 years ago

Component: SPITPlugins

comment:4 by lutra, 15 years ago

Resolution: fixed
Status: newclosed

I close this one, seems to mw that, in way or another, Postgis Manager is the answer to the problem, then hopefully it will become core in the next future.

Note: See TracTickets for help on using tickets.