AutoCAD Map 3D General Discussion

Active Contributor
Posts: 44
Registered: ‎03-23-2012
Message 1 of 1 (77 Views)

MapimportFDO Oracle 2013: line and polyline for a LINESTRING geometry

77 Views, 0 Replies
07-10-2013 01:39 PM



I reported already on all the issue with mapimport and mapexport. Now I am getting into a newer issue which makes it almost hilarious.


As the mapimport is actually missing real mapping capabilities (source to target), I decided to just do a plain Oracle to CAD + Object data import. Where necessary I had a block instead of a point. This way I can focus on getting a post import process (series of LISP routines) to properly set stuff. Rotate the block for example based on the imported rotation object data value. Same btw for the attribute values (unless teh names are equal with the Oracle column name).


I also turn specific polylines on specific layers into multiline using LISP.

I first thought something was wrong with the lisp function as some polylines were not turned into multiline. 

After chopping up the LISP process it became clear what happened:


Turns out that all LINESTRING (or 2002 geometries) where imported as polylines, however....


Ta ta:  Only when they have 2 vertices ( a start and an end-vertex) they are not imported as polyline but as....


YES an ordinary LINE entity.


Who actually makes these design decisions? Why is there not an attempt towards consistency? These 2 vertex geometries should also be imported as polyline, at least to my humble opinion.


Obviously there is technically maybe nothing wrong but in practical usage, common?

I could not see any immediate way of having this sorted on the import itself, so will have to add yet another anticipation on using the mapimport/export stuff.


Thanks again.



You are not logged in.

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

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 to get help installing your software.

Ask the Community