[postgis-users] Polygon length zero
Andrea Peri 2007
aperi2007 at gmail.com
Fri Apr 23 10:45:29 PDT 2010
Hi,
using this polygon:
MULTIPOLYGON(((1 1, 2 3, 10 10, 1 1)))
The Length return is zero.
Perhaps I'm forget something ?
This is my simply sql code.
create table _uno (id serial primary key);
SELECT AddGeometryColumn('_uno', 'geom', 3003, 'MULTIPOLYGON', 2);
insert into _uno (geom) values (ST_GeomFromText('MULTIPOLYGON(((1 1, 2
3, 10 10, 1 1)))',3003));
select st_length(geom) from _uno
-------
0
I'm using Postgres 8.4.3 - Postgis 1.5.1 on windows 7 - 64 bit.
Thx,
Andrea Peri.
More information about the postgis-users
mailing list