Opened 20 years ago
Last modified 16 years ago
#61 closed defect
Get boundary of a Geospatial_data object, to allow addition of high res accurate data and low res region data — at Version 3
| Reported by: | Nick | Owned by: | Nick |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Functionality and features | Version: | 1.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by )
Need to find the boundary of a set of data points...
Question: should the boundary be rectanglar?... gut says No
I suggest we use the alpha-shape code to produce tightly hugging polygon's containing the dataset and return them using a method such as G.get_boundary() with an optional argument for alpha. (Ole)
Use a clip function eg
Pa= G1.boundary() [need to do!]
G2.clip(Pa, inside =true) [DONE]
G = G1 + G2 [Done]
look inside utilities/polygon.py for clip function
Change History (3)
comment:1 Changed 19 years ago by
| Priority: | normal → low |
|---|---|
| Summary: | In Geospatial_data "__add__" remove data from one which is shared by both → In Geospatial_data "__add__" used the clip method, so data does not overlap |
comment:2 Changed 19 years ago by
| Description: | modified (diff) |
|---|---|
| Summary: | In Geospatial_data "__add__" used the clip method, so data does not overlap → Get boundary of a Geospatial_data object, to allow addition of high res accurate data and low res region data |
comment:3 Changed 19 years ago by
| Description: | modified (diff) |
|---|
Note: See
TracTickets for help on using
tickets.

this is connected to ticket:60