Commit Graph

11 Commits

Author SHA1 Message Date
Bryan Housel
567eeac587 Make several data external instead of bundled:
Also dist/data/* contains minified files now

These are now external and will fetch as needed:
-export { dataAddressFormats } from './address-formats.json';
-export { dataDeprecated } from './deprecated.json';
-export { dataDiscarded } from './discarded.json';
-export { dataLanguages } from './languages.json';
-export { dataPhoneFormats } from './phone-formats.json';
-export { dataShortcuts } from './shortcuts.json';
-export { dataTerritoryLanguages } from './territory-languages.json';
2020-01-28 22:21:31 -05:00
Bryan Housel
230e5d6aab Add more osmarender tags to discarded.json
(re: https://github.com/openstreetmap/iD/pull/6091#issuecomment-475982320)
2019-03-25 10:28:39 -04:00
Mateusz Konieczny
decbe4f853 Add osmarender:nameDirection to discarded tags
There is currently ongoing discussion on talk mailing list about my proposed automatic edit that proposed to remove it.

It seems to be that there is a consensus to eliminate this tag (as unwanted rendering instruction for no longer existing renderer), but not everybody is happy about using bot edits. It was proposed to silently discard it during editing like created_by tag.

JOSM added this tag to list of automatically discarded ones - see https://josm.openstreetmap.de/changeset/14916/josm
2019-03-23 14:26:02 +01:00
Bryan Housel
440b01a6ca Use json-stringify-pretty-compact for compacter json
(this reduces a few file sizes and will make for better github diffs)
2018-06-15 11:48:07 -04:00
Bryan Housel
dac753c4ea Speedup hot code in actionDiscardTags
(re: #4611)
2018-02-04 14:57:26 -05:00
Bryan Housel
8fb5f3a5a1 Degunk data sources by named-importing single toplevel key
See: https://github.com/openstreetmap/iD/issues/3403#issuecomment-245150454

This change drops the iD.js bundle size from 4.5MB to 3.4MB, and makes it
much more readable, which is nice for debugging.  This does not affect the
minified bundle size.
2016-10-26 16:29:49 -04:00
Bryan Housel
084825bfe2 Discard yh:WIDTH tags (closes #2806) 2015-10-17 21:48:34 -04:00
Paul Norman
4cd7964687 Add KSJ2 tags to discard list
See http://lists.openstreetmap.org/pipermail/imports/2013-September/002133.html
2013-09-13 09:47:42 -07:00
Paul Norman
3ffa0ee10b Re-order discarded.json for readability
Also splits the import-related into groups by import
2013-09-13 09:32:52 -07:00
pnorman
5684015e7c Add SK53_bulk:load to discarded tags
Added as per consultation with SK53. This tag served a similar purpose to tiger:upload_uuid
2013-06-25 14:18:02 -06:00
John Firebaugh
87fd5d871c Build data into package 2013-03-06 16:16:12 -08:00