Opened 19 years ago

Closed 16 years ago

#61 closed defect (fixed)

Get boundary of a Geospatial_data object, to allow addition of high res accurate data and low res region data

Reported by: Nick Owned by: ole
Priority: low Milestone:
Component: Functionality and features Version: 1.0
Severity: normal Keywords:
Cc:

Description (last modified by ole)

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 (5)

comment:1 Changed 19 years ago by anonymous

Priority: normallow
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

this is connected to ticket:60

comment:2 Changed 18 years ago by nick

Description: modified (diff)
Summary: In Geospatial_data "__add__" used the clip method, so data does not overlapGet boundary of a Geospatial_data object, to allow addition of high res accurate data and low res region data

comment:3 Changed 18 years ago by ole

Description: modified (diff)

comment:4 Changed 17 years ago by nick

Owner: changed from Nick to ole

Not sure the priority of this ticket anymore... i'm reassigning it to Ole

comment:5 Changed 16 years ago by nariman

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.