Skip to main content

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

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/.


So this?image


So this?image

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

Screen Shot 2023-04-18 at 9.29.57 AM


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 

 

 


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


That's it! Thank you very much!!


Reply