- # ----- getway
- # in: [0] SWF object name,
- # [1] way id, [2] baselong, [3] basey, [4] masterscale
- # does: gets way and all nodes
- # out: [0] SWF object name (unchanged),
- # [1] array of points
- # (where each point is an array containing
- # [0] projected long, [1] projected lat, [2] node id,
- # [3] null, [4] hash of node tags),
- # [2] xmin, [3] xmax, [4] ymin, [5] ymax (unprojected bbox)
-
+ # Get a way with all of it's nodes and tags
+ # The input is an array with the following components, in order:
+ # 0. SWF object name (String?) - fuck knows
+ # 1. wayid (String?) - the ID of the way to get
+ # 2. baselong - fuck knows
+ # 3. basey - fuck knows
+ # 4. masterscale - fuck knows
+ #
+ # The output is an array which contains all the nodes (with projected latitude and longitude) and tags for a way (and all the nodes tags). It also has the way's unprojected (WGS84) bbox.
+ #
+ # FIXME: The server really shouldn't be figuring out a ways bounding box and doing projection for potlatch
+ # FIXME: the argument splitting should be done in the 'talk' method, not here
+ #