Simplify language in relation section

This commit is contained in:
Bryan Housel
2017-11-22 11:51:51 -05:00
committed by Minh Nguyễn
parent 5a70308947
commit ca49166d6c
3 changed files with 120 additions and 95 deletions

View File

@@ -561,7 +561,7 @@ en:
Welcome to the iD editor for [OpenStreetMap](https://www.openstreetmap.org/).
With this editor you can update OpenStreetMap right from your web browser.
opendata: |
open_data: |
### Open Data
Edits that you make on this map will be visible to everyone who uses
@@ -569,7 +569,7 @@ en:
or imagery collected from aerial or street level photos. Copying from commercial
sources, like Google Maps, [is strictly forbidden](https://www.openstreetmap.org/copyright).
beforestart: |
before_start: |
### Before you start
You should be familiar with OpenStreetMap and this editor before you start editing.
@@ -577,7 +577,7 @@ en:
Click "Start the Walkthrough" on this screen to take the tutorial - it takes only
about 15 minutes.
opensource: |
open_source: |
### Open Source
The iD editor is a collaborative open source project, and you are using version {version} now.
@@ -632,7 +632,7 @@ en:
selection lasso. All of the points inside the lasso area will be selected.
undo_redo: |
### Undo and Redo
### Undo & Redo
When you make changes to the map, these are stored locally until you save
them to the server. Don't worry if you make a mistake - until the edits are
@@ -755,7 +755,7 @@ en:
lines:
intro: |
# Lines & Roads
# Lines
*Lines* are used to represent features such as roads, railroads, and rivers.
Lines should be drawn down the center of the feature that they represent.
@@ -833,7 +833,7 @@ en:
areas:
intro: |
# Areas & Buildings
# Areas
*Areas* are used to show the boundaries of features like lakes, buildings,
and residential areas. Areas should be traced around the edge of the
@@ -866,7 +866,7 @@ en:
Many area features like buildings have square corners.
To square the corners of an area, `right-click` the edge of the area
and select the {square} `Square` tool.
and select the {orthogonalize} `Square` tool.
modify_area: |
### Modifying Areas
@@ -892,6 +892,95 @@ en:
show the edit menu, then use the {delete} `Delete` command.
You can also press the `delete` key on your keyboard.
relations:
intro: |
# Relations
A *relation* is a special type of feature in OpenStreetMap that groups
together other features. The features that belong to a relation are
called *members*, and each member can have a *role* in the relation.
edit: |
### Editing Relations
At the bottom of the feature editor, you can expand the "All relations"
section to see if the selected feature is a member of any relations.
You can then click on the relation to select and edit it.
To add a feature to a relation, select the feature, then click the {plus}
button in the "All relations" section of the feature editor. You can choose
from a list of nearby relations, or choose the 'New relation...' option.
You can also click the {delete} `Delete` button to remove the selected
feature from the relation. If you remove all of the members from a
relation, the relation will be deleted automatically.
maintain: |
### Maintaining
For the most part, iD will maintainin relations automatically as you
edit. You should take care when replacing features that might be members
of relations. For example if you delete a section of road and draw a new
section of road to replace it, you should add the new section to the same
relations (routes, turn restrictions, etc.) as the original.
types: |
## Relation Types
multipolygons: |
### Multipolygons
A *multipolygon* relation is a group of one or more *outer* features and
one or more inner features. The outer features define the outer edges
of the multipolygon, and the inner features define sub-areas or holes
cut out from the inside of the multipolygon.
To create a multipolygon, for example a building with a hole in it,
draw the outer edge as an area and the inner edge as a line or different
kind of area. Then `shift-click` to select both features, `right-click`
to show the edit menu, and select the {merge} `Merge` tool.
Merging several lines or areas will create a new multipolygon relation
with all selected areas as members. iD will choose the inner and outer roles
automatically, based on which features are contained inside other features.
turn_restrictions: |
### Turn restrictions
A *turn restriction* relation is a group of several road segments in
an intersection. Turn restrictions consist of a *from* road, *via*
node or roads, and a *to* road.
To edit turn restrictions, select a junction node where two or more roads
meet. The feature editor will display a special 'Turn Restrictions' field
containing a model of the intersection.
In the 'Turn Restrictions' field, click to select a "from" road, and
see whether turns are allowed or restricted to any of the "to" roads.
You can click on the turn icons to toggle them between allowed and restricted.
iD will create relations automatically and choose the from, via, and to roles
based on your choices.
routes: |
### Routes
A *route* relation is a group of one or more line features that together
form a route network, like a bus route, train route, or highway route.
To add a feature to a route relation, select the feature and scroll down
to the "All relations" section of the feature editor, then click the
{plus} plus to add this feature to a nearby existing relation or a new relation.
boundaries: |
### Boundaries
A *boundary* relation is a group of one or more line features that together
form an administrative boundary.
To add a feature to a boundary relation, select the feature and scroll down
to the "All relations" section of the feature editor, then click the
{plus} plus to add this feature to a nearby existing relation or a new relation.
imagery:
intro: |
# Background Imagery
@@ -979,71 +1068,6 @@ en:
You can also [upload your GPS data to OpenStreetMap](https://www.openstreetmap.org/trace/create)
for other users to use.
relations:
intro: |
# Relations & Members
A *relation* is a special type of feature in OpenStreetMap that groups together other
features, called *members* of the relation. Every member of a relation can have a
*role* for the relation. At the bottom of the feature editor, you can see which
relations a feature is a member of, and the click on a relation there will select it.
When the relation is selected, you can see all of its members highlighted on the map
and listed in the feature editor together with their role for the relation.
types: |
### Common Types
The most common type of relation is the *multipolygon*,
which groups together several areas to define a complex area, which may
consist of several pieces or has holes in it like a donut.
Another type of relation is the *Turn restriction* which groups together two
roads segments at a crossing to disable turning options.
Two other types of relations are *route relations*, which group together
sections of road that belong to a specific highway, bus route, or hiking route,
and *boundaries*, which group together sections of boundary lines which may be
roads, rivers, or plot boundaries at the same time.
multipolygons: |
### Multipolygons
Draw two or more areas and select them. Then press either press
the `C` shortcut key or right-click one of the selected areas and
select the {merge} 'Merge' tool. This will create a new multipolygon
relation with all selected areas as members. The areas will have the role
outer except When an area is inside another area it will have the role inner
and become the hole in the outer area.
turnrestrictions: |
### Turn restrictions
Select the crossing node of two or more roads. In the feature editor
you will see the roads connected to the crossing below 'Turn Restrictions'.
There you can select a road and disable U-turn and turns into every other road.
This will create a turn restriction relation with both roads and the
crossing as members with roles from, to, and via.
maintain: |
### Maintaining
For the most part, iD will take care of maintaining relations automatically
while you edit. The main thing you should be aware of is that if you delete a
section of road to redraw it more accurately, you should make sure that the
new section is a member of the same relations as the original.
edit: |
### Editing Relations
To add a feature to a relation, select the feature, click the `+` button
in the 'All relations' section of the feature editor, and select or type
the name of the relation.
To create a new relation, select the first feature that should be a member,
click the `+` button in the 'All relations' section, and select 'New relation...'.
To remove a feature from a relation, select the feature and click the {delete}
'Delete' button next to the relation you want to remove it from.
intro:
done: done
ok: OK

41
dist/locales/en.json vendored
View File

@@ -682,9 +682,9 @@
"key": "H",
"help": {
"intro": "# Help\n\nWelcome to the iD editor for [OpenStreetMap](https://www.openstreetmap.org/).\nWith this editor you can update OpenStreetMap right from your web browser.\n",
"opendata": "### Open Data\n\nEdits that you make on this map will be visible to everyone who uses\nOpenStreetMap. Your edits can be based on personal knowledge, on-the-ground surveying,\nor imagery collected from aerial or street level photos. Copying from commercial\nsources, like Google Maps, [is strictly forbidden](https://www.openstreetmap.org/copyright).\n",
"beforestart": "### Before you start\n\nYou should be familiar with OpenStreetMap and this editor before you start editing.\niD contains a builtin walkthrough to teach you the basics of editing OpenStreetMap.\nClick \"Start the Walkthrough\" on this screen to take the tutorial - it takes only\nabout 15 minutes.\n",
"opensource": "### Open Source\n\nThe iD editor is a collaborative open source project, and you are using version {version} now.\nThe source code is available [on GitHub](https://github.com/openstreetmap/iD).\n\nYou can help iD by [translating](https://github.com/openstreetmap/iD/blob/master/CONTRIBUTING.md#translating)\nor [reporting bugs](https://github.com/openstreetmap/iD/issues).\n"
"open_data": "### Open Data\n\nEdits that you make on this map will be visible to everyone who uses\nOpenStreetMap. Your edits can be based on personal knowledge, on-the-ground surveying,\nor imagery collected from aerial or street level photos. Copying from commercial\nsources, like Google Maps, [is strictly forbidden](https://www.openstreetmap.org/copyright).\n",
"before_start": "### Before you start\n\nYou should be familiar with OpenStreetMap and this editor before you start editing.\niD contains a builtin walkthrough to teach you the basics of editing OpenStreetMap.\nClick \"Start the Walkthrough\" on this screen to take the tutorial - it takes only\nabout 15 minutes.\n",
"open_source": "### Open Source\n\nThe iD editor is a collaborative open source project, and you are using version {version} now.\nThe source code is available [on GitHub](https://github.com/openstreetmap/iD).\n\nYou can help iD by [translating](https://github.com/openstreetmap/iD/blob/master/CONTRIBUTING.md#translating)\nor [reporting bugs](https://github.com/openstreetmap/iD/issues).\n"
},
"overview": {
"intro": "# Overview\n",
@@ -694,12 +694,18 @@
"editing": {
"intro": "# Editing & Saving\n\n`Left-click` on a feature to select it. This will highlight the\nfeature with a pusling glow, and the sidebar will display details\nabout that feature, such as it's name or address.\n\n`Right-click` on a map feature to display the editing menu, which shows\nthe commands that are available, such as rotating, moving, and deleting.\n",
"multiselect": "### Multiselect\n\n`Shift-click` to select several features together. This makes\nit easier to move or delete multiple items.\n\nAnother way to select multiple features is to hold down the `Shift` key,\nthen press and hold the left mouse button, and drag the mouse to draw a\nselection lasso. All of the points inside the lasso area will be selected.\n",
"undo_redo": "### Undo and Redo\n\nWhen you make changes to the map, these are stored locally until you save\nthem to the server. Don't worry if you make a mistake - until the edits are\nsaved, you can undo changes by clicking the {undo} `Undo` button, and redo\nchanges by clicking the {redo} `Redo` button.\n",
"undo_redo": "### Undo & Redo\n\nWhen you make changes to the map, these are stored locally until you save\nthem to the server. Don't worry if you make a mistake - until the edits are\nsaved, you can undo changes by clicking the {undo} `Undo` button, and redo\nchanges by clicking the {redo} `Redo` button.\n",
"save": "### Save\n\nClick {save} `Save` to finish your edits and send them to OpenStreetMap.\nYou should remember to save your work frequently!\n\nOn the save screen, you'll have a chance to review what you've done.\niD will also perform some basic checks for missing data and may offer\nhelpful suggestions and warnings if something doesn't seem right.\n",
"upload": "### Upload\n\nBefore uploading your changes you must enter a\n[changeset comment](https://wiki.openstreetmap.org/wiki/Good_changeset_comments).\nThen click `Upload` to send your changes to OpenStreetMap, where they will be\nmerged into the map and publicly visible to everyone.\n",
"backups": "### Automatic Backups\n\nIf you can't finish your edits in one sitting, for example if your computer\ncrashes or you close the browser tab, your edits are still saved locally\nin your browser's storage. You can come back later (on the same browser\nand computer), and iD will offer to restore your work.\n",
"keyboard": "### Keyboard Shortcuts\n\nYou can view a list of keyboard shortcuts by pressing the `?` key.\n"
},
"feature_editor": {
"intro": "# Feature Editor\n\nThe *feature editor* appears alongside the map, and allows you to see\nand edit all of the information for the selected feature.\n\nThe top section displays the feature's type. The middle section\ncontains *fields* showing the feature's attributes, such as its name or address.\n",
"select": "### Feature Type\n\nYou can click on the feature type to change the feature to a different type.\nEverything that exists in the real world can be added to OpenStreetMap, so there\nare thousands of feature types to choose from.\n\nThe type picker displays the most common feature types - such as parks, hospitals,\nrestaurants, roads, and buildings. You can search for anything by typing what you're\nlooking for in the search box. You can also click the {inspect} info icon next\nto the feature type to learn more about it.\n",
"fields": "### Fields\n\nThe \"All fields\" section contains all of the feature's details that you\nmay edit. In OpenStreetMap, all of the fields are optional, and it's OK\nto leave a field blank if you are unsure.\n\nEach feature type will display different fields. For example, a road\nmay display fields for its surface and speed limit, but a restaurant\nmay display fields for the type of food it serves and the hours it is open.\n\nYou can also click the `Add field` dropdown to add more fields, such as\na description, Wikipedia link, wheelchair access, and more.\n",
"tags": "### Tags\n\nBelow the fields section, you can expand the \"All tags\" section to edit\nany of the OpenStreetMap *tags* for the selected feature. Each tag\nconsists of a *key* and *value*, data elements that define all of\nthe features stored in OpenStreetMap.\n\nEditing a feature's tags requires intermediate knowledge about OpenStreetMap.\nYou should consult resources like the [OpenStreetMap Wiki](https://wiki.openstreetmap.org/wiki/Main_Page)\nor [Taginfo](https://taginfo.openstreetmap.org/) to learn more\nabout accepted OpenStreetMap tagging practices.\n"
},
"points": {
"intro": "# Points\n\n*Points* can be used to represent features such as shops, restaurants, and\nmonuments. They mark a specific location, and describe what's there.\n",
"add_point": "### Adding Points\n\nTo add a point, click the {point} `Point` button on the toolbar\nat the top of the map, or press the shortcut key `1`. This will\nchange the mouse cursor to a cross symbol.\n\nTo place the new point on the map, position the mouse cursor where the point\nshould go, then `left-click` or press the `spacebar`.\n",
@@ -707,7 +713,7 @@
"delete_point": "### Deleting Points\n\nIt's OK to delete features that don't exist in the real world. Deleting a feature\nfrom OpenStreetMap removes it from the map that everyone uses, so you should make\nsure a feature is really gone before you delete it.\n\nTo delete a point, `right-click` on the point to select it and\nshow the edit menu, then use the {delete} `Delete` command.\nYou can also press the `delete` key on your keyboard.\n"
},
"lines": {
"intro": "# Lines & Roads\n\n*Lines* are used to represent features such as roads, railroads, and rivers.\nLines should be drawn down the center of the feature that they represent.\n",
"intro": "# Lines\n\n*Lines* are used to represent features such as roads, railroads, and rivers.\nLines should be drawn down the center of the feature that they represent.\n",
"add_line": "### Adding Lines\n\nTo add a line, click the {line} `Line` button on the toolbar\nat the top of the map, or press the shortcut key `2`. This will\nchange the mouse cursor to a cross symbol.\n\nNext, position the mouse cursor where the line should begin and `left-click`\nor press the `spacebar` to begin placing nodes along the line.\nContinue placing more nodes by `left-clicking` or pressing `spacebar`.\nWhile drawing, you can zoom in or drag the map in order to add more detail.\n\nTo finish a line, press `enter` or click on the last node again.\n",
"modify_line": "### Modifying Lines\n\nOften you'll see lines that aren't shaped correctly, for example a road\nthat does not match up with the background imagery. To adjust the shape\nof a line, first `left-click` to select it. All nodes of the line will be\ndrawn as small circles. You can then drag the nodes to better locations.\n\nYou can also create new nodes along a line either by `double-clicking` on\nthe line or by dragging the small triangles at the midpoints between nodes.\n",
"connect_line": "### Connecting Lines\n\nHaving roads connected properly is important for the map\nand essential for providing driving directions.\n\nThe connections between roads are drawn with grey circles.\nThe endpoints of a line are drawn with larger white circles if they\ndon't connect to anything.\n\nTo connect a line to another feature, drag one of its nodes onto the\nother feature to connect them.\n\nIf you know that the connection has traffic lights or crosswalks,\nyou can add them by selecting the connecting node and using the\nfeature editor to select the correct feature's type.\n",
@@ -716,19 +722,22 @@
"delete_line": "### Deleting Lines\n\nIf a line is entirely incorrect, for example a road that doesn't exist\nin the real world, it's OK to delete it. Be cautious when deleting features -\nthe background imagery you are using might be outdated, and a road that\nlooks wrong could simply be newly built.\n\nTo delete a line, `right-click` on the line to select it and\nshow the edit menu, then use the {delete} `Delete` command.\nYou can also press the `delete` key on your keyboard.\n"
},
"areas": {
"intro": "# Areas & Buildings\n\n*Areas* are used to show the boundaries of features like lakes, buildings,\nand residential areas. Areas should be traced around the edge of the\nfeature that they represent, for example, around the base of a building.\n",
"intro": "# Areas\n\n*Areas* are used to show the boundaries of features like lakes, buildings,\nand residential areas. Areas should be traced around the edge of the\nfeature that they represent, for example, around the base of a building.\n",
"point_or_area": "### Points or Areas?\n\nMany features can be represented as points or areas.\nIt is recommended to map buildings and property outlines as areas\nwhenever possible, and to map businesses, amenities, and other features\nthat operate within buildings as points placed inside the building area.\n",
"add_area": "### Adding Areas\n\nTo add an area, click the {area} `Area` button on the toolbar\nat the top of the map, or press the shortcut key `3`. This will\nchange the mouse cursor to a cross symbol.\n\nNext, position the mouse cursor at one of the corners of the feature and `left-click`\nor press the `spacebar` to begin placing nodes around the outer edge of\nthe area. Continue placing more nodes by `left-clicking` or pressing `spacebar`.\nWhile drawing, you can zoom in or drag the map in order to add more detail.\n\nTo finish an area, press `enter` or click again on either the first or last node.\n",
"square_area": "### Square Corners\n\nMany area features like buildings have square corners.\nTo square the corners of an area, `right-click` the edge of the area\nand select the {square} `Square` tool.\n",
"modify_area": "### Modifying Areas\n\nOften you'll see areas that aren't shaped correctly, for example a building\nthat does not match up with the background imagery. To adjust the shape\nof an area, first `left-click` to select it. All nodes of the area will be\ndrawn as small circles. You can then drag the nodes to better locations.\n\nYou can also create new nodes along an area either by `double-clicking` on\nthe edge of the area or by dragging the small triangles at the midpoints\nbetween nodes.\n",
"delete_area": "### Deleting Areas\n\nIf an area is entirely incorrect, for example a building that doesn't exist\nin the real world, it's OK to delete it. Be cautious when deleting features -\nthe background imagery you are using might be outdated, and a building that\nlooks wrong could simply be newly built.\n\nTo delete an area, `right-click` on the area to select it and\nshow the edit menu, then use the {delete} `Delete` command.\nYou can also press the `delete` key on your keyboard.\n"
},
"feature_editor": {
"intro": "# Feature Editor\n\nThe feature editor is the section on the left side of the page that allows you to\nedit the details of the selected feature.\n",
"select": "### Selecting a Feature Type\n\nAfter you add a point, line, or area, you can choose what type of feature it\nis, like whether it's a highway or residential road, supermarket or cafe.\nThe feature editor will display buttons for common feature types, and you can\nfind others by typing what you're looking for in the search box.\n\nClick the {inspect} icon next to the feature name to\nlearn more about it. Click a button to choose that type.\n",
"fields": "### Fields\n\nAfter you choose a feature type, or when you select a feature that already\nhas a type assigned, the feature editor will display fields with details about\nthe feature like its name or speed limit for a road or levels and address for a building.\n\nBelow the fields you see, you can click the `Add field` dropdown to add\nother details, like a Wikipedia link, wheelchair access, and more.\n",
"tags": "### Tags\n\nBelow that you see the tags which are actually stored in OpenStreetMap.\nIf you cannot find the feature's type with the feature editor or you\ncannot add required fields, then you can add additional tags with the `+` button.\n[Taginfo](https://taginfo.openstreetmap.org/) is a great resource to learn more\nabout popular tag combinations.\n",
"undo": "### Undo & Redo\n\nChanges you make in the feature editor are automatically applied.\nYou can undo them at any time by clicking the {undo} `Undo` button and redo\nchanges by clicking the {redo} `Redo` button.\n"
"relations": {
"intro": "# Relations\n\nA *relation* is a special type of feature in OpenStreetMap that groups\ntogether other features. The features that belong to a relation are\ncalled *members*, and each member can have a *role* in the relation.\n",
"edit": "### Editing Relations\n\nAt the bottom of the feature editor, you can expand the \"All relations\"\nsection to see if the selected feature is a member of any relations.\nYou can then click on the relation to select and edit it.\n\nTo add a feature to a relation, select the feature, then click the {plus}\nbutton in the \"All relations\" section of the feature editor. You can choose\nfrom a list of nearby relations, or choose the 'New relation...' option.\n\nYou can also click the {delete} `Delete` button to remove the selected\nfeature from the relation. If you remove all of the members from a\nrelation, the relation will be deleted automatically.\n",
"maintain": "### Maintaining\n\nFor the most part, iD will maintainin relations automatically as you\nedit. You should take care when replacing features that might be members\nof relations. For example if you delete a section of road and draw a new\nsection of road to replace it, you should add the new section to the same\nrelations (routes, turn restrictions, etc.) as the original.\n",
"types": "## Relation Types\n",
"multipolygons": "### Multipolygons\n\nA *multipolygon* relation is a group of one or more *outer* features and\none or more inner features. The outer features define the outer edges\nof the multipolygon, and the inner features define sub-areas or holes\ncut out from the inside of the multipolygon.\n\nTo create a multipolygon, for example a building with a hole in it,\ndraw the outer edge as an area and the inner edge as a line or different\nkind of area. Then `shift-click` to select both features, `right-click`\nto show the edit menu, and select the {merge} `Merge` tool.\n\nMerging several lines or areas will create a new multipolygon relation\nwith all selected areas as members. iD will choose the inner and outer roles\nautomatically, based on which features are contained inside other features.\n",
"turn_restrictions": "### Turn restrictions\n\nA *turn restriction* relation is a group of several road segments in\nan intersection. Turn restrictions consist of a *from* road, *via*\nnode or roads, and a *to* road.\n\nTo edit turn restrictions, select a junction node where two or more roads\nmeet. The feature editor will display a special 'Turn Restrictions' field\ncontaining a model of the intersection.\n\nIn the 'Turn Restrictions' field, click to select a \"from\" road, and\nsee whether turns are allowed or restricted to any of the \"to\" roads.\nYou can click on the turn icons to toggle them between allowed and restricted.\niD will create relations automatically and choose the from, via, and to roles\nbased on your choices.\n",
"routes": "### Routes\n\nA *route* relation is a group of one or more line features that together\nform a route network, like a bus route, train route, or highway route.\n\nTo add a feature to a route relation, select the feature and scroll down\nto the \"All relations\" section of the feature editor, then click the\n{plus} plus to add this feature to a nearby existing relation or a new relation.\n",
"boundaries": "### Boundaries\n\nA *boundary* relation is a group of one or more line features that together\nform an administrative boundary.\n\nTo add a feature to a boundary relation, select the feature and scroll down\nto the \"All relations\" section of the feature editor, then click the\n{plus} plus to add this feature to a nearby existing relation or a new relation.\n"
},
"imagery": {
"intro": "# Background Imagery\n\nBackground imagery is an important resource for mapping, and is displayed\nbeneath the map data. This imagery can be aerial photos collected\nfrom satellites, airplanes, and drones, or it can be scanned historical\nmaps or other freely available source data.\n\nTo see which imagery sources are available for editing, click the\n{layers} `Background settings` button on the side of the map.\n",
@@ -743,14 +752,6 @@
"gps": {
"intro": "# GPS Traces\n\nCollected GPS traces are a valuable source of data for OpenStreetMap. This editor\nsupports `.gpx`, `.geojson`, and `.kml` files on your local computer. You can collect\nGPS traces with a smartphone, sports watch, or other GPS device.\n\nFor information on how to perform a GPS survey, read\n[Mapping with a smartphone, GPS, or paper](http://learnosm.org/en/mobile-mapping/).\n",
"using": "### Using\n\nTo use a GPS trace for mapping, drag and drop the data file onto the map\neditor. If it's recognized, it will be drawn on the map as a bright purple\nline. Click the {data} `Map data` panel on the side of the map to enable,\ndisable, or zoom to your GPS data.\n\nThe GPS track isn't sent to OpenStreetMap - the best way to use it is to\ndraw on the map, using it as a guide for the new features that you add.\n\nYou can also [upload your GPS data to OpenStreetMap](https://www.openstreetmap.org/trace/create)\nfor other users to use.\n"
},
"relations": {
"intro": "# Relations & Members\n\nA *relation* is a special type of feature in OpenStreetMap that groups together other\nfeatures, called *members* of the relation. Every member of a relation can have a\n*role* for the relation. At the bottom of the feature editor, you can see which\nrelations a feature is a member of, and the click on a relation there will select it.\nWhen the relation is selected, you can see all of its members highlighted on the map\nand listed in the feature editor together with their role for the relation.\n",
"types": "### Common Types\n\nThe most common type of relation is the *multipolygon*,\nwhich groups together several areas to define a complex area, which may\nconsist of several pieces or has holes in it like a donut.\nAnother type of relation is the *Turn restriction* which groups together two\nroads segments at a crossing to disable turning options.\n\nTwo other types of relations are *route relations*, which group together\nsections of road that belong to a specific highway, bus route, or hiking route,\nand *boundaries*, which group together sections of boundary lines which may be\nroads, rivers, or plot boundaries at the same time.\n",
"multipolygons": "### Multipolygons\n\nDraw two or more areas and select them. Then press either press\nthe `C` shortcut key or right-click one of the selected areas and\nselect the {merge} 'Merge' tool. This will create a new multipolygon\nrelation with all selected areas as members. The areas will have the role\nouter except When an area is inside another area it will have the role inner\nand become the hole in the outer area.\n",
"turnrestrictions": "### Turn restrictions\n\nSelect the crossing node of two or more roads. In the feature editor\nyou will see the roads connected to the crossing below 'Turn Restrictions'.\nThere you can select a road and disable U-turn and turns into every other road.\nThis will create a turn restriction relation with both roads and the\ncrossing as members with roles from, to, and via.\n",
"maintain": "### Maintaining\n\nFor the most part, iD will take care of maintaining relations automatically\nwhile you edit. The main thing you should be aware of is that if you delete a\nsection of road to redraw it more accurately, you should make sure that the\nnew section is a member of the same relations as the original.\n",
"edit": "### Editing Relations\n\nTo add a feature to a relation, select the feature, click the `+` button\nin the 'All relations' section of the feature editor, and select or type\nthe name of the relation.\n\nTo create a new relation, select the first feature that should be a member,\nclick the `+` button in the 'All relations' section, and select 'New relation...'.\n\nTo remove a feature from a relation, select the feature and click the {delete}\n'Delete' button next to the relation you want to remove it from.\n"
}
},
"intro": {

View File

@@ -19,17 +19,17 @@ export function uiHelp(context) {
var key = t('help.key');
var docKeys = [
['help.help.',['intro','opendata','beforestart','opensource']],
['help.help.',['intro','open_data','before_start','open_source']],
['help.overview.',['intro','features','navigation']],
['help.editing.',['intro','multiselect','undo_redo','save','upload','backups','keyboard']],
['help.feature_editor.',['intro','select','fields','tags']],
['help.points.',['intro','add_point','move_point','delete_point']],
['help.lines.',['intro','add_line','modify_line','connect_line','disconnect_line','move_line','delete_line']],
['help.areas.',['intro','point_or_area','add_area','square_area','modify_area','delete_area']],
['help.relations.',['intro','edit','maintain','types','multipolygons','turn_restrictions','routes','boundaries']],
['help.imagery.',['intro','sources','offset']],
['help.streetlevel.',['intro','using','viewer']],
['help.gps.',['intro','using']],
['help.relations.',['intro','types','multipolygons','turnrestrictions','maintain','edit']]
['help.gps.',['intro','using']]
];
var replacements = {