[postgis-users] shp2pgsql -D not working properly

Rémi Cura remi.cura at gmail.com
Sun Sep 21 01:43:32 PDT 2014


Thank you,
it was exactly this!
Cheers,
Rémi-C

2014-09-19 20:03 GMT+02:00 Nicolas Ribot <nicolas.ribot at gmail.com>:

> Hi,
>
> -D option should appear just after shp2pgsql, not after the shape and
> table parameters, no ?
>
> Nicolas
>
> On 19 September 2014 19:29, Rémi Cura <remi.cura at gmail.com> wrote:
>
>> Hey list,
>> I'm a bit ashamed to be stuck with a seemingly trivial problem :
>> executing
>> `
>> /usr/lib/postgresql/9.3/bin/shp2pgsql 2_poles.shp cmm.temp_import_poles -D
>> `
>> output somehting like
>> `
>> create table
>> 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');
>> `
>>
>> I'm pretty sure this isn't the postgres dump it should be .
>>
>> I aim to load shapfile from within the server (COPY PROGRAMM 'shp2...').
>>
>> Somebody has a clue about this?
>>
>> Cheers,
>> Rémi-C
>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20140921/baf25c02/attachment.html>


More information about the postgis-users mailing list