Receive email notifications by changing your settings.
Click on your picture in the top right corner, go to Preferences and select your notification preferences.
Thank you for contributing to our forum!
Please keep in mind:
1. To only comment on the topic where the discussion is about. Do you have a new question or topic? Please start a new discussion.
2. Be kind to other users!

How to get the 'Rainfall' for a certain point via de TQL via de API

In the Tygron viewer you can select a point an the details including the 'Rainfall' is shown.


How to get the same value via the TQL (API)


This is the TQL statement, as far I found out my self. (GRID 4 - Rainfall)

SELECT_GRIDAVG_WHERE_GRID_IS_4_AND_TIMEFRAME_IS_9_AND_...............


The question is, how to add the where for a certain point on the map?

Comments

  • Hi Tauw 15,


    It is not possible to get the data via TQL from one particular grid cell.

    You can use the GRIDAVG or GRIDVOLUME in combination with a neighborhood or area clause to get the average or volume of water stress in a neighborhood or area.

    Or combine the LOTSIZE with a MINGRIDVALUE and MAXGRIDVALUE to know how much surface area is covered with a certain amount of water stress.

    See for example the https://store.tygron.com/product/water-stress-indicator/ from our Indicator library.

    Alternatively, you could consider to export the GeoTIFF data or use the WMS GetFeatureInfo to get the water stress per grid cell.

    Tygron support team

Sign In or Register to comment.