Opened 17 years ago
Closed 17 years ago
#1686 closed enhancement (fixed)
Compute and return the area GeometryCollection or issue an error
Reported by: | Ari Jolma | Owned by: | Mateusz Łoskot |
---|---|---|---|
Priority: | normal | Milestone: | 1.5.0 |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | warmerdam |
Description
OGR_G_GetArea( OGRGeometryH hGeom ) in ogr_api.h silently ignores other geometry types than OGRLinearRing, OGRPolygon or OGRMultiPolygon. It should at least issue a warning. Computing the area of a GeometryCollection for example would be simple.
Attachments (1)
Change History (5)
comment:1 by , 17 years ago
Cc: | added |
---|---|
Component: | default → OGR_SF |
Milestone: | → 1.5.0 |
Owner: | changed from | to
comment:2 by , 17 years ago
Status: | new → assigned |
---|
by , 17 years ago
Attachment: | gdal_svn_trunk_geometry_collection_get_area_bug1686.patch added |
---|
Note:
See TracTickets
for help on using tickets.
Please implement in trunk as time permits.