Use "Map Import Properties" to convert .SHP data with attributes into Blocks with attributes

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi everybody just a brief video today to look at a tool that provides us some options when bringing in geospatial information in the civil 3d specifically in this case what it's going to allow me to do is connect to a shape file and then bring that shapefile geometry directly in the civil 3d is AutoCAD entities in this case I'm gonna convert them into blocks they'll represent signage but at the same time shape files themselves have attribute information about those signs I'd like to take that attribute information and automatically populate at the same time when it's brought in the attributes that make up my block so that I can do it all in one step convert my geospatial information into blocks with attributes within civil3d so let me show you how I would go about doing that first thing I'm in a blank drawing now we'll take a look at the command map import this is something you could pull from the menu but I'll type it in for right now just so that it's just a little bit easier we can get to a quicker I'd recommend looking at one of the workspaces or maybe creating a button that you could access it because this is something we can tend to do a lot using map import what it'll allow us to do is this is how we will connect to geospatial information and then convert that into geometry in in our drawing file so I'm gonna select this shapefile we'll say ok and in the import properties dialog I can go through and start setting with different parameters that I'd like to use when this information is imported so the layer the input layer of the drawing layer I'm not gonna worry about changing any coordinates or anything like that data is very important because this is what will give us access to the attributes so by default it'll be do not import attribute data I would like to create object data and then this is where I can select fields or see the attributes that are associated with this particular shapefile alright so as I look at a feature ID is one thing that'll always be added automatically that will ensure that I've got a unique ID for everything but as I work my way down I can see that I've got type height the date that it was collected notes message because these are signs might be the message that's on the sign parking or something like that I could have the condition whether it's good fair poor all right once again rather than just bringing these in and getting blocks I'd like to have access to all those data as well I could bring it in as object data which is nice but then will necessarily be visible on the screen instead we'll convert it into a block and then create it such this information will be legible as kind of like a label attributes in that block so we'll go ahead I'll click on OK we see what those values are I'm gonna cancel out of this and then I'm a step over before I bring that in and show you that I've built a block here the block contains geometry that represents the signage the insertion point will be at the center of the sign this information here is just text but these are my attribute definitions and you'll notice that these attribute definitions match exactly what we had in the shapefile that's the key the attribute tags themselves have got to match exactly what was used in the shapefile if it does then our mapping you know will go over one to one and will work out just fine okay so I've already I've already built this we'll go ahead come back to my empty drawing and we'll insert one of those so that it's inside my file so we'll say insert browse and we're gonna go into the signage here we'll say open I'm gonna insert that on the screen and when I click to insert that we see now it says edit attributes and then those are all the attributes that I would fill in all right so I've got a block in here now we'll say ok I actually once I've inserted it I don't need this one anymore because the definition exists in my drawing now so I can delete it and it will stay in my file it'll be one of those things that if we were going to purge it we would be able to purge it at this point but the definitions there so now we're we're ready to go we can go ahead and use the the command we looked at before we'll say map import signage and then we'll come down we'll work our way across data what I would like to do is I would like to create object data the object data that I'd like to use is from the signage we've got all these fields selected that's fine we'll say okay and okay AutoCAD points I'm going to select this this is one area that most folks generally don't go to by default it would create just an AutoCAD point instead I don't want to use a point I could select a block from the list or I could select the ellipses here and give it some additional information we'd like to use so I'd like to create as blocks I'm gonna click on the down arrow and we'll scroll down I believe sign yep will be the last one I put in we'll go ahead and select that what's cool here is as you look at this we've also got an option that says get block name from data that means we could take from the attributes that were included in the shape file I could use one of the attributes to determine the block name that's leveraged when it's brought in all right extremely powerful tool in our case we've just got one block we want to use for the signage and then this is the box we want to make sure in check is get attribute values from fields what that will do is it will take the attributes within the shapefile it will match those to the attributes that are created in this block and then when it's brought in it'll automatically populate those will be ready to go so we'll click on OK and we'll click on OK that information is processed and if we zoom in now and look we see that the shape information for those values that were filled in in this case doesn't look as though the message field was leveraged at the time of collection but we can see that things like condition the date that it was collected height speed limits as far as type and notes all of that is all of that has been populated for us all right so in a single step we were able to take our geospatial information convert that into typical AutoCAD blocks and then still leverage the attributes associated with that geospatial information have that map directly to our blocks as well all right so once again just another strategy for bringing in or connecting to geospatial data allow us to connect it directly to DWG objects another option over maybe using FDO so I can give us some flexibility depending on you know what our project requirements are so hope this helps and I look forward to talking again soon see ya you
Info
Channel: Jerry Bartels
Views: 25,071
Rating: undefined out of 5
Keywords: akn_include, bartels, free, training, education, tutorial, how to, tip, trick, Civil 3D, Map 3D, Autodesk, Mapping, Engineering
Id: nugkuXZlLU0
Channel Id: undefined
Length: 7min 4sec (424 seconds)
Published: Tue Dec 20 2016
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.