[postgis-tickets] [PostGIS] #4121: Minor error in PostGIS 2.4.5 dev Manual’s example

PostGIS trac at osgeo.org
Tue Jul 10 07:11:50 PDT 2018


#4121: Minor error in PostGIS 2.4.5 dev Manual’s example
-----------------------------------+---------------------------
 Reporter:  dimishra               |      Owner:  pramsey
     Type:  defect                 |     Status:  new
 Priority:  low                    |  Milestone:  PostGIS 2.4.5
Component:  postgis                |    Version:  2.4.x
 Keywords:  Postgis Documentation  |
-----------------------------------+---------------------------
 I have observed a minor error in PostGIS 2.4.5 dev Manual’s example on
 page 33/802 and 34/802.

 Going by “gtest” table structure, insert statement should have column name
 “GID” instead of ‘ID’.

  CREATE TABLE gtest ( **gid** serial primary key, name varchar(20) , geom
 geometry(LINESTRING) );

  INSERT INTO gtest (**ID**, NAME, GEOM) VALUES (1, 'First
 Geometry',ST_GeomFromText ('LINESTRING(2 3,4 5,6 5,7 8)'));

 Hope this makes sense!

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4121>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list