Introduction

In Maptainer each Asset type is a Layer on the map: “Luminaire”, “Hydrant”, “Water supply pipe”… The assets in a layer share geometry, fields and symbology. Each asset's record and how to edit it on the map are explained in Assets.

Concept What it is
Family A group of layers, for example “Water networks”. It groups the layers in the map panel
Layer An asset type, with its geometry: point, line, polygon, any of them or no geometry
Subtype A layer that hangs from another in the list, such as “Driver” under “Luminaire”
Field A piece of data for each asset: power, material, year of installation…
Identifying fields The fields that make up the asset's name in records, work orders and issues
Style How the layer is drawn: a fixed colour or a Thematic style, with one colour per value of a field
WMS layer An image from an external map server, such as an orthophoto or the land registry

With the Network topology module, pipe, channel or cable layers and their elements form a connected network: each layer is given a role in it (Network topology).

The usual order for setting up a new layer is:

  1. Create the family, if it does not exist.
  2. Create the layer with New Layer.
  3. Define its fields with Manage fields and tick the identifying ones.
  4. Load the assets: from a file, from a REST API or by drawing them on the map.
  5. Configure the symbology.

Prerequisites

The Assets / Layers and WMS layers screens are in the administrator, in the Settings block of the side menu. Only the tenant administrator can see them. You reach them from the user menu → Go to the administrator.

No module needs to be subscribed. Some blocks only appear with specific modules:

Form block Appears if…
Client The tenant has the clients module. See Clients and SLA
Meter readings The tenant has the readings module. See Reading batches
External data source with REST API There is at least one connection in Remote Connections. See Tenant administration

The layers screen

Assets / Layers opens the Asset Types & Layers screen. At the top are the Manage Families and New Layer buttons, and below them the list of layers.

The “Asset Types & Layers” screen with the demo layers, their geometry, layer type and family.
The “Asset Types & Layers” screen with the demo layers, their geometry, layer type and family.

Each row shows:

Column What it shows
Name / Type The layer name. Below it, ROOT if it is a main layer or SUBTYPE if it hangs from another. The readings tag marks measurable layers
Geometry POINT, LINESTRING, POLYGON, their MULTI variants, MIXED (any type) or NO GEOM.
Layer Operational or Cosmetic
Family The layer's family, or “—” if it has none

To search, type in Search type, code or family….

To change the order, drag the row by the handle on the left. “Order updated successfully” appears. The first layer in the list is drawn on top of the others on the map.

Actions on each row

The buttons on the right depend on the layer type. Hover over them to see their name:

Button What it does When it appears
Upload geospatial file Loads assets from a file Active layers with geometry
Create subtype of … Creates a layer that hangs from this one Operational layers
Synchronise REST API Fetches the data from the external source Active layers with a REST API configured
Configure symbology Map styles and thematic styles Layers with geometry
View data Table with the records Layers without geometry
Manage fields The assets' fields Always
Edit The layer's data Always
Disable layer / Enable layer (the power button) Retires it from day-to-day work, or puts it back into use Always
Delete Deletes the layer, only if it has no assets and nothing depends on it Always

A disabled layer is dimmed and tagged Inactive. See Deleting or disabling a layer.

Families

Families group the layers in the map's Layers panel. For example, “Outdoor lighting” brings together luminaires and control panels. A layer may have no family; it then appears on its own at the end.

Click Manage Families to open Family Management.

The “Family Management” screen with the demo families, their code and their order.
The “Family Management” screen with the demo families, their code and their order.

Creating a family

  1. Click New Family.
  2. Fill in the Name. The rest is optional:
    • Order: position in the list.
    • Code: an abbreviation of up to 20 characters, such as “ELEC”.
    • Parent family: choose one to create a subfamily.
    • Description.
  3. Click Create family.

To create a subfamily directly, click Create subfamily (the + button) on the parent family's row.

To reorder, drag the rows. To move a family into another, open it with Edit and change the Parent family; its subfamilies move with it.

Deleting or deactivating a family

Click Delete on its row and confirm. You can only delete a family with no layers or subfamilies. If it has any, Cannot be deleted appears with how many, and the Deactivate button.

To retire a family without moving its layers, deactivate it with the power button on its row (Deactivate family) and confirm with Deactivate. A deactivated family:

  • is dimmed and tagged Inactive;
  • keeps its layers and subfamilies;
  • is no longer offered when creating or editing layers or as a Parent family, and has no Create subfamily button.

