Commit graph

845 commits

Author SHA1 Message Date
756106afc3 Add test for legacy theme conversion, fix legacy theme conversion 2021-11-14 16:57:14 +01:00
04e4ba769f Add error mesage 2021-11-14 16:13:09 +01:00
c861842fa0 Mark to big changes explcitly 2021-11-12 18:41:13 +01:00
680e56397d GeoOperations.distanceBetween now uses meters, fix GPS tracking 2021-11-12 18:39:38 +01:00
a37a7462a2 Better handling of GPX-state 2021-11-12 04:11:53 +01:00
3570cfbaa8 Drop support for mapillary v3.0, small fix for custom themes 2021-11-11 17:35:24 +01:00
15a1ab19cd Robustify code 2021-11-09 23:44:20 +01:00
1dbe167e4e POlygon rendering fixes 2021-11-09 19:45:26 +01:00
1af5e44ad4 Various small fixes 2021-11-09 18:41:20 +01:00
bdd9ed4c22 Small cleanups 2021-11-09 02:03:32 +01:00
8e66313ef1 Add metadata in changeset with (binned) distance to changed feature 2021-11-09 01:49:07 +01:00
e8ce53d5eb Add 'export as GPX'-feature, fix #276 2021-11-08 20:49:51 +01:00
d3d51af667 Add gps track line, add documentation 2021-11-08 14:18:45 +01:00
09eee08fbc Documentation updates 2021-11-08 02:36:01 +01:00
bb283b59a4 Fix build 2021-11-07 16:43:29 +01:00
bd21212eba Full code cleanup 2021-11-07 16:34:51 +01:00
f752a6e1f0 Merge master 2021-11-07 02:24:01 +01:00
6b864e6fef Add some caching to the wikidata search box, partial fix to #551 and #530 2021-11-07 02:23:28 +01:00
2c46645581 UK-themes: add inspire polygons to detect addresses with, various small fixes 2021-11-05 01:19:27 +01:00
63acca1638 Add 'CreateNewWayWithNodeReuse'-action, use it in the GRB-theme 2021-11-04 02:16:07 +01:00
4e3f408d53 Change geolocation behaviour: will not zoom out anymore 2021-11-03 00:55:38 +01:00
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
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
f5d6441b70 Add layer icon to filter view 2021-10-30 02:34:16 +02:00
64adf13d42 Rework copyright panel, fix filter view toggle 2021-10-30 01:55:32 +02:00
da65bbbc86 Add createNewWay-action, more work on GRB import theme, add import button 2021-10-29 16:38:33 +02:00
c2682fc56d Move legacy theme handling into a rewritting class, various small fixes 2021-10-29 01:41:37 +02:00
cb61f5332a Regenerate documentation 2021-10-28 03:21:17 +02:00
c74989e88d Rendering bug fixes, add 'get' to the ExtraFunctions, filtering in the GRB theme 2021-10-28 03:15:36 +02:00
897c59f97a Merge develop 2021-10-28 00:13:18 +02:00
8acf85cc55 Various bugfixes and improvements to UK_addresses and GRB theme 2021-10-27 20:19:45 +02:00
bec7ed6da6 Fix loading of themes from external sources 2021-10-27 19:57:15 +02:00
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
07bc5d6a6d Merge develop 2021-10-26 01:27:35 +02:00
e8b0c3f4c8 Add missing translations, improvements to charging stations theme 2021-10-26 01:14:22 +02:00
d1ecaf7527 Force cache clearing when a new point is added, fix #522 2021-10-25 21:08:44 +02:00
c99e15eed9 Add cache timeout option on layerSource 2021-10-25 20:38:57 +02:00
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
ff0ee35ec1 First usable sidewalks theme 2021-10-22 18:53:07 +02:00
e334f806bc Merge branch 'develop' into features/left-right-rendering 2021-10-22 14:01:47 +02:00
0dc7187bab Changes do apply left-right splitting before uploading too 2021-10-22 14:01:40 +02:00
9623afeec9 Merge branch 'develop' of github.com:pietervdvn/MapComplete into develop 2021-10-22 13:37:40 +02:00
40c4ae769d Rewrite left-right tags when updating them on click 2021-10-22 13:35:11 +02:00
72edc9bdcc General cleanup, improve sidewalk rendering 2021-10-22 02:16:07 +02:00
20fa5028d9 First working version with multi-rendering 2021-10-22 01:42:44 +02:00
0c0ef48a96 First working version with multi-rendering 2021-10-22 01:07:32 +02:00
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
d3f84d51ac Small fixes 2021-10-20 19:12:28 +02:00
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
196d76d9dc Fix: opening the popup if defined in the hash 2021-10-20 01:13:55 +02:00
3ac7a3c59e Various cleanups 2021-10-20 00:19:33 +02:00
55937ec0c7 Cleanup of unused function 2021-10-20 00:18:29 +02:00
89d4a6bcce Add robustness when run via console, formatting 2021-10-20 00:09:40 +02:00
2ae24107ae Add correct splitting of turn restrictions 2021-10-19 01:22:24 +02:00
028767afe6 Small cleanups 2021-10-18 22:34:52 +02:00
3f70892d75 Add tests and some cleanup 2021-10-18 22:17:57 +02:00
83f79d95b9 Fix mapillary image detection 2021-10-18 22:17:41 +02:00
902f32ba4b Add quickfacts-box to wikipedia article 2021-10-18 20:40:24 +02:00
c1d21fcbe5 Rewordings on etymology theme, fix bug where data doesn't load 2021-10-18 18:54:36 +02:00
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
8ebfb3de51 Various fixes, enabled preciseLocation input by default 2021-10-15 19:58:02 +02:00
8fca373437 Optimizing trees theme and clustering 2021-10-15 18:48:33 +02:00
5ac035be20 Various small bug fixes 2021-10-15 15:20:08 +02:00
b8abbc9505 More refactoring to fix the tests 2021-10-15 14:52:11 +02:00
71285d34cd Finish refactoring 2021-10-15 13:43:11 +02:00
eff6b5bfad Huge refactoring of state and initial UI setup 2021-10-15 05:20:02 +02:00
891c449058 Add overlay layer possibility, fix #515 2021-10-14 21:43:14 +02:00
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
84284599d8 Fix cursor-wait on gps location button 2021-10-14 17:39:31 +02:00
460155dd8b Fix problem with opening-hours: if parse error, apply this correctly 2021-10-14 14:35:04 +02:00
7e2b73ac5d Add move option, enable move and delete option on most layers 2021-10-14 03:46:09 +02:00
0a3eb966c1 Add moveLocation change description 2021-10-14 01:16:38 +02:00
448468c928 Merge develop 2021-10-13 17:23:51 +02:00
e0e1bfbe00 Merge branch 'alpha' into develop 2021-10-13 17:23:02 +02:00
54edcf793b Handle redirects 2021-10-13 11:34:25 +02:00
69f21f29eb Dynamic JSON: only request existing tiles if a whitelist is given 2021-10-13 03:10:46 +02:00
95867635e0 Further work on the move flow 2021-10-13 03:09:37 +02:00
aa1b33f9e4 Merge branch 'develop' into alpha 2021-10-13 01:29:07 +02:00
b2d1cb4034 Merge branch 'master' into develop 2021-10-13 00:12:43 +02:00
8bdabe5d73 Fixes to caching 2021-10-13 00:08:41 +02:00
e530eba55a Quickfix: disable optimazation which blocks loading dynamic tiles 2021-10-12 16:39:36 +02:00
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
8fdb7a6d7f Merge develop 2021-10-11 23:33:09 +02:00
a38ab81356 Fix metatag _isOpen, fix clustering zoom behaviour 2021-10-11 23:28:51 +02:00
2d8b9a9481 Linting of the postboxes theme 2021-10-11 22:32:25 +02:00
5e5528eb7d Merge master 2021-10-11 22:31:05 +02:00
178cefceb4 Fix bounds and loading with overpass 2021-10-11 22:30:22 +02:00
c010fb5271 Change padding method, add max bounds, fix zoomlevels on toerisme vlaanderen theme 2021-10-11 21:23:14 +02:00
b4b72a0995 Merge develop 2021-10-10 23:54:34 +02:00
5f5079ddfe Fix link to lexemes, fix #507 2021-10-10 23:50:50 +02:00
d894b13023 Make metatagging lazy (fix #503), fix null-distances (#504), various other small fixes 2021-10-10 23:38:09 +02:00
15ff38a098 Fix Tag.matchesProperties and RegexTag.matchesProperties, they do match on definedProperties now (and are faster) 2021-10-10 20:14:06 +02:00
30bc620827 Fix NaN issue in 'getClosestFeature', remove unused AspectedRouting metatagging 2021-10-10 20:10:27 +02:00
3be0dbd22f Merge branch 'develop' into alpha 2021-10-10 00:53:22 +02:00
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
adf02af5fe Add rudimentary check for filesize, fix #497 2021-10-09 23:51:04 +02:00
e5a3c1cab6 Merge develop 2021-10-09 23:25:32 +02:00
9faac532b5 Support for lexemes, decent etymology layer and theme with rudimentary icon 2021-10-09 22:40:52 +02:00
d8fa054a34 Further stabilization of UK-addresses: add minzoom requirement to import button, fix eternal loading message 2021-10-08 15:11:20 +02:00
38dcf3578c Merge develop 2021-10-08 04:40:33 +02:00
b5a2ee1757 Add a wikidata search box 2021-10-08 04:33:39 +02:00
a996ba2a7c Graciously handle multiple entries in wikidata for fetching images and showing articles, verious bug fixes 2021-10-07 22:06:47 +02:00
5e36ae48c1 The OsmFeature source now filters features based on the layers in the layout. Fixes #500 2021-10-07 18:58:45 +02:00
8d52ef1106 Ignore wikidata claims without datavalue 2021-10-06 19:19:35 +02:00
b5d2b99ced Add tests for wikimedia comons edge cases 2021-10-06 17:48:07 +02:00
5628be3632 Fix tests 2021-10-06 02:36:58 +02:00
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
21fd148f38 Add propagation of metadata in changedescriptions, aggregate metadata in changeset tags 2021-10-04 03:12:42 +02:00
65470cbac5 Fix bug where metatagging would not fully calculate in some cases 2021-10-04 00:18:08 +02:00
27a43fdbe0 Changes: expand try block; remove console.logs 2021-10-03 21:53:31 +02:00
b6b20ed3ca Fix bug in bind, fix bug in tagrenderingquestion 2021-10-03 20:50:18 +02:00
23136f7e7a Small fixes to the 'generateCache' script 2021-10-03 02:11:06 +02:00
5bcb879dfe Fix local caching by hiding latlon2country import 2021-10-03 01:57:36 +02:00
a89d303ecd Further stabilization of wikipedia box 2021-10-03 01:38:57 +02:00
8b4442c8cc Add wikipedia box 2021-10-02 22:31:16 +02:00
9df263c362 Add Wikipedia page box 2021-10-02 17:57:54 +02:00
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
bedc576313 Stabilize popups in ShowDataLayer 2021-10-01 05:24:10 +02:00
e904043069 Small tweaks 2021-10-01 04:49:40 +02:00
8b870474d7 Improvements in loading images 2021-10-01 02:57:41 +02:00
725a3c37c7 Don't calculate tile bounds if not sufficiently zoomed 2021-10-01 01:34:59 +02:00
c31a50b139 BBox bounds can not be bigger then the entire world anymore, fixes performance issues 2021-10-01 01:33:07 +02:00
4f456e8a7f Better tracking of cached data, only load data if needed 2021-09-30 04:13:23 +02:00
32cbd6e2c1 Also pickup wikimedia categories in the image tags, fix #433 2021-09-30 00:26:21 +02:00
8cbb693c98 Fix geolocation 2021-09-29 23:59:56 +02:00
a6e8714ae0 Refactoring of image detection, fix loading wikimedia images 2021-09-29 23:56:59 +02:00
4da6070b28 Small fixes after feedback 2021-09-29 19:56:59 +02:00
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
09897b47e0 Add mssing assets 2021-09-29 16:55:05 +02:00
c2d477c97a More refactoring 2021-09-29 01:12:38 +02:00
a78d33112b Refactoring: LayoutToUse is a simple value now 2021-09-28 18:00:44 +02:00
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
0a9e7c0b36 Fix bbox bug, add ids to filters, add filter state to the URL 2021-09-27 18:35:32 +02:00
38037014b0 Fix bug in bounds calculation for negative lats/lons 2021-09-27 15:38:12 +02:00
215aebce19 More work on clustering, more or less finished 2021-09-27 14:45:48 +02:00
a3c16d6297 Stabilize adding new points 2021-09-26 23:35:26 +02:00
be95ad58f8 Merge master 2021-09-26 21:24:42 +02:00
4cb09ba8e7 Drop widths theme 2021-09-26 18:06:38 +02:00
f749cb0963 Small changes 2021-09-26 17:49:47 +02:00
c5e9448720 Add initial clustering per tile, very broken 2021-09-26 17:36:39 +02:00
e47224ecb8 Small fixes to the UK-addresses theme 2021-09-22 17:15:30 +02:00
bef684aec7 More cleanup, first somewhat working version of #171 2021-09-22 16:07:56 +02:00
1f93923820 More work on splitting roads, WIP; refactoring tests 2021-09-22 05:02:09 +02:00
e374bb355c Partial fix of opening the selected element 2021-09-21 03:10:15 +02:00
d5c1ba4cd1 More refactoring, move minimap behind facade 2021-09-21 02:10:42 +02:00
c11ff652b8 More refactoring of the featuresources, cleanup, small changes 2021-09-21 01:47:58 +02:00
d144f70ffb Huge refactoring of the feature pipeline, WIP 2021-09-20 17:32:04 +02:00
973b5d8bbe Huge refactoring of the feature pipeline, WIP 2021-09-20 17:14:55 +02:00
6e9c8e2961 small refactorings 2021-09-18 02:47:22 +02:00
0fa3a28a48 CreateNewNode action: fix crash if option are undefined 2021-09-18 02:34:13 +02:00
30ceaa74b1 Add closestN function, update docs 2021-09-18 02:29:05 +02:00
d5853050b0 Fix padding calculation by using the leaflet builtin padding function 2021-09-18 02:28:17 +02:00
202e3cd677 Fix canonicalization if no units are given 2021-09-17 16:54:12 +02:00
7120af21c1 Fix caching 2021-09-15 13:19:43 +02:00
911675c509 Fix build 2021-09-15 12:56:52 +02:00
c8eacaa409 Add support for mapillary api v4, fixes #364 2021-09-15 01:33:52 +02:00
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
abbd617ca2 Small bugfixes for NP theme 2021-09-09 23:24:21 +02:00
78d6482c88 Add binoculars theme, auto reformat everything 2021-09-09 00:06:21 +02:00
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
7e2744576c More work on the charging stations theme 2021-09-07 21:03:29 +02:00
780d353c8d Small improvements 2021-09-07 00:23:00 +02:00
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
b806c210a6 Refactoring: remove the Basemap, switch to Minimap everywhere 2021-09-03 13:48:04 +02:00
61b6721342 Automatically zoom to GPS location if no coordinate is specified in the URL 2021-08-26 12:15:26 +02:00
12323739f1 Merge master 2021-08-24 12:24:11 +02:00
d29302ca84 Small (and rough) script to create some very specific changesets 2021-08-24 12:13:47 +02:00
54c0d0890c Fix runtime error detection 2021-08-24 10:48:44 +02:00
c0fc459646 Small tweaks 2021-08-23 18:49:28 +02:00
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
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
3c73dfd6b2 Update of the 'addNewMarker': show icons, show plus button, show label 2021-08-22 18:48:38 +02:00
50d7d098a3 Fix small styling issue 2021-08-20 00:15:55 +02:00
aef7b8a684 Decent fix of gps-locking behaviour: single click will zoom, second click within 3sec will lock the gps location + better icons + disable of dragging while locked, fix of #458 2021-08-19 23:41:48 +02:00
4284f8184e Fix typo's: s/seperat/separat/, fix #457 2021-08-19 18:30:43 +02:00
647100bee5 Refacotring: move themeConfig into models 2021-08-07 23:11:34 +02:00
0a01561d37 First working version of snapping to already existing ways from the add-UI (still too slow though), partial fix of #436 2021-08-07 21:19:01 +02:00
0c760c8458 Fix making changes to relations 2021-07-28 15:50:33 +02:00
0ab0d159cc Small tweaks 2021-07-28 15:14:13 +02:00
1d2d098167 Small fixes 2021-07-28 12:36:39 +02:00
ede67ca58c Fix pdf export, fix feature switches 2021-07-28 02:51:07 +02:00
6cd75a8260 Merge branch 'develop' into feature/pdf-export 2021-07-28 00:22:59 +02:00
cd1ee64f62 Robustify in the case of werid hashes 2021-07-28 00:09:17 +02:00
55539b7c3a Small fixes 2021-07-27 22:38:30 +02:00
c8bd412476 Merge develop 2021-07-27 22:23:42 +02:00
15e21544ba Make mapcontrol-button svgs styleable by colour 2021-07-27 21:02:30 +02:00
5ad3fa83be Remerge upstream 2021-07-27 20:17:42 +02:00
decbf462d3 Formatting 2021-07-27 20:11:34 +02:00
0162d52b68 Merge develop 2021-07-27 19:59:41 +02:00
79569f5119 Finetuning of the filter functionality 2021-07-27 19:39:57 +02:00
9248f264f1 Fix too much checks for messages 2021-07-27 19:35:19 +02:00
887f298bd8 Merge branch 'project/natuurpunt' into extra-filter 2021-07-27 17:01:19 +02:00
Ward
4539a3b21c extra styling changes location 2021-07-27 16:07:34 +02:00
Ward
208ab51c73 Merge branch 'project/natuurpunt' of https://github.com/pietervdvn/MapComplete into project/natuurpunt 2021-07-27 15:57:36 +02:00
Ward
597dc9900a fix merge conflicts 2021-07-27 15:57:25 +02:00
819785bc6c Remove unneeded console.log 2021-07-27 15:56:02 +02:00
Ward
93e1c60720 extra layout changes 2021-07-27 15:51:47 +02:00
4fd233e557 Optimize geojsonsource: do not calculate all tiles when unneeded 2021-07-27 15:06:15 +02:00
d9cc99c447 Add comparison tagsfilter with <=, >=, < and > 2021-07-27 13:44:05 +02:00
LiamSimons
261554a5d9 PDF export added - not working 2021-07-27 12:12:58 +02:00