Opened 12 years ago
Closed 9 years ago
Last modified 9 years ago
#899 closed task (fixed)
shp2pgsql attribute names mapping -m switch
|Reported by:||strk||Owned by:||robe|
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 , 12 years ago
|Component:||postgis → loader/dumper|
comment:2 by , 11 years ago
|Milestone:||PostGIS 2.0.0 → PostGIS Future|
comment:3 by , 9 years ago
|Milestone:||PostGIS Future → PostGIS 2.2.0|
|Priority:||low → medium|
comment:4 by , 9 years ago
comment:5 by , 9 years ago
comment:6 by , 9 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 , 9 years ago
|Status:||new → closed|
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 , 9 years ago
|Summary:||shp2pgsql attribute names mapping → shp2pgsql attribute names mapping -m switch|
Committed at r12821 for PostGIS 2.2. (includes regress test and doc update) Will close once bots have confirmed all is fine.