[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] Error database geometry requires more points - postgis 1.5
From:       Maria Eugenia Calle Peralta <maugecp () hotmail ! com>
Date:       2014-06-04 15:25:52
Message-ID: COL126-W267D365B25C33544F5BD12A7220 () phx ! gbl
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Mike:

Well,  the version is "POSTGIS="1.5.3" GEOS="3.3.3-CAPI-1.7.4" PROJ="Rel. 4.7.1, 23 \
September 2009" LIBXML="2.7.8" USE_STATS" and yes, the table had a  constraint: CHECK \
(geometrytype(geom) = 'MULTILINESTRING'::text OR geom IS NULL).

Thanks.

Maria Eugenia

> From: mwtoews@gmail.com
> Date: Wed, 4 Jun 2014 14:26:04 +1200
> To: postgis-users@lists.osgeo.org
> Subject: Re: [postgis-users] Error database geometry requires more points - postgis \
> 1.5 
> Hi Maria,
> 
> What version do you have?
> SELECT PostGIS_Full_Version();
> 
> There are a few bugs for "geometry requires more points". How did you
> ST_NumPoints() on a MultiLineString type? Is there a constraint for
> the geometry type?
> 
> -Mike
> 
> On 4 June 2014 13:32, Maria Eugenia Calle Peralta <maugecp@hotmail.com> wrote:
> > Hi:
> > 
> > We are working a database with postgis 1.5. (postgresql 9.1).  Around 30
> > users editing a hidrography table (multilinestring) together at the same
> > time using quantum gis. The last days we had a problem, when viewing the
> > layer at certain zoom objects disappear and the error is reported "Error
> > database geometry requires more points".
> > 
> > I check with the functions:
> > 
> > 
> > -ST_isvalid(), Geometry invalid not found.
> > 
> > -ST_NumPoints(), All geometries have more than 2 vertex
> > 
> > 
> > The reference system is defined and even add a constraint
> > verify_geometry_valid CHECK (st_isvalid(geom)) and the problem remains.
> > I dont kown where is the problem.
> > 
> > 
> > Thank you much help.
> > 
> > 
> > Maria Eugenia
> > 
> > _______________________________________________
> > postgis-users mailing list
> > postgis-users@lists.osgeo.org
> > http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
> _______________________________________________
> postgis-users mailing list
> postgis-users@lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
 		 	   		  


[Attachment #5 (text/html)]

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Mike:<br><br>Well,&nbsp; the version is \
"POSTGIS="1.5.3" GEOS="3.3.3-CAPI-1.7.4" PROJ="Rel. 4.7.1, 23 September 2009" \
LIBXML="2.7.8" USE_STATS" and yes, the table had a&nbsp; constraint: CHECK \
(geometrytype(geom) = 'MULTILINESTRING'::text OR geom IS \
NULL).<br><br>Thanks.<br><br>Maria Eugenia<br><br><div>&gt; From: \
mwtoews@gmail.com<br>&gt; Date: Wed, 4 Jun 2014 14:26:04 +1200<br>&gt; To: \
postgis-users@lists.osgeo.org<br>&gt; Subject: Re: [postgis-users] Error database \
geometry requires more points - postgis 1.5<br>&gt; <br>&gt; Hi Maria,<br>&gt; \
<br>&gt; What version do you have?<br>&gt; SELECT PostGIS_Full_Version();<br>&gt; \
<br>&gt; There are a few bugs for "geometry requires more points". How did \
you<br>&gt; ST_NumPoints() on a MultiLineString type? Is there a constraint \
for<br>&gt; the geometry type?<br>&gt; <br>&gt; -Mike<br>&gt; <br>&gt; On 4 June 2014 \
13:32, Maria Eugenia Calle Peralta &lt;maugecp@hotmail.com&gt; wrote:<br>&gt; &gt; \
Hi:<br>&gt; &gt;<br>&gt; &gt; We are working a database with postgis 1.5. (postgresql \
9.1).  Around 30<br>&gt; &gt; users editing a hidrography table (multilinestring) \
together at the same<br>&gt; &gt; time using quantum gis. The last days we had a \
problem, when viewing the<br>&gt; &gt; layer at certain zoom objects disappear and \
the error is reported "Error<br>&gt; &gt; database geometry requires more \
points".<br>&gt; &gt;<br>&gt; &gt; I check with the functions:<br>&gt; &gt;<br>&gt; \
&gt;<br>&gt; &gt; -ST_isvalid(), Geometry invalid not found.<br>&gt; &gt;<br>&gt; \
&gt; -ST_NumPoints(), All geometries have more than 2 vertex<br>&gt; &gt;<br>&gt; \
&gt;<br>&gt; &gt; The reference system is defined and even add a constraint<br>&gt; \
&gt; verify_geometry_valid CHECK (st_isvalid(geom)) and the problem remains.<br>&gt; \
&gt; I dont kown where is the problem.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Thank \
you much help.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Maria Eugenia<br>&gt; \
&gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; \
postgis-users mailing list<br>&gt; &gt; postgis-users@lists.osgeo.org<br>&gt; &gt; \
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users<br>&gt; \
_______________________________________________<br>&gt; postgis-users mailing \
list<br>&gt; postgis-users@lists.osgeo.org<br>&gt; \
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users<br></div> 		 	   		  \
</div></body> </html>



_______________________________________________
postgis-users mailing list
postgis-users@lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic