shp2pgsql generates fake fail full of zeroes

Started by Raivo Rebaneabout 3 years ago1 messagesgeneral
Jump to latest
#1Raivo Rebane
raivore55@gmail.com

<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns="http://www.w3.org/TR/REC-html40&quot;&gt;&lt;head&gt;&lt;meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=ET link=blue vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=EN-US>I am usingPS F:\3D-data\Kataster&gt; shp2pgsql -g piirid SHP_KATASTRIYKSUS kataster &gt; kataster.sql under Windows 10<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>And it’s output is  full of zeroe<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>Cygwin helps to find them out,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>Raivo@DESKTOP-69FUU49 /cygdrive/f/3D-data/Kataster<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>$ cat kataster.sql | less<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>&lt;FF&gt;&lt;FE&gt;S^@E^@T^@ ^@C^@L^@I^@E^@N^@T^@_^@E^@N^@C^@O^@D^@I^@N^@G^@ ^@T^@O^@ ^@U^@T^@F^@8^@;^@^M^@<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>^@S^@E^@T^@ ^@S^@T^@A^@N^@D^@A^@R^@D^@_^@C^@O^@N^@F^@O^@R^@M^@I^@N^@G^@_^@S^@T^@R^@I^@N^@G^@S^@ ^@T^@O^@ ^@O^@N^@;^@^M^@<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>^@B^@E^@G^@I^@N^@;^@^M^@<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>^@C^@R^@E^@A^@T^@E^@ ^@T^@A^@B^@L^@E^@ ^@&quot;^@k^@a^@t^@a^@s^@t^@e^@r^@&quot;^@ ^@(^@g^@i^@d^@ ^@s^@e^@r^@i^@a^@l^@,^@^M^@<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>^@&quot;^@t^@u^@n^@n^@u^@s^@&quot;^@ ^@v^@a^@r^@c^@h^@a^@r^@(^@2^@5^@)^@,^@^M^@<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>^@&quot;^@h^@k^@o^@o^@d^@&quot;^@ ^@v^@a^@r^@c^@h^@a^@r^@(^@4^@)^@,^@^M^@<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>^@&quot;^@m^@k^@_^@n^@i^@m^@i^@&quot;^@ ^@v^@a^@r^@c^@h^@a^@r^@(^@1^@0^@0^@)^@,^@^M^@<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>^@&quot;^@o^@v^@_^@n^@i^@m^@i^@&quot;^@ ^@v^@a^@r^@c^@h^@a^@r^@(^@1^@0^@0^@)^@,^@^M^@<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>^@&quot;^@a^@y^@_^@n^@i^@m^@i^@&quot;^@ ^@v^@a^@r^@c^@h^@a^@r^@(^@1^@0^@0^@)^@,^@^M^@<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>^@&quot;^@l^@_^@a^@a^@d^@r^@e^@s^@s^@&quot;^@ ^@v^@a^@r^@c^@h^@a^@r^@(^@2^@4^@0^@)^@,^@^M^@<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>^@&quot;^@r^@e^@g^@i^@s^@t^@r^@&quot;^@ ^@d^@a^@t^@e^@,^@^M^@<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>^@&quot;^@m^@u^@u^@d^@e^@t^@&quot;^@ ^@d^@a^@t^@e^@,^@^M^@<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>^@&quot;^@s^@i^@h^@t^@1^@&quot;^@ ^@v^@a^@r^@c^@h^@a^@r^@(^@4^@5^@)^@,^@^M^@<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>^@&quot;^@s^@i^@h^@t^@2^@&quot;^@ ^@v^@a^@r^@c^@h^@a^@r^@(^@4^@5^@)^@,^@^M^@<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>^@&quot;^@s^@i^@h^@t^@3^@&quot;^@ ^@v^@a^@r^@c^@h^@a^@r^@(^@4^@5<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>How to generate proper sql output<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>Regards<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>Raivo<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986&quot;&gt;Mail&lt;/a&gt; for Windows</p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>