Skip to content

Color map schema is difficult to retrieve #34

Open

Description

@m-mohr

The color map definition relies on titiler (link was broken, but now fixed), which itself links to rio-tiler (link also broken, PR opened with a fix).

This shows that leaving it up to external references is not a good idea, as it breaks. It should be easy to retrieve the schema the color map has to follow.

In addition, even with all links intact, you end up in a documenation that has Python code only, no JSON or JSON Schema. Which means you also need to know Python to understand how to provide a color map.

To make it worse, this extension only lists type object as definition for a color map, no specific schema. Thus no validation happens apart from checking the that it's an object of some kind.

This is all too complex. The actual definition should live here and be understandable by users in an easy way, and it should also be possible to validate.

Activity

  1. emmanuelmathot commented on Sep 23, 2026

    @emmanuelmathot
    Member

    Isn't this already addressed in #25?

  2. m-mohr commented on Sep 23, 2026

    @m-mohr
    ContributorAuthor

    @emmanuelmathot No, colormap_name is a different property than colormap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions