Giter Site home page Giter Site logo

Filter Function Vector layer about hajk HOT 1 OPEN

MartinThorn avatar MartinThorn commented on June 3, 2024
Filter Function Vector layer

from hajk.

Comments (1)

jacobwod avatar jacobwod commented on June 3, 2024

Hi @MartinThorn and welcome to the community!

The CQL function is one of those functions that were implemented for a very specific reason. In this case, if I recall correctly, we needed to find a way to only show a certain library building in a layer with all libraries and get it working in an embedded map. Hence, the functionality you find is very basic:

  • no complex queries were needed so they were never implemented
  • the filtering UI in LayerSwitcher was only meant to be an internal tool, used by admins when preparing the embed URLs.

Both points are valid and improvements are welcome.


As I've mentioned, the CQL filters get encoded into the f parameter (check out the Anchor plugin). Even though the UI can't produce complex queries, it is possible that the internal model is capable of parsing them. Give it a go if possible.

from hajk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.