Qlik Community

GeoAnalytics

Discussion Board for collaboration regarding Qlik GeoAnalytics.

Announcements
Now Live: Qlik Sense SaaS Simplified Authoring – Analytics Creation for Everyone: READ DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Riccardo
Partner - Creator III
Partner - Creator III

is a point inside the geometry?

Hello,

I have to determinate if a point (x,y) is inside a geometry (polygon, multi-polygon).

Is there a script and/or char function?

 

Thank you

Riccardo

Riccardo Schillaci
BI Technical Analyst
Datawarehouse & Business Intelligence
Labels (1)
1 Solution

Accepted Solutions
Patric_Nordstrom
Employee
Employee

Yes, that is the QGA connector operation "Within". Ref manual here:

https://help.qlik.com/en-US/geoanalytics/Subsystems/GeoConnector/Content/connector/connector-geoanal...

Within

There is a relation between enclosed and enclosing if enclosed is completely inside the enclosing area. Returns a table which maps between the key in enclosed and the key in enclosing for all found relations. The field names in the returned table will be the same as for the key field in enclosed and enclosing datasets respectively.

Use within typically for finding which areas the data is in. For example to test GPS-position for which administrative area they are in. This is a kind of reverse geocoding.

Parameter Type Use Description
Dataset to test withing on Dataset   A dataset with geometries to test for which areas they are enclosed by.
Area dataset Dataset   A dataset with area geometries to test for which geometries they enclose.

 

Example here:

https://community.qlik.com/t5/Qlik-GeoAnalytics-Documents/Connector-Examples-Qlik-GeoAnalytics/ta-p/...

 

View solution in original post

1 Reply
Patric_Nordstrom
Employee
Employee

Yes, that is the QGA connector operation "Within". Ref manual here:

https://help.qlik.com/en-US/geoanalytics/Subsystems/GeoConnector/Content/connector/connector-geoanal...

Within

There is a relation between enclosed and enclosing if enclosed is completely inside the enclosing area. Returns a table which maps between the key in enclosed and the key in enclosing for all found relations. The field names in the returned table will be the same as for the key field in enclosed and enclosing datasets respectively.

Use within typically for finding which areas the data is in. For example to test GPS-position for which administrative area they are in. This is a kind of reverse geocoding.

Parameter Type Use Description
Dataset to test withing on Dataset   A dataset with geometries to test for which areas they are enclosed by.
Area dataset Dataset   A dataset with area geometries to test for which geometries they enclose.

 

Example here:

https://community.qlik.com/t5/Qlik-GeoAnalytics-Documents/Connector-Examples-Qlik-GeoAnalytics/ta-p/...