AutoCAD Map 3D General Discussion

AutoCAD Map 3D General Discussion

Reply
New Member
todor.latev
Posts: 2
Registered: ‎01-22-2010
Message 1 of 5 (1,021 Views)
Accepted Solution

Export SDF to ASCII /or XLS/

1021 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!

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 -

*Expert Elite*
Alfred.NESWADBA
Posts: 9,061
Registered: ‎06-29-2007
Message 2 of 5 (1,019 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
todor.latev
Posts: 2
Registered: ‎01-22-2010
Message 3 of 5 (1,014 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: 9,061
Registered: ‎06-29-2007
Message 4 of 5 (1,011 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
-------------------------------------------------------------------------
Mentor
olivier.eckmann
Posts: 159
Registered: ‎02-14-2009
Message 5 of 5 (1,000 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

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.