AutoCAD Map 3D General

Reply
New Member
Posts: 2
Registered: ‎01-22-2010
Message 1 of 5 (790 Views)
Accepted Solution

Export SDF to ASCII /or XLS/

790 Views, 4 Replies
01-02-2013 10:57 AM

Using Civil 3D 2012 x64

 

I have an SDF file which contains point objects with associated data table records

I'm trying to extract the data to xls file /or text file/

Once imported in Map there's the option to view data table, then one can go select all and copy/paste everyhing in excel

This would have been perfect if coordinates were exported too. Alas I end up with a rather useless table

 

Is there a way to convert an SDF file to xls file and preserve all the data records along with the geometry /xyz/ in the process?

 

for something SO BASIC there HAS to be a basic solution

 

Thanks in advance!

*Expert Elite*
Alfred.NESWADBA
Posts: 8,565
Registered: ‎06-29-2007
Message 2 of 5 (788 Views)

Re: Export SDF to ASCII /or XLS/

01-02-2013 11:10 AM in reply to: todor.latev

Hi,

 

>> for something SO BASIC there HAS to be a basic solution

If you have not "imported" the SDF, but connected to the SDF, then you can create calculated fields as additional columns to the datatable. Then you can export again (or use copy&paste) to get a XLS including the coordinate-values.

(hope this video is a help, even it's German, if not, let me know)

MapFDO_PointCoord_CalcFields_AN01.gif

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
New Member
Posts: 2
Registered: ‎01-22-2010
Message 3 of 5 (783 Views)

Re: Export SDF to ASCII /or XLS/

01-02-2013 11:31 AM in reply to: Alfred.NESWADBA

Thanks Alfred, this worked!

Never seizes to amaze me though how simple things like this have to be researched and worked around to accomplish...

BTW - is there a way to use excel as an SDF viewer/editor?

Cheers,
Todor

*Expert Elite*
Alfred.NESWADBA
Posts: 8,565
Registered: ‎06-29-2007
Message 4 of 5 (780 Views)

Re: Export SDF to ASCII /or XLS/

01-02-2013 11:41 AM in reply to: todor.latev

Hi,

 

>> BTW - is there a way to use excel as an SDF viewer/editor?

As Excel is no GIS-tool/has no GIS-functionality, I don't think so.

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Distinguished Contributor
Posts: 134
Registered: ‎02-14-2009
Message 5 of 5 (769 Views)

Re: Export SDF to ASCII /or XLS/

01-03-2013 12:45 AM in reply to: Alfred.NESWADBA

Hello,

 

you can import SDF with MAPIMPORT command and convert attributes data to OD.

Then you can export to SHP file with MAPEXPORT command. You can export OD AND AutoCAD properties like geometry (X,Y,Z,length, area, rotation...), layer, color... to attributes data

In SHP format, attribute data are stored in DBF file which can be opened and viewed by Excel. But don't modifiy and save back the DBF, because you can damage structure of data.

 

Olivier

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community