Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

My colleague tells me (vaguely) that spatial join is possible in standard versions of autocad using reference manager and xref. Does anyone know how to do this? Or if not, how to do a spatial join of data in autocad.

(Map3d versions excluded.)

Edit: Yes, I mean the same kind of spatial join as in arcmap. I will probably have some extended entity data attached to a bunch of lines. I am wondering how you would join this to data from either the nearest, or all overlapping, points or polygons.

share|improve this question

1 Answer 1

standard autocad does have a db join (called link templates) but the join will only go to block references or if you write your own code to eed {extended entity data}(as there is no object data in autocad only map3d).
**EDIT: I take that back. you can attach a link to about any object but the "id" will have to be managed manually similar to a hyperlink.

But the question you ask about "spatial" join is quite different.

A spatial join (in arcmap) is when you have two feature classes with location information for both, and you join based on the location. please clarfy your question
i.e.this point is in this poygon and attach attributes from the polygon to the point.
Spatial Join arcmap style

Now the link template in autocad is accessed through the dbconnect command (see command in image).
dbconnect
The image also shows that there is quite extensive help for the subject.
The data source must be managed through the windows "data sources (ODBC)" icon in the control panel.
ODBC
If this is the functionality you are looking for there are some samples in the sample folder of your autocad installation.
samples

share|improve this answer
    
Thank you. See my edit - I do mean arcmap style spatial join. Does the procedure you show do that? –  Sideshow Bob Feb 9 '12 at 10:08
    
No this is just linking data to an object. It is possible though with map3d Not sure about base autocad. I will research and edit. –  Brad Nesom Feb 9 '12 at 23:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.