Select to view content in your preferred language

Get all features at given point

248
2
03-11-2025 02:34 AM
sonj
by
Occasional Contributor

At the given point it should return 3 red lines and 1 blue line. But it is returning the green line too. Why does this green line return without intersecting? (Pro SDK 3.4)

 

 

 

SelectionSet selectionSet = MapView.Active.GetFeaturesEx(mapPoint.Extent,true,true);

 

 

 

intersection.png 

Tags (1)
0 Kudos
2 Replies
neil_perol
Occasional Contributor

Hi @sonj,

Is there a reason for using mapPoint.Extent instead of just mapPoint? Also it seems you've got the whollyWithin parameter set to 'true'. I'd try using just mapPoint and setting whollyWithin to the default 'false'.

0 Kudos
sonj
by
Occasional Contributor

Hi Neil,

Nothing specific, I have not used mapPoint.Extent it returns all three green lines. If I change to default 'false' the result remains the same.

0 Kudos