Hi,
I was searching tools for making some CAD alike drawing and studied what we
have. I found:
1. Some of the Python tools in the standard delivery has CAD-alike
features (rotated rectangle, Arc tool).
2. Peppe has made a CAD tools plugin that adds some CAD tools into the
default digitizing box.
3. Kosmo GIS has a special CAD toolbox with about 15 tools.
Quick comments:
1. Python tools feels somehow like a promising way for writing new
drawing tools. The Python part of the tools look almost understandable for
non-programmer and I suppose that Python is the most common geospatial
scripting language at the moment. However, if I understand right for creating
new tools Python is not enough but also some java programming is needed. By the
way, the Road Arc tools does not work with latest snapshots and it makes so bad
a jam that only killing the process helps. The error from the console window:
Exception in thread "AWT-EventQueue-0" Traceback (innermost last):
File
"C:\oj_test\OJ_18\OpenJUMP-20150116-r4270-PLUS\lib\ext\jython\RoadTool.py",
line 201, in handleDeActivation
AttributeError: 'NoneType' object has no attribute 'actionPerformed'
Exception in thread "AWT-EventQueue-0" Traceback (innermost last):
2. I would rather place the additional CAD tools to their own tool box
because they do not behave exactly as the standard tools. Many of the OJ
keyboard shortcuts stop working when a CAD tools is selected. On the other
hand, the SHIFT key does not alter the behaviour of CAD tools as planned in
most cases. The draw vertical/horizontal tool, tools for drawing closed
linestrings and the annotation layer tool would be nice additions to OJ PLUS.
Annotation tool might need some revisiting.
3. Many of the Kosmo tools are fine. I wonder how difficult it would be
to adapt some of those for OJ. For example the "Continue lines until they
cross" tools is simple and clever and I do not remember such tool in other open
source GIS. "Draw perpendicular" works well also with circles and Bezier curves
but it would be nice to have a sister tool "Draw tangent".
None of these CAD tools had a tool for my need. Or perhaps the "Draw with
commands" tool in Kosmo has but I could not discover the right syntax even I
found the manual
http://www.kosmoland.es/public/kosmo/v_2.0/docs/Extension_Herramienta_CAD.pdf.
What I would like to do feels simple to me:
- Draw a point or first vertex to coordinates x/y
- Draw next point or vertex by angle and distance or to next given
coordinates
I know I can workaround the manual feed of coordinates effectively by using WKT
but not the angle + distance alternative.
-Jukka Rahkonen-
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel