Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Importing a Geodata Base File (.GDB) Into Civil 3D or Map 3D 2019 64 Bit

17 REPLIES 17
SOLVED
Reply
Message 1 of 18
Anonymous
37426 Views, 17 Replies

Importing a Geodata Base File (.GDB) Into Civil 3D or Map 3D 2019 64 Bit

Hello All,

 

I am trying to import a .gdb file into Civil 3D 2019 64 bit, is this possible? When I connect to the data folder nothing happens.

 

Thanks

17 REPLIES 17
Message 2 of 18
_Hathaway
in reply to: Anonymous

We have our GIS guru convert the files to a SHP file within ArcGIS.  I haven't figured out a way to go directly to Civil3d with a GDB file, but then I didn't try real hard either.  The GIS conversion works just fine.

Message 3 of 18
Anonymous
in reply to: _Hathaway

Thanks Mike. If you happen to figure out a way let me know

 

Thanks,

Darryl

Message 4 of 18
Anonymous
in reply to: Anonymous

Message 5 of 18
ChicagoLooper
in reply to: Anonymous

Gdb is not supported by C3D/M3D. You'll have to use ArcMap  or ArcCatalog and export the Feature Class to shapefile. Alternatively, you may also use third party software (e.g. QGIS, Global Mapper) to pull out the shapefile(s) a from the gdb. Once you have the shapefile, you can use Data Connect palette to bring in the ESRI feature data objects or use MAPIMPORT to import the geometry as ACAD drawing entities. Either way provides access to the data.

Chicagolooper

EESignature

Message 6 of 18
mjmcdoDPLV5
in reply to: ChicagoLooper

i see! so the add ArcGIS connection and the FGDb button are just place holders for some future release? if Civil 3D wasn't supposed to connect gdb files it would not have these dialog boxes. it has worked for me on earlier releases no problem.

Message 7 of 18
ChicagoLooper
in reply to: mjmcdoDPLV5

You can connct to the GBD using the Data Connect palette. You can then pull out a feature class(es). You can't create a gdb.

Chicagolooper

EESignature

Message 8 of 18
samir_rezk
in reply to: mjmcdoDPLV5

Hi @mjmcdoDPLV5 

AutoCAD Map does connect to ArcGIS FGDB directly! However ESRI requires a product license to be available on the same computer, so you’ll need ArcGIS or ArcMAP installed and activated on your computer so that AutoCAD Map can then authenticate and connect to the FGDB.

There was a couple of versions of AutoCAD MAP that could only connect to 32 bit gdb but the latest versions of Civil 3D can now connect again to 64 bit so it’s most likely a licensing issue if you try and it doesn’t work!

Hope this clarifies a little,


Samir Rezk
Technical Support Specialist

Message 9 of 18
mjmcdoDPLV5
in reply to: samir_rezk

i have arcgis pro installed on my computer. the gdb file is downloaded from a city jurisdiction.

Message 10 of 18
ChicagoLooper
in reply to: mjmcdoDPLV5

OK, so you have ArcPro installed with a valid license. You have already downloaded your gdb file. To connect to your gdb do this.

 

Image-1.Image-1.

 

Image-2.Image-2.

 

Image-3.Image-3.

 

Image-3 shows two feature classes: structure (a point feature class) and pipe (a line feature class).

 

******IF YOU HAVE MORE QUESTIONS, PLEASE START A NEW THREAD.  USE A DESCRIPTIVE TITLE FOR YOUR NEW THREAD. THANK YOU.******

Chicagolooper

EESignature

Message 11 of 18
cdiaz52
in reply to: samir_rezk

I found that the Mapconnect function may not allow pulling data directly from geodatabases. You can import the .shp files with MapImport command. The workaround I found was to open the Shapefile window (Mapwspace command) and load data from there. This seems to work when the MapConnect fails. 

 

Cheers

Message 12 of 18
jponcini
in reply to: Anonymous

If you don't have an arcgis license, I was able to get a gdb file into autocad by uploading it in qgis (which is a free software you can download) and then saving it as a shapefile in there which you can then import into autoCAD using MAPIMPORT

Message 13 of 18
tfordKC7JP
in reply to: jponcini

How did you upload your gdb file and save as a shapefile in qgis? I downloaded the software, but spending a lot of time trying to figure it out. I am sure it is simple but I can't seem to find this solution in their help files. Thank you!

Message 14 of 18
ChicagoLooper
in reply to: Anonymous

Hi @tfordKC7JP 

You do NOT need QGIS. If you have a file OR personal gdb, assign an appropriate coordinate system to modelspace, then do this after you've assigned your coordinate system.

  1. On command line type in MAPCONNECT=>Add ArcGIS Connection=>select File/Personal GDB=>click FGDb button
  2. Browse to and select your GDB=>click Connect (wait for the connection to establish)
  3. Select/check the feature class=>Add to Map (or Add to Map with Query from dropdown arrow).

Note: Depending on the size of your Gdb, you may have to wait for your gdb to load. 

 

Oh, and BTW Tina, it is recommended you start a brand new thread. If you wish, in your new thread, you can provide a link to this one.

 

Chicagolooper

EESignature

Message 15 of 18
jponcini
in reply to: tfordKC7JP

This is how I did it: on QGIS go to the Layer tab -> Add Layer -> Add Vector Layer. That will pop up a window that's titled "Data Source Manager | Vector". In that window under "Source" you will browse and put the address of your gdb file (the gdb file converted was also zipped). In the window click Add. QGIs will then plot your gdb file and then on the Layers panel, you should see the layer you just made. Right click it-> Export-> Save Feature As and that will pop up a "Save Vector Layer as..." window where you can pick the format to be an ESRI Shapefile, choose a file name, and pick the coordinate system you want it to have. Click OK to save then boom, you have a shapefile which you can import into Civil 3D
Message 16 of 18
Muthya
in reply to: ChicagoLooper

I am using Civil 3D Version 2022 or 2023.

 

I am able to import Shape Files or GDB files into Civil 3D.

 

I am also able to edit attribute fields and / or attribute field names (when imported from Shape files).

 

Now my challenge is to:

 

  1. Check for Topology errors and edit and save them.
  2. Export to FGDB (Save Back?) or publish in Arc GIS online.

Could someone lead my way.

 

Thanks.

Message 17 of 18
ChicagoLooper
in reply to: Muthya

Hello @Muthya 

What is your topolgy?
Node, network or polygon topology?

 

Please explain the purpose of your topology. If you upload screenshots it would be super helpful. 

Chicagolooper

EESignature

Message 18 of 18
Muthya
in reply to: ChicagoLooper

Thanks for your kind reply.

 

I worked through parts of import of shapefiles and ran the "Topology Rules" as "Drawing Clean up" in Planning and Analysis WS. I am attaching the resulting DWG file in zip format (as etransmit, to preserve details, if any)

 

"Topology Rules.pdf" gives a comprehensive set of rules for various utilities. I have only used those that apply for Points and Lines in the MH, Inlet, Catch basin and Pipelines for a Storm Sewer Utility.

 

My challenge is to "Export FGDB" or "ArcGIS Publish" or to save back if I start working from a FGDB file instead of Shape Files.

 

Your help will always be remembered by us.

 

Thanks.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report