Skip to content
Discussion options

You must be logged in to vote

Processing - SQL Workspace - Select Engine: DuckDB - Past the following script - Run - Add as query layer. Then set up auto refresh for both the KML and SQL query layers.

SELECT fire.*
FROM "t_1km_fire_detection_centroids_last_12_to_24hrs" AS fire
WHERE EXISTS (
SELECT 1
FROM "mongolia" AS boundary
WHERE ST_Intersects(
    ST_Transform(
    fire.geom,
    'EPSG:4979',
    'EPSG:4326',
    always_xy := true
    ),
    boundary.geom
)
);

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@foosint
Comment options

@giswqs
Comment options

Answer selected by giswqs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants