here's the rest of the shapefile (still one record, attached). <br><br><div class="gmail_quote">On Dec 13, 2007 11:04 AM, Willy-Bas Loos <<a href="mailto:willybas@gmail.com">willybas@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I have a small problem wit shp2pgsql, it doesn't convert my colleague's shapefile correctly.<br>I've attached the 1rec shapefile and the shp2pgsql result in this mail, hope that works.<br><br>I'm using this version: RCSID: $Id:
shp2pgsql.c,v <a href="http://1.88.2.7" target="_blank">1.88.2.7</a> 2005/08/29 22:36:14 strk Exp $<br>on windows XP.<br><br>The problem is in two of the boolean fields: "microrelie" boolean and "macrorelie" boolean.
<br>
They are both created, but their values don't make it into the INSERT statement. They turn up as empty strings, which is illegal SQL.<br>There are lots (37) of fields in the shapefile.<br>12 other boolean fields are handled correctly.
<br>The "bad" fields are the 24th and the 25th field.<br><br>is this some bug?<br><font color="#888888"><br>WBL<br>
</font></blockquote></div><br>