[postgis-users] forced conversion of linestring to mulitlinestringwhen using shp2pgsql utility ?
robe.dnd at cityofboston.gov
Mon Jan 26 06:04:22 PST 2009
If all your linestrings are actually linestrings, then you can use the
The -S will force into single mode and if it can't, then it will throw
If you actually have multilinestrings, then what I do is bring it into a
temp table as linestrings and use ST_Dump
Hope that helps,
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of
Sent: Monday, January 26, 2009 8:38 AM
To: postgis-users at postgis.refractions.net
Subject: [postgis-users] forced conversion of linestring to
mulitlinestringwhen using shp2pgsql utility ?
I have a shape file of linestrings that I want to load into postgis as
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
Is there a way shp2pgsql can load linestrings to postgis as linestrings
? or is there another tool that
can do that for me ?
postgis-users mailing list
postgis-users at postgis.refractions.net
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.
More information about the postgis-users