[postgis-users] pgsql2shp multilinestring problem

strk strk at keybit.net
Thu Apr 8 03:10:48 PDT 2004


On Thu, Apr 08, 2004 at 11:57:18AM +0200, Stefan Donath wrote:
> 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.

Can you try with current CVS version ?
Can you isolate the problem to just a single row and send that to me ?

--strk;

> 
> 
> -- 
> NEU : GMX Internet.FreeDSL
> Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/info
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list