Potlatch 1/Point array

From OpenStreetMap Wiki
Jump to: navigation, search

Potlatch treats a way as an ordered list of points. This ordered list is stored within Potlatch (both the SWF client and the Ruby AMF server script) as an array. Each element of the array represents one point.

A point 'p', in turn, comprises the following:

So to get the node ID of the fourth element (i.e. subscript 3) in a way, you would use the following ActionScript:

Personal tools
Namespaces
Variants
Actions
site
Toolbox