# MGLDEMEncoding

    enum MGLDEMEncoding {}

The encoding formula used to generate the raster-dem tileset

- `MGLDEMEncodingMapbox`

  Raster tiles generated with the Mapbox encoding formula.

  #### Declaration

  Objective-C

      MGLDEMEncodingMapbox = 0

  Swift

      case mapbox = 0

  View Source on GitHub
- `MGLDEMEncodingTerrarium`

  Raster tiles generated with the Mapzen Terrarium encoding formula.

  #### Declaration

  Objective-C

      MGLDEMEncodingTerrarium

  Swift

      case terrarium = 1

  View Source on GitHub