Re: [JPP-Devel] Proj4j - Martin steps ahead

2010-02-02 Thread Rahkonen Jukka
Hi, Projection support would be nice to have sometimes. By the way, the two new Spatialite plugins give now another alternatives. Spatialite databases which have been created with Spatialite-GUI contains support for more than 3000 projections by default. -Jukka- Stefan Steiniger wrote:

[JPP-Devel] Proj4j - Martin steps ahead

2010-02-02 Thread Stefan Steiniger
So Guys - guess what: Martin revived Proj4j, i.e. Proj4 for Java http://lin-ear-th-inking.blogspot.com/2010/01/announcing-proj4j.html seems like we can start thinking about to seriously give OpenJUMP projection support (for those that don't use PostGIS - like me) ;) thank you Martin! stefan

Re: [JPP-Devel] Mouse wheel zoom and WMS

2010-02-02 Thread Larry Becker
OK, I have committed an experimental version of AbstractZoomTool that incorporates a deferred mouse wheel zoom for half a second. It does an image stretch from the center of the panel until the half second expires. Please test after tomorrow's nightly build. Comments? regards, Larry On Mon, F

Re: [JPP-Devel] [openjump-users] cancel CursorTool-Command

2010-02-02 Thread Michaël Michaud
Hi, In the option dialog box, edition tab, you have an option which does exactly that : Prevents edit resulting in invalid geometries You can search the code from EditOptionsPanel or EditTransaction classes Michaël Stefan Steiniger a écrit : > Hei Volker, > > you may have a look at exiting edi

Re: [JPP-Devel] postgis, AdhocQuery and ConnectionDescriptor

2010-02-02 Thread Michaël Michaud
Hi Elton, This is not an easy question If I look at the javadoc, it seems that from the layer, I can get the connection myLayer.getDataSourceQuery().getDataSource().getConnection(); This is not a JDBC connection but a OpenJUMP connection. If you use the right syntax for the query, from there,

[JPP-Devel] postgis, AdhocQuery and ConnectionDescriptor

2010-02-02 Thread Elton Chan
Hi there, I have two postgis layers from the same database added in openjump and would like to perform further query with code using SQL and AdhocQuery. How can I retrieve the database connection of the postgis layer (added manually)? It seems that I need to re-construct a parameter list for the

Re: [JPP-Devel] [openjump-users] cancel CursorTool-Command

2010-02-02 Thread Stefan Steiniger
Hei Volker, you may have a look at exiting editing tools? e.g. check the tools in org.openjump.core.ui.plugin.edittoolbox.* in "curosortools" you could look at AutoCompletePolygon or ConstrainedWhateverTool but I wonder why you would need to bound this to a layer and not just as general action f

Re: [JPP-Devel] [openjump-users] cancel CursorTool-Command

2010-02-02 Thread vowaha19
Hello "The Sunburned Surveyor", thanks for your answer. I guess this list make more sense :-) ( wasn't aware of this ) as explained I'm already using a LayerListener. Let me try to explain with an example: - I've added a Layerlistener and get informed by its featureChanged-Method - The user

Re: [JPP-Devel] [openjump-users] cancel CursorTool-Command

2010-02-02 Thread Sunburned Surveyor
Volker, You should be able to do it in the same LayerListener. For example: If you want to write a couple lines of text to a text file everytime nodes are deleted from a feature, you would implement LayerListener. In the LayerListener.featureChanged method you would need to test the modified featu

Re: [JPP-Devel] Survey tool

2010-02-02 Thread Larry Becker
We did find that the Traverse tool on the ArcGIS COGO toolbox is an acceptable solution, although it was trial and error to determine how to enter DMS angles in it. Larry On Mon, Feb 1, 2010 at 3:12 PM, Sunburned Surveyor < sunburned.surve...@gmail.com> wrote: > No problem. I do want to whip up