[GRASS-dev] [GRASS GIS] #3262: v.external.out: SRID lost when not exactly defined

GRASS GIS trac at osgeo.org
Tue Jan 17 07:58:09 PST 2017


#3262: v.external.out: SRID lost when not exactly defined
--------------------------+-------------------------------------
  Reporter:  martinl      |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.2.1
 Component:  Vector       |    Version:  svn-trunk
Resolution:               |   Keywords:  v.external.out, postgis
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------------------

Comment (by martinl):

 Note that currently it's possible to force SRID by G72:v.external.out
 `option` parameter which helps to overcome this issue.

 {{{
 v.external.out output="PG:dbname=retia" format=PostgreSQL
 options=SRID=5514
 v.random p1 n=1000 -b --o
 psql retia -c "select f_table_name, srid from geometry_columns"
  f_table_name | srid
 --------------+------
  p1           | 5514
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3262#comment:1>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list