Skip to main content
Question

Using wildcards in Attribute Filter?:


jhawks
Contributor
Forum|alt.badge.img+7

Workbench is S-57 .000 files to File GDB. I only want to write Soundings that meet that meet the criteria SORIND where it's equal to US,US,graph,Chart * (for any chart number). Is this the correct transformer, syntax etc:

 

image

6 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • April 17, 2023

Hi @jhawks​,

I think you may have more success with Tester transformer, which lets you use the Contains Regex test. You can then create a Regular Expression that catches all the possibilities you want. The transformer includes a simple Regex sandbox, but you can also find a more comprehensive one at https://regexr.com/.


jhawks
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • April 18, 2023

So this?image


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • April 18, 2023
jhawks wrote:

So this?image

I would recommend this (a bit simpler than RegEx):

Screen Shot 2023-04-18 at 9.29.57 AM


jhawks
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • April 18, 2023

Everything is failing. Here is a sample string from the attribute table of the GDB. US,US,graph,Chart 16646

 

And here are my Tester Parameters:

 

image 

 

 


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • April 18, 2023
jhawks wrote:

Everything is failing. Here is a sample string from the attribute table of the GDB. US,US,graph,Chart 16646

 

And here are my Tester Parameters:

 

image 

 

 

My apologies, I thought that the commas separated different options instead of being part of the string. Please try the following:

Screen Shot 2023-04-18 at 11.27.36 AM


jhawks
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • April 18, 2023

That's it! Thank you very much!!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings