Commit graph

1173 commits

Author SHA1 Message Date
pietervdvn
49f26687e3 Zoom to geolocation automatically if within 60 seconds, fix reading the previous map location from local storage if not initialized, fix #724" 2022-04-09 21:42:59 +02:00
pietervdvn
9238f0f381 Simplify handling of id rewrites by centralizing them to the changesethandler (which improves testability too), fixes a part of #564 2022-04-08 04:18:53 +02:00
pietervdvn
b119e1ac1d Import helper: Improve error messages of non-matching presets; fix bug if a value is 'null' in source geojson 2022-04-04 04:54:54 +02:00
pietervdvn
a037d04577 Enable all languages in translators mode 2022-04-03 03:00:45 +02:00
pietervdvn
796ee40f3b Merge master 2022-04-01 12:56:51 +02:00
pietervdvn
2c7fb556dc Add translation buttons 2022-04-01 12:51:55 +02:00
pietervdvn
b5e289764e Add detection for negative tagging in layers, fix issue with 'key!=' being interpreted as 'key!=*', add tests 2022-03-31 02:44:23 +02:00
pietervdvn
c8e013f30e Fix 'moveToLocation' for bounded themes, add test 2022-03-28 21:56:25 +02:00
pietervdvn
676787eaf7 Switch to doctest-ts-improved 2022-03-25 16:42:33 +01:00
pietervdvn
abc4a08b3a Fix regression and add tests, add overpass link in layer documentation 2022-03-24 19:59:46 +01:00
pietervdvn
51fe206736 Cleanup of last tests 2022-03-24 03:30:05 +01:00
pietervdvn
9617dbc34d Add more checks in the import helper after user testing 2022-03-24 03:11:29 +01:00
pietervdvn
2dac893bb3 Further refactoring of the tests 2022-03-23 19:48:06 +01:00
pietervdvn
97c88af619 More refactoring of the tests 2022-03-18 13:04:12 +01:00
pietervdvn
535b5db7b0 More tests 2022-03-17 21:51:53 +01:00
pietervdvn
52a440dd18 Add small test 2022-03-16 14:06:10 +01:00
pietervdvn
daa23fad95 Merge master 2022-03-15 13:45:20 +01:00
pietervdvn
ae04047346 Fix changeset uploading 2022-03-15 13:44:34 +01:00
pietervdvn
074782c1e0 More tests 2022-03-15 13:40:23 +01:00
pietervdvn
82e59bc1eb More unit tests 2022-03-15 01:42:38 +01:00
pietervdvn
4f4fc650b1 First steps to a real testing framework: first working version with mocha, chai and doctest-ts 2022-03-14 22:57:01 +01:00
pietervdvn
f20144a502 Merge master 2022-03-14 03:34:42 +01:00
pietervdvn
e4f062b7a5 Fix dissappearing default tags, add tests 2022-03-14 03:33:03 +01:00
pietervdvn
9008e333ac Optimize queries to overpass 2022-03-13 01:27:19 +01:00
Tobias
c88632ce8b
Changeset tag host: Add domain and path (#689)
* Changeset tag `host`: Add domain and path

Extend the value of the changeset tag host key to include the full url of the editor. This way a reader of the changeset can open the editor based on this value.

* Remove `path` from changeset tags
2022-03-06 22:01:01 +01:00
pietervdvn
d40d77d86f Fix optimalization, some cleanup 2022-03-02 17:13:21 +01:00
pietervdvn
8c9e2a36b3 Disable broken optimalization 2022-03-02 16:31:52 +01:00
pietervdvn
9574259e75 First attempt to use less resources 2022-03-02 16:00:02 +01:00
pietervdvn
cf39a55019 Increase zoomlevel before error message is triggered 2022-02-27 20:48:58 +01:00
pietervdvn
7b837d7435 Fix GRB theme 2022-02-24 03:09:30 +01:00
pietervdvn
5284f198d8 Fix various bugs 2022-02-22 14:13:41 +01:00
pietervdvn
bf05a88afd Merge branch 'develop' of github.com:pietervdvn/MapComplete into develop 2022-02-16 02:31:39 +01:00
pietervdvn
39e6cdfda4 Fix dependency injection of refactoring 2022-02-16 01:46:55 +01:00
pietervdvn
f0675a026b Exporting CSV/Geojson now respects filters + refactoring away State.state 2022-02-16 01:34:28 +01:00
pietervdvn
2ed6e04a7a Merge branch 'develop' of github.com:pietervdvn/MapComplete into develop 2022-02-16 01:00:54 +01:00
pietervdvn
9cd83af941 Add 'upload GPX-trace to OSM' code, small improvements to gps_track-layer 2022-02-16 01:00:28 +01:00
pietervdvn
f2042a6db4 Use layer-<layerid> again as URL parameter 2022-02-16 00:21:03 +01:00
pietervdvn
4638f82635 Fix tests 2022-02-16 00:14:22 +01:00
pietervdvn
dfb16fa802 Small refactoring: move changeset-handler creation to 'changes' 2022-02-15 23:44:16 +01:00
pietervdvn
e721146ca1 Show loading screen when logging in 2022-02-15 15:42:09 +01:00
pietervdvn
419f2b1351 Fix personal theme, add possibility to sync layer selection 2022-02-14 18:18:05 +01:00
pietervdvn
dc959e15f4 Fix filter selection for one option 2022-02-14 15:59:42 +01:00
pietervdvn
6cb5803efd Save layoutconfigJSON as preferences, the are saved in the morescreen 2022-02-14 15:41:14 +01:00
pietervdvn
60c4b0d00d Fix geojson source: remove 'null' properties; UK-addresses: filter matched addresses by default 2022-02-14 13:52:18 +01:00
pietervdvn
c941f567cf Add extraLink button which replaced the iframePopout button, fix #654 2022-02-14 04:48:33 +01:00
pietervdvn
e04e7ddf6a Remove obsolete print statement 2022-02-14 03:16:30 +01:00
pietervdvn
f447854834 Small refactoring, fix logic which possibly caused #659 (to be confirmed) 2022-02-14 02:50:21 +01:00
pietervdvn
1c418e5a49 Add code quality test, remove all constructor.name entries as they are unreadable after minification 2022-02-14 02:26:03 +01:00
pietervdvn
312dbe7aff Add test for generating the cache 2022-02-14 01:15:20 +01:00
pietervdvn
31024c5074 Properly fix detection of 'point in polygon' with multipolygons, fixes GRB display issue 2022-02-11 15:27:20 +01:00
pietervdvn
08efcbdea0 Optimize availableBaseLayers code 2022-02-11 15:11:50 +01:00
pietervdvn
695a0867c7 Fix duplicate buildings for grb layer; add default flag for filters, performance improvement 2022-02-11 03:57:39 +01:00
pietervdvn
31205f3430 Filter duplicate ids from new ways, #564 2022-02-11 02:55:42 +01:00
pietervdvn
30be86668e Fix autoapply for GRB theme 2022-02-10 23:16:14 +01:00
pietervdvn
b3c58ae82e Extract and validate images using a new conversion, regenerate docs 2022-02-09 22:37:21 +01:00
pietervdvn
62272774bc Add layer only mode for user layouts 2022-02-08 00:56:47 +01:00
pietervdvn
819a33e299 Add some comments on bing maps 2022-02-08 00:34:07 +01:00
pietervdvn
0f95891a47 Add option to force loading of a layer, even if it is hidden + automatically set this flag is another layer depends on this layer 2022-02-07 01:59:07 +01:00
pietervdvn
b8b63dc34c Tweaking the loading screen 2022-02-06 03:45:32 +01:00
pietervdvn
508ef8a970 Rephrase to increase clarity 2022-02-05 23:38:55 +01:00
pietervdvn
a3b32a3697 Fix loading of relative images in custom themes 2022-02-04 15:48:26 +01:00
pietervdvn
dd68cc39e7 Unofficial themes are remembered now 2022-02-04 14:36:26 +01:00
pietervdvn
b08adc7fc9 Fix loading of custom themes 2022-02-04 13:17:50 +01:00
pietervdvn
9ff4323ec6 Fix typo 2022-02-04 03:31:47 +01:00
pietervdvn
3e2c6a0f23 Improvements to themes 2022-02-04 02:48:31 +01:00
pietervdvn
80533597c1 Inject newly created notes into the map 2022-02-04 00:44:51 +01:00
pietervdvn
7001216ab7 Add more consistency checks, slight refactoring of theme conversions 2022-02-04 00:44:09 +01:00
pietervdvn
e38b14b77a Force evaluation of lazy tags during caching 2022-02-02 02:36:49 +01:00
pietervdvn
c15f3d2036 Lots of styling tweaks, add filter links between layers 2022-02-01 04:14:54 +01:00
pietervdvn
5cefc4d25f Some cleanup of changesetHandler, add import source with reference to the note 2022-02-01 00:09:28 +01:00
pietervdvn
d1e99fc2d3 Cyclestreets: only add maxspeed=30 in Belgium; change 'language' to 'locale' in changeset tags, load notes in import_viewer up to two years back, language tweaks 2022-01-31 20:52:56 +01:00
pietervdvn
a11e0fc545 Merge master 2022-01-31 20:12:11 +01:00
pietervdvn
618f61d3e8 Fix typo 2022-01-31 13:14:07 +01:00
pietervdvn
74489d5e3f Merge master 2022-01-30 19:06:41 +01:00
pietervdvn
aba6cd0580 Fix commenting on notes 2022-01-30 18:53:07 +01:00
pietervdvn
5f33949b93 Fix commenting on notes 2022-01-30 18:47:19 +01:00
pietervdvn
9594868e83 Better tag rewriting, add icons, add bicycle rental theme 2022-01-29 02:45:59 +01:00
pietervdvn
ed7a109736 Fix custom themes 2022-01-27 20:37:22 +01:00
pietervdvn
0505a77606 Regenerate schema files 2022-01-26 21:48:02 +01:00
pietervdvn
fa971ffbbf Full code cleanup 2022-01-26 21:40:38 +01:00
pietervdvn
99edba4c73 Merge master 2022-01-26 21:12:25 +01:00
pietervdvn
d2b245ab54 Performance optimazations 2022-01-26 20:47:08 +01:00
pietervdvn
f09134c3be Update to the import viewers 2022-01-25 21:55:51 +01:00
pietervdvn
791c6c4f55 Include route=foot in trails 2022-01-25 18:20:15 +01:00
pietervdvn
fa179af601 More work on import flow 2022-01-25 00:48:05 +01:00
pietervdvn
b61c0a1180 Fix: remember previous, externally loaded themes 2022-01-25 00:46:57 +01:00
pietervdvn
06f9f2d94c Remove image rewriting for custom themes 2022-01-24 19:55:02 +01:00
pietervdvn
848a05a21f Quickfix for loading external themes 2022-01-24 16:43:50 +01:00
pietervdvn
33ef83c4a9 Finish import_viewer gui 2022-01-24 03:09:21 +01:00
pietervdvn
9b85382bc1 Fix popup behaviour, version bump 2022-01-21 13:58:40 +01:00
pietervdvn
1e3206120c Fix #596 2022-01-21 03:57:49 +01:00
pietervdvn
e58b93e562 Merge branches 2022-01-21 02:25:56 +01:00
pietervdvn
eb8fea5692 Fix caching 2022-01-21 02:22:59 +01:00
pietervdvn
ca1490902c Finish importer, add applicable import layers to every theme by default 2022-01-21 01:57:16 +01:00
pietervdvn
3402ac0954 Lots of refactoring, first version of the import helper 2022-01-19 20:34:04 +01:00
pietervdvn
25f956c808 Autoreformat all the things 2022-01-18 18:52:42 +01:00
pietervdvn
d7f8ff01d5 FilteringFeatureSource can now handle undefined values 2022-01-18 10:25:11 +01:00
pietervdvn
d4d7ab6f3a More fixing, first complete version of UK-addresses-theme 2022-01-17 23:50:50 +01:00
pietervdvn
8ca9e4f36c Fix various bugs; improve UK-addresses theme 2022-01-17 21:33:03 +01:00
pietervdvn
2e2a6965e7 Add theme introspecting mapcomplete changes 2022-01-16 02:00:55 +01:00
pietervdvn
00e5ce0b02 The overpassfeaturesource now only fetches layers that must be updated, fix #599 2022-01-15 02:44:11 +01:00
pietervdvn
a65afbbb58 Work on automatically creating an import layer for every feature 2022-01-14 13:58:37 +01:00
pietervdvn
555dbf3478 Attempt to fix loading 2022-01-14 03:57:36 +01:00
pietervdvn
a03313fb3d Some refactoring 2022-01-14 03:14:56 +01:00
pietervdvn
85af8a20b0 Tweak new note marker, formatting 2022-01-14 02:40:55 +01:00
pietervdvn
6ae8ec8036 Add 'add new note' functionality, fix bug where 'test'-theme comes up when deleting images 2022-01-14 01:41:19 +01:00
pietervdvn
6999a73d44 Add import from notes functionality 2022-01-12 02:31:51 +01:00
pietervdvn
93f6adf8a8 Merge master 2022-01-11 11:27:55 +01:00
pietervdvn
05e0986a51 Fix metatagging 2022-01-11 00:20:55 +01:00
pietervdvn
42a6b37ca6 Add filters 2022-01-08 22:11:24 +01:00
pietervdvn
965faca0e5 MapComplete now always zooms up to level 21 with overzoom, fix #606 2022-01-08 20:05:00 +01:00
pietervdvn
b15eaff55e Add image support in notes 2022-01-08 14:08:04 +01:00
pietervdvn
a58ce564c2 Add theme for 'notes' 2022-01-08 04:22:50 +01:00
pietervdvn
677a07e3d2 Add unsearch 2022-01-07 17:33:41 +01:00
pietervdvn
91d2272861 First working version of the notes-layer, add filtering 2022-01-07 17:31:39 +01:00
pietervdvn
ebb510da04 First draft of loading 'notes' 2022-01-07 04:14:53 +01:00
pietervdvn
94f66eafc1 Merge develop 2022-01-06 20:10:57 +01:00
pietervdvn
7090a5ceb8 Performance hacks 2022-01-06 18:51:52 +01:00
pietervdvn
3176a4d665 More or less working version of advanced conflation 2022-01-06 14:39:42 +01:00
pietervdvn
ac1b4a010c Merge develop 2022-01-05 18:18:13 +01:00
pietervdvn
7f99e76b0c Merge branch 'develop' into feature/conflation-fix 2022-01-05 18:14:15 +01:00
pietervdvn
ee962f4ba3 Small performance issues, improvement of #579 2022-01-05 18:08:42 +01:00
pietervdvn
4fd30d1a62 Add support for 'contact:email','contact:phone' and 'contact:website' (write to 'email', 'phone' and 'website' if changed) - fix #601; remove 'tel:' from phone addresses - fix #602; small fixes to tag preview in case of deletion 2022-01-05 17:08:35 +01:00
pietervdvn
8485773a1d More work on conflation logic 2022-01-05 16:36:08 +01:00
pietervdvn
7124cd184c More work on replaceGeometry 2022-01-01 01:59:50 +01:00
pietervdvn
ba4f4ac685 Merge branch 'develop' into feature/conflation-fix 2021-12-31 00:55:25 +01:00
pietervdvn
5e03a06bf7 Expose geometry type as metatag 2021-12-30 22:01:23 +01:00
pietervdvn
bfb16874b1 Further experimentation 2021-12-30 20:41:45 +01:00
pietervdvn
9c6822a1ac Improve docs, formatting 2021-12-24 02:51:01 +01:00
pietervdvn
92c63560ef Add workaround for turf.intersect which can't deal with touching polygons 2021-12-24 02:48:04 +01:00
pietervdvn
b0f0a57bc7 Block broken replaceGeometry for now 2021-12-23 14:39:00 +01:00
pietervdvn
adade2e8b0 Add unused node removal 2021-12-23 03:36:03 +01:00
pietervdvn
41dfa008d0 Don't show a removed tag if it was present on the object in the first place 2021-12-23 00:31:49 +01:00
pietervdvn
70aa6eb003 Merge develop 2021-12-22 01:09:33 +01:00
pietervdvn
95d6244008 Remove obsolete console.logs 2021-12-22 00:43:15 +01:00
pietervdvn
7ca7612960 Fix bugs with intersectionWith 2021-12-22 00:43:00 +01:00
pietervdvn
7fe79600fb Remove unmaintained preferences page, re-add earlier visited installed themes (only remove themes) 2021-12-21 20:57:25 +01:00
pietervdvn
4b6769d601 Fix custom layouts 2021-12-21 19:56:04 +01:00
pietervdvn
8e2e367a0c Add 404, fixing custom layouts and redirects 2021-12-21 19:09:24 +01:00
pietervdvn
11150a258d First part of a huge refactoring 2021-12-21 18:35:31 +01:00
pietervdvn
99a38f2b10 Add intersection function 2021-12-19 02:11:22 +01:00
pietervdvn
be9784e047 Fix build 2021-12-17 23:17:34 +01:00
pietervdvn
0ae78f19f3 Fix changeset reuse for automaton 2021-12-17 19:28:05 +01:00
pietervdvn
90fc0e0840 Fix non-appearing new icon, remove debug outputs 2021-12-14 17:29:21 +01:00
pietervdvn
dc5c3461f8 Formatting, comments, use injected download functionality 2021-12-13 20:51:44 +01:00
pietervdvn
5b513b1248 FIx caching script, some cleanup 2021-12-13 13:22:23 +01:00
pietervdvn
e922768f99 First working version of fully automatic uploader 2021-12-13 02:05:34 +01:00
pietervdvn
e1ee890f51 WIP: automaton page 2021-12-12 17:35:08 +01:00
pietervdvn
20ec12b23c Add special visualisation for automated actions, add missing_street-theme, various fixes 2021-12-12 02:59:24 +01:00
pietervdvn
65b1891cb6 Add metacalculation on currentview 2021-12-11 02:19:28 +01:00
pietervdvn
c76b0a6340 Add current view popup 2021-12-10 17:30:50 +01:00
pietervdvn
dc5b777713 First attempt for a current-view box 2021-12-10 15:51:08 +01:00
pietervdvn
a095af4f18 Refactoring of import button, various improvements 2021-12-10 04:00:02 +01:00
pietervdvn
52163d60c0 Switch crab and latlon2country to new data storage github 2021-12-09 21:12:01 +01:00
pietervdvn
7be5493284 Add convex hull operation 2021-12-09 17:56:55 +01:00
pietervdvn
07fd8f404a Various fixes 2021-12-07 17:46:57 +01:00
pietervdvn
9cfb7fbe68 Update of latlon2country and use its async interface; small refactoring of simplemetagging, improvements to cacheBuilder which respects isShown and calculated tags now 2021-12-07 02:22:56 +01:00
pietervdvn
89004af7f9 Further work on GRB, bugfixes 2021-12-06 03:24:33 +01:00
pietervdvn
4f403c4bfc Pass dependencies explicitly, decrease dependency on legacy State.state 2021-12-05 05:20:33 +01:00
pietervdvn
76c84b3972 If an OSM-object does not exist anyore, ignore changes to this object. Fix #577 2021-12-05 05:19:59 +01:00
pietervdvn
fc70909005 Refactoring of ExtraFunctions 2021-12-05 05:18:19 +01:00
pietervdvn
c440cdeb5e Mark OSM-carto as 'best' in order to trigger it as best map within this category 2021-12-05 02:30:03 +01:00
pietervdvn
0ee23ce36d Further improvements to entrances theme, add layer-crossdependency detection, add layers which another layer depends on automatically to the theme, add documentation on which layers depends on which other layers, regenerate documentation 2021-12-05 02:06:14 +01:00
pietervdvn
8e40d76281 Add assets for entrances, add first dependency injection 2021-12-04 21:51:53 +01:00
pietervdvn
2bead588fb Do not show quickswitch if background map switching is disabled 2021-12-04 12:20:24 +01:00
pietervdvn
ea5bc7cbf4 Allow a layer to be hidden by default; add some validation and behaviour tweaks 2021-12-03 02:29:25 +01:00
pietervdvn
752538ec14 Add ToC to generated pages 2021-11-30 22:50:48 +01:00
pietervdvn
6e9d4b327e Fix selecting another background layer in minimaps 2021-11-30 18:10:46 +01:00
pietervdvn
d6b61f6df6 More GRB improvements 2021-11-22 03:49:17 +01:00
pietervdvn
4366366586 Center label if no icon is present, add login button to index page 2021-11-22 00:50:29 +01:00
pietervdvn
37c0129a6d Add buttons to quickly swap background layers (also in the locationInput), move copyright into home panel, split privacy policy to seperate welcome message tab 2021-11-21 02:44:35 +01:00
pietervdvn
1d0fbe701c First steps for a layer switch 2021-11-18 23:42:03 +01:00
pietervdvn
3e7f1da8e7 Merge branch 'master' into develop 2021-11-16 15:50:32 +01:00
pietervdvn
06098feaf7 Fix multilinestring rendering 2021-11-16 15:50:26 +01:00
pietervdvn
bf28292f50 Merge branch 'features/indexed-db' into develop 2021-11-16 02:57:34 +01:00
pietervdvn
9c848cfaee Use IndexedDb to store cached geodata, fix #494. This should prevent crashes 2021-11-16 02:57:26 +01:00
pietervdvn
b883cd87d0 Do not zoom to GPS location if an element is selected 2021-11-15 16:57:04 +01:00
pietervdvn
8fa7de661e WIP: use indexedDB as datastore for geotiles 2021-11-15 11:51:32 +01:00
pietervdvn
756106afc3 Add test for legacy theme conversion, fix legacy theme conversion 2021-11-14 16:57:14 +01:00
pietervdvn
04e4ba769f Add error mesage 2021-11-14 16:13:09 +01:00
pietervdvn
c861842fa0 Mark to big changes explcitly 2021-11-12 18:41:13 +01:00
pietervdvn
680e56397d GeoOperations.distanceBetween now uses meters, fix GPS tracking 2021-11-12 18:39:38 +01:00
pietervdvn
a37a7462a2 Better handling of GPX-state 2021-11-12 04:11:53 +01:00
pietervdvn
3570cfbaa8 Drop support for mapillary v3.0, small fix for custom themes 2021-11-11 17:35:24 +01:00
pietervdvn
15a1ab19cd Robustify code 2021-11-09 23:44:20 +01:00
pietervdvn
1dbe167e4e POlygon rendering fixes 2021-11-09 19:45:26 +01:00
pietervdvn
1af5e44ad4 Various small fixes 2021-11-09 18:41:20 +01:00
pietervdvn
bdd9ed4c22 Small cleanups 2021-11-09 02:03:32 +01:00
pietervdvn
8e66313ef1 Add metadata in changeset with (binned) distance to changed feature 2021-11-09 01:49:07 +01:00
pietervdvn
e8ce53d5eb Add 'export as GPX'-feature, fix #276 2021-11-08 20:49:51 +01:00
pietervdvn
d3d51af667 Add gps track line, add documentation 2021-11-08 14:18:45 +01:00
pietervdvn
09eee08fbc Documentation updates 2021-11-08 02:36:01 +01:00
pietervdvn
bb283b59a4 Fix build 2021-11-07 16:43:29 +01:00
pietervdvn
bd21212eba Full code cleanup 2021-11-07 16:34:51 +01:00
pietervdvn
f752a6e1f0 Merge master 2021-11-07 02:24:01 +01:00
pietervdvn
6b864e6fef Add some caching to the wikidata search box, partial fix to #551 and #530 2021-11-07 02:23:28 +01:00
pietervdvn
2c46645581 UK-themes: add inspire polygons to detect addresses with, various small fixes 2021-11-05 01:19:27 +01:00
pietervdvn
63acca1638 Add 'CreateNewWayWithNodeReuse'-action, use it in the GRB-theme 2021-11-04 02:16:07 +01:00
pietervdvn
4e3f408d53 Change geolocation behaviour: will not zoom out anymore 2021-11-03 00:55:38 +01:00
pietervdvn
2484848cd6 Refactoring of GPS-location (uses featureSource too now), factoring out state, add ReplaceGeometryAction and conflation example 2021-11-03 00:44:53 +01:00
pietervdvn
23ae9d39c8 Add the possibility to snap onto another layer with imports, add location confirm on input, add metalayer exporting all nodes, various fixes 2021-10-31 02:08:39 +01:00
pietervdvn
f5d6441b70 Add layer icon to filter view 2021-10-30 02:34:16 +02:00
pietervdvn
64adf13d42 Rework copyright panel, fix filter view toggle 2021-10-30 01:55:32 +02:00
pietervdvn
da65bbbc86 Add createNewWay-action, more work on GRB import theme, add import button 2021-10-29 16:38:33 +02:00
pietervdvn
c2682fc56d Move legacy theme handling into a rewritting class, various small fixes 2021-10-29 01:41:37 +02:00
pietervdvn
cb61f5332a Regenerate documentation 2021-10-28 03:21:17 +02:00
pietervdvn
c74989e88d Rendering bug fixes, add 'get' to the ExtraFunctions, filtering in the GRB theme 2021-10-28 03:15:36 +02:00
pietervdvn
897c59f97a Merge develop 2021-10-28 00:13:18 +02:00
pietervdvn
8acf85cc55 Various bugfixes and improvements to UK_addresses and GRB theme 2021-10-27 20:19:45 +02:00
pietervdvn
bec7ed6da6 Fix loading of themes from external sources 2021-10-27 19:57:15 +02:00
pietervdvn
d5f4572e9a Add possibility to load external data as mercator tiles, add bbox tile possibilities, add CRAB and GRB as datasources in the GRB theme 2021-10-27 03:52:19 +02:00
pietervdvn
07bc5d6a6d Merge develop 2021-10-26 01:27:35 +02:00
pietervdvn
e8b0c3f4c8 Add missing translations, improvements to charging stations theme 2021-10-26 01:14:22 +02:00
pietervdvn
d1ecaf7527 Force cache clearing when a new point is added, fix #522 2021-10-25 21:08:44 +02:00
pietervdvn
c99e15eed9 Add cache timeout option on layerSource 2021-10-25 20:38:57 +02:00
pietervdvn
933c0f0073 Fix opening of various views when set by url-parameters, small styling tweaks in the popups 2021-10-23 02:46:37 +02:00
pietervdvn
ff0ee35ec1 First usable sidewalks theme 2021-10-22 18:53:07 +02:00
pietervdvn
e334f806bc Merge branch 'develop' into features/left-right-rendering 2021-10-22 14:01:47 +02:00
pietervdvn
0dc7187bab Changes do apply left-right splitting before uploading too 2021-10-22 14:01:40 +02:00
pietervdvn
9623afeec9 Merge branch 'develop' of github.com:pietervdvn/MapComplete into develop 2021-10-22 13:37:40 +02:00
pietervdvn
40c4ae769d Rewrite left-right tags when updating them on click 2021-10-22 13:35:11 +02:00
pietervdvn
72edc9bdcc General cleanup, improve sidewalk rendering 2021-10-22 02:16:07 +02:00
pietervdvn
20fa5028d9 First working version with multi-rendering 2021-10-22 01:42:44 +02:00
pietervdvn
0c0ef48a96 First working version with multi-rendering 2021-10-22 01:07:32 +02:00
pietervdvn
8f8f121e89 Fix osmcha link, add some docs on geolocation button, use a lower and more sane default max zoom for editor layer index layers 2021-10-21 21:42:28 +02:00
pietervdvn
d3f84d51ac Small fixes 2021-10-20 19:12:28 +02:00
pietervdvn
b7c6861484 Add failsafe: overpass will stop redownloading if the features have been fetched by other sources and will pick the new bounds when redownloading 2021-10-20 01:26:39 +02:00
pietervdvn
196d76d9dc Fix: opening the popup if defined in the hash 2021-10-20 01:13:55 +02:00
pietervdvn
3ac7a3c59e Various cleanups 2021-10-20 00:19:33 +02:00
pietervdvn
55937ec0c7 Cleanup of unused function 2021-10-20 00:18:29 +02:00
pietervdvn
89d4a6bcce Add robustness when run via console, formatting 2021-10-20 00:09:40 +02:00
pietervdvn
2ae24107ae Add correct splitting of turn restrictions 2021-10-19 01:22:24 +02:00
pietervdvn
028767afe6 Small cleanups 2021-10-18 22:34:52 +02:00
pietervdvn
3f70892d75 Add tests and some cleanup 2021-10-18 22:17:57 +02:00
pietervdvn
83f79d95b9 Fix mapillary image detection 2021-10-18 22:17:41 +02:00
pietervdvn
902f32ba4b Add quickfacts-box to wikipedia article 2021-10-18 20:40:24 +02:00
pietervdvn
c1d21fcbe5 Rewordings on etymology theme, fix bug where data doesn't load 2021-10-18 18:54:36 +02:00
pietervdvn
a2aa26aafc Fix split way action, add decent tests for them (fix #171), enable split road on cyclestreets theme 2021-10-16 02:54:22 +02:00
pietervdvn
8ebfb3de51 Various fixes, enabled preciseLocation input by default 2021-10-15 19:58:02 +02:00
pietervdvn
8fca373437 Optimizing trees theme and clustering 2021-10-15 18:48:33 +02:00
pietervdvn
5ac035be20 Various small bug fixes 2021-10-15 15:20:08 +02:00
pietervdvn
b8abbc9505 More refactoring to fix the tests 2021-10-15 14:52:11 +02:00
pietervdvn
71285d34cd Finish refactoring 2021-10-15 13:43:11 +02:00
pietervdvn
eff6b5bfad Huge refactoring of state and initial UI setup 2021-10-15 05:20:02 +02:00
pietervdvn
891c449058 Add overlay layer possibility, fix #515 2021-10-14 21:43:14 +02:00
pietervdvn
7e053b3ada Small improvements to the charging station theme, don't update tagging of new features if they are selected 2021-10-14 20:31:04 +02:00
pietervdvn
84284599d8 Fix cursor-wait on gps location button 2021-10-14 17:39:31 +02:00
pietervdvn
460155dd8b Fix problem with opening-hours: if parse error, apply this correctly 2021-10-14 14:35:04 +02:00
pietervdvn
7e2b73ac5d Add move option, enable move and delete option on most layers 2021-10-14 03:46:09 +02:00
pietervdvn
0a3eb966c1 Add moveLocation change description 2021-10-14 01:16:38 +02:00
pietervdvn
448468c928 Merge develop 2021-10-13 17:23:51 +02:00
pietervdvn
e0e1bfbe00 Merge branch 'alpha' into develop 2021-10-13 17:23:02 +02:00
pietervdvn
54edcf793b Handle redirects 2021-10-13 11:34:25 +02:00
pietervdvn
69f21f29eb Dynamic JSON: only request existing tiles if a whitelist is given 2021-10-13 03:10:46 +02:00
pietervdvn
95867635e0 Further work on the move flow 2021-10-13 03:09:37 +02:00
pietervdvn
aa1b33f9e4 Merge branch 'develop' into alpha 2021-10-13 01:29:07 +02:00
pietervdvn
b2d1cb4034 Merge branch 'master' into develop 2021-10-13 00:12:43 +02:00
pietervdvn
8bdabe5d73 Fixes to caching 2021-10-13 00:08:41 +02:00
pietervdvn
e530eba55a Quickfix: disable optimazation which blocks loading dynamic tiles 2021-10-12 16:39:36 +02:00
pietervdvn
d3550fefbe Add multi-apply box/feature, use it in etymology-theme to apply tags onto all segments of the same street 2021-10-12 02:12:45 +02:00
pietervdvn
8fdb7a6d7f Merge develop 2021-10-11 23:33:09 +02:00
pietervdvn
a38ab81356 Fix metatag _isOpen, fix clustering zoom behaviour 2021-10-11 23:28:51 +02:00
pietervdvn
2d8b9a9481 Linting of the postboxes theme 2021-10-11 22:32:25 +02:00
pietervdvn
5e5528eb7d Merge master 2021-10-11 22:31:05 +02:00
pietervdvn
178cefceb4 Fix bounds and loading with overpass 2021-10-11 22:30:22 +02:00
pietervdvn
c010fb5271 Change padding method, add max bounds, fix zoomlevels on toerisme vlaanderen theme 2021-10-11 21:23:14 +02:00
pietervdvn
b4b72a0995 Merge develop 2021-10-10 23:54:34 +02:00
pietervdvn
5f5079ddfe Fix link to lexemes, fix #507 2021-10-10 23:50:50 +02:00
pietervdvn
d894b13023 Make metatagging lazy (fix #503), fix null-distances (#504), various other small fixes 2021-10-10 23:38:09 +02:00
pietervdvn
15ff38a098 Fix Tag.matchesProperties and RegexTag.matchesProperties, they do match on definedProperties now (and are faster) 2021-10-10 20:14:06 +02:00
pietervdvn
30bc620827 Fix NaN issue in 'getClosestFeature', remove unused AspectedRouting metatagging 2021-10-10 20:10:27 +02:00
pietervdvn
3be0dbd22f Merge branch 'develop' into alpha 2021-10-10 00:53:22 +02:00
pietervdvn
d4e63d90e4 When a logged-in user opens a popup, the latest data will be downloaded and tags are updated to prevent duplicate work, fix #505 2021-10-10 00:53:14 +02:00
pietervdvn
adf02af5fe Add rudimentary check for filesize, fix #497 2021-10-09 23:51:04 +02:00
pietervdvn
e5a3c1cab6 Merge develop 2021-10-09 23:25:32 +02:00
pietervdvn
9faac532b5 Support for lexemes, decent etymology layer and theme with rudimentary icon 2021-10-09 22:40:52 +02:00
pietervdvn
d8fa054a34 Further stabilization of UK-addresses: add minzoom requirement to import button, fix eternal loading message 2021-10-08 15:11:20 +02:00
pietervdvn
38dcf3578c Merge develop 2021-10-08 04:40:33 +02:00
pietervdvn
b5a2ee1757 Add a wikidata search box 2021-10-08 04:33:39 +02:00
pietervdvn
a996ba2a7c Graciously handle multiple entries in wikidata for fetching images and showing articles, verious bug fixes 2021-10-07 22:06:47 +02:00
pietervdvn
5e36ae48c1 The OsmFeature source now filters features based on the layers in the layout. Fixes #500 2021-10-07 18:58:45 +02:00
pietervdvn
8d52ef1106 Ignore wikidata claims without datavalue 2021-10-06 19:19:35 +02:00
pietervdvn
b5d2b99ced Add tests for wikimedia comons edge cases 2021-10-06 17:48:07 +02:00
pietervdvn
5628be3632 Fix tests 2021-10-06 02:36:58 +02:00
pietervdvn
ff11f96e91 Add wikidata-images to etymology theme, various fixes for custom image carousels and gracious handling of wikidata/wikimedia 2021-10-06 02:30:23 +02:00
pietervdvn
21fd148f38 Add propagation of metadata in changedescriptions, aggregate metadata in changeset tags 2021-10-04 03:12:42 +02:00
pietervdvn
65470cbac5 Fix bug where metatagging would not fully calculate in some cases 2021-10-04 00:18:08 +02:00
pietervdvn
27a43fdbe0 Changes: expand try block; remove console.logs 2021-10-03 21:53:31 +02:00
pietervdvn
b6b20ed3ca Fix bug in bind, fix bug in tagrenderingquestion 2021-10-03 20:50:18 +02:00
pietervdvn
23136f7e7a Small fixes to the 'generateCache' script 2021-10-03 02:11:06 +02:00
pietervdvn
5bcb879dfe Fix local caching by hiding latlon2country import 2021-10-03 01:57:36 +02:00
pietervdvn
a89d303ecd Further stabilization of wikipedia box 2021-10-03 01:38:57 +02:00
pietervdvn
8b4442c8cc Add wikipedia box 2021-10-02 22:31:16 +02:00
pietervdvn
9df263c362 Add Wikipedia page box 2021-10-02 17:57:54 +02:00
pietervdvn
df34239256 Fix questions: applicable mappings are now calculated dynamically; charging station theme now only shows applicable plugs based on the allowed vehicle types 2021-10-02 15:16:41 +02:00
pietervdvn
bedc576313 Stabilize popups in ShowDataLayer 2021-10-01 05:24:10 +02:00
pietervdvn
e904043069 Small tweaks 2021-10-01 04:49:40 +02:00
pietervdvn
8b870474d7 Improvements in loading images 2021-10-01 02:57:41 +02:00
pietervdvn
725a3c37c7 Don't calculate tile bounds if not sufficiently zoomed 2021-10-01 01:34:59 +02:00
pietervdvn
c31a50b139 BBox bounds can not be bigger then the entire world anymore, fixes performance issues 2021-10-01 01:33:07 +02:00
pietervdvn
4f456e8a7f Better tracking of cached data, only load data if needed 2021-09-30 04:13:23 +02:00
pietervdvn
32cbd6e2c1 Also pickup wikimedia categories in the image tags, fix #433 2021-09-30 00:26:21 +02:00
pietervdvn
8cbb693c98 Fix geolocation 2021-09-29 23:59:56 +02:00
pietervdvn
a6e8714ae0 Refactoring of image detection, fix loading wikimedia images 2021-09-29 23:56:59 +02:00
pietervdvn
4da6070b28 Small fixes after feedback 2021-09-29 19:56:59 +02:00
pietervdvn
36d62f9923 Add blacklist of ids to geojson source in order to avoid duplicate features to be loaded multiple times 2021-09-29 17:48:15 +02:00
pietervdvn
09897b47e0 Add mssing assets 2021-09-29 16:55:05 +02:00
pietervdvn
c2d477c97a More refactoring 2021-09-29 01:12:38 +02:00
pietervdvn
a78d33112b Refactoring: LayoutToUse is a simple value now 2021-09-28 18:00:44 +02:00
pietervdvn
41a2a79fe9 More refactoring of the featurepipeline, introduction of fetching data from the OSM-API directly per tile, personal theme refactoring 2021-09-28 17:30:48 +02:00
pietervdvn
0a9e7c0b36 Fix bbox bug, add ids to filters, add filter state to the URL 2021-09-27 18:35:32 +02:00
pietervdvn
38037014b0 Fix bug in bounds calculation for negative lats/lons 2021-09-27 15:38:12 +02:00
pietervdvn
215aebce19 More work on clustering, more or less finished 2021-09-27 14:45:48 +02:00
pietervdvn
a3c16d6297 Stabilize adding new points 2021-09-26 23:35:26 +02:00
pietervdvn
be95ad58f8 Merge master 2021-09-26 21:24:42 +02:00
pietervdvn
4cb09ba8e7 Drop widths theme 2021-09-26 18:06:38 +02:00
pietervdvn
f749cb0963 Small changes 2021-09-26 17:49:47 +02:00
pietervdvn
c5e9448720 Add initial clustering per tile, very broken 2021-09-26 17:36:39 +02:00
pietervdvn
e47224ecb8 Small fixes to the UK-addresses theme 2021-09-22 17:15:30 +02:00
pietervdvn
bef684aec7 More cleanup, first somewhat working version of #171 2021-09-22 16:07:56 +02:00
pietervdvn
1f93923820 More work on splitting roads, WIP; refactoring tests 2021-09-22 05:02:09 +02:00
pietervdvn
e374bb355c Partial fix of opening the selected element 2021-09-21 03:10:15 +02:00
pietervdvn
d5c1ba4cd1 More refactoring, move minimap behind facade 2021-09-21 02:10:42 +02:00
pietervdvn
c11ff652b8 More refactoring of the featuresources, cleanup, small changes 2021-09-21 01:47:58 +02:00
pietervdvn
d144f70ffb Huge refactoring of the feature pipeline, WIP 2021-09-20 17:32:04 +02:00
pietervdvn
973b5d8bbe Huge refactoring of the feature pipeline, WIP 2021-09-20 17:14:55 +02:00
pietervdvn
6e9c8e2961 small refactorings 2021-09-18 02:47:22 +02:00
pietervdvn
0fa3a28a48 CreateNewNode action: fix crash if option are undefined 2021-09-18 02:34:13 +02:00
pietervdvn
30ceaa74b1 Add closestN function, update docs 2021-09-18 02:29:05 +02:00
pietervdvn
d5853050b0 Fix padding calculation by using the leaflet builtin padding function 2021-09-18 02:28:17 +02:00
pietervdvn
202e3cd677 Fix canonicalization if no units are given 2021-09-17 16:54:12 +02:00
pietervdvn
7120af21c1 Fix caching 2021-09-15 13:19:43 +02:00
pietervdvn
911675c509 Fix build 2021-09-15 12:56:52 +02:00
pietervdvn
c8eacaa409 Add support for mapillary api v4, fixes #364 2021-09-15 01:33:52 +02:00
pietervdvn
b39a2b2f6e Preparatory steps to query OSM-api directly, add precise input to bench and waste basket, add waste types 2021-09-10 01:18:51 +02:00
pietervdvn
abbd617ca2 Small bugfixes for NP theme 2021-09-09 23:24:21 +02:00
pietervdvn
78d6482c88 Add binoculars theme, auto reformat everything 2021-09-09 00:06:21 +02:00
pietervdvn
a4f4365d71 Improve the precise input element, normalize 'and' to check if it is empty (and to check if no filter is active) 2021-09-08 01:36:44 +02:00
pietervdvn
7e2744576c More work on the charging stations theme 2021-09-07 21:03:29 +02:00
pietervdvn
780d353c8d Small improvements 2021-09-07 00:23:00 +02:00
pietervdvn
4ace40c2f3 Fix various small bugs (directionPicker is square and has a max width; fix welcome message, fix translations 2021-09-03 17:00:36 +02:00
pietervdvn
b806c210a6 Refactoring: remove the Basemap, switch to Minimap everywhere 2021-09-03 13:48:04 +02:00
pietervdvn
61b6721342 Automatically zoom to GPS location if no coordinate is specified in the URL 2021-08-26 12:15:26 +02:00
pietervdvn
12323739f1 Merge master 2021-08-24 12:24:11 +02:00
pietervdvn
d29302ca84 Small (and rough) script to create some very specific changesets 2021-08-24 12:13:47 +02:00
pietervdvn
54c0d0890c Fix runtime error detection 2021-08-24 10:48:44 +02:00
pietervdvn
c0fc459646 Small tweaks 2021-08-23 18:49:28 +02:00
pietervdvn
ef0826ebb6 Add cycle_highways theme, add configurable overpass backend as feature switch (settable via theme and URL) 2021-08-23 15:48:42 +02:00
pietervdvn
f4ea36de9a Usability of adding a new point: if not zoomed in sufficiently, the map will zoom to the new-location marker 2021-08-22 20:23:13 +02:00
pietervdvn
3c73dfd6b2 Update of the 'addNewMarker': show icons, show plus button, show label 2021-08-22 18:48:38 +02:00