<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#ffffff" text="#000000">
<code class="funcdef"><b class="fsfunc">Hi,<br>
I have some problems with a MultiLinestring imported with </b></code><code
 class="funcdef"><b class="fsfunc">shp2pgsql.<br>
<br>
If I try to check it's validity (or try to do anything else on it)</b></code><code
 class="funcdef"><b class="fsfunc">:<br>
<br>
SELECT
isvalid('0105000020E0670000010000000102000020E06700000100000016DA52BA62A04141FFF3AD290B735241');<br>
<br>
</b></code><code class="funcdef"><b class="fsfunc">I get the Exception
in my e-mail subject.<br>
<br>
How can I check the geometry, if already isvalid chokes. I could only
select NumPoints(the_geom) and compare it to the allowed range of the
geometry type (e.g. 0 or > 1 for MULTILINESTRINGS).<br>
<br>
Can this be considered to be a bug of PostGIS/GEOS?<br>
<br>
Software stack:<br>
CentOS 5.4, 64 bit<br>
PostgreSQL 8.2.14 (from CentOS Testing)<br>
PostGIS 1.4.1<br>
GEOS: 3.1.1<br>
<br>
</b></code><code class="funcdef"><b class="fsfunc">Best regards<br>
Daniel<br>
<br>
</b></code>
<pre class="moz-signature" cols="72">-- 
  Daniel Degasperi
  Software Developer
  <a class="moz-txt-link-abbreviated" href="mailto:daniel.degasperi@r3-gis.com">daniel.degasperi@r3-gis.com</a>
  
---------------------------
  R3 GIS Srl
  Via Johann Kravogl 2
  I-39010 Merano - Sinigo (BZ)
  Tel. +39 0473 494949
  Fax. +39 0473 069902
  Web  <a class="moz-txt-link-freetext" href="http://www.r3-gis.com">http://www.r3-gis.com</a>
-----------------------------
</pre>
</body>
</html>