Ticket #1614 (closed defect: fixed)
msOGRShapeFromWKT incorrectly tests msOGRGeometryToShape return value
| Reported by: | szekerest | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | GDAL Support | Version: | 4.6 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
These is a confusion in msOGRShapeFromWKT by testing the retval of the msOGRGeometryToShape call. msOGRGeometryToShape returns MS_SUCCESS when the function sucessfully completed, but msOGRShapeFromWKT tests against MS_FALSE. Both of the constants were defined to zero so the success will be treated as an error Tamas Szekeres
Change History
Note: See
TracTickets for help on using
tickets.