To use it again, click the same button (Reactivate family). To delete it completely, first move its layers to another family (in Edit for each layer) and its subfamilies to another parent family.

Creating a layer

Click New Layer. The New Asset Layer form has several blocks; only the name and the geometry are essential.

The “New Asset Layer” form with the Basic information, Geometry and layer, Display, Meter readings and Load geometries blocks.
The “New Asset Layer” form with the Basic information, Geometry and layer, Display, Meter readings and Load geometries blocks.

Basic information

Field What it is for
Layer name (required) What is shown on the map, in records and in lists. It cannot be repeated
Family The group it appears in on the layers panel
Client Only with the clients module. If you load a file when creating the layer, its assets will belong to this client
Description Free text

Geometry and layer

Field Options
Geometry type (required) POINT (Point), LINESTRING (Line), POLYGON (Polygon), their MULTI versions, GEOMETRY (Any type) or No geometry
Layer type (required) Operational (generates assets): its elements have a record, work orders, issues and readings. Cosmetic (display only): it is only drawn

Choose GEOMETRY only if the layer mixes points, lines and polygons. A layer with No geometry is not drawn: it is for data without a position, such as components or spare parts. When you choose it, the display blocks disappear and Load data appears, with a CSV file.

Warning

Decide the geometry before loading data. With assets in the layer, Edit only lets the geometry change to its MULTI version (from POINT to MULTIPOINT, for example) or to GEOMETRY; any other change is rejected with “The layer has N assets: its geometry type can only change to its multi version or to GEOMETRY”. Nor can a layer with assets in open work orders be switched to Cosmetic.

Display

Field What it does
Tile cache Yes stores the map pieces already drawn on the server, so the layer loads faster. Useful for large layers. When you edit, load or sync assets the cache renews itself
Load on start-up Yes switches the layer on when the map opens. See The map

Meter readings

This only appears with the readings module. The Supports meter readings tick box makes the layer measurable. You can tick it when creating the layer, but the fields to measure are added afterwards, from Edit. When you save a measurable layer, Maptainer warns that the field to measure is missing; click Add now to open Edit. The whole process is in Reading batches. If the layer already has readings and will not be read any more, unticking the box keeps the history and stops the schedules and the batches not started: see Stop reading a layer.

Load geometries

You can load the assets while creating the layer, with a GeoJSON, GeoPackage, zipped Shapefile or DXF file. It works the same as Upload geospatial file. For a DXF, tick It is a CAD/DXF file and type the coordinate system in Source coordinate system, for example “EPSG:25830”. It is ticked automatically when you choose a .dxf.

If the load fails, Maptainer deletes the newly created layer and shows the reason. Correct the file and start again.

Note

With the clients module, choose a Client if you load a file when creating the layer. All imported assets need a client.

External data source

This block connects the layer to another system's REST API. It is explained in Synchronising with a REST API.

Saving

Click Create layer. “Layer created successfully” appears and you return to the list. If you chose a file, a bar shows the progress of the load.

Subtypes

A subtype is a layer that hangs from another in the list, for example the components of a luminaire. It has its own geometry, fields and symbology: it is just another layer. In addition, its assets can hang from an asset in the parent layer: see Layer hierarchy.

  1. On the parent layer's row, click Create subtype of … (the + button).
  2. New Asset Subtype opens, with the DEPENDENT ON box and the parent layer's name.
  3. Fill in the form as in Creating a layer and click Create layer.

A subtype can have subtypes of its own; the form is then titled New Asset Sub-subtype.

The “New Asset Subtype” form with the “Dependent on Luminaire” box.
The “New Asset Subtype” form with the “Dependent on Luminaire” box.

You can change the parent layer later in Edit, in the Hierarchy block.

Editing a layer

Click Edit on the row. Edit asset type has the same blocks as the creation form, except file loading. On the right, a card summarises the layer: family, cache and whether it loads on start-up.

The “Edit asset type” form for the “Water supply pipe” layer.
The “Edit asset type” form for the “Water supply pipe” layer.

Change what you need and click Save changes. “Asset type updated successfully” appears.

For measurable layers, this is where the fields to measure are created and edited: see Reading batches.

Layer hierarchy

