[postgis-users] pgsql2shp multilinestring problem

Stefan Donath DonathStefan at gmx.de
Thu Apr 8 02:57:18 PDT 2004


On Thu, Apr 08, 2004 at 11:46:15AM +0200, Stefan Donath wrote:
> hi,
> 
> i have a rivers geometry which is multilinestring and consists of around
900
> features. after exporting them to shape using pgsql2shp about half of the
> features look wrong. the thing is, that in this cases the last point of
the
> line is connected with the first one. this is not the case in postgis.
when
> viewing the rivers with mapserver everything is right.
> 
> there are some other multilinestring geometries like streets and borders.
> when exporting them to shape everything is fine, too.
> 
> so what's wrong with my rivers???
> thanks for help in advance and happy easter! stefan.
> 

Connecting last point -> first point seems to be a polygon transformation.
Which versison of pgsql2shp are you using ?
--strk;

i use postgis-0.8.1 and the pgsql2shp which is included there. actually, it
not seems to be a polygon. when importing the shape to conicgis, that i plan
to use for updating geometries, it is a line with equal first and last point.

stefan.


-- 
NEU : GMX Internet.FreeDSL
Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/info




More information about the postgis-users mailing list