Opened 8 years ago
Closed 8 years ago
#3262 closed defect (fixed)
v.external.out: SRID lost when not exactly defined
Reported by: | martinl | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.2.1 |
Component: | Vector | Version: | svn-trunk |
Keywords: | v.external.out, postgis | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
We assume that we have location with EPSG defined:
g.proj -p ... -PROJ_EPSG------------------------------------------------- epsg : 5514 ...
We define external format (PostGIS in our case):
v.external.out output="PG:dbname=grassdb" format=PostgreSQL
and run some module
v.random p1 n=1000 -b
Check result:
psql grassdb -c "select f_table_name, srid from geometry_columns" f_table_name | srid --------------+------ p1 | 0
SRID information is lost.
Change History (5)
comment:3 by , 8 years ago
Should be fixed in trunk (r70385). If no objection than will be backported to relbr72/70.
Note:
See TracTickets
for help on using tickets.
Note that currently it's possible to force SRID by G72:v.external.out
option
parameter which helps to overcome this issue.