Andy Allan [Tue, 15 Feb 2011 14:37:32 +0000 (14:37 +0000)]
Removing the boundary=postal_code definition - this is being used in a very specific fashion (involving relations) in Germany and isn't suitable for standalone tagging
Steve Bennett [Mon, 14 Feb 2011 12:58:21 +0000 (12:58 +0000)]
FIX bug with LWN/RWN/NWN paths: route=hiking was not being set.
CHANGE route=foot to route=hiking on these relations. It's about twice as popular on taginfo.
Steve Bennett [Sun, 13 Feb 2011 22:49:22 +0000 (22:49 +0000)]
ADD keyboard shortcuts , and . (< and >) to step node by node along a way. Maintain state of selected node in SelectedWayNode.as so that cycling ways works as expected.
REFACTOR scrollIfNeeded() to Map.as
more icons. This should complete the way icon set for roads, paths, water and other transport. Anyone adding another preset within these categories without a beautiful perfectly matching icon will be taken outside and shot several times :)
Steve Bennett [Sat, 12 Feb 2011 17:16:48 +0000 (17:16 +0000)]
FIX Circularise bug. There was an odd bug that caused the centroid to be calculated incorrectly, yielding oversized, misplaced circles. Inspired by openstreetmap.org/user/alexz/diary/13054, I replace the centroid calculation algorithm with a much simpler "average of X and Y". In my testing, it yields good results. It's technically "incorrect" for heavily skewed polygons, but IMHO there the result is still acceptable, and it's hardly what Circularise is designed for.
Steve Bennett [Sat, 12 Feb 2011 07:21:25 +0000 (07:21 +0000)]
ADD three new multi-type man_made features: navigation mark, tower, and silo. All of them collect a number of other top-level tags. New icons added for them.
Steve Bennett [Sat, 12 Feb 2011 05:53:24 +0000 (05:53 +0000)]
ADD support for non-drag-and-droppable point features. These are specified as <point draganddrop="no"/> (default is yes). Enable this for highway=turning_circle by way of example.
Steve Bennett [Fri, 11 Feb 2011 12:09:23 +0000 (12:09 +0000)]
IMPROVE help icon functionality - if no help URL is defined, take user to openstreetmap.org/wiki/Tag:featuretag=featurevalue . Seems a bit pointless slavishly defining the wiki address for every single feature when it can be generated.
Steve Bennett [Tue, 8 Feb 2011 13:33:57 +0000 (13:33 +0000)]
ADD @vmatch attribute to <tag> element of feature in map_features.xml. Matching tag values can be specified as a literal, a *, or a regex. This allows grouping of several closely related tags into one feature, and also allows deprecated tags to be matched without being propagated.
FIX definition of traffic_calming=* and demonstrate the new feature. Previously once you chose an item from the drop down, it wouldn't be recognised as a traffic_calming any more.
Steve Bennett [Tue, 8 Feb 2011 12:20:58 +0000 (12:20 +0000)]
ADD map feature: ToyShop
IMPROVE all "shopping" features work for areas as well as points
BONUS comments in Feature.as and remove commented code in WayUI.as
Steve Bennett [Mon, 7 Feb 2011 12:48:40 +0000 (12:48 +0000)]
TWEAK combobox drop-down height, to allow up to 15 choices to be visible at once. Makes editing tags with many choices (like cuisine, surface, voltage...) much more pleasant.
Steve Bennett [Sun, 6 Feb 2011 13:55:38 +0000 (13:55 +0000)]
ADD 'arrows-reversed' line decoration rendering solely to cater for "highway=*, oneway=-1". This fixes trac.openstreetmap.org/ticket/3384 .
ADD oneway=-1 feature to core_ways.css
SPEEDUP dash and arrow rendering by removing all trig functions
Steve Bennett [Sat, 5 Feb 2011 13:44:56 +0000 (13:44 +0000)]
ADD reporting of lat/long of mouse cursor when you press L. This is in response to trac.openstreetmap.org/ticket/3509 . I'm not very familiar with event-oriented programming, so I've probably done this wrong. I ended up creating new MapEvent types which doesn't feel right somehow. But it works...someone else can perhaps tell me the right way to have done this.
Steve Bennett [Sat, 5 Feb 2011 06:13:56 +0000 (06:13 +0000)]
SPLIT map_features.xml into a dozen sub-files, following Richard Fairhurst's suggestions on Jan 10, 2011. It's a fairly rough split and shows that the divisions between amenities, buildings, and shopping are a bit arbitray. Similarly, leisure, landuse, sport, natural and agriculture are all dumped into landuse.xml. Still, it's a start.
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