Steve Bennett [Wed, 26 Jan 2011 11:56:53 +0000 (11:56 +0000)]
ADD getNextNode(), getPrevNode() to net/systemeD/halcyon/connection/Way.as. These assist with navigating ways that are circular.
ADD followWay() to net/systemeD/potlatch2/controller/DrawWay.as. A new way to draw a way, by following an existing way. This is useful for making two areas touch each other exactly, or for a road to partially run along a border, or whatever local mapping practice dictates. Press "F" to use it.
TODO better user feedback on Follow, documenting it in user instructions, verifying correctness of getNextNode/getPrevNode.
Steve Bennett [Mon, 24 Jan 2011 14:00:02 +0000 (14:00 +0000)]
ADD railway=disused, railway=abandoned as faded brown version of normal railway (no distinction between them)
ADD aeroway=aerodrome, aeroway=taxiway, aeroway=runway, aeroway=apron. It's possible, but highly unlikely, that I went too far in the eye candy department on aeroway=runway.
Steve Bennett [Sun, 23 Jan 2011 10:20:34 +0000 (10:20 +0000)]
ADD directional arrows to highway=*, waterway=*, railway=*, aerial_way=* when selected.
This was inspired by http://trac.openstreetmap.org/ticket/3380. I actually think it works pretty well. Even on my ancient desktop, where potlatch as a whole runs pretty slow, I don't see any performance hit. I've tried to keep it as unobtrusive as possible - in many instances you need to zoom in to see the arrows, which I think is ok.
Steve Bennett [Sun, 23 Jan 2011 08:59:46 +0000 (08:59 +0000)]
Modify behaviour when removing node from way (minus key): remove, but don't delete, nodes that have interesting tags.
http://trac.openstreetmap.org/ticket/3473
Steve Bennett [Sun, 9 Jan 2011 01:02:32 +0000 (01:02 +0000)]
ADD 6 types of boundaries to map_features.xml
ADD several boundary types to potlatch.css, including a catch-all
REMOVE way[sport] from potlatch.css (it is only a support tag, should theoretically not be rendered without an accompanying leisure=, amenity= etc.
TODO icons for boundaries in map_features.xml
TODO work out whether the other boundary types are worth supporting (and wtf the difference between boundary=town and place=town is)
Fix autocomplete issues #3388 and #3403. Back out comments from previous change - sorry, I couldn't read the actual code with so much surrounding verbiage. Will document AutoComplete.as in due course when I'm feeling brave. :)
Steve Bennett [Fri, 24 Dec 2010 01:48:48 +0000 (01:48 +0000)]
ADD note about changing global flash security settings
ADD note about using Flex Builder/Flash Builder
REWORD the "before you begin" to make it easier for skim readers who never read anything properly, like me.
Steve Bennett [Thu, 23 Dec 2010 06:39:43 +0000 (06:39 +0000)]
ADD lots of amenity tags and more cuisine types. Trying to be systematic, working through taginfo from most popular to least. The top 30 cuisines and top 30 amenities are now represented. (Still much work to go on amenities: even the 30th most popular has nearly 19,000 uses.)
MODIFY some landuse and buildings, in particular removing some building=yes
Steve Bennett [Wed, 22 Dec 2010 13:39:58 +0000 (13:39 +0000)]
Fix to bug 3409 (trac.openstreetmap.org/ticket/3409)
I've left in a heap of (disabled) trace code because it's likely someone will want to debug something similar.
In amongst all that there are two lines of code that fix the bug: one that sets selectedIndex to -1, and another that updates the cursor position. Basically with the incorrect index being set, it was partially acting like an autocomplete was being triggered, and then the cursor position was getting set to weird values.
Steve Bennett [Sun, 19 Dec 2010 13:58:17 +0000 (13:58 +0000)]
Fix bug in TileSet where certain tiles would never get loaded. (Turned out to be because map had scrolled, meaning tile was no longer needed on screen, but it didn't get reset to "unqueued".)
Steve Bennett [Sun, 19 Dec 2010 11:02:37 +0000 (11:02 +0000)]
Implement speed-up for the case of a drawn way intersecting with another way. Do this by not highlighting nodes that are offscreen. Added a bit of extra logic to make this happen, like tracking the "highlighted node" state of a way, and updating nodes when appropriate. I suspect I missed a much simpler way of doing this, in the UpdateEntityUIs logic somewhere...
Shaun McDonald [Fri, 17 Dec 2010 15:15:31 +0000 (15:15 +0000)]
Add cycleway=shared and cycleway=segregated tag choices for being able to get more accurate cycle path information for routing purposes (e.g. CycleStreets).
Shaun McDonald [Tue, 14 Dec 2010 15:24:08 +0000 (15:24 +0000)]
Adding bicycle=dismount to the bicycle access restrictions for cyclists. Adding description to the prohibited to note that you are not allowed to even push your bike there.
Steve Bennett [Tue, 14 Dec 2010 12:49:59 +0000 (12:49 +0000)]
Fix bug:
#3391: Dragging map deselects current way
Mouse up was causing both CLICK and MOUSE_UP events. Like the previous commenter, I don't know what's going on, but this fix will presumably allow correct behaviour for both SelectedMarker and SelectedWay states.
Steve Bennett [Sun, 12 Dec 2010 05:32:50 +0000 (05:32 +0000)]
Kludge up a one-line fix to another GUI updating bug:
1) On advanced tab, change a tag like highway=road to waterway=river
2) Switch to simple tab
3) Although the new feature is recognised, the old editors are present.
Also applied to repeating tags, or deleting all tags.