Skip to content
Prev 19470 / 29559 Next

invalid geometries from negative buffering in rgeos/sp

On Mon, 7 Oct 2013, Robert J. Hijmans wrote:

            
Maybe, but we do not have in sp a class for mixed types of geometries 
either, so we would have to define NULL of everything. OGC SFS has NULL, 
but I would argue that NULL geometries have no analytical meaning, like a 
point with no coordinate values - so we don't know where it is. It doesn't 
fit the Spatial class, unless we open for a bounding box with NA corners. 
In rgeos, the typical output if there is no positional data is the R NULL 
value. One might go towards objects with mixed geometries (GDAL is 
permitting them for the drivers that have them in the development 
version), but I don't see an analytical need. How often does, for example, 
newdata for predicting from a geostatistical model include both points and 
lines?

Roger