Bryan Housel
4244de00f3
Update dependencies, move some projects from ideditor -> rapideditor
2023-03-13 10:28:56 -04:00
Peter Newman
cb17741e28
Revert "Add countryReplacements JSON schema"
...
This reverts commit 4daf7f4e53464278f65ff9c26a317ce6df47dd2c.
2022-10-27 10:29:27 -04:00
Peter Newman
209a9d50c9
Revert "Fix the outstanding JSON syntax issues"
...
This reverts commit 5227d303b41a8cd36f3b7248ff96e360f29e9f05.
2022-10-27 10:29:27 -04:00
Peter Newman
6958155068
Fix the outstanding JSON syntax issues
2022-10-27 10:29:27 -04:00
Peter Newman
e1499f2924
Add countryReplacements JSON schema
2022-10-27 10:29:27 -04:00
Kyle Hensel
6db35274a2
[nz] add bus operators and other brands
2022-06-01 17:46:34 +12:00
Bryan Housel
cc5fea7a66
Fix locationSet schema to allow optional radius parameter
2021-04-15 10:55:45 -04:00
Bryan Housel
21f5b4e838
In trees schema, name tag patterns do not need to be Arrays
2021-03-15 11:36:34 -04:00
Bryan Housel
366b13b4ff
preserveTags should have format regex in the json schema
2021-02-24 10:02:03 -05:00
Bryan Housel
deb87996c8
Swap out mergeStrategy idea with simpler preserveTags array
...
(closes #4906 )
2021-02-24 09:48:52 -05:00
Bryan Housel
db2475de01
Experimenting with introducing a tag merge strategy
...
(re: #4906 )
2021-02-23 11:12:49 -05:00
Bryan Housel
58d638f4fe
Restore the filtering in build script,
...
Add skipCollection for categories which should not do it
(re: #4906 )
2021-02-18 15:20:53 -05:00
Bryan Housel
e5bb924bc1
Store in trees.json which source tags we are collecting from OSM
2021-02-18 13:13:02 -05:00
Bryan Housel
ea9d441ffb
Wrap category properties in a properties
object
2021-02-18 12:30:42 -05:00
Bryan Housel
953b5531e0
Relax schamas, start refactor of cache and tree structures
...
This moves towards storing more information about categories in the data/* files
(re: #4906 )
2021-02-17 09:48:25 -05:00
Bryan Housel
93ae4a408c
Add templateInclude/templateExclude for UPS mailboxes
...
(closes #4866 )
2021-01-19 17:06:08 -05:00
Bryan Housel
c05dd74a25
Matcher refactor, many improvements
...
- Separate caches for primary/alternate names
- This lets us perform a single indexing pass and return more relevant name matches
- Add primary/alternate name tag patterns to trees.json
- match() returns a result object that sorts primary before alternate
- More speed improvements
- More tests
2021-01-15 12:01:12 -05:00
Bryan Housel
3e6cd9d295
Add a flags tree
...
(re: #4745 )
2020-12-01 13:31:02 -05:00
Bryan Housel
125a4109f0
Read and write all trees at once, use tree metadata to decide main tag
...
(also if P31 "instance of" is missing, set it to Q43229 "organization")
(closes #4726 )
2020-11-25 17:26:02 -05:00
Bryan Housel
ef3f1e74c4
Config files changes - move more logic from scripts to config
...
(re: #4733 )
2020-11-25 14:26:28 -05:00
Bryan Housel
46ab8eba06
Generate "operators/amenity/post_box" from "operators/amenity/post_office"
...
(re: #2883 , re: #4646 )
2020-11-12 12:24:10 -05:00
Bryan Housel
ba5941b320
Implement template string replacement, use more resonable prop names
...
(re: #2883 )
2020-11-11 23:27:32 -05:00
Bryan Housel
66d2567a13
Support template items, add an atm.json file
...
They don't do anything yet, but they can be loaded/saved
(re: #2883 )
2020-11-11 16:21:17 -05:00
Bryan Housel
d257cc30c6
Introduce replacements.json file for remapping QIDs
...
(closes #3154 )
2020-11-10 15:33:35 -05:00
Bryan Housel
5e55b07e74
More file renames, update README
2020-10-01 13:48:40 -04:00
Bryan Housel
a4400cd45c
Rename config/filters.json -> config/brand_filters.json
...
(there will be more of these soon)
2020-09-29 12:39:24 -04:00
Peter Newman
fec5fc4812
Added Santander Cycles to amenity=bicycle_rental ( #4191 )
...
* Added Santander Cycles to amenity=bicycle_rental
No value for name=* as this is the name of the individual docking station.
* Add some more Santander Cycles match names
* Fix the syntax
* Show why the Travis build failed
* Fix the log path
* Add an ID to try and fix the build
* Try and fix the validation
* Put the matchNames back
* Require at least one of brand/operator/network but allow more than one too
As per https://json-schema.org/understanding-json-schema/reference/combining.html#anyof
Co-authored-by: rskedgell <58479391+rskedgell@users.noreply.github.com>
2020-09-25 15:08:46 -04:00
Bryan Housel
9b73ff5b58
Reword some of the docs, rename "entries" -> "items"
...
("entries" sounds more like something that a person entered)
2020-09-22 14:31:48 -04:00
Bryan Housel
124521abc7
Relax the "name" requirement, but require oneOf "brand", "operator", "network"
...
(re: #4034 , #3009 , #3995 )
2020-09-22 13:27:10 -04:00
Bryan Housel
cd930aa21e
Remove all the oldids
...
(closes #3995 )
2020-09-21 16:21:02 -04:00
Bryan Housel
fcae612a6b
Add "note" to the list of not-allowed tags.
...
Remove "operator", in preparation for trees which will use it
(re: #4114 )
2020-09-16 15:01:05 -04:00
Bryan Housel
073a06da29
Support a note
property on the items.
...
(closes #4114 )
2020-09-16 13:54:49 -04:00
Bryan Housel
088124421a
Move over new file_tree code first, to attempt a migration
2020-09-16 10:21:11 -04:00
Bryan Housel
af2f2ae123
Support custom features under the features/* folder
...
(re: #3162 )
2020-06-17 17:52:02 -04:00
Bryan Housel
4323d11547
Remove countryCodes
2020-06-03 23:54:54 -04:00
Bryan Housel
84ed4c9d4f
Support locationSets in schema, create a LocationConflation instance
2020-06-03 15:54:26 -04:00
Bryan Housel
669ccbf7d0
toLowerCase the things that might as well be lowercase
...
(closes #3393 )
2019-11-21 12:01:33 -05:00
Bryan Housel
cf21ce52ad
Drop all operator
tags from the index
...
(closes #2816 )
2019-06-27 10:48:16 -04:00
Bryan Housel
10fc167278
Require "name" and "brand" properties in tags
...
(re: #2785 )
2019-06-11 10:03:27 -04:00
Bryan Housel
9114b8861a
Deprecate and remove all remaining match
properties
...
(re: #2606 , #2611 )
2019-05-14 15:43:49 -04:00
Bryan Housel
3e1cc6acfb
Cleanup some matchNames and matchTags
...
Also don't use regex for matchNames right now.
Maybe introduces more complexity than we need.
2019-05-10 11:00:40 -04:00
Bryan Housel
4888206e53
Update descriptions
2019-05-10 00:15:59 -04:00
Bryan Housel
6a096f5af2
Add matchNames, matchTags schema properties
2019-05-09 12:10:08 -04:00
Bryan Housel
8d26244b6e
Drop some legacy stuff from the entries schema
...
`logos`, `count`, `nocount`
2019-05-08 16:50:18 -04:00
Bryan Housel
3bc8ea8a16
Add fetch_logos.js and fetch all the logos!
2019-03-11 15:37:51 -04:00
Bryan Housel
395812c4d6
Handle read/write from any subtree (currently just 'brands')
2019-03-03 10:47:55 -05:00
Bryan Housel
5277f943a6
Don't allow properties like countryCodes
in the tags
section
...
(closes #2029 )
This commit also fixes a few situations where it was done wrong :)
2018-10-20 16:54:50 -04:00
Bryan Housel
90b56f6360
stricter schema property validation
...
(closes #1974 )
2018-10-19 09:02:19 -04:00
Bryan Housel
c1b588252d
Discard a lot of generic restaurant names
2018-09-21 22:06:22 -04:00
Bryan Housel
ae485ce3d9
Add JSON Schema validation for config files
...
(closes #97 )
2018-09-19 11:20:05 -04:00