Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Some plotting issues and questions


On Jul 18, 2007, at 2:04 AM, Tom (JDi Solutions) wrote:

Hi there,

Further to my previous email I am now trying to plot data using only WFS layers and a few issues / feature requests / bugs have come to light, hopefully the images attached will help illustrate and someone can point me in the right direction...

Snapping to points on any layer
this is great but is it possible to show all the nodes on the map so I can see what I'm snapping to before I click the mouse button?  Image 1 (attached) shows a curved line in my base data that I want to snap to.  (The circle is the cursor, no idea why the crosshair didn't get captured in the screen dump?!?!) Image 2 shows the same line highlighted for editing so that I can see where the nodes are.  I would like to see this without having to select it for editing, is this possible?  Would it also be possible to show which node will be snapped before the mouse button is clicked?

Doing more than just providing a circle is extremely difficult simply because the data must be loaded from the data source which is a slow process.  Loading the entire layer is prohibitive because it is difficult to know how much information you might get when you try to do the load.  We try to keep as little in memory as possible.  I have found that even with the current editing framework it requires a great deal of memory.  Loading more would cause serious problems.  So I'm afraid that it is kind of up to the user to try to figure it out.  What can be done is the line can be editing after the fact by moving the vertex again.  



Snapping to points on a different layer
Is it possible to snap to points on just one other layer, i.e. the base layer?  In my case I have 1 or 2 base layers (which will have the same nodes so snapping to either is fine) and a bunch of data layers.  I only want to snap to the base layers and I only ever want to edit the data layers.


What can be done easily is only snap to visible layers.  Other than that I think we will be getting into a user interface nightmare.  But feel free to offer suggestions.

For now I will add this suggestion to our issue trackers.

Snapping to a line
In MapInfo Pro you can not only snap to nodes in the same way you can in uDig, you can also snap to groups of nodes that are close together, like in the example of my curved line.  If you hold the shift key whilst plotting you can join two points at either end of a curved line and MapInfo will add all the intermediate points.  It will even show the line it is going to construct before you click to confirm.  That's really cool and very useful when you have curved lines with lots of nodes, a regular feature in UK OS mapping!  See image mi1.jpg to see the line we're poised to snap to and mi2.jpg for MapInfo's reaction to us moving the mouse to the last node in the line while holding the shift key.  Importantly it shows the line before the mouse button is clicked so we can be sure it's doing the right thing.


THis is a feature request I will make a JIRA for this.

Problem rendering base layer once new feature added to data layer?
3.jpg shows the result in uDig after I plotted a new polygon in my data layer (LDF2006_super), as you can see some of the base layer has been lost and uDig reports an error, at the bottom of this email is the log entry which appears to relate to it.



I believe this is just a refresh issue.  I made some fixes on the development branch.  I am trying to make a new release which has some fixes.  Also try doing a manual refresh to see if it resolves the issue.


Jesse

Back to the top