The Hierarchy block says which layers this layer's assets can hang from. A layer can have several parent layers, for example a pump that hangs from a pumping station or from a tank.

  1. Click Add parent layer and choose the layer in Hangs from.
  2. In Maximum, type how many assets of this layer fit under one parent, for example 3 blades per rotor. Empty means no limit.
  3. Tick Mandatory if every asset in this layer must hang from one.
  4. Remove deletes the row. Click Save changes.

Without any parent layer, the layer has no hierarchy and its forms do not ask for Hangs from. A layer cannot hang from itself or from one of its child layers.

Changing the rules does not touch the assets. Assets without a parent in a layer that now requires one still exist; the parent is requested when they are edited. For day-to-day use, see Asset hierarchy.

Assigning parents to existing assets

Assign parents…, in the Hierarchy block, attaches the layer's assets to parents in one go. It is useful for a layer loaded without parents or to turn a reference field into a hierarchy. The parent layers must already be saved.

The “Assign parents” window for the luminaires, with the preview of the “The nearest” method.
The “Assign parents” window for the luminaires, with the preview of the “The nearest” method.
  1. Choose How the parent is chosen:

    Method What it does
    By a field A field of the asset holds the parent's code. In Search in, choose whether that code is the Parent asset code or a field of the parent. A field that references the parent layer is already selected, with its display field
    The nearest The closest parent, up to the Maximum distance (m)
    Within the parent The parent is a polygon (a building, a plot) that contains the asset
  2. Leave Only those without a parent (so as not to touch what is already done) and The parent, from the same client ticked, unless you need something else.

  3. Click Preview. It shows how many will be attached and why the rest will not, with examples: “No matching parent”, “With several possible parents”, “No value in the field”, “Its parent is full”.
  4. If it looks right, click Apply and confirm. Nothing changes until then.

The maximum number of children per parent is respected: with The nearest, an asset whose nearest parent is already full is shown as “Its parent is full” and is not attached to another. On layers with hundreds of thousands of assets it may take a few seconds; if it takes more than two minutes, it stops with a warning.

Manage fields

Fields are the data held for each asset in the layer. Click Manage fields on the row: a window opens with two parts, Identifying fields and Defined fields.

The “Manage fields” window for the “Luminaire” layer, with “Name” ticked as an identifying field and the list of fields.
The “Manage fields” window for the “Luminaire” layer, with “Name” ticked as an identifying field and the list of fields.

Identifying fields

Tick the fields that make up the asset's name. That name is the one shown in the record, work orders, issues and reading batches. If you tick several, they are joined with a hyphen, for example “CM-01 - Calle Mayor”.

The change is saved when you tick the box, with no further buttons. Maptainer also recalculates the asset codes and reports “N asset codes have been updated”.

Identifying fields also act as the key when you reload a file: see Existing assets.

Adding or editing a field

  1. Click Add field, or Edit on the field's card.
  2. Fill in Identification:
    • Label: the name the user sees. Required.
    • Technical name: it must start with a letter and contain only unaccented letters, numbers and underscores, up to 64 characters. It is the data key and must match the column in the files you load.
    • Field type: see the table below.
  3. If it is a list type, add the options with Add option. Each option has a value and a label.
  4. In Behaviour, set Default value, Display order, Field width, Visibility and Required field.
  5. Click Create field or Update field.
The editor for the “Technology” field, a selector type, with its three options.
The editor for the “Technology” field, a selector type, with its three options.

When you create a field, every asset in the layer receives it empty or with the default value.

Field type Use
Text, Text area Short or long text
Number, Decimal, Integer Quantities
Date, Date and time, Time Dates and times
Selector (drop-down list), Multi-selector, Radio buttons, Checkbox Values from a list of options
Yes/No A true or false tick box
Email, URL, Phone Contact details. In the record, the email and the URL open with one click
Colour A colour, with its picker
Asset reference Links to an asset in another layer. It asks for Asset type to reference, Key field and Text to display
Auto-number A number that Maptainer sets when the asset is saved: the highest in the layer plus one, also counting deactivated assets. It cannot be changed. It is filled in the same way in file loads, REST synchronisation and the mobile app; if the file already has the number, it is kept. When you add the field to a layer with assets, they are numbered in order of creation
File A file attached to the asset: Attach… to upload it, Replace… or Remove. It opens from the record and also appears in its documentation. Same formats and size as the asset's documents

Other options in the editor:

