<div dir="ltr"><div>Thank you,<br>it was exactly this!<br></div>Cheers,<br>Rémi-C<br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-09-19 20:03 GMT+02:00 Nicolas Ribot <span dir="ltr"><<a href="mailto:nicolas.ribot@gmail.com" target="_blank">nicolas.ribot@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>-D option should appear just after shp2pgsql, not after the shape and table parameters, no ?</div><div><br></div><div>Nicolas</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 19 September 2014 19:29, Rémi Cura <span dir="ltr"><<a href="mailto:remi.cura@gmail.com" target="_blank">remi.cura@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div>Hey list,<br></div>I'm a bit ashamed to be stuck with a seemingly trivial problem :<br></div>executing <br>`<br>/usr/lib/postgresql/9.3/bin/shp2pgsql 2_poles.shp cmm.temp_import_poles -D<br>`<br></div>output somehting like <br>`<br></div>create table<br>INSERT INTO "cmm"."temp_import_poles" ("label","class","length_[m]","verticality","rotation_[d","gps_time_[s",geom) VALUES ('1','16','0.0','0.0','0.0','0','01010000C00000E018A0E02341000080D8E52B5A41000000E06E0F49400000000000000000');<br><div>`<br><div><br></div><div>I'm pretty sure this isn't the postgres dump it should be .<br><br></div><div>I aim to load shapfile from within the server (COPY PROGRAMM 'shp2...').<br><br></div><div>Somebody has a clue about this?<br><br>Cheers,<br>Rémi-C<br></div></div></div>
<br></div></div>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br></blockquote></div><br></div>