Opened 13 years ago

Closed 10 years ago

Last modified 10 years ago

#899 closed task (fixed)

shp2pgsql attribute names mapping -m switch

Reported by: strk Owned by: robe
Priority: medium Milestone: PostGIS 2.2.0
Component: utils/loader-dumper Version: master
Keywords: history Cc:


Since introduction of -m switch in pgsql2shp (ticket #885) it would be nice to have an -m switch in shp2pgsql, for simmetry.

To be extra nice, the _same_ mapping file should be used, which means reading DBF names on the second column and db attribute names on the first column.

Change History (8)

comment:1 by strk, 13 years ago

Component: postgisloader/dumper

comment:2 by robe, 12 years ago

Milestone: PostGIS 2.0.0PostGIS Future

comment:3 by robe, 10 years ago

Milestone: PostGIS FuturePostGIS 2.2.0
Priority: lowmedium

comment:4 by robe, 10 years ago

Owner: changed from pramsey to robe

comment:5 by robe, 10 years ago

Keywords: history added

Committed at r12821 for PostGIS 2.2. (includes regress test and doc update) Will close once bots have confirmed all is fine.

comment:6 by robe, 10 years ago

doesn't seem I can win here. Native mode didn't seem to work. Will try that again.

windows line breaks worked fine on my machine and on winnie but debbie complained. Changing line breaks to linux ones of mapping file at r12823 calmed debbie down but made winnie unhappy.

comment:7 by robe, 10 years ago

Resolution: fixed
Status: newclosed

hmm I guess both debbie and winnie are happy with linux line breaks. I think. I'll close now while the bots are both happy.

Travis is still working but his last complaint was totally illogical.

comment:8 by robe, 10 years ago

Summary: shp2pgsql attribute names mappingshp2pgsql attribute names mapping -m switch
Note: See TracTickets for help on using tickets.