dwg
ESRI UK Conference – My Presentations
My first presentation on Day One was entitled the “10 Minute City” to a largish group of people who made the trek to the basement instead of hearing about exciting developments in ArcGIS 10.1. Honestly, thank you for coming down and listening to us all, not just myself. VIDEO TO VIEW HERE After initial issues relating to my video not playing on ESRI laptops and codecs (I’ve never figured out codecs all I can say is it worked on my PCs and their offices ones too).
Here I demonstrated a workflow that used CityEngine and ArcGIS as the pivot points in creating a very basic city model for visualisation and analytical purposes. I hope this went down well and if people have any more questions about it (I know I skipped some of the detail) then please don’t hesitate to contact me.
My second presentation entitled “Games and the City” was to a much smaller audience, I gave a live demonstration and an insight into a workflow we’ve been looking at using specially built software with assistance of InfoLab21.
My quick quiz about what game and system this screen shot was from got no correct answers unfortunately (and I was going to give the person who guess correctly a snazzy GDL memory stick!).
Perhaps you would like to guess? (answer in the comments below, no prize though sorry!)
![]() |
| Source: RetroGamer.net |
Both presentations should be available to upload from the ESRI site soon, I’ll also try and post it here soon.
Apologies to those of you who saw the presentation and saw it stall at one stage. I’ll blame it on the lack of a mouse mat, the awkward position of the mouse on the podium oh and my shakey hand due to nerves!
AutoCAD Annotation to ArcGIS
A very long numbered list related to ArcGIS
The trouble with displaying or importing annotation from CAD to ArcGIS is that my carefully placed text in autocad moves when I place it in ArcGIS.
After a bit of searching I have found some solutions like this one here: http://forums.esri.com/Thread.asp?c=93&f=1728&t=131939 (ESRI Support pages)
I thought I’d elaborate and do a step by step process, mainly so I don’t forget!
- First open ArcCatalog
- Open the ArcToolBox
- Find under “Conversion Tools” the “Import from CAD” tool
- Double Click on this “Import from CAD tool”
- Select your AutoCad file (the whole file not just parts)
- Then choose where you want the new Geodatabase file you are creating will go.
- Click Ok
- Now open up ArcMap
- Add the point layer under the “CAD Staging” Feature Dataset
- Notice that the points you have added are in the location you want your text to be in, (there are also points from other parts of your CAD drawing here as well, we’ll clean this up in a bit)
- Right Click on your newly added point layer and select Joins and Relates Join.
- The field we will be linking is the EntID field.
- Now select the File Geodatabase Table called “Entity”, this is located with your newly exported CAD file in the Geodatabase.
- You will also be using the “EntID” field, Keep all records and click OK.
- Now for clarity I tend to switch off from view those fields I don’t need, right click on your point layer and select Properties. Select the Fields tab and then go through the list switching off all the fields, except for : Point.OBJECTID, Entity.Layer and Entity.RefName. Click Apply and then OK.
- Now right click on your point layer again and Open the Attribute Table, voila! You should have your text matched to your point data (if you notice funny code around your text, relating to font and size, don’t worry I will deal with this, so keep reading). It’s up to you how you clear up the data now, however I shall continue this so you get an idea of what can be done.
- I want a nice clean layer so, right click your point layer and select export data. Now I would select only the items I want to label (remember the point layer is a consolidated file of ALL your point data from AutoCAD not just text!)
- Choose a location to save this new file and select okay, and click ‘yes’ to add this new data.
- When looking at my text stored in the RefName field I can see that it has brought through some extra information like this: “{\fVerdana|b1|i0|c0|p34;QUARTER 1}”.
- Start an edit session.
- Open the point file’s attribute table.
- We want to get rid of first the front part of this code, so select one of the fields and select the first part of the code like this “{\fVerdana|b1|i0|c0|p34;” once selected either right click and copy, or press “Control+C” on the keyboard.
- Select the RefName Column so the whole column is selected
- Now click on options and then Find and Replace.
- In find place the copied text “{\fVerdana|b1|i0|c0|p34;” (or whatever text you have)
- And leave the Replace with blank.
- Now click “Replace All”
- You should now be left with something like this in your fields: “QUARTER 1}”.
- Now select and copy (or just type) the last bit of this data and repeat the process (“}”).
- So now stop editing (making sure you have saved it).
- Now right click on your point layer and select properties, now click on the labels tab.
- Check the label features in this layer box.
- Now click on the Placement Properties button, here I tend to choose “Place Label on top of the Point”, click OK.
- I would also effectively switch off the point symbol by making it 1pt transparent with no outline.
Phew, I hope that made some sense if I can clarify something please let me know!
ArcGIS layers to AutoCAD Layers (mapping field names to AutoCAD layers)
Confusing title I know but I think it describes this process correctly. Okay here goes:
In ArcCatalog, open the ArcToolBox.
Now double-click on the “Set Cad Alias” tool under Conversion Tools –> To CAD
Now in the input table select the data layer (input feature) you want to convert to AutoCAD.
The Field Info box should now be populated with field names.
Select the field that you want to use as the layer names for your AutoCAD file.
Now under the Alias Name select the field type you want (in this case Layer)
Now Click OK, making sure you’vc not got this file opened in a ArcMap document.
Next double-click on the “Export to CAD” tool under Conversion Tools –> To CAD in the ArcToolbox
Select you data layer(s) (input feature).
Make sure you’ve select the correct Output Type (I tend to use DWG_R2000)
And make sure you’ve chosen a suitable Output file name and location.
Now Click OK
Open it up in AutoCAD to make sure its worked.
Clipping your satellite image in ArcGIS, and importing into AutoCAD
Do you need to export just a small part of a satellite image for use in AutoCAD or just so you can work on one small part without loading a huge file in ArcGIS? Then perhaps this technique is for you!
- Create a new rectangle graphic in data layout using the drawing toolbar, over the area you want to export.
- Select this rectangle.
- Right click on the satellite image that the rectangle is over, then Data then Export Data.
- In the export Raster dialog box check Extent: “Selected Graphics (Clipping)”, Spatial Reference: “Data Frame (Current)”
- Select a Location
- Choose a name for it and a Format
- Now click save, it will also ask if you want to add it to your GIS.
That’s it you can then use this smaller satellite image instead. You can also do the follwing to get it into AutoCAD:
- Select the rectangle
- In the drawing toolbar menu select “convert graphics to features”.
- Save this rectangle as a shapefile.
- Open ArcCatalog
- Find your new feature rectangle shapefile and right click on it, now click on export to DXF.
- Open AutoCAD (I use 2002) and open your new rectangle shapefile.
- Select Insert –> Raster Image Refence or type “IMAGEATTACH”
- Select your exported satellite image.
- Now once you have inserted it you can scale it to fit your dxf rectangle.
- Now save this as a dwg file
- To test this has worked trace draw a shape in your new autocad file, now go to ArcGIS and add this data to your GIS. It should overlay perfectly!
This doesn’t work with AutoCAD LT unfortunatley as you need the full version to insert images, however once you have done this you can share the dwg file with its satellite image with other people who have AutoCAD LT.
I hope this helps people, if anyone has any suggestions on how to cut out the full version of AutoCAD I’d be interested to hear about it!
Alternatives to AutoCAD? progeCAD 2009
Let’s face it AutoCAD is hugely expesensive especially for small firms, but what can you do? Well progeCAD could be your first port of call it works like AutoCAD and seems to be fully compatible but it is ver much cheaper:
progeCAD 2009 , the State of the Art of 2D/3D DWG and DXF CAD, powered by the most recent IntelliCAD engine is an easy replacement for AutoCAD® and AutoCAD LT®!
Share your DWG, import DWG from PDF, export models to Google Earth®, PDF print, thousands of free blocks are only some of the key features available…
I’ve been using the trial to see if you can plot over georeferenced satellite imagery, it appears you can and I will post a workflow just as soon as I can.
Visit their website:
http://www.progesoft.com/



