Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Id v3 merge 2 #11

Merged
merged 871 commits into from
Dec 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
871 commits
Select commit Hold shift + click to select a range
ad3d161
Merge branch '2.15'
quincylvania Sep 18, 2019
8ec171c
chore(package): update @fortawesome/fontawesome-svg-core to version 1…
greenkeeper[bot] Sep 18, 2019
31932fb
chore(package): update @fortawesome/free-regular-svg-icons to version…
greenkeeper[bot] Sep 18, 2019
71725fb
chore(package): update @fortawesome/free-solid-svg-icons to version 5…
greenkeeper[bot] Sep 18, 2019
5f5b6ba
chore(package): update @fortawesome/free-brands-svg-icons to version …
greenkeeper[bot] Sep 18, 2019
5165707
Fix node reverse code test
quincylvania Sep 18, 2019
c777cb5
Merge pull request #6870 from openstreetmap/greenkeeper/rollup-1.21.4
quincylvania Sep 18, 2019
be608ba
Merge pull request #6845 from openstreetmap/greenkeeper/rollup-plugin…
quincylvania Sep 18, 2019
3aea565
Update fortawesome
quincylvania Sep 18, 2019
c357a13
Update icon for latest fontawesome
quincylvania Sep 18, 2019
94b8fc7
chore(package): update rollup to version 1.21.4
greenkeeper[bot] Sep 16, 2019
e29923a
chore(package): update rollup-plugin-visualizer to version 2.6.0
greenkeeper[bot] Sep 12, 2019
798d568
chore(package): update @fortawesome/fontawesome-svg-core to version 1…
greenkeeper[bot] Sep 18, 2019
32db281
chore(package): update @fortawesome/free-regular-svg-icons to version…
greenkeeper[bot] Sep 18, 2019
ea35202
chore(package): update @fortawesome/free-solid-svg-icons to version 5…
greenkeeper[bot] Sep 18, 2019
527b68f
chore(package): update @fortawesome/free-brands-svg-icons to version …
greenkeeper[bot] Sep 18, 2019
ef2da8f
Update icon for latest fontawesome
quincylvania Sep 18, 2019
0e48627
Fix issue with reversing nodes with absolute directions of 0 degrees
quincylvania Sep 18, 2019
c5fb077
Merge branch '2.15'
quincylvania Sep 18, 2019
a97f05c
Disable zoom in/out buttons when at max or min zoom already (close #6…
quincylvania Sep 18, 2019
d663153
Merge branch '2.15'
quincylvania Sep 18, 2019
974f773
Rename "Base Types" toolbar item to "Geometries" (re: #6458)
quincylvania Sep 18, 2019
c06a9b6
Avoid disabling generic preset shortcuts when favorites are present
quincylvania Sep 18, 2019
b1eaa2c
Allow values in addTags to blacklist tags from implying a way should …
quincylvania Sep 19, 2019
95e025b
Merge branch '2.15'
quincylvania Sep 19, 2019
6af6da6
Add Informal Path preset for `highway=path` + `informal=yes`
quincylvania Sep 19, 2019
c2a49f4
Disallow zooming past the min/max zoom bounds via scrolling or pinch-…
quincylvania Sep 19, 2019
ec2f03a
Merge 2.15 into master
quincylvania Sep 19, 2019
c5c76b3
Add additional terms to make sure bike-related presets appear when se…
quincylvania Sep 24, 2019
b8b8c66
Warn when multilingual feature names appear to be generic (close #6876)
quincylvania Sep 24, 2019
4648cb0
Fix recommendations
danielsjf Sep 24, 2019
7883df8
Stairs changes
danielsjf Sep 24, 2019
38848f7
Add lvl_semi
danielsjf Sep 24, 2019
6803a1d
Add field for the `blind` key to some presets (re: #6351)
quincylvania Sep 24, 2019
8a6fa24
Add field for `playground:theme` to playground presets (re: #6351)
quincylvania Sep 24, 2019
1371b3c
Make single-key radio fields translatable like combo fields (close #6…
quincylvania Sep 24, 2019
18f0857
Merge branch '2.15'
quincylvania Sep 24, 2019
db0e5ba
Delete escalator
danielsjf Sep 24, 2019
0b6c927
Merge pull request #6863 from danielsjf/Indoor_mapping
quincylvania Sep 25, 2019
8a9ca2c
Tweak presets from #6863 and add derived data
quincylvania Sep 25, 2019
49cb219
Cherry pick #6863
quincylvania Sep 25, 2019
60d66f7
Add presets for most common types of studios
quincylvania Sep 25, 2019
1ec4111
Add icon and terms to `shop=farm` preset
quincylvania Sep 25, 2019
1a69135
Merge branch '2.15'
quincylvania Sep 25, 2019
955dc6e
Add field for the `lockable` key to relevant presets
quincylvania Sep 25, 2019
c982ef1
Simplify field validation code
quincylvania Sep 25, 2019
2dab7cf
Alphabetize terms and moreFields of presets
quincylvania Sep 25, 2019
59bdfa2
Merge branch '2.15'
quincylvania Sep 25, 2019
33809bf
Revert "Alphabetize terms and moreFields of presets"
quincylvania Sep 25, 2019
d43cf85
Alphabetize moreFields and standardize the indentation of presets
quincylvania Sep 25, 2019
727b9f1
Merge 2.15
quincylvania Sep 25, 2019
d908b2a
Updated Mapbox Satellite feedback instructions
1ec5 Sep 25, 2019
525916d
Recategorize tags_suggests_area validation rule into mismatched_geome…
quincylvania Sep 26, 2019
4d6e652
Updated Mapbox Satellite feedback instructions
1ec5 Sep 25, 2019
e1c36d7
Merge branch '2.15'
quincylvania Sep 26, 2019
b215a4f
Use "Building" label instead of "Area" for the geometry select tool f…
quincylvania Sep 26, 2019
41a87c1
Don't show greenway preset in Lithuania (close #6882)
quincylvania Sep 26, 2019
cbd32bd
Merge branch '2.15'
quincylvania Sep 26, 2019
f42c14b
Add Hot Dog Fast Food preset
quincylvania Sep 26, 2019
cc0842f
Merge branch '2.15'
quincylvania Sep 26, 2019
c88f2cb
Support `@` for collapsing the sidebar for French keyboards (close #6…
quincylvania Sep 26, 2019
123a9d1
Support `@` key for focusing the Add Feature button (re: #6864)
quincylvania Sep 26, 2019
cb6f171
Merge branch '2.15'
quincylvania Sep 26, 2019
cbfa199
Make panes usable on small screens
quincylvania Sep 26, 2019
77917f4
Display quick preset buttons when dragging them out of the toolbar
quincylvania Sep 26, 2019
3f69988
Allow tabbing beyond the raw tag editor (close #4233)
quincylvania Sep 26, 2019
5a34a3c
Merge branch '2.15'
quincylvania Sep 26, 2019
41dd433
Update to latest Font Awesome and Temaki icons
bhousel Sep 29, 2019
75fa2b2
Update many presets to use new Temaki and Font Awesome icons
bhousel Sep 29, 2019
44c44cf
Merge branch '2.15'
bhousel Sep 29, 2019
2ccdc43
Render area fill patterns in preset icons (close #6900)
quincylvania Sep 30, 2019
3c85ff1
Merge branch '2.15'
quincylvania Sep 30, 2019
abe8f1d
Keep pane width constant and anchored but still adjust to small scree…
quincylvania Sep 30, 2019
3d5d8b4
Prevent long background layer names from pushing the "best" icon out …
quincylvania Sep 30, 2019
0f08231
Use building icon instead of generic area icon when adding feature as…
quincylvania Sep 30, 2019
3ff52fd
Don't collapse the inspector when dragging nodes (close #6766)
quincylvania Sep 30, 2019
e4237f9
Don't show pattern fills on are preset icons (re: #6900)
quincylvania Sep 30, 2019
1ea6f42
Make construction icons yellow
quincylvania Sep 30, 2019
236f00c
Merge branch '2.15'
quincylvania Sep 30, 2019
efb361a
Allow centering and selecting multiple entities on launch with the `i…
quincylvania Sep 30, 2019
1056820
Added missing tags to golf
Sep 30, 2019
bec4841
Merge pull request #6901 from guylamar2006/patch-1
quincylvania Oct 1, 2019
e5f6ee7
Added missing tags to golf
Sep 30, 2019
73bccd4
Update taginfo derived data
quincylvania Oct 1, 2019
6a51557
Add an "Extract this point" quick fix for points-as-vertices validati…
quincylvania Oct 1, 2019
9ccace9
Don't warn about websites missing `http://` or `https://` (close #6831)
quincylvania Oct 1, 2019
610082f
Remove trailing periods from invalid email messages
quincylvania Oct 1, 2019
c2e254e
Remove strings for removed invalid URL validation rule (re: #6831)
quincylvania Oct 1, 2019
5cf0c15
Merge branch '2.15'
quincylvania Oct 2, 2019
bcc09eb
Add Type field to `landuse=residential` for the `residential` subkey
quincylvania Oct 2, 2019
70dd7d4
Filter out generic tools in recents
foeberg Oct 2, 2019
0e4b2c2
Merge pull request #6907 from Aundron/hide_geometry_preset_in_recents
quincylvania Oct 2, 2019
7598109
Deprecate various `embankment` values (re: #6818)
quincylvania Oct 2, 2019
3690c20
Switch jsdelivr back to githubusercontent for iD assets
bhousel Oct 2, 2019
af7b37a
npm run build new taginfo.json
bhousel Oct 2, 2019
06e0b1b
Urls back to jsdelivr, but make sure to request files from master
bhousel Oct 2, 2019
341dd6f
Merge branch '2.15'
bhousel Oct 2, 2019
8cc8f87
Switch icon for fire hose
bhousel Oct 2, 2019
ddef18c
Use better icon for shed
bhousel Oct 2, 2019
ad078b3
Use better icon for Service Building
bhousel Oct 2, 2019
70da959
Don't allow `leisure=bleachers` on points, as per the OSM wiki
quincylvania Oct 2, 2019
cc6852e
Add derived data
quincylvania Oct 2, 2019
0dc890a
Show more specific message when nonstandard brand has simply incomple…
quincylvania Oct 3, 2019
139e443
Don't render barriers tagged on waterways (close #6887)
quincylvania Oct 3, 2019
ee27268
Don't use icons with non-localizable dollar signs
quincylvania Oct 3, 2019
08530dd
Prevent stale operations by reloading them after history changes
quincylvania Oct 3, 2019
76da2dd
Merge branch '2.15'
quincylvania Oct 3, 2019
b69aa45
Ensure deterministic sorting of languages with equivalent percentages…
quincylvania Oct 3, 2019
3b671bf
Flash the "change feature type" button in the inspector whenever the …
quincylvania Oct 3, 2019
bbc537a
Add preset for `aeroway=spaceport`
quincylvania Oct 3, 2019
d808421
Merge branch '2.15'
quincylvania Oct 3, 2019
f5995df
Cherry pick crossing buildings fix
quincylvania Oct 3, 2019
d3d2cbb
Update code tests for building layer crossings
quincylvania May 15, 2019
d76ba95
Added corridor to jet bridge
Oct 3, 2019
fa05088
Merge pull request #6912 from guylamar2006/patch-2
quincylvania Oct 4, 2019
badde3d
Add warning for features with names that equal values in their `not:n…
quincylvania Oct 4, 2019
57bfeb1
Merge branch '2.15' of https://github.com/openstreetmap/iD into 2.15
quincylvania Oct 4, 2019
51dfc8f
Add derived data
quincylvania Oct 4, 2019
0124576
Merge branch '2.15'
quincylvania Oct 4, 2019
7251a2a
Make "edited issues" mean "issues the user created" instead of "issue…
quincylvania Oct 4, 2019
e8f6609
Merge branch '2.15'
quincylvania Oct 4, 2019
de2f052
Change cliff direction marker to dark grey to match the line
huonw Oct 6, 2019
7e3e740
Merge pull request #6919 from huonw/cliff-arrow-colour
quincylvania Oct 7, 2019
30ca1ce
Merge branch '2.15'
quincylvania Oct 7, 2019
c031f2d
Merge branch '2.15' into 215_highlight_edits
quincylvania Oct 7, 2019
f4f648b
Merge pull request #6843 from Bonkles/215_highlight_edits
quincylvania Oct 7, 2019
5abdd4c
Removed unused strings and rename string ids to not indicate ways onl…
quincylvania Oct 7, 2019
909079e
Replace uses of lodash omit (re: #6843)
quincylvania Oct 7, 2019
819ea05
fix: mapillary pagination and minimum detection count
cbeddow Oct 7, 2019
f3e7bd9
Render line and vertex visual diff on shadow instead of above everyth…
quincylvania Oct 7, 2019
2924d46
Show visual diff for standalone points (re: #6843)
quincylvania Oct 7, 2019
868ab2c
Merge pull request #6921 from cbeddow/2.15
quincylvania Oct 7, 2019
7d31c76
Unify visual diff styles for lines and areas (re: #6843)
quincylvania Oct 8, 2019
c7186e2
Replace usage of lodash isEqual (re: #6843)
quincylvania Oct 8, 2019
ffdc4d8
Ensure visual diffs work on lines that are uninteresting members of m…
quincylvania Oct 8, 2019
d578074
Start validation documentation (re: #6100)
quincylvania Oct 9, 2019
a3d6097
Rename "Fix Me" Requests validation rule to more general Help Requests
quincylvania Oct 9, 2019
bd1e1b3
Add subtypes to crossing_ways validation warnings
quincylvania Oct 9, 2019
19cee51
Add documentation about validation issue changeset tags (re: #6100)
quincylvania Oct 9, 2019
090f9f9
Fix typo and add note about unstable validation type IDs
quincylvania Oct 9, 2019
eb35092
chore(package): update cldr-core to version 36.0.0
greenkeeper[bot] Oct 9, 2019
7d8ad50
chore(package): update cldr-localenames-full to version 36.0.0
greenkeeper[bot] Oct 9, 2019
3d3723e
Merge pull request #6926 from openstreetmap/greenkeeper/cldr-core-36.0.0
quincylvania Oct 10, 2019
818e46e
Merge branch 'master' into greenkeeper/cldr-localenames-full-36.0.0
quincylvania Oct 10, 2019
c310de3
Merge pull request #6927 from openstreetmap/greenkeeper/cldr-localena…
quincylvania Oct 10, 2019
08cd382
Cherry pick cldr-localenames-full 36.0.0
quincylvania Oct 10, 2019
1bd7d97
Cherry pick cldr-core 36.0.0
greenkeeper[bot] Oct 9, 2019
eb3f5ee
Update derived data for cldr-localenames-full 36.0.0
quincylvania Oct 10, 2019
e5e1888
Update derived data for cldr-core 36.0.0
quincylvania Oct 10, 2019
913bab6
Add initial 2.16.0 changelog
quincylvania Oct 10, 2019
cdcf5c4
Rename Fill Areas section to Style Options
quincylvania Oct 10, 2019
d7bde50
Locate impossible way issues at the questionable node, not at the cen…
quincylvania Oct 10, 2019
18a2c6c
Fix issue where false edited segment indicators could appear
quincylvania Oct 10, 2019
82acd82
Don't make edited vertex targets larger
quincylvania Oct 10, 2019
cb95682
Always show the reset ignored issues button when there are ignored is…
quincylvania Oct 11, 2019
a66e21c
Fix tooltips on zoom buttons when they're disabled
quincylvania Oct 11, 2019
aba96f0
Add specific "no issues" message if the user has no edits
quincylvania Oct 11, 2019
92116f1
Only show edited vertices as needed (close #6934)
quincylvania Oct 11, 2019
c5e1c0d
Fix lint warning
quincylvania Oct 11, 2019
abd94a9
Show non-actionable "Connect this feature" fix for disconnected roads…
quincylvania Oct 11, 2019
c489eb5
Merge branch '2.15'
quincylvania Oct 11, 2019
db83254
Sort moreFields in the UI with locale-specific alphabetization (close…
quincylvania Oct 12, 2019
8bae4bd
Merge branch '2.15'
quincylvania Oct 12, 2019
edd99f2
Use default sensitivity for sorting moreFields in UI
quincylvania Oct 12, 2019
56f31ad
Always sort the entity issues list deterministically
quincylvania Oct 12, 2019
09d9d95
Update changelog
quincylvania Oct 12, 2019
c30480a
Don't remove highway=platform or add bus=yes when upgrading highway=p…
quincylvania Oct 12, 2019
769c95a
Add non-actionable fix suggestion for "Fix Me" request issues
quincylvania Oct 14, 2019
1bde4dd
Don't show the Cycle & Foot Path preset in Poland, as per request of …
quincylvania Oct 14, 2019
9a2f58d
Fix several right-to-left layout issues
quincylvania Oct 14, 2019
949ec8a
Add issue count badges to the bottom info bar when validating Everything
quincylvania Oct 14, 2019
1c29dd1
Merge pull request #6940 from openstreetmap/issue-and-resolved-count-…
quincylvania Oct 14, 2019
a73843d
Merge branch '2.15'
quincylvania Oct 14, 2019
2aa7c3c
Tweak bottom bar chip padding and update changelog
quincylvania Oct 14, 2019
df85c9c
Update rollup (close #6893)
quincylvania Oct 15, 2019
795d222
Merge branch '2.15'
quincylvania Oct 15, 2019
c4a3f72
Rename "Mailbox" preset to "Mail Drop Box" and add more search terms …
quincylvania Oct 15, 2019
56775fe
Merge branch '2.15'
quincylvania Oct 15, 2019
9c63764
Don't disable items in the preset list during the walkthrough (close …
quincylvania Oct 15, 2019
065480b
Add CBA to the list of brands where we prefer a commons logo
bhousel Oct 15, 2019
a9dbec1
Add `townhall:type` field to Town Hall preset (close #6944)
quincylvania Oct 16, 2019
01d8ce2
Merge branch '2.15'
quincylvania Oct 16, 2019
240d801
Add brewing supply store preset
simonbilskyrollins Oct 21, 2019
31358c4
Add Noise Barrier preset and deprecate several alternative taggings (…
quincylvania Oct 21, 2019
8fffdf3
Rename Construction preset to Construction Area and add terms (close …
quincylvania Oct 21, 2019
9a64c65
Merge pull request #6955 from simonbilskyrollins/brewing-preset
quincylvania Oct 21, 2019
f6bd204
Add brewing supply store preset
simonbilskyrollins Oct 21, 2019
c2db471
Merge branch '2.15'
quincylvania Oct 21, 2019
8cfb83f
Remove unneeded field and update changelog
quincylvania Oct 21, 2019
2576f58
Show uppercase suggestions in the Draft Beers field and update changelog
quincylvania Oct 21, 2019
f92a4b6
Merge branch '2.15'
quincylvania Oct 21, 2019
bd9b4ed
Update to temaki v2.0.0
bhousel Oct 22, 2019
2211e7b
Swqp `temaki-gas` -> `temaki-propane_tank` icon
bhousel Oct 22, 2019
36f4ebc
Update vending machine icons and add egg, bread, ice_cubes
bhousel Oct 22, 2019
213709a
Use several of the new icons
bhousel Oct 22, 2019
2896a84
Move manholes to man_made folder, add types for different utilites
bhousel Oct 22, 2019
3595073
Merge branch '2.15'
bhousel Oct 22, 2019
8f61b73
Don't suggest adding "train=yes" to "railway=station" since it could …
quincylvania Oct 22, 2019
cc63707
Merge branch '2.15'
quincylvania Oct 22, 2019
9a7e901
Don't recommend highway=footway on floating piers
quincylvania Oct 22, 2019
7c846ba
Simplify station tag upgrade
quincylvania Oct 22, 2019
151fae4
Merge branch '2.15'
quincylvania Oct 22, 2019
99e5880
Switch geometry shortcut from G to T (close #6950)
quincylvania Oct 22, 2019
1728745
Remove "terms" property from all unsearchable presets and fields and …
quincylvania Oct 22, 2019
c121ecc
Merge pull request #6963 from openstreetmap/no-unsearchable-terms
quincylvania Oct 22, 2019
87ca6d7
Merge branch '2.15'
quincylvania Oct 22, 2019
6432f4d
Update changelog with info about new icons
quincylvania Oct 22, 2019
ab14ee6
Added more common advertising presets
hikemaniac Oct 23, 2019
e68261e
Upgrade to name-suggestion-index v3.3.0
bhousel Oct 24, 2019
fa8ba10
Add presets for `shop=telecommunication` and `shop=electrical`
bhousel Oct 24, 2019
205eff2
Merge branch '2.15'
bhousel Oct 24, 2019
cb12712
Update Changelog release highlights
bhousel Oct 24, 2019
8aa553a
npm run imagery
bhousel Oct 24, 2019
b312c12
npm run translations
bhousel Oct 24, 2019
dbe016a
v2.16.0
bhousel Oct 24, 2019
c4cc2ed
Merge branch '2.15'
bhousel Oct 24, 2019
ee68029
Upgrade osm-community-index to 1.0.0
bhousel Oct 24, 2019
889ec37
npm run build
bhousel Oct 24, 2019
c782a6c
Merge branch '2.15'
bhousel Oct 24, 2019
af4e59f
Don't require `man_made=pipeline` on `pipeline=valve` (re: #6393)
quincylvania Oct 24, 2019
8e2c5b9
Change instructions for branch `2.15` -> `2.x`
bhousel Oct 24, 2019
60f5ee3
Update rollup to 1.25.2
bhousel Oct 24, 2019
db153b3
Merge branch 'advertising' of https://github.com/hikemaniac/iD into h…
bhousel Oct 24, 2019
c290015
Merge branch 'hikemaniac-advertising' into 2.x
bhousel Oct 24, 2019
bd5c49c
Merge branch '2.x'
bhousel Oct 24, 2019
3886f2d
Merge branch '2.15-building-crossing-layers' into 2.x
bhousel Oct 24, 2019
85c5414
Merge branch '2.x'
bhousel Oct 24, 2019
b4137c1
Push strings to Transfiex only if we are building the 2.x branch
bhousel Oct 24, 2019
ba9cc97
Merge branch '2.x'
bhousel Oct 24, 2019
dd10f4f
Change the warning in the README from `2.15` -> `2.x`
bhousel Oct 24, 2019
defcbe7
Merge branch '2.x'
bhousel Oct 24, 2019
b5fac63
fix(mode/rotate): polygonHull sometimes returns array of length 2 whi…
hackily Oct 28, 2019
b40d4ac
Fix lint
hackily Oct 28, 2019
3e5b007
Merge branch '2.x'
bhousel Oct 28, 2019
d6b7563
Link to the talk
bhousel Oct 28, 2019
4c61354
Merge branch '2.x'
bhousel Oct 28, 2019
d63b645
Updated readme urls to https to avoid redirect[v2]
mbrickn Oct 28, 2019
9f65425
Merge pull request #6984 from mbrickn/patch-2
bhousel Oct 28, 2019
0cccff4
Update rollup to the latest version
bhousel Oct 28, 2019
a4ffc2a
Merge branch '2.x'
bhousel Oct 28, 2019
036c5fa
Allow `natural=cape` on vertex geometry
bhousel Oct 29, 2019
6d25ed0
Merge branch '2.x'
bhousel Oct 29, 2019
df5f859
Allow vending machines on vertices (close #6515)
quincylvania Oct 29, 2019
fc4ec2e
Merge branch '2.x'
quincylvania Oct 29, 2019
5cb3891
Merge branch 'master' of https://github.com/openstreetmap/iD into ope…
Bonkles Nov 1, 2019
2c42093
Add shift modifier to A and D shortcuts so that they don't collide w…
Bonkles Sep 24, 2019
b4f1fa8
Fix duplicate shortcuts for add/remove fb roads.
Bonkles Sep 25, 2019
506ac26
Revert add/remove ml road hotkeys back to A and D (dropping shift)
Bonkles Sep 25, 2019
8534c81
Fix lint errors, remove file that should have been toasted with the m…
Bonkles Sep 25, 2019
8ee4c4a
Alpha version of RapiD v3.
Bonkles Sep 25, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
316 changes: 316 additions & 0 deletions API.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,316 @@
This file documents efforts toward establishing a public API for iD.

## URL parameters

##### iD Standalone

iD supports several URL parameters. When constructing a URL to a standalone instance
of iD (e.g. `http://preview.ideditor.com/release/`), the following parameters are available
**in the hash portion of the URL**:

* __`background`__ - The value from a `sourcetag` property in iD's
[imagery list](https://github.com/openstreetmap/iD/blob/master/data/imagery.json),
or a custom tile URL. A custom URL is specified in the format `custom:<url>`,
where the URL can contain the standard tile URL placeholders `{x}`, `{y}` and
`{z}`/`{zoom}`, `{ty}` for flipped TMS-style Y coordinates, and `{switch:a,b,c}` for
DNS multiplexing.<br/>
_Example:_ `background=custom:https://{switch:a,b,c}.tile.openstreetmap.org/{zoom}/{x}/{y}.png`
* __`comment`__ - Prefills the changeset comment. Pass a url encoded string.<br/>
_Example:_ `comment=CAR%20crisis%2C%20refugee%20areas%20in%20Cameroon`
* __`disable_features`__ - Disables features in the list.<br/>
_Example:_ `disable_features=water,service_roads,points,paths,boundaries`<br/>
_Available features:_ `points`, `traffic_roads`, `service_roads`, `paths`, `buildings`, `building_parts`, `indoor`, `landuse`,
`boundaries`, `water`, `rail`, `pistes`, `aerialways`, `power`, `past_future`, `others`
* __`gpx`__ - A custom URL for loading a gpx track. Specifying a `gpx` parameter will
automatically enable the gpx layer for display.<br/>
_Example:_ `gpx=https://tasks.hotosm.org/project/592/task/16.gpx`
* __`hashtags`__ - Prefills the changeset hashtags. Pass a url encoded list of event
hashtags separated by commas, semicolons, or spaces. Leading '#' symbols are
optional and will be added automatically. (Note that hashtag-like strings are
automatically detected in the `comment`).<br/>
_Example:_ `hashtags=%23hotosm-task-592,%23MissingMaps`
* __`id`__ - The character 'n', 'w', or 'r', followed by the OSM ID of a node, way or relation, respectively. Selects the specified entity and centers the map on it, ignoring the `map` parameter. Multiple comma-separated values are supported.<br/>
_Example:_ `id=n1207480649`
_Example 2:_ `id=n1207480649,n3334654948`
* __`locale`__ - A code specifying the localization to use, affecting the language, layout, and keyboard shortcuts. The default locale is set by the browser.<br/>
_Example:_ `locale=en-US`, `locale=de`<br/>
_Available values:_ Any of the [supported locales](https://github.com/openstreetmap/iD/tree/master/dist/locales).
* __`map`__ - A slash-separated `zoom/latitude/longitude`. This will have no effect if `id` is specified.<br/>
_Example:_ `map=20.00/38.90085/-77.02271`
* __`maprules`__ - A path to a [MapRules](https://github.com/radiant-maxar/maprules) service endpoint for enhanced tag validation.<br/>
_Example:_ `maprules=https://path/to/file.json`
* __`offset`__ - Background imagery alignment offset in meters, formatted as `east,north`.<br/>
_Example:_ `offset=-10,5`
* __`photo_overlay`__ - The street-level photo overlay layers to enable.<br/>
_Example:_ `photo_overlay=streetside,mapillary,openstreetcam`<br/>
_Available values:_ `streetside` (Microsoft Bing), `mapillary`, `mapillary-signs`, `mapillary-map-features`, `openstreetcam`
* __`presets`__ - A path to an external presets file or a comma-separated list of preset IDs. These will be the only presets the user may select.<br/>
_Example:_ `presets=https://path/to/presets.json`
_Example 2:_ `presets=building,highway/residential,highway/unclassified`
* __`rtl=true`__ - Force iD into right-to-left mode (useful for testing).
* __`source`__ - Prefills the changeset source. Pass a url encoded string.<br/>
_Example:_ `source=Bing%3BMapillary`
* __`walkthrough=true`__ - Start the walkthrough automatically

##### iD on openstreetmap.org (Rails Port)

When constructing a URL to an instance of iD embedded in the OpenStreetMap Rails
Port (e.g. `http://www.openstreetmap.org/edit?editor=id`), the following parameters
are available as **regular URL query parameters**:

* __`map`__ - same as standalone
* __`lat`__, __`lon`__, __`zoom`__ - Self-explanatory.
* __`node`__, __`way`__, __`relation`__ - Select the specified entity.
* __`background`__ - same as standalone
* __`disable_features`__ - same as standalone
* __`gpx`__ - same as standalone
* __`maprules`__ - same as standalone
* __`offset`__ - same as standalone
* __`presets`__ - same as standalone
* __`comment`__ - same as standalone
* __`source`__ - same as standalone
* __`hashtags`__ - same as standalone
* __`locale`__ - same as standalone, but the default locale is set by the language settings in your OSM user account.
* __`walkthrough`__ - same as standalone


## CSS selectors

iD has a documented and stable set of classes that can be used to apply style or
attach behavior to the visual representation of map data via CSS selectors.
These classes relate to the vocabulary of the OSM data model, a related geometric
vocabulary established by iD, and to the tags present on OSM entities.

### OSM Data Model classes

An SVG element on the map to which an iD.Entity has been bound as a datum shall
have a class with that datum's type, i.e. either `.node` or `.way`. (If and when
we add visual representations for relations, `.relation` may also be valid.)

The visual representation of a single entity may be composed of several elements,
e.g. ways are composed of casing and stroke. Such elements will have a distinct class
identifying the particular aspect of representation, e.g. `.casing` and `.stroke`.

The particular type of SVG element (`path`, `circle`, `image` etc.) that is used to
implement that visual representation is explicitly NOT part of the public API. Avoid
naming specific tags in CSS selectors; as iD evolves, we may need to change what SVG
elements we use in order to implement a particular visual style.

### Geometric classes

In addition to the OSM element vocabulary of nodes, ways, and relations, iD has
established a related geometric vocabulary consisting of points, vertices, midpoints,
lines, and areas.

A **point** is a node that is not a member of any way. Elements representing points
have a `.point` class. Since a point is always a node, they also have a `.node` class.

A **vertex** is a node that is a member of one or more ways. Elements representing
points have `.vertex` and `.node` classes.

A **midpoint** is a virtual point drawn midway between two vertices along a way.
Midpoints indicate the direction that the way, but can also be selected and dragged
to create a new point along the way. Midpoints are classed with a `.midpoint` class.

A **line** is a way that is not an area. Elements representing lines have a `.line`
class. Since a line is also a way, they also have a `.way` class.

An **area** is a way that is circular, has certain tags, or lacks certain other
tags (see `iD.osmWay#isArea` for the exact definition). Elements representing areas
have `.area` and `.way` classes.


### Tag classes

Elements also receive classes according to certain of the OSM key-value tags that are
assigned to them.

Tag classes are prefixed with `tag-` (see [`iD.svgTagClasses`](https://github.com/openstreetmap/iD/blob/master/js/id/svg/tag_classes.js) for details).

#### Primary

An element may be classed with at most one primary tag class based on its main OSM
key -- "building", "highway", "railway", "waterway", etc.
(e.g. `.tag-highway .tag-highway-residential`).

#### Secondary

An element may be classed with one or more secondary tag classes based on other
interesting OSM keys -- "bridge", "tunnel", "barrier", "surface", etc.
(e.g. `.tag-bridge .tag-bridge-yes`).

#### Status

An element may be classed with at most one status tag. Status tagging in OSM can
be either key or value based, but iD attempts to detect most common lifecycle tagging
schemes -- "construction", "proposed", "abandoned", "disused", etc.
(e.g. `.tag-status .tag-status-construction`).

#### Unpaved Surfaces (highways only)

Most vehicular highways in OSM are assumed to have a smooth paved surface. A highway
element may receive the special tag class `.tag-unpaved` if it contains certain OSM tags
indicating a bumpy surface.

### Special classes

- A node that is a member of two or more ways shall have the `.shared` class.

- A node that is an endpoint of a linear way shall have the `.endpoint` class.

- Two or more nodes at identical coordinates shall each have an `.overlapped` class. (TODO)

- Elements comprising the entity currently under the cursor shall have the `.hover` class.
(The `:hover` psuedo-class is insufficient when an entity's visual representation consists
of several elements, only one of which can be `:hover`ed.)

- Elements that are currently active (being clicked or dragged) shall have the `.active`
class.

- Elements that are currently selected shall have the `.selected` class.


## Customized Deployments

iD may be used to edit maps in a non-OpenStreetMap environment. This requires
certain parts of the iD code to be replaced at runtime by custom code or data.

iD is written in a modular style and bundled with [rollup.js](http://rollupjs.org/),
which makes hot code replacement tricky. (ES6 module exports are
[immutable live bindings](http://www.2ality.com/2015/07/es6-module-exports.html)).
Because of this, the parts of iD which are designed for customization are exported
as live bound objects that can be overriden at runtime _before initializing the iD context_.

### Services

The `iD.services` object includes code that talks to other web services.

To replace the OSM service with a custom service that exactly mimics the default OSM service:
```js
iD.services.osm = serviceMyOSM;
```

Some services may be removed entirely. For example, to remove the Mapillary service:
```js
iD.services.mapillary = undefined;
// or
delete iD.services.mapillary;
```


### Background Imagery

iD's background imagery database is stored in the `iD.data.imagery` array and can be
overridden or modified prior to creating the iD context.

Note that the "None" and "Custom" options will always be shown in the list.

To remove all imagery from iD:
```js
iD.data.imagery = [];
```

To replace all imagery with a single source:
```js
iD.data.imagery = [{
"id": "ExampleImagery",
"name": "My Imagery",
"type": "tms",
"template": "http://{switch:a,b,c}.tiles.example.com/{z}/{x}/{y}.png"
}];
```

Each imagery source should have the following properties:
* `id` - Unique identifier for this source (also used as a url paramater)
* `name` - Display name for the source
* `type` - Source type, currently only `tms` is supported
* `template` - Url template, valid replacement tokens include:
* `{z}`, `{x}`, `{y}` - for Z/X/Y scheme
* `{-y}` or `{ty}` - for flipped Y
* `{u}` - for quadtile scheme
* `{switch:a,b,c}` - for parts of the url that can be cycled for connection parallelization

Optional properties:
* `description` - A longer source description which, if included, will be displayed in a popup when viewing the background imagery list
* `overlay` - If `true`, this is an overlay layer (a transparent layer rendered above base imagery layer). Defaults to `false`
* `zoomExtent` - Allowable min and max zoom levels, defaults to `[0, 22]`
* `polygon` - Array of coordinate rings within which imagery is valid. If omitted, imagery is assumed to be valid worldwide
* `overzoom` - Can this imagery be scaled up when zooming in beyond the max zoom? Defaults to `true`
* `terms_url` - Url to link to when displaying the imagery terms
* `terms_html` - Html content to display in the imagery terms
* `terms_text` - Text content to display in the imagery terms
* `best` - If set to `true`, this imagery is considered "better than Bing" and may be chosen by default when iD starts. Will display with a star in the background imagery list. Defaults to `false`

For more details about the `iD.data.imagery` structure, see
[`update_imagery.js`](https://github.com/openstreetmap/iD/blob/master/data/update_imagery.js).


### Presets

iD's preset database is stored in the `iD.data.presets` object and can be overridden
or modified prior to creating the iD context.

The format of the `presets` object is
[documented here](https://github.com/openstreetmap/iD/tree/master/data/presets#custom-presets).

To add a new preset to iD's existing preset database.
```js
iD.data.presets.presets["aerialway/zipline"] = {
geometry: ["line"],
fields: ["incline"],
tags: { "aerialway": "zip_line" },
name: "Zipline"
};
```

To completely replace iD's default presets with your own:
```js
iD.data.presets = myPresets;
```

To run iD with the minimal set of presets that only match basic geometry types:
```js
iD.data.presets = {
presets: {
"area": {
"name": "Area",
"tags": {},
"geometry": ["area"]
},
"line": {
"name": "Line",
"tags": {},
"geometry": ["line"]
},
"point": {
"name": "Point",
"tags": {},
"geometry": ["point"]
},
"vertex": {
"name": "Vertex",
"tags": {},
"geometry": ["vertex"]
},
"relation": {
"name": "Relation",
"tags": {},
"geometry": ["relation"]
}
}
};
```


### Minimum Editable Zoom

The minimum zoom at which iD enters the edit mode is configured using the `context.minEditableZoom()` accessor. The default value is 16. To change this initialise the iD context as:

```js

var id = iD.coreContext()
.minEditableZoom(zoom_level)

```

This should be set with caution for performance reasons. The OpenStreetMap API has a limitation of 50000 nodes per request.
Loading