Opened 18 years ago

Closed 17 years ago

#1108 closed defect (fixed)

OGR C API (and swig) does not properly handle IsEmpty() method

Reported by: ethan@… Owned by: hobu
Priority: normal Milestone: 1.5.0
Component: default Version: unspecified
Severity: normal Keywords:
Cc: ethan@…

Description (last modified by hobu)

I spoke with you on IRC and you determined that IsEmpty() always returns FALSE 
in the C API. Also there is no entry point in the swig interface for this 
method.

-e

Change History (6)

comment:1 by hobu, 17 years ago

I have implemented these in my local tree.  Give me the word and I'll check it in for 1.4.

Howard

comment:2 by hobu, 17 years ago

Changed my mind for 1.4, but we'll add it in 1.5.

Howard

comment:4 by hobu, 17 years ago

Description: modified (diff)
Milestone: 1.5.0

comment:5 by hobu, 17 years ago

Of course I blew this away when we moved from CVS to SVN :( I will try to do it up again for 1.5.

comment:6 by hobu, 17 years ago

IsEmpty added in r11459 , r11460 , and r11461. Depends on GEOS being there or it will continue to always return false. I also exposed this out to the next-gen SWIG stuff.

comment:7 by hobu, 17 years ago

Resolution: fixed
Status: assignedclosed

This has been added to the C/C++ API and SWIG bindings (using GEOS for detection if it is there, otherwise defaulting to the previous behavior), but the autotest is still failing because of #1628

Note: See TracTickets for help on using tickets.