[postgis-users] Shp2pgsql - ability to generate a linestring table

Markus Schaber schabi at logix-tt.com
Mon Sep 18 02:12:54 PDT 2006


Hi, Strk,

strk at refractions.net wrote:
> The problem is that there's no LINESTRING type in shapefiles.
> SHPT_ARC type is *any* number of lines into a record.
> So, the only way would be scanning the whole shapefile and IFF
> all records only have a single item use LINESTRING TYPE.

We could add a --no-multi comand line switch, and abort when we stumble
accross a "real" MultiLineString.

HTH,
Markus

-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org



More information about the postgis-users mailing list