[postgis-users] forced conversion of linestring to mulitlinestring when using shp2pgsql utility ?

Smith Roman autisi at yahoo.com
Mon Jan 26 05:38:13 PST 2009


Hi,

I have a shape file of linestrings that I want to load into postgis as linestrings.
My problem is whenever i use the shp2pgsql utility,  the utility converts all the linestrings
to multilinestrings. My purpose of loading the shape files is to do geometry operations on them
eg line interpolation. This operation can only be done on linestring not multilinestrings.

Is there a way shp2pgsql can load linestrings to postgis as linestrings ? or is there another tool that
can do that for me ?

Thanks,

Smith. 


      




More information about the postgis-users mailing list