-
Notifications
You must be signed in to change notification settings - Fork 24
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
Harvest .gdb, .shp or .mdb as a GIS mapping file #232
Comments
hi, that is expected behavior. In order to harvest metadata from file geodatabase or personal geodatabases, you will need to write an ArcPy script that crawls folders. Something like this: build list of folders (do not include file geodatabase folders to avoid what you experience above):
parse_workspace would be a function that does what you want with the datasets in the workspace. for example, loop over all datasets in the workspace, resulting in a metadata XML for the dataset:
then you can publish to Geoportal Server through its REST API:
Here, 'the_url' is the URL to your geoportal's REST endpoint
|
Hi Marten, I tried to crawl / harvest the .gdb or .shp file using the python script, but getting the below error "Workspaces to process: ['D:\shapefile'] I have attached the python script (geoportalserver.py) here for your reference. Could you please check and help me out to harvest the .gdb, .shp files. Thanks & Regards, |
Hi Team,
Geoportal Server has the capability to harvest data using a UNC path. However, we encountered an issue we harvest the .gdb, .mdb, and .shp files, Geoportal Server only harvests the file system only, But we wanted to harvest these datasets as GIS layers rather than just files. I’ve attached a snapshot below for your reference.
Thanks & Regards,
Tejpal
The text was updated successfully, but these errors were encountered: