[postgis-users] shp2pgsql and shx

P Kishor punk.kish at gmail.com
Mon Jan 28 08:13:49 PST 2008


On 1/28/08, Andrea Maschio <andrea.maschio at gmail.com> wrote:
>
>  Hello all, is it normal that trying to convert a shape into sql with
> shp2pgsql I have an error stating that i need the .shx index file? Is there
> an option for importing having only the .shp file?
>
>  Thanks
>
>  Andrea Maschio
>

The .shx file is the link between the geometry (.shp) and the
attributes (.dbf). These three are the minimum necessary components of
an ESRI Shapefile. If your .shx/.dbf are missing then you have any
incomplete Shapefile.



More information about the postgis-users mailing list