<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Strk,<br>
<br>
cvs seems to fix the multiline string bug...<br>
<br>
not sure if this is also related but i get hundreds of these errors...<br>
<br>
help would be greatly appreciated...<br>
<br>
<br>
You are now connected to database "all".<br>
NOTICE:  CREATE TABLE will create implicit sequence
"boundary_line_gid_seq" for serial column "boundary_line.gid"<br>
CREATE TABLE<br>
                                     addgeometrycolumn<br>
--------------------------------------------------------------------------------------------<br>
 public.boundary_line.the_geom SRID:-1 TYPE:MULTILINESTRING DIMS:4<br>
 geometry_column fixed:0<br>
(1 row)<br>
<br>
BEGIN<br>
ERROR:  new row for relation "boundary_line" violates check constraint
"enforce_dims_the_geom"<br>
CONTEXT:  COPY boundary_line, line 1: "15238677 #005:134087     STATE
FOREST    LINE    3227CA  A       0<br>
        \N      000000000000000000000001        0       \N      RSWART 
0       0       200201..."<br>
ROLLBACK<br>
BEGIN<br>
ERROR:  new row for relation "boundary_line" violates check constraint
"enforce_dims_the_geom"<br>
CONTEXT:  COPY boundary_line, line 1: "12845197 FORT PATO      
CONSERVATION    LINE    3227DC  A       0<br>
        \N      000000000000000000000001        0       \N      RSWART 
0       0       20020621..."<br>
ROLLBACK<br>
BEGIN<br>
ERROR:  new row for relation "boundary_line" violates check constraint
"enforce_dims_the_geom"<br>
CONTEXT:  COPY boundary_line, line 1: "8291673  #001:111115535 
CONSERVATION    LINE    3227DD  A       0<br>
        \N      000000000000000000000002        20021219        \N     
MDP_2   0       ..."<br>
ROLLBACK<br>
<br>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:strk@refractions.net">strk@refractions.net</a> wrote:
<blockquote cite="mid20050310162016.GB64873@freek.keybit.net"
 type="cite">
  <pre wrap="">On Thu, Mar 10, 2005 at 06:00:20AM +0000, Nigel Kukard wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi Guys,

I'm new to postgis. I got shape files from our local government,
containing all data for South Afica.

I installed postgresql 8.0.0, postgis 1.0.0-rc3, proj 4.4.9, gdal 1.2.5,
php-5.0.3 & mapserver 4.4.1

The first thing i did is pipe lwpostgis.sql & spatial_ref_sys.sql into
pgsql.

I continued to run shp2pgsql on one of the shape files to insert it into
my database with
shp2pgsql -d drainagexxxxx.shp drainage > /tmp/postgis.sql

I then tried to pipe the /tmp/postgis.sql into postgresql,  but got the
following error...

BEGIN
NOTICE:  CREATE TABLE will create implicit sequence "drainage_gid_seq"
for serial column "drainage.gid"
CREATE TABLE
                                  addgeometrycolumn
---------------------------------------------------------------------------------------
public.drainage.the_geom SRID:-1 TYPE:MULTILINESTRING DIMS:4
geometry_column fixed:0
(1 row)

ERROR:  Invalid type in wbk
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Nigel, we have fixed a (Multi)LineString-related bug in shp2pgsql.
If you can test a CVS snapshot that would help us release RC4.

--strk;


  </pre>
  <blockquote type="cite">
    <pre wrap="">ERROR:  current transaction is aborted, commands ignored until end of
transaction block
ERROR:  current transaction is aborted, commands ignored until end of
transaction block
ERROR:  current transaction is aborted, commands ignored until end of
transaction block
ROLLBACK


most of the shape files import fine, there are a couple of types which
give me the above error.

any help would greatly be appreciated, if need be I can attach the
actual sql file or any other info needed.

Regards
Nigel Kukard
    </pre>
  </blockquote>
  <pre wrap=""><!---->


  </pre>
  <blockquote type="cite">
    <pre wrap="">_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<a class="moz-txt-link-freetext" href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<a class="moz-txt-link-freetext" href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a>
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Nigel Kukard, PhD CompSc
(Chief Executive Officer)
Linux Based Systems Design
Web: <a class="moz-txt-link-abbreviated" href="http://www.lbsd.net">www.lbsd.net</a>          Email: <a class="moz-txt-link-abbreviated" href="mailto:nkukard@lbsd.net">nkukard@lbsd.net</a>
Tel: (+27) 023 349 8000     Cell: (+27) 082 333 3723
Fax: (+27) 023 349 1395  Support: 086 747 7600
Address: LIGT House, 2 Klipdrift Rd, Rawsonville
Linux Systems Design & Technology Solutions


   The best language to use is the language that was designed for
                  what you want to use it for.


=====================================================================

Disclaimer
----------
The contents of this message and any attachments are intended
solely for the addressee's use and may be legally privileged and/or
confidential information. This message may not be retained,
distributed, copied or used if you are not he addressee of this
message. If this message was sent to you in error, please notify
the sender immediately by reply e-mail and then destroy the message
and any copies thereof.

Opinions, conclusions and other information in this message may be
personal to the sender and is not that of Linux Based Systems Design,
LinuxRulz or any of it's subsideries, associated companies or
principals and is therefore not endorsed by Linux Based Systems
Design or LinuxRulz. Due to e-maill communication being insecure,
Linux Based Systems Design and LinuxRulz do not guarantee
confidentiality, security, accuracy or performance of the e-mail.
Any liability for viruses is excluded to the fullest extent.
</pre>
</body>
</html>