Hi,
Some functions seems interesting enough. For some others, I would need
real use case
to motivate me.
For translate/scale function, I think we already have good tooling with
interactive move/scale tools in the toolbox
and affine transform in the menu. Any think you can't do with that ?
I don't know any usage of octogonal envelope. Maybe used by JTS for
internal algorithms.
Create fractal geometries or random points/lines/polygons seems
interesting to me (I mean I often have to
create random data for testing purpose. A few years ago, I had created a
koch curve of 1 000 000 points to
test really big object).
OpenJUMP can already extract points like TestBuilder (and more as it can
introduce offset
thanks to internal JTS API)
ExtractLine would be a nice addition.
Michaël
Le 09/12/2015 21:53, Landon Blake a écrit :
Jukka:
On which JTS class do you find the scale function?
How do we currently support polygon hole editing in OpenJUMP?
Landon
On Wed, Dec 9, 2015 at 6:37 AM, Rahkonen Jukka (MML)
<jukka.rahko...@maanmittauslaitos.fi
<mailto:jukka.rahko...@maanmittauslaitos.fi>> wrote:
Hi Michaël,
I have tried most functions which are available in JTS Testbuilder
but it feels that there are not many that could be just added into
OpenJUMP without making new user interface elements for using
them. These three might be possible to add without new UI but I
am not sure how useful they are for the users
-TranslateCentreToOrigin
-TranslateToOrigin
-OctagonalEnvelope
These functions feel interesting but they require some programming:
-Scale
-CreateFractalShape feels good for creating complex geometries for
testing.
-GetGeometryN and GetPolygonHoleN for editing and removing parts
and holes from multigeometries and geometrycollections – should be
topped up with UI button GetNext for selecting and panning to the
next geometry/hole.
-ExtractLine and ExtractPoint would be nice additions to linear
referencing tools. Extract line tool could be improved a bit to
accept also start distance for the extracted line (extract between
1 and 5 km) and count distance from the end of the linestring
(extract the last km).
I also feel that it could be possible to develop a nice plugin
that would utilize the numerous RandomPoints functions. I have not
yet discovered an exact use case but perhaps anonymizing
statistical data could be one, and splitting polygons into about
equal areas by creating RandomPointsInPolygon first and applying
Voronoi polygons and merging neighboring polygons in some clever
way afterwards. See this for reference
http://gis.stackexchange.com/questions/171727/polygon-split-with-defined-area.
I think that all these can be rather plans for the future than
anything to implement into the next OJ release.
-Jukka-
Michaël Michaud wrote:
Hi Jukka,
Adding such geometry functions to OpenJUMP is generally not
difficult. I have added “Minimum Bounding Circle” along with some
others about one year ago,
and if you notice some other useful jts functions which are not
available in OpenJUMP, I will be pleased to add them.
Michaël
Le 19/11/2015 13:24, Rahkonen Jukka (MML) a écrit :
Hi,
There are some cool function in JTS
https://sourceforge.net/p/jts-topo-suite/code/HEAD/tree/trunk/. I
guess that some OpenJUMP functions in the geometry functions
menu are the same JTS functions, like “Minimum Bounding Circle”.
I wonder how difficult it would be to add some more functions
from JTS to OpenJUMP. Best way for browsing and testing the
available functions is to download JTS from
https://sourceforge.net/projects/jts-topo-suite/files/jts/ and
run the testbuilder application from the bin directory.
It seems that there is some unmaintained jts-jump plugin
https://sourceforge.net/p/jts-topo-suite/code/HEAD/tree/trunk/jts-jump
but I have no idea about what it was.
-Jukka Rahkonen-
------------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
<mailto: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
<mailto: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
------------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel