Any idea whats causing these errors?

538
1
03-18-2020 09:43 PM
Bradmayger
New Contributor II

I cannot do a simple UNION function using the shapefiles, into either a new shapefile or into a personal geodatabase

0 Kudos
1 Reply
by Anonymous User
Not applicable

Hi,

I believe the error is occurring as the output path has the file extension for a shapefile (.shp) in a database.

e.g.

C:\MyFolder\MyGeodatabases.gdb\MyData.shp

is not valid as it is attempting to create a shapefile in the database

But

C:\MyFolder\MyData.shp

would be as it creates a shapefile in a folder.

or

C:\MyFolder\MyGeodatabases.gdb\MyData 

would be as it creates a feature class in a file geodatabase.

This lines up with the two output paths visible in the screenshot.

I'd also generally recommend using feature classes in a file geodatabase over shapefiles or personal geodatabases. If we need to export to shapefile for say importing into another software, we can always do so when required.

Cheers,

Chris