Le 24/06/2011 11:15, edgar.sol...@web.de a écrit :
peppe votes to have the geometry conversion also in the layerview context menu.

as i do not work with gis i don't know how often one needs this functonality. 
so i put that up for voting. anybody else in favor or against it?

@michael: your vote on integrating the geomconv into core is still missing.
Hi all,

I have just tested geomconv for the first time. Good work.
Geometry type conversion is a very useful feature.
I agree with peppe that it would be nice to have the menu in layerview context menu

In my opinion, it would need a bit more work (and translation).
I would vote to include it in 1.4.2 (and I'm ready to help to improve and to translate it).

Here are my remarks (more or less important, feedback is welcome) :

1) It took me some times to understand the differences with existing tools like extract points
I would reorganize Edit Geometry convert menu into
- Edit Geometry > Extract (points, boundaries, segments...)
    these plugins work on a whole layer and create a new one for the result
- Edit Geometry > Convert (ede's conversion tool)
    these plugins work mainly on a selection and modify directly geometries

Note : conversion are undoable, which is a great feature !

2) If no feature is selected, the tool converts the whole layer
This is a useful feature, but It would be nice to warn the user, as the menu name is convert "selected" geometry

3) Converting polygons with holes or multipolygons into linestrings create bridges joining linear components
It should be converted int multilinestrings
Why not use *com.vividsolutions.jts.geom.util.LinearComponentExtracter*

In a more general way, I would propose to convert geometries into :
- ponctual, lineal or polygonal geometries

The plugin should choose the best geometry type
- points into punctual -> points
- any other geometry into punctual -> multipoint
- point into lineal : not possible
- multipoint into lineal -> linestring (or linearring if first = last coordinate)
- linestring into lineal -> linestring
- polygon without hole into lineal -> linear ring
- polygon with holes or multipolygons into lineal -> multilinestring
- point into polygonal -> not possible
- linestring into polygonal -> polygon if closed (option to close it ?)
- multilinestring into polygon -> polygon or multipolygon (may be difficlut to find interior rings and exterior rings, I have some code for that)

4) Missing coversion of polygons with holes and multi-polygons into multilinestring

Possible improvements :

5) The tool works on a per feature basis. It means that a "linestring" cannot be converted into a "point". It may be useful, but it is not always intuitive. I would like an option like "authorize conversion of one feature into several". Just an idea for improvement, not a requirement. If neither a multipoint nor a linestring, nor a polygon can be converted to a point ("Too many points selected. Only one point needed") what can the "convert to point" plugin do ?

6) Converting linearring into multipoints keeps the starting and the ending point (it's OK as the default behaviour, but an option as the one in extract points would be welcome) Converting multipoints into linear ring fails if last point is not equals to first one (it's OK as the default behaviour, but an option to close the line would be welcome)

7) Missing conversion of multi linear rings into polygons or multi-polygons (not easy)

Hope it helps

regards ede

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense..
http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security 
threats, fraudulent activity and more. Splunk takes this data and makes 
sense of it. Business sense. IT sense. Common sense.. 
http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to