Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ALIM | Exor
  • Product Communities
  • AssetWise
  • ALIM | Exor
  • Cancel
ALIM | Exor
ALIM | Exor - Wiki HOWTO: Add a background layer
    • Sign In
    • -Exor - Wiki
      • +ALIM Document Manager
      • An Attempt to Reset Your Password Has Failed
      • -AWLRS
        • AWLRS and Spatial Manager - Questions and Answers
        • +AWLRS 1.3.x versions
        • +AWLRS 1.2.x versions
        • +AWLRS 1.1.x versions
        • +AWLRS Troubleshooting
        • Learning
        • -How To
          • HOW TO: Use GPS Coordinates To Locate A Point Asset In AWLRS
          • HOWTO: Add a background layer
          • HOWTO: Create directional arrow symbols for linear layers
          • AWLRS How to change date format.
          • Bulk End-date or Delete Assets in AWLRS
          • Enable Relocate and Append Options on the Location Tab (Asset Details)
          • How to change the Center Map to Coordinate Length
          • Sort columns before export of data from TIG to Shapefile
        • Resolve potential date / time issue in the Exor database
        • +Transportation Data Loader
      • +Exor Asset Manager
      • +Exor CIM / FIM
      • +Exor Document Manager
      • +Exor Enquiry Manager
      • +Exor Information Manager
      • +Exor Information Manager TMA Reporting Pack
      • +Exor Maintenance Manager
      • +Exor Maintenance Mobile
      • +Exor MapCapture
      • +Exor MapCapture (ESRI)
      • +Exor MCI MapCapture Interface
      • +Exor Network Event Manager
      • +Exor Network Manager
      • +Exor Oracle
      • Exor Problems and Solutions
      • +EXOR product placeholder
      • Exor Public Enquiry Manager API
      • +Exor Schemes Manager
      • +Exor Spatial Manager
      • +Exor Street Gazetteer Manager
      • Exor Streetworks Manager
      • Exor Streetworks Mobile
      • +Exor Structures Manager
      • Exor Structures Mobile
      • +Exor TMA Noticing Manager
      • +Exor TMA Permitting Manager
      • +Exor UKPMS
      • Remove @ from the AWLRS Local Password Policy
      • +Transportation Intelligence Gateway
      • Unable to connect to Power BI dataset
      • +Video Series for Exor
      • Working From Home with Exor
    • +AssetWise ALIM for Transportation
    • How To Import SSL Certificate 11g Weblogic

    You are currently reviewing an older revision of this page.

    • History View current version

    HOWTO: Add a background layer

      Product(s): AWLRS
      Version(s):

    01.01.0.01

      Environment: N/A
      Area: background layers
      Subarea: N/A

    Background

    AWLRS can be configured to use public Open Street Map (OSM), WMS or ArcGISRest tile services to be used as background layers.

    Steps to Accomplish


    These layers are configured through “[AWLRS Web Api]\Scripts\configs\MapBaselayers.json” file on the application server, for example

    C:\inetpub\wwwroot\AWLRSWebAPI\scripts\configs\MapBaselayers.json

    This is an excerpt from this file:

    Each entry in the file has following properties:

    • Name: The Name to be displayed in the map legend.
    • Type: Should be one of the following
      • “OSM” – OSM tile server.
      • “WMS” – OGC compliant WMS server.
      • “ArcGISRest” – ArcGIS Tile server.
    • Url: The URL of the service, this may be an array of URLs in the case of a tile server. The service will be called from within the client browser so the URL should be publicly accessible.
    • Parameters: This property only applies to WMS services and allows the following parameters to be added to the WMS request issued by the client browser:
      • “LAYERS” – A list of layers to be included in the image returned by the service.
      • “BGCOLOR” – The background color to be used by the service when rendering the requested image.
      •  “FORMAT” – The format of the image returned, generally this should be “image/png” unless the service does not support this format.
    • Options: “Attribution” Any acknowledgment or Copyright message that the service provider requires to be displayed in the map.
    • IsActive:
      • true – the layer is displayed in the map legend
      • false – the layer is not displayed in the map legend
    • IsShown:
      • true – the layer is displayed at startup
      • false – the layer is not displayed at startup
    • MinimumScale: integer value, the minimum scale at which the base layer is enabled.
    • MaximumScale: integer value, the maximum scale to which the base layer is enabled. Should be set to 0 if there is no restriction in maximum scale.
    • Projection: The projection to be requested from the Tile\WMS server. The projection should be defined in EPSG notation i.e. EPSG: {epsg_code}. For example EPSG:3857

    NB. If AWLRS is deployed to several load balanced servers the contents of this file must be consistent across ALL of them.

      Original Author: Pano Voudouris
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies