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

sdf to shp

19 REPLIES 19
SOLVED
Reply
Message 1 of 20
kt_akel
3058 Views, 19 Replies

sdf to shp

Hey all,

 

Using bulk copy to move sdf to shp, but when I go to complete, returns an error of "An exception occurred in FDO component.  Invalid property name."  Seems to be with the contour polyline field, but I am unable to figure out what is going.  Any suggestions as to how to fix this?  I am moving basic contour lines and have done this before with the exact same contours, only I have altered some alignments.

 

Best regards,

 

Kevin

Tags (2)
19 REPLIES 19
Message 2 of 20
NateMoore
in reply to: kt_akel

I believe that SHP has some reserved property names, like AREA.  Since the data itself is stored in a DBF, you also are bound by the limitations of that file type.  In your case if you have two similarly named fields, such as SELECTEDPARCELOWNER and SELECTEDPARCELAREA, both will be truncated after 10 characters to the same name, which could also cause that error.



Nate Moore, GISP
Geospatial Premium Support Specialist
Global Services
Autodesk, Sarl
Message 3 of 20
kt_akel
in reply to: NateMoore

That was what I figured at first, but even randomly naming the polyline portion proved no help.  They are basic contours, so nothing fancy with the names.  Elevation Index, Elevation, IsMajor, and Contour Polyline.  The Contour Polyline is the field giving me issues, which also happens to be the geometry file that gives the shp file the lines.  Any ideas?

 

Kevin

Message 4 of 20
AllenJessup
in reply to: kt_akel

This is just a total guess. But some DBF formats don't like spaces. Could you rename Contour Polyline to something like Cont_Pline. That way you have no spaces and only 10 characters.

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

Message 5 of 20
kt_akel
in reply to: AllenJessup

Tried your suggestion Allen with the same result.  Image is of the error is attached.  Maybe something obvious is wrong that the image may help define.

 

Message 6 of 20
parkr4st
in reply to: kt_akel

Try an underscore in contour_polyline

Message 7 of 20
AllenJessup
in reply to: AllenJessup

I was thinking of renaming the field in the original DBF file. After making a backup of course.

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

Message 8 of 20
kt_akel
in reply to: AllenJessup

Park I attempted that with the same result. 

 

Allen, I don't believe the polyline file is editable in the database.  There is no dbf for an sdf, but even opening the actual table in the CAD viewer, the polyline file is not available.  Is there a possible mismatch in the geometry trying to take a polyline to a shapefile?

 

Regards!

Message 9 of 20
AllenJessup
in reply to: kt_akel

You're right. I was working backwards as usual!

 

I've never had a problem creating shape files from polylines create in Map. But I'm not familiar with how they are defined in SDF. Since SDF was developed by AutoDesk, I would think there may have been a problem with the generation of the file.

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

Message 10 of 20
kt_akel
in reply to: AllenJessup

I have been working at this every way I can!  I have been able to create the contours before, but this time I made some adjustments to the alignment of the actual sdf, and now I can't get it to transfer.  I don't know what happened but the help is greatly appreciated!

Message 11 of 20
Murph_Map
in reply to: kt_akel

Easy way to do SDF to SHP is import the SDF into a blank dwg creating the OD then export to SHP. There's a few things with SDF that you need to watch with the FDO Bulk copy like int 16/int32 and double types then the nameing of the fields and a few others. You can try FDO to FDO from SL-King.com or Jackie's FDO tool box

Murph
Supporting the troops daily.
Message 12 of 20
kt_akel
in reply to: Murph_Map

Looks like fdo2fdo worked first try.  thanks murph!  I don't know why ACAD had so many problems this time through.  Like I said, I have done this a few times before with success but this time it was no go.

Message 13 of 20
DanCotta6456
in reply to: kt_akel

Had this exact same problem and FDO2FDO worked perfect.  Thanks.

Message 14 of 20
yuenkilau
in reply to: Murph_Map

I have the same problem.

 

I created DEM using ArcGIS Spatial Analyst.  The extension expired so I used Autocad to create contour.  The SDF looks good at autocad but failed to export as SHP.  It's the FDO problem.

 

I downloaded the FDO2FDO but I could only manage to export 1 feature...... I have 67 contour features. 

Tags (2)
Message 15 of 20
Murph_Map
in reply to: yuenkilau

One problem with SDF to SHP is SDF can have multi type features where as a shp can only be one feature type. There may be a pont or lable in the SDF that causes the errors. What I suggect is open a blank dwg, use Mapimport to import the SDF file and create object data. Then use mapexport to export the polylines to shp.

Murph
Supporting the troops daily.
Message 16 of 20
yuenkilau
in reply to: Murph_Map

Yes I can now export all the contours but I also want the attributes like elevation (which can be found in sdf).

 

Any clue?

Message 17 of 20
yuenkilau
in reply to: Murph_Map

Sorry I overlooked the 'create object data'.  It works now!  Thanks Murph!

Message 18 of 20
vedad_demir
in reply to: Murph_Map

Usefull, thank you.
Message 19 of 20

What is an OD?

Message 20 of 20

Hi,

 

>> What is an OD?

ObjectData >>>details<<<

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)

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

Post to forums  

Autodesk Design & Make Report

”Boost