Skip to main content

Main navigation

  • Manual
  • Tutorials
  • Trainings
  • Conference
  • EN
    • DE
Table of contents

Programm

  • Handbook
    • Basics
      • Introduction
      • Basic workflow
    • Data model
      • Introduction
      • Data types
      • Depots
      • Layer
      • Views
    • Magazine
      • Introduction
      • Import data
      • Export data
      • Delete data
      • Edit data in the magazine
      • Supported file formats
    • Switchboard
      • Introduction
      • Principels
      • Disclaimer
      • Functions
      • Create new Switchboard
      • Shortcuts
      • Call Switchboard via API
    • Layer
      • Introduction
      • Create Layer
      • Update Layer automatically
      • Display options in the layer tree
      • Style Selection Window
      • Create contours for 3D city models
      • Layertypes
        • 2D Features
        • 3D Tiles
        • Address Search
        • Area search
        • Billboard (Cesium)
        • Billboard Tiles (Cesium)
        • External 3D Tiles
        • External Terrain
        • Files for Download
        • Map Service Relay
        • MapProxy (Raster data)
        • Oblique aerial images
        • PMTiles
        • Spherical panoramas
        • Terrain Proxy
        • Terrain
        • Tour
        • Universal JSON
        • WFS
    • Views
      • Introduction
      • View setup
      • Call a view
      • Publish a view
      • Freeze View
    • Workflow
      • What are Workflows?
      • Create a Workflow
      • Define input and output
      • Publishing Workflows
    • Viewer
      • PlexMap Viewer
      • Toolbox
      • PlexMap Planer
      • Shortcuts
    • User management
      • Create users and user groups
      • Rights management
      • Access for external users
      • Single Sign-on
    • FAQ
      • PlexMap 3D FAQ
      • Solar Energy Register FAQ
      • Green Roof cadastre FAQ

Funktionen

  • Functions
    • 2D
      • address
      • bbox
      • feature
      • grid
    • 3D
      • bbox3d
      • billboard
      • cityobject
      • ifcobject
      • oriented-image
      • mesh
      • oblique
      • pointcloud
      • spheres
    • Attributes
      • properties
      • row
    • Other
      • heatcalc
      • profile
      • solar
      • tour
    • Services
      • livedataset
      • ogcapicollection
      • osm
      • tileset
      • wfs
      • wms
      • wmts
    • Simple data types
      • color
      • datetime
      • math
      • string
      • style
    • System
      • depot
      • layer
      • switchboard
      • user
      • view
    • Tools
      • smapshot
      • assert
      • file
      • gen
      • mail
      • mapproxy
      • report
      • spatialfunctionobject
      • terrainproxy
    • glstyleservice
      • Import GL Style

Datentypen

  • Data types
    • Anything
      • Base-Model
        • Layer-Store-Config
        • Glstyleservice
    • Bbox
    • Bbox3d
    • Billboard
    • Bool
    • Color
    • Datetime
    • File
    • Grid
    • Label
    • Spatial-Function-Object
    • Number
    • Float
    • Int
    • Pointcloud
    • Feature
    • Schema-Feature
      • Address
      • Infiltration-Feature
      • Oriented-Image
      • Oblique-Trapeze
      • Panorama-Sphere
      • Region
      • Solar-Border
      • Solar-Building
      • Solar-Roof
    • CityObject
    • IfcObject
    • Mesh
      • Schema-Mesh
        • Heatcalc-Building
    • Row
    • Depot
    • Layer
    • Switchboard
    • View
    • String
      • Portal
      • Type
    • Style
Table of contents

Funktionen (LVL2)

  • Add Alpha Channel
    grid.add_alpha
  • Local Maxima
    grid.local_maxima
  • Crop
    grid.crop
  • Calculate NDVI
    grid.ndvi
  • Bounding Box
    grid.bounds
  • Bounding Box
    grid.individual_bounds
  • File Format Conversion
    grid.convert
  • Set Data Type
    grid.setdatatype
  • Colorize
    grid.colorize
  • Contains
    grid.filter.contains
  • Float to Byte Conversion
    grid.convert_to_byte
  • Has Transparency
    grid.has_transparency
  • Contour Lines
    grid.contour_lines
  • Convert to Mesh
    grid.as_mesh
  • Convert to Polygons
    grid.to_polygons
  • Convert to pointcloud
    grid.as_pointcloud
  • Within
    grid.filter.within
  • Tile
    grid.tile
  • Select Bands
    grid.band_select
  • Unset Nodata
    grid.unsetnodata
  • Klassifizierung
    grid.classify
  • Coordinate Transformation
    grid.transform
  • Mask
    grid.mask
  • Nicht innerhalb
    grid.filter.not_within
  • Set Nodata
    grid.setnodata
  • Fill Nodata
    grid.fillnodata
  • Resample
    grid.resample
  • Cross Section
    grid.cross_profile
  • Sample Grid
    grid.sample
  • Export Grid
    grid.save
  • Import Grid
    grid.import
  • Load Grid
    grid.load
  • Sample Grid Bands
    grid.sample_bands
  • Grid Calculator
    grid.calc
  • Reclassify
    grid.reclassify
  • Repair NaN Values
    grid.fixnan
  • Statistics
    grid.stats
  • Merge
    grid.merge
  • grid.export
    grid.export
  • Intersects
    grid.filter.intersects
  • Disjoint
    grid.filter.disjoint
  • Add Overviews
    grid.add_overviews

Breadcrumb

  1. Manual
  2. Functions
  3. Namespaces
  4. grid
  5. Colorize
Table of contents

Colorize

  • grid.colorize
Input:
  • grids – Grid
  • colormap – File
  • minval – Float
  • maxval – Float
Output:
  • output – Grid

Colors the given raster data with the color ramp.

The color ramp is applied horizontically between minval and maxval, i.e. a value of minval in the raster is mapped to color of the upper left pixel while the value of maxval is mapped to the color of pixel on the top right.

If the input raster data is of the data type byte, the color ray is deposited as a palette. Otherwise a colored output file with RGB or RGBA channels is generated.

© GEOPLEX

Footer navigation

  • Imprint
  • Privacy Policy
  • Geoplex
Typ
Wählen Sie einen beliebigen Filter und klicken Sie auf Anwenden, um Ergebnisse zu sehen