Opened 10 years ago

Closed 10 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: UI/UX:

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@…> 10 years ago.
get convex_hull

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by Matt Bartolome <mattxbart@…>

Attachment: geodjango.txt added

get convex_hull

comment:1 Changed 10 years ago by jbronn

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 Changed 10 years ago by jbronn

Umm, I meant:

geo_model.get_geom_geos().convex_hull

comment:3 Changed 10 years ago by jbronn

Component: UncategorizedGIS
Triage Stage: UnreviewedDesign decision needed

See also #4322.

comment:4 Changed 10 years ago by jbronn

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