[postgis-users] Problems to transform LineStringZM to MultiLineStringZM

José María jmamuedo at gmail.com
Thu Jun 13 00:52:12 PDT 2013


Thanks!!

That is the solution!!


2013/6/12 Mike Toews <mwtoews at gmail.com>

> Try using the correct typmod, which uses [ZM]+ dimensions in the type name:
>
> alter table elevacion_89
>   alter column the_geom
>     type geometry(MultiLinestringZM, 25830)
>   using ST_Multi(the_geom);
>
> (it's actually case insensitive)
>
> -Mike
>
> On 12 June 2013 05:50, José María <jmamuedo at gmail.com> wrote:
> > Hello!
> >
> > I get a error when I tried to transform LineStringZM to
> MultiLinestringZM;
> >
> > alter table elevacion_89 alter column the_geom type
> > geometry(MULTILINESTRING, 25830) using St_Multi(the_geom);
> >
> > The error I get it is:
> >
> > ERROR: Geometry has Z dimension but column does not
> > SQL state: 22023
> >
> > Any ideas??
> >
> > Thanks,
> >
> > Jose
> >
> > _______________________________________________
> > postgis-users mailing list
> > postgis-users at lists.osgeo.org
> > http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
> >
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20130613/30a3321a/attachment.html>


More information about the postgis-users mailing list