Global Mapper Pro

Search Vector Data - Multiple Values

mtm815
mtm815 Global Mapper UserTrusted User
edited January 2015 in Technical Support
Hi,

I'm trying to use the search vector data tool to find multiple values for the same attribute.

For example, let's say I want to search for vector data that has the attribute "attr_1 with values that range from 1-10.

I try the following search...

ATTR_1 = 1,2,3,4,5,6,7,8,9,10

I'm wanting the search results to return 10 features (attr_1, value 1; attr_1, value 2; attr_1, value 3; etc...), but it doesn't return any results.

I think the problem is that it's not searching for ten different values, it's searching for one feature that has the value "1,2,3,4,5,6,7,8,9,10"

Is there a way to search for multiple values within the same attribute field at the same time?

Thanks,
Michael

Comments

  • kbellis
    kbellis Global Mapper User Trusted User
     %attr_1%  >= 1  and  %attr_1%  < 11

  • JeffH@BMG
    JeffH@BMG Global Mapper Developer Trusted User
    Hi Michael,

    kbellis is spot on, but just to close the circle, in the dialog, you should have gotten a popup error dialog that says "Query is not valid: Unexpected input at end of formula". Did you see that?

    Cheers,

    ~Jeff
Sign In or Register to comment.