Select to view content in your preferred language

Drill-down Geocoder

4332
22
08-15-2011 06:57 AM
Labels (1)
MichaelErlich
Emerging Contributor
We are trying to create a drill-drown geo-coder similar to what see in tom-tom/garmin systems in your vehicle where you select state, then select city, then select street name.  Using the 'Find Local Layer' with a little re-tooling, we have been able to search for attributes in the map meta-data.  However, we have not been able to add a filter with the search text.  In other words, we can search for a street by the first few letters entered by the user, but have not found a way to also add in the city/state criteria to the search.  Are there other ways to the use the FindTask to provide multiple search criteria rather than just setting the 'SearchText' field in the FindParameters, is there an extended version of the FindParameters that we are missing, or are we way off base and possibly you have some other suggestions on how we can achieve the same searching capability?

Thanks,
Mike
0 Kudos
22 Replies
MichaelErlich
Emerging Contributor
Following the above, I get similar results; the longer the query search text, the longer the time to search.  However, the above is also not indicative of a real search since it only includes the street.  When I add the target cityinto the search, I get timeout errors.  An example search would like like:
query.Where = "(L_ORDER08 = 'CO123' or R_ORDER08 = 'CO123') and UFULLNAME LIKE '%ERIE P%'";
0 Kudos
KerrieScholefield
Deactivated User
Following the above, I get similar results; the longer the query search text, the longer the time to search.  However, the above is also not indicative of a real search since it only includes the street.  When I add the target cityinto the search, I get timeout errors.  An example search would like like:
query.Where = "(L_ORDER08 = 'CO123' or R_ORDER08 = 'CO123') and UFULLNAME LIKE '%ERIE P%'";



Hi,

My understanding is the following, please could you clarify:



  • The query is being carried out on a background worker thread, which shows a degradation of performance.


  • An event such as the TextChanged event is used on a textBox to pick up new user input and each time there is new user input this event is fired and the queryTask is performed.


  • Longer query operations are giving time-out errors.



We will investigate the queryTask performance on a background thread and try to reproduce this issue.

Cheers,

Kerrie
0 Kudos
MichaelErlich
Emerging Contributor
Yes, exactly as you described.

Thanks
0 Kudos