Hey,

rather than valuing Michaels proposal. Just a comment: If I remember 
correctly I did this change with the GeometryCollections to further 
process (split) a previously imported OpenStreetMap *.osm file 
(resulting in one Layer with everything mixed up). And I also think that 
I used the empty GeometryCollection trick to get some OSM objects loaded 
that may have no geometry (similar trick as with loading csv table?). So 
if Michaels changes still allow me to load and split (arbitrary) osm 
files, I am happy with it :)

cheers,
stefan

On 9/14/16 18:31, Michaël Michaud wrote:
> Hi list,
>
> ExtractLayerByGeometry is a very useful tool, but after several
> revisions, its semantic is still not the one I'd like:
>
> first version (beckerl)
> empty features -> deleted
> (multi)point -> first layer
> (multi)linestring -> second layer
> (multi)polygon -> third layer
>
> second version (beckerl)
> geometrycollection : decompose to simple geometries
> point -> first layer
> linestring -> second layer
> polygon -> third layer
>
> third version (mmichaud)
> same as previous but put empty geometrycollection in a separate layer
>
> fourth (last) version (mentaer)
> option explode geometries
> yes -> same as previous
> no -> all geometrycollections (including multi*) go to the same "mixed"
> layer
>
> What I want
> radio button 1 : extract simple types (point / linestring / polygon)
> after explosion of all geometrycollections and multi*
> radio button 2 : extract by shapefile base types (point / polyline /
> polygon / multipoint) + geometryCollection for true GeometryCollection
> radio button 3 : extract by dimension ((multi)point / (multi)linestring
> / (multi)polygon) + geometryCollection for true GeometryCollection
> - option : empty geometries in a separate layer
>
> Any comment ?
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


------------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to