Select to view content in your preferred language

Possible bug in the Zone Lookup instant app?

91
3
Thursday
Labels (1)
MichaelDuBois
Emerging Contributor

Hi,

For upcoming municipal elections, I've created a simple app to let voters see whether they are inside municipal limits. It accepts an address and returns a popup with a bit of Arcade script ('you are inside {town} municipal limits', else 'you are inside unincorporated county'. It uses our jurisdiction boundary as the zone layer.

This logic returns correct results (as a single statement) as long as the map is shown in the app ('hide map' is toggled OFF). If I toggle 'hide map' ON, thus turning the map off, towns which are completely encircled by the county return both 'you are inside town X (good!), but also a second line with 'you are inside unincorporated county' (bad!).

The bad results don't occur with the 3 towns in our county which touch the county's outer borders, i.e., they are not completely surrounded by the county polygon. This seems to me to hint that however Zone Lookup is working when the map is turned OFF and looking up the zone of the address, it's treating the county as one uninterrupted polygon, ignoring the 'hole' created by the town boundaries.

Is this a bug?

I've attached screencaptures of the map, good & faulty search results for the same address (map 'on', and map 'off'), and the Arcade expression for the popup.

Thanks,

Mike

0 Kudos
3 Replies
KellyHutchins
Esri Notable Contributor

Is your app publicly available? If so I'd be happy to take a look. 

0 Kudos
MichaelDuBois
Emerging Contributor
Hi,

No, it's still only shared at our organizational level. Should I let you know when it goes public? Our workaround right now is to just leave the map turned on - that version of the address lookup app returns valid results. Those who asked for this (elections department) also prefer the map visible - but I'd still like to know why the no-map version returns invalid results.

Thanks,
Mike
0 Kudos
KellyHutchins
Esri Notable Contributor

@MichaelDuBois yes that would be helpful. In the meantime we can try to reproduce it with test data. 

0 Kudos