Opened 12 years ago

Closed 12 years ago

#2166 closed defect (wontfix)

parse error hint incorrect position

Reported by: wbloos Owned by: pramsey
Priority: low Milestone: PostGIS 2.0.4
Component: postgis Version: 2.0.x
Keywords: error, hint Cc:

Description

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")

Change History (1)

comment:1 by pramsey, 12 years ago

Resolution: wontfix
Status: newclosed

This is just popping out of lex, and it's non critical, so I'm going to leave "as is".

Note: See TracTickets for help on using tickets.