GeoTools is a spatial library responsible for accessing the data, and drawing
it. It does provide a bit of SWT code to help with the tutorials, but that is
not intended as a desktop GIS.
If you would examples of how to edit as a developer look at the FeatureStore
API, you can use it to update the Geometry for a feature.
If you need to edit JTS Geometry it is a bit more tricky (often you end up
taking a copy of the co-ordinates into your own data structure for interactive
editing).
Have a look at the Open Jump project (Swing based) and uDig project (SWT based)
for examples.
Note our gt-swing module does support very simple tools, and you could create
edit tools if interested following the above examples. As of yet nobody has
volunteered to write this functionally for the community.
--
Jody Garnett
On Wednesday, 3 April 2013 at 2:54 AM, Farrukh Najmi wrote:
>
> OK, how about some high level hints to point me in the right direction?
>
> On 04/01/2013 12:19 PM, Farrukh Najmi wrote:
> > Hi Guys,
> >
> > I am wondering if any one has any sample code to share that draws
> > points, lines and polygons on a map and allows basic editing of such
> > geometries (perhaps just dragging and moving them). Here is an example
> > in javascript with openlayers that is very much what I am looking for in
> > Java / geotools:
> >
> > http://openlayers.org/dev/examples/drag-feature.html
> >
> > Thanks for your help.
>
>
> --
> Regards,
> Farrukh Najmi
>
> Web: http://www.wellfleetsoftware.com
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> GeoTools-GT2-Users mailing list
> [email protected]
> (mailto:[email protected])
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users