Opened 10 years ago
Last modified 7 years ago
#3033 new enhancement
FID column name option
Reported by: | mohayemin | Owned by: | robe |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS Fund Me |
Component: | utils/loader-dumper | Version: | 2.1.x |
Keywords: | Cc: |
Description
I want an option by which I can specify name of the FID column while importing a shapefile to PostGIS using shp2pgsql
tool.
Currently there is no way to specify a name for FID column name. The name is set to gid
. If another column has this name, that column is renamed to __gid
.
A related question was posted in gis.stackexchange.
Change History (7)
comment:1 by , 10 years ago
Component: | postgis → loader/dumper |
---|---|
Milestone: | → PostGIS 2.2.0 |
Owner: | changed from | to
comment:2 by , 10 years ago
Milestone: | PostGIS 2.2.0 → PostGIS 2.3.0 |
---|
comment:3 by , 8 years ago
comment:4 by , 8 years ago
Paul are you planning on working on this in the next week or 2. If not I'm going to push this to future to get out of 2.3 slate.
comment:5 by , 8 years ago
No, I have no eta on working on this.
For the project I'm doing I have to move to ogr2ogr since I need to handle more than just shapefiles.
comment:6 by , 8 years ago
Milestone: | PostGIS 2.3.0 → PostGIS 2.4.0 |
---|
comment:7 by , 7 years ago
Milestone: | PostGIS 2.4.0 → PostGIS Fund Me |
---|
For what I'm working on I'd like to completely drop the gid column - in fact, drop all columns but the geometry.