Option What it does
Display order The field's position in the asset form. Lower numbers come first
Field width Complete (100%), Medium (50%), Third (33%) or Quarter (25%) of the form
Visibility Visible, Hidden or Read only. A hidden field is not searched by the global search and is not sent to the map or the offline map, unless a thematic style or a label of the layer uses it
Required field Does not let you save the asset without this data. In file loads, rows without it are not imported
Parent field In lists and references: makes the options depend on the value of another field

Lists that depend on another

A list field can depend on another. For example, Model can offer different options depending on the Manufacturer.

  1. First create the parent field, with its options.
  2. In the child field, choose the Parent field in Hierarchical dependency.
  3. Save the field. Its card shows the Dependent tag and the Manage cascading options button.
  4. Click Manage cascading options, choose each parent value and type the options that go with it.

Renaming or deleting a field

If you change the Technical name, Maptainer carries the change over to the assets' data, the identifying fields and the map styles.

Renaming also updates the documents linked through that field and the reference fields of other layers that display it or filter by it.

To delete, click Delete on the card. Before you confirm, it tells you how many assets have a value in that field and which styles use it.

A field used by measuring point rules, by documents linked through that field or by reference fields of other layers cannot be deleted: the warning says how many there are. Remove it from there first, or mark it as Hidden.

Warning

Deleting a field erases its value from every asset, and it cannot be recovered. Styles that used it are reset: a thematic style becomes a simple style and the label by that field is removed.

Uploading a geospatial file

This is how you load many assets at once. Click Upload geospatial file on the layer's row.

The “Upload geospatial file” window for the “Luminaire” layer, with the file, the client and the choice between adding or replacing.
The “Upload geospatial file” window for the “Luminaire” layer, with the file, the client and the choice between adding or replacing.
  1. In File, choose the file. If it is a DXF, type in Source coordinate system the EPSG it is drawn in, for example “EPSG:25830”. It is required: without it you cannot upload the file. With the other formats the field is optional: leave it empty if the file already states its system, or type it for a GeoJSON without “crs” or a Shapefile without .prj.
  2. With the clients module, choose the Client for all the assets in the file. If they belong to your company, choose your own client.
  3. If the layer has parent layers, you can give the Column with the parent’s code and, in Search in, where that code is: the Parent asset code or a field of the parent layer. See Parents during the load.
  4. In What to do with the existing data?, choose Add data or Replace data.
  5. Click Upload file.

A bar shows the upload and the processing. When it finishes, a summary appears, for example “415 assets were created successfully”. If any row fails, the message says how many and why.

Formats

Format What to upload Coordinate system
GeoJSON The .geojson or .json file The file's own. If it does not state one, WGS84 (EPSG:4326) is assumed, unless you type another in Source coordinate system
GeoPackage The .gpkg file The file's own
Shapefile A .zip with a single .shp and its files (.dbf, .shx, .prj) The one in the .prj. Without a .prj, type it in Source coordinate system
DXF The .dxf file You must state it, when creating the layer or when uploading the file

The maximum size is 150 MB. Everything is converted to the map projection when loaded.

How the fields are read

You do not need to match columns by hand. Each column in the file is stored under its name, and shown in the field whose Technical name matches.

  • If the layer has no fields, Maptainer creates a text field for each column. You can then change their labels and types in Manage fields. If one cannot be created, the load continues and the summary warns: “The following fields could not be created in the layer: …”. Their values are stored, but they are not shown in the record until you create the field by hand.
  • If the layer already has fields, none is created. Columns with a different name are stored, but they are not shown until you create a field with that technical name.

All loaded assets enter the Operational status. Rows with no geometry or an empty geometry are discarded. Invalid geometries (a self-intersecting polygon, for example) are repaired on load.

Geometries must be of the layer's type: a POINT layer only takes points. A multipoint, multiline or multipolygon with a single part is stored as a simple point, line or polygon. If any row has another type, nothing is loaded and the warning says which rows, for example “The layer is of type point and the file contains other geometries (row 2: polygon)”.

Tip

Define the fields before the first load and use the same technical names in the file. That way the data types and lists are right from the start.

Existing assets

With Add data, what happens to the assets already in the layer depends on its identifying fields. It is the same in every format: GeoJSON, GeoPackage, Shapefile, DXF and CSV.

  • If the layer has identifying fields and the file includes those columns, each row with the same values as an asset in the layer and with the same Client updates that asset: geometry and data. Stored auto-numbers do not change. If two rows in the file have the same values, the last one counts. The other rows are added as new assets.
  • Otherwise, the whole file is added as new assets and those already there end up duplicated.

