Opened 9 years ago

Closed 9 years ago

#3230 closed defect (worksforme)

No error message when trying to create buffer from geography without SRID

Reported by: jo Owned by: pramsey
Priority: medium Milestone: PostGIS 2.1.9
Component: postgis Version: 2.1.x
Keywords: geometry cast, buffer, error Cc:

Description

When casting a geometry (without a SRID) to geography and creating a buffer the result set will be empty without any error message. There should be an error message that reports the missing SRID.

Change History (1)

comment:1 by pramsey, 9 years ago

Resolution: worksforme
Status: newclosed

Not as far as I can tell:

select st_astext(st_buffer('POINT(0 0)'::geometry::geography,1000));
Note: See TracTickets for help on using tickets.