I created a polygon as follows
create table boundary (id int, name text);
table created;
select AddGeometryColumn ('',boundary', 'latlon' 4326,'POLYGON', 2);
geometry column added;
then i'm trying to insert values as follows
INSERT INTO boundary (id , name, latlon) VALUES ('1', 'river', GeometryFromTerxt('POLYGON(82.240 16.988,82.243 16.991,82.240 16.988)', 4326));
finally i got an error as follow
<–parse error at position (position number) within geometry.
Best Answer
As commenters point out
For example, the unit square