Thanks for the answers. I want to develop a way to check if a selected vector layer has different geometries or if it is if one geometry type. I checked on OJ code but I didn' t find what I needed. I will study an alternative way. Best regards Peppe On Dec 29, 2015 6:46 PM, <edgar.sol...@web.de> wrote:
> On 29.12.2015 22:04, Giuseppe Aruta wrote: > > Hi, > > just a question: > > does OJ has a mathod to check if a Geometry Collection of items is made > by > > a single geometry type (points, linestrings, etc) or not? > > best regards and happy new year > > afaik when OJ loads data and is aware that there is only one geom type in > a collection it creates the Multi* variant. > > apart from that you must probably loop over all contained geoms and detect > yourself. a prexisting code would probably do nothing else. > > ..ede > > > ------------------------------------------------------------------------------ > _______________________________________________ > 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