The form warns about this below the two options while Add data is selected. When it finishes, the summary says how many assets were created and how many were updated, for example “3 new assets created and 12 already in the layer updated”.

Replace data deactivates all the assets in the layer and loads those in the file. With the clients module, only those of the chosen Client: assets of the layer's other clients are not touched. It is only possible if none of the layer's assets in use has a history. History means being in a work order, or having issues, quotes, readings, photos, documents, measuring points, change requests, form responses or child assets. Being in a reading batch or a reading route also counts.

  • If any has a history, nothing is replaced and the layer stays as it was. The warning says how many assets have one and why, for example “The data has not been replaced: 12 assets in the layer have data that depends on them (8 in work orders, 4 with photos)…”. This is checked before the file is read, so you do not have to wait for it to be processed.
  • If none has one, Maptainer reads and checks the whole file. Only if it is correct does it deactivate the layer's assets and load the new ones, all at once. If anything fails, the layer stays as it was.

The replaced assets are not deleted: they move to Permanently Decommissioned and are no longer shown on the map. Those already deactivated are not touched.

To update a layer with history, use Add data with identifying fields, or deactivate the surplus assets by hand.

Replace data also requires the Delete permission on GIS Assets. Without it, the load is rejected without touching anything and the warning suggests using Add data or asking an administrator for the permission.

In every format, rows missing a required field are not loaded. The summary lists them, for example “Row 12: the required property code is missing”.

Note

Replace data is intended for a newly loaded layer that has no work on it yet. As soon as an asset goes into a work order or receives a reading or a photo, the layer can no longer be replaced.

Parents during the load

