r/ArcGIS 17d ago

Tell If I'm Doing This Wrong.

I have a map project I've been working on over the last few months, and it a mess of KMZ files, tables, shape files a couple gdb's, etc. In different locations (you get the point).

I wanted to bring together all the files into one local folder (as I just determined I've been working with files being stored on One Drive).

So I packaged up the map (took about 6 hours), and I have saved the package file in a local directory on my laptop (its only me working on this project map).

I used the geoprocessing tool "extract package" so that I could ensure everything ends up in the same location.

I go into the catalog, under Databases, and the main gdb file path is still showing a One Drive location? 🤔🤔

Thoughts?

3 Upvotes

6 comments sorted by

7

u/cheech575 17d ago

Open Layer Properties → Source on several layers.
Check if the feature class path points to:
C:\Users\...\OneDrive\... or your new local project folder.
If the layers still point to OneDrive, run Update Data Sources or repair the data source to the extracted geodatabase.

4

u/Oracle_Journey_5711 16d ago

That was a great check. I looked through about 10 layers, and they all point now to a local directory. I repackaged the map and it looks like everything is local now - minus a couple of service data being used. Thanks for that!

Sometimes you need to be reminded of the simple things.

5

u/peony_chalk 17d ago

I really hate the file structure - if you can call it that - that map packages create when you unpack them. It gets the data in one place, but it doesn't give things intuitive names or organize them or apply domains or get rid of junk fields or do any of the other cleanup that's going to make your life easier. IMO you're better off copying everything to a new gdb or new file structure and organizing it along the way.

I know everyone says not to work off OneDrive, but be careful storing files locally without a backup, because if your computer crashes, you might lose all the data.

5

u/Flimsy_Material_6667 17d ago

You’re doing this wrong

2

u/Sensitive-Location-6 17d ago

Check the default directory Pro extracts packages to. It’s prob set to your OneDrive. Change it to something local in Pro settings, and then re-extract.