Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate Database "Parameters are not valid" error and Project Map Data To Cross Section suggestions #87

Open
hmangum opened this issue Oct 23, 2023 · 10 comments

Comments

@hmangum
Copy link

hmangum commented Oct 23, 2023

Hi all,

I downloaded the 2.12.8 version of the GeMS toolbox to try validating a geodatabase, and I’m running into a “Parameters are not valid” error with the Validate Database tool. Specifically errors 000622 and 000628. I tested it out on two different project geodatabases and ran it on a different machine and I got the same errors. I’ve attached a screenshot of the error message. I’m working in ArcPro version 2.8.8. Is this possibly a versioning error?

Additionally, a few of us at the Virginia Survey have tried to run the Project Map Data To Cross Section tool, and we discovered that the tool is utilizing the 3D Analyst extension. Many of us don’t have 3D Analyst and we are working to get it now, but we are wondering if the Spatial Analyst extension could be used instead?

Also relating to cross sections, we would like to suggest that the following feature classes be included when the Create New Database tool creates a cross section feature dataset:
CSxCartographicLines
CSxAnnotations
CSxFaultDecorations
CSxBoreholeLines
Currently it builds CSxContactsAndFaults, CSxMapUnitPolys, and CSxOrientationPoints within a cross section feature dataset, but we have found the need to add these additional feature classes to store things like the bounding box, profile line, and annotations of our cross sections. Let us know if this is possible!

Thank you in advance for any guidance!

~Holly Mangum

Screenshot 2023-10-23 134438

@ethoms-usgs
Copy link
Collaborator

I can't reproduce that error. Try closing Pro completely and running the tool again. If you still get an error, can you send me the gdb?

@ethoms-usgs
Copy link
Collaborator

About cross sections. It looks like Project to Cross Section calls two 3D Analyst tools. I am not sure if the code can be rewritten to not use them, but I will take a look.

Someone else recently asked about adding the functionality of plotting boreholes, which I would like to work on, so that may be coming soon.

If there is a feature class listed in the A La Carte tool, such as CartographicLines, you could add what you need after running the Create Database tool and rename the feature class as necessary, but I think I will avoid suggesting too much to go into a cross section feature dataset since it might come off as overly-proscriptive.

@hmangum
Copy link
Author

hmangum commented Oct 23, 2023

I tried closing Pro entirely and test ran the tool again but got the same errors. I'll send you my gdb.

Thanks for looking into the 3D Analyst situation. And I'll test out using the A La Carte tool to add the features we may need. I wasn't sure what other surveys were needing in their cross sections, but it makes sense to keep it more general in the main tool.

Thanks for the quick response!

@hmangum
Copy link
Author

hmangum commented Oct 23, 2023 via email

@ethoms-usgs
Copy link
Collaborator

I still don't see that error. Try these two things one at a time:

  1. Move or copy the toolbox to a different folder than what you have previously used and try from there
  2. A full computer restart

@hmangum
Copy link
Author

hmangum commented Oct 26, 2023

I moved the toolbox to a new folder on my desktop and also restarted by computer and still got the same error. The tool gave me a text file listing all of the primary key errors as well this time.
R_Retreat_GeMS.gdb.txt

@ethoms-usgs
Copy link
Collaborator

Ok, I apologize. I first thought the error was just a weird memory glitch I have been seeing, but it's something else. Where the tool is failing is in trying to create a feature dataset in a scratch gdb used for validating topology. Please try this manually:

  1. Open the Create Feature Dataset tool.
  2. Browse to the Topology.gdb the tool is making (the location is shown on the line in the messages starting with 'Creating geodatabase for topology)
  3. Name the new feature dataset whatever you like
  4. Import the Coordinate System from the GeologicMap feature dataset in the original gdb

image

The tool is doing these steps programmatically but throwing an error about not being able to create a spatial reference for the new feature dataset. Except it only happens for you, not me.

@hmangum
Copy link
Author

hmangum commented Oct 30, 2023

It appears to be dependent on the version of ArcPro that's used. Our GIS administrator was able to run validation without error in 3.1.3, and when I got updated to 2.9.5 it works as well. So it seems that there's something with version 2.8.8 and possibly older versions that are not compatible with the tool, although I'm still not entirely sure what it is. What version of Pro are you using?

@ethoms-usgs
Copy link
Collaborator

Sorry I missed your comment. I am using 3.1.3

@hmangum
Copy link
Author

hmangum commented Dec 5, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants