Semantic Maps

From Mapping on MediaWiki

Jump to: navigation, search
Crystal Clear action run.png
Semantic Maps

Release status: stable

SemanticMaps.png
Description Allows users to edit and display semantic coordinate data using multiple mapping services.
Author(s) Jeroen De Dauw and others
Last Version 0.6.6 (2010-08-26)
MediaWiki 1.15.* or greater
License GPL
Download Latest version

Semantic Maps is an extension that adds semantic capabilities to the Maps extension. This includes the ability to add, edit, aggregate and visualize coordinate data stored through the Semantic MediaWiki extension.

For usage, see Help:Semantic Maps.

Since Semantic Maps uses the Maps API, you can use multiple mapping services. These include Google Maps (with Google Earth support), Yahoo! Maps, OpenLayers and OpenStreetMap.

Both Semantic Maps and Maps are based on Semantic Google Maps and Semantic Layers, and are meant to replace these extensions. Having Semantic MediaWiki and Maps installed is a prerequisite for the Semantic Maps extension; the code will not work without it.

Contents

[edit] Functionality overview

Semantic Maps and Maps provide a map interface Semantic MediaWiki, through the following features:

  1. Display of coordinates.
  2. Semantic handling of coordinates. Semantic Maps adds a Geographic coordinates data type to Semantic MediaWiki.
  3. Aggregation of coordinates. Each mapping service has it's own special output format, that can be used in Semantic MediaWiki queries, allowing a set of coordinate data stored on multiple pages to be displayed together on a single map.
  4. Insertion of coordinates. Semantic Maps provides custom Semantic Forms input types. These input types display a map with a geocoder in a form to make the insertion (and editing) of coordinates easy for users.

[edit] Download

Semantic Maps 0.6.6 dependencies
Name Required Recommended Version Supported Versions
MediaWiki Yes 1.16 or above 1.15 or above, possibly older ones
Maps Yes 0.6.6 0.6.6
Validator Yes 0.3.6 0.3.6
Semantic MediaWiki Yes 1.5.2 or above 1.5.1 and above
Semantic Forms No 2.0 or above 1.9 or above, possibly older ones

You can find older versions in the legacy downloads section of the version history page.

You can also download the code directly via SVN from the MediaWiki source code repository, at http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/SemanticMaps/REL_0_6_6. From a command line, you can call the following:

svn checkout http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/SemanticMaps/REL_0_6_6

[edit] Package downloads

Maps and Semantic Maps

Semantic Bundle

[edit] Compatibility and dependencies

Notice: Semantic Maps and Maps are always released together. This means you should always use the same version of Maps as the one of Semantic Maps you have. For example Maps 0.3.4 and Semantic Maps 0.3.4, but not Maps 0.2 and Semantic Maps 0.3.

For a full list of dependency tables of all releases, see the Semantic Maps dependencies category.

[edit] Installation

Make sure you have Semantic MediaWiki, Maps and Validator successfully installed before proceeding with the installation. Once you have downloaded the code, place the 'SemanticMaps' directory within your MediaWiki 'extensions' directory. Then add the following code to your LocalSettings.php file after the lines that install Maps:

require_once( "$IP/extensions/SemanticMaps/SemanticMaps.php" );

The placement of the inclusion of Maps and Semantic Maps needs to be at a certain position. Hold the following rules into account:

An example of a typical inclusion order: ..., SMW, ..., SF, ..., Maps, SM, ...

Once you have successfully installed Semantic Maps, please add your wiki to the sites that use Semantic Maps section on mediawiki.org.

[edit] Installing 0.6 and above

This applies only to people installing version 0.6 or later.

Once You installed Semantic Maps, go to Special:SMWAdmin and run "database installation and upgrade". If you do not do this, geographic coordinates will not work properly, and you might encounters database errors on pages using them anyway.

[edit] Upgrading to 0.6 and above

This applies to everyone upgrading from the first Semantic Google Maps to Semantic Maps 0.5.5.

Make sure you have upgraded SMW to version 1.5.1 before installing Semantic Maps 0.6!

When upgrading to 0.6 from any previous version, you need to run the "database installation and upgrade" script in Special:SMWAdmin. Not doing this will result into fatal PHP errors. You will also need to run the "data repair and upgrade" script on the same page, which is required in order to store all coordinates so that Semantic Maps recognizes them. Not doing this will result into queries not returning any coordinates.

[edit] Upgrading from Semantic Google Maps

If you have Semantic Google Maps installed, and want to upgrade to Semantic Maps, these are the steps you need to follow:

After doing all these steps, you should be done. Maps and Semantic Maps are designed to be backward compatible with SGM, so all SGM code should work on Semantic Maps. If you encounter some problem though, please let the extension developers know.

[edit] Version

Semantic Maps displaying the result of a compound query with Google Maps.

Semantic Maps is currently at version 0.6.6 (2010-08-26). It is still considered beta, since some small issues might be present. However, it has been tested quite thoroughly, and should not cause any big problems.

[edit] Planned features

Curious about the upcoming features in the next release? The future work page contains on overview of the planned features, and the proposals that have been turned down.

[edit] Change log

This list only contains the versions and their release dates. For a list of all changes made, view the change log section of the version history page.


[edit] Languages supported

Semantic Maps has support for English, Afrikaans, Arabic, Egyptian Spoken Arabic, Belarusian, Breton, Bosnian, Catalan, German, Lower Sorbian, Greek, Esperanto, Spanish, Basque, Finnish, French, Galician, Swiss German, Hebrew, Upper Sorbian, Hungarian, Interlingua, Indonesian, Italian, Japanese, Khmer, Ripoarisch, Luxembourgish, Macedonian, Dutch, Norwegian Nynorsk, Norwegian, Occitan, Polish, Piedmontese, Portuguese, Brazilian Portuguese, Romanian, Tarandíne, Russian, Slovak, Serbian Cyrillic ekavian, Serbian Latin ekavian, Swedish, Telugu, Tagalog, Veps, Vietnamese, Volapük, Simplified Chinese, Traditional Chinese and others.

[edit] Work for hire

The following people can be hired to set up a wiki that uses Maps and Semantic Maps, along with other MediaWiki components.

[edit] Getting support

If you have any Semantic Maps related questions, you can add them to the Talk page of the extension page on mediawiki.org. Do NOT add questions on this wiki. You can alternatively also place any questions on the Semantic MediaWiki mailing list, semediawiki-user. If possible, add "[SM]" at the beginning of the subject line, to clarify the subject matter. Please contact the extensions authors only directly for urgent matters. Placing your questions on the talk page will create useful references for other people with similar problems.

[edit] Supporting further development

Are you using Semantic Maps, and want to show a sign of gratitude for it's development? You can make a donation to support further development.

[edit] External links

[edit] See also

Personal tools
Namespaces
Variants
Actions
Navigation
manuals
services
extensions
data
Toolbox