Added functionality to export location of nearby missing pictures to GPX file and KML file (#5645)

* Fixed Grey empty screen at Upload wizard caption step after denying files permission

* Empty commit

* Fixed loop issue

* Created docs for earlier commits

* Fixed javadoc

* Fixed spaces

* Added added basic features to OSM Maps

* Added search location feature

* Added filter to Open Street Maps

* Fixed chipGroup in Open Street Maps

* Removed mapBox code

* Removed mapBox's code

* Reformat code

* Reformatted code

* Removed rotation feature to map

* Removed rotation files and Fixed Marker click problem

* Ignored failing tests

* Added voice input feature

* Fixed test cases

* Changed caption and description text

* Replaced mapbox to osmdroid in upload activity

* Fixed Unit Tests

* Made selected marker to be fixed on map

* Changed color of map marker

* Fixes #5439 by capitalizing first letter of voice input

* Removed mapbox code1

* Removed mapbox code2

* Fixed failing tests

* Fixed failing due to merging

* Added feature to save nearby places as GPX and KML

* Fixed error caused by null
This commit is contained in:
Kanahia 2024-03-25 19:52:17 +05:30 committed by GitHub
parent dae1f2557e
commit c41940241b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 443 additions and 0 deletions

View file

@ -0,0 +1,22 @@
SELECT
?item
(SAMPLE(COALESCE(?en_label, ?fr_label, ?id_label, ?item_label)) as ?label)
(SAMPLE(?location) as ?location)
(GROUP_CONCAT(DISTINCT ?class_label ; separator=",") as ?class)
WHERE {
SERVICE wikibase:box {
?item wdt:P625 ?location .
bd:serviceParam wikibase:cornerSouthWest "Point(${LONGITUDE} ${LATITUDE})"^^geo:wktLiteral .
bd:serviceParam wikibase:cornerNorthEast "Point(${NEXT_LONGITUDE} ${NEXT_LATITUDE})"^^geo:wktLiteral .
}
MINUS {?item wdt:P18 ?image}
MINUS {?item wdt:P582 ?endtime.}
MINUS {?item wdt:P582 ?dissolvedOrAbolished.}
MINUS {?item p:P31 ?instanceStatement. ?instanceStatement pq:P582 ?endtimeQualifier.}
OPTIONAL {?item rdfs:label ?en_label . FILTER(LANG(?en_label) = "en")}
OPTIONAL {?item rdfs:label ?fr_label . FILTER(LANG(?fr_label) = "fr")}
OPTIONAL {?item rdfs:label ?vn_label . FILTER(LANG(?id_label) = "id")}
OPTIONAL {?item rdfs:label ?item_label}
OPTIONAL {?item wdt:P31 ?class. ?class rdfs:label ?class_label. FILTER(LANG(?class_label) = "en")}
}
GROUP BY ?item