Opened 18 years ago

Closed 17 years ago

#4254 closed (wontfix)

[gis] patch adding method get_%s_convex_hull to class

Reported by: Matt Bartolome <mattxbart@…> Owned by: jbronn
Component: GIS Version: other branch
Severity: Keywords: gis convex_hull
Cc: Triage Stage: Design decision needed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I added this method for drawing polygons with lots of points on google maps. Also, it can more sense to use this when doing spatial queries where the exact boundary of your polygon doesn't matter too much.

Attachments (1)

geodjango.txt (2.0 KB ) - added by Matt Bartolome <mattxbart@…> 18 years ago.
get convex_hull

Download all attachments as: .zip

Change History (5)

by Matt Bartolome <mattxbart@…>, 18 years ago

Attachment: geodjango.txt added

get convex_hull

comment:1 by jbronn, 18 years ago

Owner: changed from Jacob to jbronn

I'm tempted to wontfix this because the equivalent may be accomplished by doing:

geo_model.get_geom_geos().convex_hell

The get_GEOM_centroid, get_GEOM_wkt, and get_GEOM_area routines are artifacts of the pre-GEOSGeometry revisions. I'm not sure if I want to start polluting the geographic model namespace with every routine available from GEOSGeometry. However, I'm open to a convincing argument =)

comment:2 by jbronn, 18 years ago

Umm, I meant:

geo_model.get_geom_geos().convex_hull

comment:3 by jbronn, 18 years ago

Component: UncategorizedGIS
Triage Stage: UnreviewedDesign decision needed

See also #4322.

comment:4 by jbronn, 17 years ago

Resolution: wontfix
Status: newclosed

No convincing argument supplied, so I'm going to wontfix this. Further, when I get around to implementing lazy-instantiation is this will no longer be necessary.

Note: See TracTickets for help on using tickets.
Back to Top