Spatialhelper plugin
Some of these examples are broken due to the way PHP is configured at sourceforge. More examples are available at wild-water.nl eg search nearby 48º11'36.384"N;16º27'39.06"E
This plugin provides helpers for the other DokuWiki Spatial plugins such as spatial indexing, SEO and a search action. Currently the search action needs a geohash or a lat/lon pair, support for a pagename/ID is in the works. See the tracker for all requested features.
A search url will look something like this (examples below):
https://dokuwikispatial.sourceforge.io/dokuwiki/doku.php?id=start&do=findnearby&geohash=u
or
https://dokuwikispatial.sourceforge.io/dokuwiki/doku.php?id=start&do=findnearby&geohash=u15vk4
find pages near geohash u or find pages near geohash u15vk4 or find pages near 50.4;5.9
The length (number of characters) of the geohash actually determines the search area, the more characters you strip off the end the larger the search area becomes, that is u1
is a larger area than u15vk4
.
Sitemap
Based on the spatial index sitemaps in both KML and GeoRSS are generated, these contain all public pages. Both sitemap documents are stored in the media directory of the wiki and linked in the page headers.
code for this sitemap:
<olmap id="olMapOne" width="750px" height="550px" lat="50.0" lon="5.1" zoom="8" statusbar="1" controls="1" poihoverstyle="0" baselyr="OpenStreetMap" gpxfile="" kmlfile=":sitemap.kml" geojsonfile="" summary="KML sitemap of this wiki" > </olmap>
operating instructions
Various functions are available as part of the map.
mouse/touch operation
- moving by grabbing the map with a mouse-click you can move the map around
- overview map using the < button in the bottom right of the map you can expand an overview map
- zooming in and out using the + and - buttons in the top left of the map you can obtain more or less detail in the map
- switching themes or maps clicking on the ≡ icon on the right-hand side of the map you can view and select available maps and themes
- retrieving information the map may contain elements that contain more information, by clicking these a popup will show this information
- fullscreen display using the ⛶ button the map can be maximized to fullscreen display, use the ▢ button to return to page display.
keyboard operation
Keyboard operation becomes available after activating the map using the tab key (the map will show a focus indicator ring).
- moving using the arrow keys you can move the map
- overview map using the + button in the bottom right of the map you can expand an overview map
- zooming in and out using the + and - buttons in the top left of the map or by using the + and - keys you can obtain more or less detail in the map
- switching themes or maps clicking on the ≡ icon on the right-hand side of the map you can view and select available maps and themes
- retrieving information the map may contain elements that contain more information, using the i key you can activate a cursor that may be moved using the arrow keys, pressing the enter will execute an information retrieval. press the i or the escape key to return to navigation mode
- fullscreen display using the ⛶ button the map can be maximized to fullscreen display, use the ▢ button to return to page display.
It's possible that some of the functions or buttons describe above have been disabled by the page author or the administrator
id | symbol | latitude | longitude | description |
---|---|---|---|---|
KML sitemap of this wiki | ||||
KML track: sitemap |
More information is available at the DokuWiki plugin site.