Oswaldo Castillo Posted May 9, 2019 Share Posted May 9, 2019 Is it possible to change coordinate reference system or use some other method to point to map shapefile information enabling map search to work In our case we grouped US entities closer together and when we search on Anchorage Alaska for example it takes us to the now blank location of where default map has it located. Link to comment Share on other sites More sharing options...
Kirsten Smith (she/her) Posted May 9, 2019 Share Posted May 9, 2019 Attached is a sample of how this might be done in the base Spotfire program, without custom scripting. Enter a state 2-letter abbreviation in the Text Area, then highlight it in the States table. Spotfire will zoom into that state in the map chart. The Search functionality is always going to show the actual location of what you searched for, so when you have the modified USA shapefile it's going to be a problem. You may need to re-work this to handle your actual shapefile data and search criteria, but it's a place to start. The Input Field Property Control creates a value in the 'Show' column in the States table ("No" values are filtered out), then highlighting that row zooms in on the map chart. The map chart must be a Details Visualization from the States table, and "Auto Zoom" must be checked under Properties/Appearance. Link to comment Share on other sites More sharing options...
Oswaldo Castillo Posted May 9, 2019 Author Share Posted May 9, 2019 The file wasn't embedded so it I am unable to see solution in action. Thanks for response. Link to comment Share on other sites More sharing options...
Kirsten Smith (she/her) Posted May 9, 2019 Share Posted May 9, 2019 My apologies, here is an embedded version Link to comment Share on other sites More sharing options...
Oswaldo Castillo Posted May 9, 2019 Author Share Posted May 9, 2019 Appreciate it very much. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now