Opened 15 years ago
Closed 15 years ago
#218 closed enhancement (fixed)
Strip particular types out of a GeometryCollection
Reported by: | pramsey | Owned by: | pramsey |
---|---|---|---|
Priority: | low | Milestone: | PostGIS 1.5.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
The constructive function (union / difference) often create GeometryCollections, while people usually want a homogeneous result back (polygon, multilinestring, etc). A helper function that takes in collection and outputs only the desired type would make it easier for people to do these operations entirely in the database.
Change History (6)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Paul -- okay -- this is the second time you have done this, so I guess its faster to just point this out rather than clean up after you.
Can you please put in a
Availability: 1.5
that's how it gets flagged to go in the New in 1.5 section.
comment:5 by , 15 years ago
No -- but would help if you defined in your documentation what the constants are. I as an end user would just be guessing at the wind to know what "1" means? More examples would help too :)
comment:6 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Ok, more references to constants and another example added at r4855
Main commit at r4847. Implementation, documentation, regressions.