Search Vector Data Version 20

SasoSaso Global Mapper UserPosts: 11
I need help trying to figure out a search.  I have an attribute in my points that a serial number for example a common one is 15183886 or 15183886 but I have some that start with 911250830NEP I want to search for and separate the ones that end with NEP I also want to separate the ones that start with 151 I realize those are two different searches but how do I go about do it? With older versions of global mapper I had no problem doing such things but the newer Search Vector Data has made it more difficult for me. Any help is greatly appreciated. 

Answers

  • JeffH@BMGJeffH@BMG Global Mapper Developer Posts: 317Trusted User
    Hi Saso,

    I'm not sure what method you used before, but the following should work, assuming that you have an attribute SERIALNUMBER that contains  the serial number you're using:

    To find attributes that end in 'NEP', you'd use a query like: match( SERIALNUMBER, ".*NEP" )

    To find attributes that begin with "151", you'd use a query like: match( SERIALNUMBER, "151.*" )

    Hope this helps. If you need more complicated queries, just ask.

    Best regards,

    ~Jeff
Sign In or Register to comment.