Opened 16 years ago

Closed 15 years ago

#175 closed defect (fixed)

'SRID=26915;POINT(482020.9789850 4984378.)' fails to parse

Reported by: rpriedhorsky Owned by: pramsey
Priority: low Milestone: PostGIS 1.4.1
Component: postgis Version:
Keywords: Cc:

Description

** What steps will reproduce the problem?

=> select AsEWKT(GeomFromEWKT('SRID=26915;POINT(482020.9789850 4984378.)'));

(With no line breaks.)

Note the missing "0" after "4984378.". It's indeed a little malformed, but
unambiguous and IMO should be parseable.

** What is the expected output?

                 asewkt                  
-----------------------------------------
 SRID=26915;POINT(482020.978985 4984378)
(1 row)

** What do you see instead?

ERROR:  parse error - invalid geometry

** What version of the product are you using? On what operating system?

                        postgis_full_version                               
----------------------------------------------------------------------------------
 POSTGIS="1.3.5" GEOS="3.0.3-CAPI-1.4.2" PROJ="Rel. 4.6.0, 21 Dec 2007"
USE_STATS

We're on Ubuntu Hardy.

34 [reid@ugly reid]$ uname -a
Linux ugly 2.6.24-23-generic #1 SMP Wed Apr 1 21:43:24 UTC 2009 x86_64 GNU/Linux
35 [reid@ugly reid]$ dpkg -l | grep postgres
ii  postgresql-8.2                             8.2.7-1                              
               object-relational SQL database, version 8.2 server
ii  postgresql-client-8.2                      8.2.7-1                              
               front-end programs for PostgreSQL 8.2
ii  postgresql-client-common                   87                                   
               manager for multiple PostgreSQL client versions
ii  postgresql-common                          87                                   
               PostgreSQL database-cluster manager
ii  postgresql-server-dev-8.2                  8.2.7-1                              
               development files for PostgreSQL 8.2 server-side progr

Change History (6)

comment:1 by rpriedhorsky, 16 years ago

Cc: rpriedhorsky added

comment:2 by rpriedhorsky, 16 years ago

Cc: reid@… added; rpriedhorsky removed

comment:3 by rpriedhorsky, 16 years ago

Cc: reid@… removed

comment:4 by pramsey, 15 years ago

Milestone: postgis 1.4.1

comment:5 by pramsey, 15 years ago

Patched in trunk at r4739. Patched in 1.4 branch at r4740.

comment:6 by pramsey, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.