| Just want to say thank you!!! | Your method worked perfectly. | Mike Rizzo
Glad it worked. I think the following would allow you to map all states at once (you might have already realized this): Assign the values 1 through 50 to each state's "face" in your US-Map. Use Map() just as before. Now, to get your data values for a given state, just use Include(), setting data = given_state's_data_value. Mike | Mike Zeleznik <[EMAIL PROTECTED]>@opendx.watson.ibm.com on 04/23/2001 | 02:28:51 PM | | Please respond to [email protected] | | Sent by: [EMAIL PROTECTED] | | To: [email protected] | cc: | bcc: | | | Subject: Re: [opendx-users] question about using map module | | | > I'm trying to overlay a map of the United States onto a gridded contoured | | > two dimensional representation of my data concentrations and I only want to | | > keep those gridded data which are within the state boundaries. I've tried | | > using the mapping module, and it doesn't work. Any help would be | | > appreciated. | | If each state is represented as a closed polyline, then I think the | following would do what you want: | | Turn closed polyline for state into FLE data (see documentation). | | Take your_data_grid, and rename "data" to "data_real". | | Then Map(input = your_data_grid, map = state_fle_data). | | The resulting your_data_grid will have valid positions only inside the | state FLE boundary. This gives you the data points that were inside the | state boundary. | | Mike
