Add a new basemap - any map you like
Basemaps are an integral part of Alloy, that allow you to view your asset data in a geographical context. There are many basemap types that you can use to meet your needs. Alloy provides you with the ability to change between basemaps if you require a different perspective for your data.
Adding a basemap
Alloy provides you with three system basemaps, that cannot be removed. You can add or remove as many custom basemaps as you need.
- Go to the right menu panel and select the Basemaps icon. A list of available maps is shown in the search panel.
- Select the Add basemap button in the action bar. The Basemap creation process page is displayed on the left.
All of the steps are mandatory, however, the configuration fields depend on the choice you make in step .
- Select step , the Basemap type page is displayed. This allows you to select one of three map types.
XYZ - A tiled web map, slippy map (in OpenStreetMap terminology) or tile map (raster or vector) is a map displayed in a browser by seamlessly joining dozens of individually requested image or vector data files over the internet.
WMS - A Web Map Service (WMS) is a standard protocol developed by the Open Geospatial Consortium for serving georeferenced map images over the Internet. These images are typically produced by a map server from data provided by a GIS database.
WMTS - A Web Map Tile Service (WMTS) is a standard protocol for serving pre-rendered or run-time computed georeferenced map tiles over the Internet. WMTS services are useful if you want to make your cached map or image services available in an open, recognized way across different platforms and clients.
When you have selected the type of basemap you require, the Basemap creation process page is displayed, the first step of the process indicates that it is complete.
- Select step , the details page that is displayed depends on the type of basemap you selected in the previous step.
Each basemap type requires you to enter an URL, although the format is different for each type. When you have entered the relevant URL select Next.
Alloy accepts map URLs in a range of different formats, depending on the service. The most common format is:
Alloy can also accept variants such as:
When you have completed the URL select Save and proceed to the final step to create the basemap.
Alloy accepts map URLs for WMS services. A WMS server usually serves the map in a bitmap format, e.g. PNG, GIF or JPEG and etc… In addition, vector graphics can be included, such as points, lines, curves and text, expressed in SVG or WebCGM format.
A typical URL is shown below:
The following is an example service you can access:
When you have entered an URL for a WMS service and select Next, the Set WMS layers page is displayed.
Selecting the Select layers field displays a dialog that allows you to select one or more of the available layers within the map service you have selected.
Select the layers you require then select Save. When you have selected the required layers select Next, the Style details page is displayed.
Each layer that you selected previously is listed. Select a layer to display a dialog that allows you to select a style for the layer.
When you have selected a style, you are returned to the Style details page. When you have selected all the styles you need, select Next.
You can now proceed to the final step to create the basemap.
Alloy accepts map URLs for WMTS services. When creating a WMTS basemap you need to make sure that the URL points to a
A typical URL is shown below:
Alloy does not accept links to
http sites and you should not add any layer parameters at the end of the URL.
The following is an example link to a WMTSCapabilities.xml:
When you have entered an URL for a WMTS service select Next, the Set WMTS layers page is displayed.
Select the Layers field to display a dialog that allows you to select a layer from the available layers within the map service you have selected. Alloy only allows you to select one layer for the basemap.
When you have selected the required layer select Next. The Style details page is displayed.
Select the Style field to display a dialog that allows you to select a layer style for the basemap.
When you have selected the required style select Next, you are returned to the Basemap creation process screen, select Save and proceed to the final step to create the basemap.
The URL you enter is validated within each type of basemap and you cannot complete this step until a valid entry is made. When you have completed the URL details for the basemap type you require, select Next, the second step of the process indicates that it is complete.
- Select step , the Basemap page is displayed.
The following fields are common to all map types:
Name - This allows you to enter a name for the map that will appear below the thumbnail in the list of maps, this is mandatory.
Colour - You can also select the colour of the background that appears in the map area while the map is being drawn, see Selecting colours.
For WMS and WMTS maps you can complete the following optional field:
- Watermark - This allows you to enter text that defines a watermark, this may be a requirement of the usage of the map.
For WMS maps you have the following option:
- Image WMS - By default the map is provided as a set of tiles, if you select this option the map is provided as a single image.
For XYZ and WMTS maps you have the following option:
- Hi DPI tiles - By default the map is provided with a set of standard resolution tiles of 256 x 256 pixels, if you select this option the map is provided as a set of higher definition (Hi DPI) tiles of 512 x 512 pixels, providing the server you have connected to provides high resolution tiles.
- When you have completed the basemap details, the third step of the process indicates that it is complete.
- Select Create basemap, the map is displayed and added to the list of available basemaps.