Opened 13 years ago
Closed 13 years ago
#1219 closed defect (fixed)
Unexpected typmod in points loaded via shp2pgsql
Reported by: | strk | Owned by: | mcayland |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.0 |
Component: | utils/loader-dumper | Version: | master |
Keywords: | Cc: |
Description
I've done: shp2pgsql linea.shp linea | psql
In the resulting table, shown with \d, the geometry columns is:
geom | geometry(Point,2097151) |
Shouldn't it have an unknown SRID (0 or -1, dunno) ? For sure there's no such thing as that srid in spatial_ref_sys…
ST_SRID(geom) returns -1 for all entries.
Change History (3)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Component: | postgis → loader/dumper |
---|---|
Owner: | changed from | to
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Everything works fine as of r8710 not sure fixed when
Note:
See TracTickets
for help on using tickets.
Yah I noticed this myself. It's because we don't have anyway of representing -1 but figured that was still on the todo so was going to press the point later.
e.g.