If the file has a column with the code of the asset each row hangs from (for example, each luminaire's control panel), type its name in Column with the parent’s code. When the load finishes, each new asset is attached to the asset in the parent layer with that code. The summary reports it: “Parents: 407 assets attached to their parent; 8 assets with a parent code remain unattached in the layer (8 with no parent with that code)”.

  • The column is stored as just another field of the asset, so it can be reused with Assign parents.
  • Only the assets of this load are attached, and to a parent of the same client. Assets already in the layer are attached with Assign parents.
  • The maximum number of children per parent is never exceeded.
  • If a code appears on two parents, that asset is not attached.

Plan limit

If the file exceeds the number of assets your plan allows, nothing is loaded. A message such as “Your plan allows N assets and there are already M” appears. Upgrade the plan or split the file.

Synchronising with a REST API

A layer can take its assets from another system that publishes them through a REST API. The connection (address and credential) is set up beforehand in Remote Connections; see Tenant administration.

Configuring the source

In New Layer or Edit, in External data source, choose REST API and fill in:

The “External data source” block with the REST API option selected.
The “External data source” block with the REST API option selected.
Field What to enter
Remote connection The connection created in Remote Connections
Base URL Which of the connection's addresses the layer uses when synchronising. When you edit the layer the chosen one is selected; if you did not choose one, the first
Endpoint path The final part of the address, for example “/v1/assets”
Geometry field The item in each record that holds the geometry in GeoJSON. By default, “geojson”
Projection (EPSG) The coordinate system of that geometry
Primary key(s) The field or fields that identify each record, separated by commas. Required for importing
Execution hours The times at which the layer synchronises automatically, in the local time of its client (or of your company). Add each one with its time and Add. Without times, it only synchronises with the button
Delta implementation Yes fetches only what has changed since the last successful synchronisation. It asks for the API's Update date field, Deletion date field and Date format

In a layer with No geometry the block is called Load data (when creating) or Data source (when editing), and it does not ask for a geometry.

The API must return a list of records, or an object with the list inside “data”, “results”, “items”, “records” or “features”.

Synchronising

On the layer's row, click Synchronise REST API and confirm with Synchronise.

  1. The first time, if the layer has no fields, Maptainer only reads the structure. It creates a field for each item and warns: “Run again to import data”.
  2. Check the fields in Manage fields. The Primary key must be one of them, with the same technical name.
  3. Synchronise again. The records are imported this time.

When it finishes, Synchronisation completed gives the count: created, updated, unchanged and deactivated.

Warning

Without delta, assets that came through the API and are no longer in it are deactivated on each synchronisation. Assets drawn by hand or loaded from a file are not touched. A record that does come but fails to process does not deactivate its asset: it stays as it was.

Automatic synchronisation and delta

With Execution hours, Maptainer synchronises the layer automatically at each time set, give or take a few minutes. If a synchronisation of the layer is already running at that time, that run is skipped.

With Delta implementation set to Yes:

  • The first synchronisation fetches everything. The following ones ask only for what has changed since the last successful one, with a 5-minute margin.
  • Maptainer adds ?modified_since= to the address with the date in the chosen Date format. If the API uses another name, write {since} in the Endpoint path where the date goes, for example “/v1/items?updated_at[gte]={since}”.
  • If the API does not filter, Maptainer itself discards the records that have not changed according to the Update date field.
  • A record with the Deletion date field filled in deactivates its asset. Records missing from the response are not touched.
  • If you want to fetch everything on one occasion, turn delta off, synchronise and turn it back on.

Layers without geometry

Layers with No geometry are not drawn on the map. They do not have Upload geospatial file or Configure symbology; they have View data.

Their assets are located by the asset they hang from: a battery container in its storage system, a lamp in its luminaire. Generate preventive places their WOs on the first asset above that has a position, even if there are several levels without one, and View on the map takes you there. An asset without geometry that does not hang from anything with a position is left out of the generated preventive maintenance (see Generate preventive).

View data opens a table with the layer's records. It has one column per field, plus Active and Created. It shows 50 records per page and you filter it with Search.... Close it with Close or Escape.

The data is loaded from a CSV with headers in the first row: when creating the layer, in Load data, or later with Load CSV data on the layer's row. Each column becomes a text field if the layer had no fields.

Load CSV data works like Uploading a geospatial file: you choose the file, the Client and, if there are parent layers, the parent column, and then Add data or Replace data. Rows without a required field are not loaded, and if the replacement fails the layer stays as it was.

Symbology

Symbology decides how the layer is drawn on the map. Click Configure symbology on the row: Symbology opens with the layer's styles.

The symbology of “Water supply pipe”, with two thematic styles: “Material”, the main one, and “Diameter”.
The symbology of “Water supply pipe”, with two thematic styles: “Material”, the main one, and “Diameter”.

A layer can have several styles. On the map they are alternatives: one is shown and the others are chosen with Select thematic in the layers panel. The style's Name is what appears in that list. See The map.

Without any style, the layer is drawn with a default green style.

Note

All operational layers also have the Asset status thematic style, which colours by status. It needs no configuration.

Creating a style

  1. Click Add style. In a GEOMETRY layer, first choose the Geometry to symbolise.
  2. In Layer, mode and zoom, choose:
    • Layer type: Circle or Symbol/Text for points, Line for lines, Fill (Polygon) for polygons.
    • Style mode: Fixed (a single look) or Thematic (based on a field).
    • Minimum zoom and Maximum zoom: between which zoom levels it is drawn, in both modes.
  3. In Identification, give it a Name and decide whether it is the Main style: the one shown when the layer opens on the web map, the portal and the mobile app. There is only one per layer; when you tick another, the previous one stops being the main style.
  4. Fill in Style settings (see below).
  5. Click Create style.

To change it, click Edit on its card and then Update style. To delete it, Delete.

Note

Each style is a separate thematic style. In a GEOMETRY layer with one style for points and another for lines, the map shows one at a time; switch between them in Select thematic.

Fixed style

All assets are drawn the same way. The settings depend on the layer type:

Layer type Settings
Circle Circle Colour, Radius (px), Opacity, Border Colour, Border Width, Border Opac.
Line Colour, Width (px), Opacity, Dashes (for example “2,4”), Line join and Line cap
Fill (Polygon) Fill Colour, Opacity, Outline Colour, Outline Width (px) and Edge smoothing (antialias)
Symbol/Text Text block and Icon (Optional) block
A fixed circle style with the “Text Labels (Optional)” block.
A fixed circle style with the “Text Labels (Optional)” block.

Opacity ranges from 0 (transparent) to 1 (opaque). Colours are chosen with the picker or typed in hexadecimal.

Labels

Circle, fill and symbol styles have the Text Labels (Optional) block. It writes the value of a field next to each asset, such as its number.

Setting What it does
Label Field The field that is written. No label removes it
Min. Zoom The zoom from which labels are shown. Always shows them at every zoom
Size (px) Font size
Anchor Where the text goes relative to the asset: Centre, Up, Down, Left or Right
Text Colour, Halo Colour, Halo Width Colour of the lettering and of the outline around it
Opacity Transparency of the text

Tip

Set a high Min. Zoom, for example 17. With thousands of assets, labels at low zoom pile up and slow the map down.

Icons

In the Symbol/Text type, the Icon (Optional) block draws an icon instead of a circle.

  1. Click Select. Select SVG Icon opens with the icon library.
  2. Search by name or filter by sector.
  3. Click the icon.
  4. Adjust Icon Size (scale): 1 is the original size.

The icon library is shared by all companies and maintained by Maptainer. You cannot upload your own icons. It has about 370 icons spread across ten sectors: Water and sanitation, Electricity and lighting, Wind, Solar PV, Irrigation, Signage and traffic, Facilities, Buildings and equipment, Works and tools, and Symbols and statuses.

All icons are almost square. Objects that are naturally elongated, such as a hydrant, a wind turbine or a traffic light, sit inside a circle so they read well on the map. The map paints the icon as a single-colour silhouette in the style's colour; the colours of the original drawing are not shown.

Thematic style by a field

A Thematic style colours each asset according to the value of a field. For example, pipes by material.

The “Material” thematic style for “Water supply pipe”, with a colour and a width for each material.
The “Material” thematic style for “Water supply pipe”, with a colour and a width for each material.
  1. Choose Thematic in Style mode.
  2. In Field to Theme By, choose the field. Assign Styles by Value appears, with a card for each value.
  3. Adjust each value: colour and radius for circles, colour and width for lines, colour and opacity for fills.
  4. Choose the Default Colour for assets with a value that is not in the list.
  5. Optionally, add labels in Text Labels (Optional).
  6. Click Create style or Update style.

The values come from the field's options and from the values the assets already have, up to 100. Colours are suggested automatically and can be changed.

In the Symbol/Text type, Icon Settings offers Single icon for all, with one colour per value, or Icon per value.

Deleting or disabling a layer

A layer with assets is not deleted: it is disabled. That way its assets are kept with all their history.

Deleting a layer

Click Delete on the row and confirm with Delete. Only a layer that has nothing is deleted:

  • no assets, not even deactivated ones;
  • no assets in work orders, WO forms or form template assignments;
  • no inventory items, reading schedules or layer documents;
  • no hierarchy relationships with other layers, and no fields in other layers that reference it.

If it has nothing, it is deleted along with its fields, styles and measuring points. This cannot be undone.

If it has something, Cannot be deleted appears with the list, for example “The layer “Luminaire” cannot be deleted: it has 120 assets (3 deactivated) and 15 assets in work orders…”. Click Disable layer to disable it right there.

Disabling a layer

Disable a layer when it is no longer used, for example when “Luminaires” is replaced by “Luminaires 2026”. Click the power button on the row (Disable layer) and confirm with Deactivate. The layer is retired from day-to-day work:

  • it does not appear in the map's layer tree and does not switch on when the map opens. To look at it, tick Show disabled layers at the end of the asset layers. Nor does it appear on the client portal map;
  • it does not appear in the layer selector of work orders, issues or reading batches, and its assets cannot be added to new work orders or issues. Create work order and Create issue in the record of one of its assets show “Layer disabled”;
  • preventive maintenance stops copying its assets to the orders it generates, Generate preventive does not suggest them and reading batches do not include them;
  • it accepts no new assets by any route: not by drawing them on the map, not with + Add from a parent asset, not with file loads, not with REST synchronisation and not from the app;
  • it does not offer Upload geospatial file or Synchronise REST API on its row, and does not appear in the asset load selector.

What already existed is kept: its assets with all their history, the work orders and issues that have them (they can be finished, and an order created from an issue takes its assets) and the reports. In the app the layer stays in the layers panel, but it does not switch on when the map opens and is not offered for creating assets.

If someone tries to use one of its assets, “The layer “…” is disabled: its assets can no longer be added to work orders or issues” appears. To use it again, click the same button (Enable layer): everything works as before, including preventive maintenance and readings.

Tip

If a preventive schedule is left without assets because they were all in disabled layers, the Preventive without assets warning appears. Change its base order to the assets of the new layer. See Preventive maintenance.

WMS layers

A WMS layer shows on the map the image from an external map server: an orthophoto, the land registry, urban planning. It is only an image: it has no assets and cannot be queried. They are managed in WMS layers, inside the administrator's Settings.

The WMS Layer Management screen lists the layers with their name, service address, layer and creation date. They are all of the Cosmetic type.

Adding a WMS layer

  1. Click New WMS layer.
  2. In Step 1 · Connect to the WMS service, paste the address in WMS service URL and click Connect. “WMS service connected successfully” appears.
  3. In Step 2 · Identification, type the Descriptive name, which is the one shown on the map, and choose the WMS service layer.
  4. In WMS service, check Reference system, WMS version, Image format and Style. The Reference system is chosen automatically (see below).
  5. In Display, adjust Opacity, Load on start-up and Transparency.
  6. Click Create WMS layer.
The “New WMS layer” form connected to the British Geological Survey service, with the “GBR BGS 1:625k Bedrock Lithology” layer selected.
The “New WMS layer” form connected to the British Geological Survey service, with the “GBR BGS 1:625k Bedrock Lithology” layer selected.

Use PNG with Transparency to see the layers underneath. JPEG is lighter but covers everything.

Reference system

The map works in EPSG:3857. When you choose the layer, Maptainer checks which systems the service offers:

  • If it offers EPSG:3857 (or an equivalent), it uses it and the drop-down is locked. This is the fastest option.
  • If it does not offer it, it suggests one of those it has, such as EPSG:4326 or EPSG:25830, and warns that the layer is reprojected. Maptainer requests the image in that system and converts it for the map. It appears in the right place, but loads a little more slowly.
  • If it offers no system that can be converted, it says so and does not let you create the layer.

In ArcGIS services, a reprojected layer may change line thickness or labelling depending on the system. If the service offers one in metres, such as EPSG:25830, it usually looks better than in EPSG:4326.

On the map

WMS layers appear in the Layers panel, in the WMS layers group, and are always drawn below the assets. If the server offers a legend, it is shown in the Legend panel. See The map.

To change a layer, click Edit. Edit WMS layer also lets you change the URL, the layer's internal name and the Legend URL. To remove it, click Delete and confirm.

Common problems

Symptom Likely cause Solution
I cannot see Assets / Layers in the administrator Only the tenant administrator can see it Sign in with an administrator user
“An asset type with that name already exists in this tenant” There is another layer with the same name Change the name
The new layer does not appear when the map opens Load on start-up is set to No Switch it on in the Layers panel or change the option in Edit
I cannot see the assets when I switch the layer on The style has a minimum zoom, or the layer has no assets Zoom in on the map; check the zoom in Configure symbology
The load ends with “the required property is missing” The file lacks a field marked as required Fill in that column, or untick required before loading
The load fails because of the geometry type The file has geometries different from the layer's Split the file by geometry, or use a GEOMETRY layer
The load asks for a client With the clients module every asset needs a client Choose the Client; if they are yours, your own client
The DXF assets appear in the wrong place The Source coordinate system is not the drawing's Load it again with Replace data and the correct EPSG
The Shapefile assets appear in the wrong place The .prj is missing from the .zip Add the .prj, or type the EPSG in Source coordinate system, and load again
After loading, the assets have no name The layer has no identifying fields Tick them in Manage fields
Reloading a file duplicates the assets The layer has no identifying fields, or the file does not include those columns Tick them in Manage fields and load again with Add data, or use Replace data if the layer has no history yet
“The data has not been replaced: … assets in the layer have data that depends on them…” An asset in the layer is in work orders, or has readings, photos or other history Use Add data, or deactivate the surplus assets by hand
“The layer “…” is disabled and does not accept new assets” The layer is disabled Enable it with the power button on its row
Synchronisation says “Run again to import data” It was the first time and the layer had no fields Check the fields created and synchronise again
“The primary field … is not defined in the properties” The Primary key does not match any technical name Correct the key in Edit or create the field
“The API returned HTTP 401” or another code The service's credential or path is not valid Check the connection in Remote Connections and the Endpoint path
A thematic style does not show all the values Only up to 100 values are listed The rest take the Default Colour
I cannot delete a layer: “The layer … cannot be deleted” It has assets (even deactivated ones) or other things that depend on it Click Disable layer in the warning
“The layer “…” is disabled: its assets can no longer be added…” You chose an asset from a disabled layer Use the assets of the layer that replaces it, or enable it again
A layer has disappeared from the map's layer tree It is disabled Tick Show disabled layers, or enable it in Settings → Layers
I cannot delete a family It has layers or subfamilies Click Deactivate in the warning, or first move its layers and subfamilies
The WMS layer appears blank or patchy The service does not respond or drops connections Check that the service works; failed tiles are retried when you move the map

Last updated: