Can any one suggest how to achive following?
Hi
How do I search column (attribute) value into shape file?
I am using 10 different shape file of line and point type feature.
User can select any one layer out these 10 shape layer file, which will show them all column name to select for. They can select one or multiple column with their values. When they submit search button, I want to open that shape layer and search with search parameters (column with values ex: FName = ‘Test’ and SName = ‘Test2’;). If results found then display those to user in asp.net list box. At this point user can select any of this result, which should zoom into that feature on the map
I don’t know if I did right job to explain what I need. But below is in detail step by step process that I’m looking for
Ex:
Layer: FS_GNS.shp
That has Columns: FIBER_CODE, ROUTE, CITYPAIR, CONSTTYPE
When user selects above layer and provided following search parameter.
FIBER_CODE = ‘820 ‘ && CONSTTYPE = ‘BURIED’ ;
It should search into FS_GNS.shp file and returns result into ASP.NET list box.
Like,
- Code – 820, ConsType-BURIED with their Longitude, Latitude as hidden value.
- Code – 824, ConsType-AERIAL with their Longitude, Latitude as hidden value.
- Code – 823, ConsType-AERIAL with their Longitude, Latitude as hidden value.
So when user clicks on any of search result in list box, it should zoom to that feature on map
Please note: I am using virtual earth as background.
Any expert advice how to achieve this?
Thanks
Hiren