Skip to content

CDN

  • A dedicated storage and CDN are created for each customer.
  • Each client has a dedicated storage container named using their clientIdentifier. Within each container, the following folders are used to organize the content:.

Folder Name Description
published-content Stores published content JSON files.
mbtiler-zips Upload type-code categorized ZIP files for the MBTiler service.
mapscale-cads Upload original CAD files of uploaded maps.
feature-images Stores feature images.
files Stores files.
mbtiler Stores generated MBTile files.
mapscale-results MCS will upload generated MapScale GeoJSON files here.
style-with-map-metadata Style files with content are uploaded here.
styles Client-specific styles should be stored here if custom.
imdf Stores IMDF files.
cad-to-geojson Stores cad and gojson files for cad-to-geojson process.
geojson-to-png Stores geojson and png files for geojson-to-png process.

The container structure should follow this pattern:
{CDN_URL}/{clientIdentifier}/{container_name}/v9/versions/{version}/sites/{siteIdentifier}/...


Published Content storage structure should be as follows.

- πŸ“ {{clientIdentifier}} (Container)
    - πŸ“ published-content
        - πŸ“ v9
          - πŸ“„ latest.json
          - πŸ“ tiles
              - πŸ“„ latest.json
          - πŸ“ versions
              - πŸ“„ latest.json  
          - πŸ“ buildings
              - πŸ“„ latest.json
          - πŸ“ sdk-configurations
              - πŸ“„ latest.json
              - πŸ“ uuids
              - πŸ“„ latest.json
          - πŸ“ sites
              - πŸ“ {{siteIdentifier}}
              - πŸ“„ latest.json
              - πŸ“ beacon-geofences
                  - πŸ“„ latest.json
              - πŸ“ beacons
                  - πŸ“„ latest.json
              - πŸ“ obstacles
                  - πŸ“„ latest.json
              - πŸ“ pois
                  - πŸ“„ latest.json
              - πŸ“ map-objects
                  - πŸ“„ latest.json
              - πŸ“ paths
                  - πŸ“„ latest.json
              - πŸ“ versions
                  - πŸ“„ latest.json  
              - πŸ“„ latest.json
          - πŸ“ taxonomies
              - πŸ“„ latest.json

MbTiler Zips storage structure should be as follows.

- πŸ“ {{clientIdentifier}} (Container)
    - πŸ“ mbtiler-zips
        - πŸ“ v9
            - πŸ“ versions
                - πŸ“ {{version}}
                - πŸ“ sites
                    - πŸ“ {{siteIdentifier}}
                      - πŸ“„ atm.zip
                      - πŸ“„ rack.zip
                      - πŸ“„ wall.zip
                      - etc.

MbTiler storage structure should be as follows.

- πŸ“ {{clientIdentifier}}
    - πŸ“ mbtiler
        - πŸ“ v9
            - πŸ“ versions
                - πŸ“ {{version}}
                  - πŸ“ sites
                      - πŸ“ {{siteIdentifier}}
                        - πŸ“ tiles
                            - πŸ“„ metadata.json
                            - πŸ“ TileFiles
                              - πŸ“ 10 (mbtiler folder)
                              - πŸ“ 9 (mbtiler folder)
                              - πŸ“ 8 (mbtiler folder)
                              - etc.

Mapscale Cads storage structure should be as follows.

- πŸ“ {{clientIdentifier}} (Container)
  - πŸ“ mapscale-cads
    - πŸ“ v9
      - πŸ“„ Original-aba6245e-8d0e-4517-b2c3-96a9dfb931b3.dxf
      - πŸ“„ Original-aba6245e-8d0e-4517-b2c3-96a9dfb931b4.dxf
      - πŸ“„ Original-aba6245e-8d0e-4517-b2c3-96a9dfb931b5.dxf

Mapscale Results storage structure should be as follows.

- πŸ“ {{clientIdentifier}} (Container)
  - πŸ“ mapscale-results
    - πŸ“ v9
      - πŸ“ Original-aba6245e-8d0e-4517-b2c3-96a9dfb931b3
        - πŸ“ GeoJson folders
        - πŸ“ Other mcs result folders
        - πŸ“„ Other mcs result files

Styles storage structure should be as follows.

- πŸ“ {{clientIdentifier}} (Container)
  - πŸ“ styles
    - πŸ“ v9
      - πŸ“ {{styleVersion}} (9.0.0)
        - πŸ“„ light.json

Style With Map Metadata storage structure should be as follows.

- πŸ“ {{clientIdentifier}} (Container)
  - πŸ“ style-with-map-metadata
    - πŸ“ v9
      - πŸ“ versions
        - πŸ“ {{version}}
          - πŸ“ sites
            - πŸ“ {{siteIdentifier}}
              - πŸ“ tiles
                - πŸ“„ style.json

Feature Image storage structure should be as follows

- πŸ“ {{clientIdentifier}} (Container)
  - πŸ“ feature-images
    - πŸ“ v9
      - πŸ“„ 8ad348da-e721-4e9a-9ec6-55c3f91cfc0b.jpeg

Files storage structure should be as follows.

- πŸ“ {{clientIdentifier}} (Container)
  - πŸ“ files
    - πŸ“ v9
      - πŸ“„ 8ad348da-e721-4e9a-9ec6-55c3f91cfc0b.jpeg
      - πŸ“„ 8ad348da-e721-4e9a-9ec6-55c3f91cfc01.dwg
      - πŸ“„ 8ad348da-e721-4e9a-9ec6-55c3f91cfc02.dxf

IMDF storage structure should be as follows.

- πŸ“ {{clientIdentifier}} (Container)
  - πŸ“ imdf
    - πŸ“ v9
      - πŸ“ 8ad348da-e721-4e9a-9ec6-55c3f91cfc0b(GUID)
        - πŸ“„ imdfresult.zip

Cad to Geojson storage structure should be as follows.

- πŸ“ {{clientIdentifier}} (Container)
  - πŸ“ cad-to-geojson
    - πŸ“ v9
      - πŸ“ 8ad348da-e721-4e9a-9ec6-55c3f91cfc0b(GUID)
        - πŸ“„ resultfile.geojson
        - etc

Geojson to PNG storage structure should be as follows.

- πŸ“ {{clientIdentifier}} (Container)
  - πŸ“ geojson-to-png
    - πŸ“ v9
      - πŸ“ 8ad348da-e721-4e9a-9ec6-55c3f91cfc0b(GUID)
        - πŸ“„ resultfile.png
        - etc
  • To be able to use Published Content via CDN, you need to set the β€œParameters__PublishedContentServer” parameter as β€œStorage” from appsettings.