[postgis-users] Problems to transform LineStringZM to MultiLineStringZM

Mike Toews mwtoews at gmail.com
Tue Jun 11 16:37:18 PDT 2013


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
>


More information about the postgis-users mailing list