Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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 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

2 Replies
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/...

 

lissicanton
Contributor II
Contributor II

I don't understand geometry at all.I have used multiple online services for geometry homework help, but none have been as impressive as https://myhomeworkdone.com/geometry-homework-help.html. The tutors are experts in geometry and have a deep understanding of the subject matter. They were able to explain the concepts to me in a way that made it easy to comprehend. The site is user-friendly and intuitive, making it simple to upload assignments and communicate with the tutors. The customer support team is also fantastic, always prompt in their responses and eager to assist.