[postgis-tickets] [PostGIS] #2166: parse error hint incorrect position
PostGIS
trac at osgeo.org
Tue Jan 8 05:04:41 PST 2013
#2166: parse error hint incorrect position
-------------------------+--------------------------------------------------
Reporter: wbloos | Owner: pramsey
Type: defect | Status: new
Priority: low | Milestone: PostGIS 2.0.3
Component: postgis | Version: 2.0.x
Keywords: error, hint |
-------------------------+--------------------------------------------------
The hint says that the parse error occus at position 13, but it is really
16. (POIN *T*, missing the T)
mydb=# select
st_asewkt(st_makevalid(st_geomfromewkt('SRID=28992;POIN(100000
400000)')));
ERROR: parse error - invalid geometry
HINT: "SRID=28992;PO" <-- parse error at position 13 within geometry
(POSTGIS="2.0.1 r9979" GEOS="3.3.3-CAPI-1.7.4" PROJ="Rel. 4.7.1, 23
September 2009")
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2166>
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