Mateusz Łoskot wrote: > Martin Davis wrote: >>> Yes, it should choose particular type depending on input types. >>> E.g. intersection of two envelopes should produce new envelope. If >>> those envelopes do not intersect, then empty envelop is returned. >> So what type is returned if the two input geometries have different >> type? > > I think there is no one possibility. > The result may be produced as point, multipoint, polygon or even > heterogenous geometry collection. Every such type can be returned by > reference to the base type of Geometry.
Oh Mom! I'm an idiot :-) Sorry, too much posts in the same time. The question is about what to return as empty geometry. I think empty geometry collection is fine. Cheers -- Mateusz Łoskot http://mateusz.loskot.net _______________________________________________ geos-devel mailing list geos-devel@geos.refractions.net http://geos.refractions.net/mailman/listinfo/geos-devel