Select to view content in your preferred language

Override default checks in Geoprocessing?

4064
2
Jump to solution
02-19-2015 11:24 AM
SteveSalas
Occasional Contributor

We are running Data Reviewer batch files within an ArcMap .NET program by calling geoprocessing.  It appears that the presence of certain checks (see "Note" at top of ArcGIS Help (10.2, 10.2.1, and 10.2.2) ) causes the default checks to run.  We have also written the Invalid Geometry Check into our RBJs (as well as multi-part checks) as SEVERITY = 1 because we use these severity values to classify the results later.  Our problem is that Data Reviewer seems to be ignoring our RBJ's Invalid Geometry Check (SEVERITY = 1) and just running the same check as default with a SEVERITY = 5... which is a value our application does not classify.

Is there a way our programmer can either get the default check to return a severity of 1, or get our RBJs Invalid Geometry Check to run instead of being bypassed?  Otherwise I think we're going to need to read the REVTABLEMAIN for the default check title of "Invalid Geometry Check (FC Name) and SEVERITY = 5 separately and reformat it to match the results & classification of the other checks we wrote.

0 Kudos
1 Solution

Accepted Solutions
JayCary
Esri Contributor

Hi Steve,

You may want to consider disabling default checks in the Reviewer Session to prevent the automatic inclusion of these checks during batch validation. Here is a link to documentation‌‌ that addresses the use of default checks.

These settings can be updated once if the application is working with an existing session. If the application is creating sessions programmatically, then create a session "template" with the default checks disabled and reference that session as a template (session_template parameter) when using the Create Reviewer Session GP tool.

Thanks,

Jay

View solution in original post

0 Kudos
2 Replies
JayCary
Esri Contributor

Hi Steve,

You may want to consider disabling default checks in the Reviewer Session to prevent the automatic inclusion of these checks during batch validation. Here is a link to documentation‌‌ that addresses the use of default checks.

These settings can be updated once if the application is working with an existing session. If the application is creating sessions programmatically, then create a session "template" with the default checks disabled and reference that session as a template (session_template parameter) when using the Create Reviewer Session GP tool.

Thanks,

Jay

0 Kudos
SteveSalas
Occasional Contributor

Thanks Jay -

we ended up using ArcMap to make a saved "Session 1" within a master file geodatabase with the default checks disabled (remember to hit Apply!)...  When our routine runs, it copies that file geodatabase to the user's workspace on disk, and then runs CreateReviewerSession_Reviewer into that copied GDB with "session_template" value set to "Session 1".  The newly created session is the input to ExecuteReviewerBatchJob_Reviewer and runs without the default check, instead using our Invalid Geometry check with our defined Severity setting output Check Title which are keys to our application.

-S.

0 Kudos