Opened 15 years ago
Closed 15 years ago
#369 closed defect (fixed)
shp2pg-gui the geometry column setting not sticking
Reported by: | robe | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 1.5.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
This is again testing my 12/31/ build so perhaps its been fixed since then.
When i change the geometry column name to "geog"
It flips back the "the_geom" as soon as I click the import button.
Change History (4)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Its definitely buggy then. It shouldn't do this when I click the "Import" button. At that point everything is set.
Actually I had chosen geography type and it flipped the name to geog as you said, but and then when I clicked "Import" it flipped it to "the_geom"
So I can never get a "geog" name out of this thing.
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Okay works, but I see my password again when I click test connection. I'll reopen that ticket
This is by design. The default "geometry column" is "the_geom" and the default "geography column" is "geog". The logic is set up such that, if you open Options, then change the load type to geography, the default column name will reflect the load type. How do I know if you have a column name that is the default? I compare it. So, because you have "geog" (the default geography column) in your entry, but you are loading geometry, I assume "oh, she's using defaults" and I change it to the default geometry column name. If you use any other name than "geog", you'll find that the value is perfectly sticky. You'll also find that if you don't touch the name, and go into the Options menu and select a geography load, the name will automatically change to "geog", which is what we want.