Difference between revisions of "Map"
Susanna Ånäs (talk | contribs) (→Map component) |
Susanna Ånäs (talk | contribs) (→Selecting sources) |
||
Line 50: | Line 50: | ||
#* Select/search from available maps in registered sources, including Wikimaps Warper. | #* Select/search from available maps in registered sources, including Wikimaps Warper. | ||
− | ===Selecting sources=== | + | ====Selecting sources==== |
* A modal to configure the sources. | * A modal to configure the sources. | ||
* Can display previews of available imagery or data for each layer individually. | * Can display previews of available imagery or data for each layer individually. |
Revision as of 13:42, 4 September 2020
There are several ways in which maps can be used.
- Map component for a single topic displays everything the user collates together on the map
- Map display option for any component in addition to a gallery and a list.
- Map-based wikidocumentary
- For a given topic, displayed in the header section. There may be several header images of wikidocumentaries per topic, which will then be put on a playlist.
- A wikidocumentary usually touches on many topics, and there must be a topic-independent place for displaying them and a way to find them.
- Map-based discovery interface on the top level.
- Location display in each media metadata view.
- Map-based tools
Contents
Map component
The map component for a single topic displays everything the user collates together on the map. It is possible to display the filtered information from each of the topic page's sections, define their display properties, and add several base map layers. It will also be possible to configure other external data elements to be displayed on the map. Ideally, the map can be exported and embedded elsewhere.
Initial display
- Display the topic on the map as a pin and/or an area depending on data
- Zoom extent to be figured out for a single pin
Map layers
Menu controls
- Transparency slider for each layer
- Toggle visibility
- Configuration button opens configuration modal (TBD). Each layer has one map initially.
- Layers can be rearranged
- Bottom layer is opaque or there is a (chosen?) background colour)
The goal is to display the most suitable maps based on scale and topic date by default.
Layers
See also Phabricator task https://phabricator.wikimedia.org/T261569
Allow 4 layers that can be configured
- Base map
- Default map: Styled OSM map. Allow changing the style?
- OpenStreetMap
- Available local map services, use data collected in OSM
- Custom?
- Terrain
- Orthophoto
- International services
- Local providers
- Scanned / historical map
- Always best suggestion based on time and scale
- Select/search from available maps in registered sources, including Wikimaps Warper.
Selecting sources
- A modal to configure the sources.
- Can display previews of available imagery or data for each layer individually.
- Allows reading any publicly available raster or data layer to Wikidocumentaries.
View other elements
- Nearby items (POIs & shapes)
- Nearby images
Data from other components
These could be sent from the component where selecting and faceting can be done with the tools suitable for that dataset.
- Images: Display all related images, a filtered subset or a selection of images on the map
- Other components: Display items from any of the components on the topic's page, filtered in the component
Define more display modes
- Combine several views in one: Map, timeline and gallery.
Actions
- Import data source
- Export map
- Save map configuration
Data layers
Pins and popups
- Initial topic's pin is displayed as popup. Possibility of correcting the location?
- Topic's images are collated to the topic popup. Each image links to the image viewer
- Simple pins are used for other topics. If possible, use the image and/or name.
- Clicking opens the popup, which links to topic's page.
- Individual images are displayed with image pins, linking to the image viewer.
- Aggregated items and images. If there are too many items or images in the area, they will be styled as aggregate.
- Timeline arc for items with several dates. If possible to distinguish routes, they will be displayed without arcs.
Area
- Some sources can be added permanently
- OSM, which other? Through which services? Sophox?
Other options
- Select map language: Display vernacular/old toponyms?
- Select map style
Map display option
Phabricator:https://phabricator.wikimedia.org/T261566
Map display option for any component in addition to gallery, list and timeline.
- Option in the display menu of items that have geolocation data
- Single point, lifeline (start–end) arcs, routes, aggregates for multiple points
- Areas
- Temporal aspect if present in the data
- Facet items on the map based on their properties
- Add all or a faceted selection to the topic's map
Map-based wikidocumentary
See wikidocumentary
Map-based discovery interface
- Display items in the given area
- Combine with other search criteria
- Search location by place name. Aim to include historical toponyms.
- Search page design needed. Also useful for displaying scope for shape expressions.
Location display in each media metadata view
- Each image has a small map in the metadata section. This, too, needs to have the same features as maps throughout the site.
Map-based tools
- Geolocating tool for images
- Rectifying maps
About | Technology | Design | Content modules | Tool pages | Projects |
Status
Wikidocumentaries Slack |
Setting up dev environment |
Components |
Active modules Module ideas |
Visual editor | Central Park Archives |