15

2006-Dec

shp 파일 DXF로 변환시 annotation 포함하는 방법에 대한 문서...

작성자: 김한국 IP ADRESS: *.217.93.181 조회 수: 29995

http://www.uwm.edu/Libraries/AGSL/agsgis/tipsB1gis.html

위 링크를 참고하시면 됩니다.


 


저는 주로 shp파일을 가지고 작업을 하는데 토목이나 도시계획하는 분야에서는 성과품을 DXF로 제출하는 경우가 있습니다.


 


이런 경우 ArcGIS로 분석을 해서 결과를 만들고 그 결과를 DXF로 변환시켜야 하는데 annotation이 포함되지 않은채로 DXF파일이 만들어집니다.


 


참 곤란하죠...^^


 


DXF에 annotation 추가하는 방법에 대한 문서입니다.


 


How to Create and Convert annotations into DXF in ArcGIS


Basically there are five steps:


(1) create an empty geodatabase annotation feature class in ArcCatalog,


(2) create labels in ArcMap,


(3) save the labels in the empty geodatabase annotation feature class in ArcMap,


(4) export the annotation feature class to annotation coverage in ArcCatalog, and


(5) convert the annotation coverage to DXF format in ArcToolbox. 




  1. Start ArcCatalog. Check the spatial reference of the theme file (i.e. shapefile, coverage) that you are going to create annotations for. In ArcCatalog, right-click the theme file to browse properties of the file. Click Geometry cell next to the “SHAPE” cell in the data type field. In the same tab, check the spatial reference. Define coordinate system if not defined yet. Then check the X/Y Domains tab and make a note on the following parameters:

    • MinX (i.e. citywide shapefile SPC27 case is: 2274993.677928)
    • MaxX (i.e. citywide shapefile SPC27 case is: 2824749.49156)
    • MinY ( i.e. citywide shapefile SPC27 case is: 102580.771428)
    • MaxY (i.e. citywide shapefile SPC27 case is: 652336.58506)
    • Precisition (i.e. citywide shapefile SPC27 case is: 3906.24999636202)

  2. Start ArcMap.
  3. Bring the theme file that you want to create annotations in ArcMap.
  4. Make sure that the data frame’s coordinate system has been set correctly.
  5. Change view frame spatial reference scale to 1:5,000.
  6. Click Properties of the theme file, and click Labels tab. Make sure correct field is selected as Label Field. Make the label font size 2 so that each field value will be fit in each polygon (Click Symbol.. in the Text Symbol box). Also check Label Placement Options in Other Options. Check Remove duplicate labels box in the Placement tab. Click Conflict Detection tab, and change label weight to Low check Place overlapping labels box. The frame should look like this.



  1. Start ArcCatalog.
  2. Create a new and empty personal geodatabase in the patron’s workspace. Name the file as you like, such as annotation.mdb.
  3. Create a new and empty annotation feature class in the new personal geodatabase. Name the new feature class as you like, such as annotation. Change the type option to This feature class will store annotation features, ….  Click Next. Use the reference scale as it appears in the ArcMap view. Change the Map Units to Feet. Click Next. Accept Default in the next tab.

   



  1. Next you have to change the spatial reference of the newly created annotation feature class. This is a very important step. Click Geometry cell next to the SHAPE cell in the data type field. In the same tab, check the spatial reference. It should say unknown at this moment. Click the button next to the unknown cell. Select the coordinate system.

  



  1. Then click the X/Y Domain tab behind the Coordinate System tab. Change the following parameters as you found in the step 1.

    • MinX
    • MaxX
    • MinY
    • MaxY
    • Precisition

  2. Click OK to dismiss the X/Y Domain tab, and click Finish to dismiss the whole New Feature Class wizard. You just created a new but empty annotation feature class within the personal geodatabase.
  3. Go back to ArcMap to convert the labels to annotation feature class. Click Convert the Labels to Annotation… by right-clicking over the shapefile in the table of contents. Change Annotation storage options to In a database, and browse to the annotation feature class you just created. Accept other options.


  1. You will see the new layer, annotation feature class, in the ArcMap.




  1. Close ArcMap and go back to ArcCatalog. Right click the annotation feature class and select Export> Geodatabase to Coverage. Make sure Annotation is the output feature class. Click OK.



  1. New annotation coverage should appear in ArcCatalog. Close ArcCatalog.



  1. Start ArcToolbox.
  2. Select Conversion Tools > Export from Coverage > Coverage to DXF Wizard.
  3. Click the browse button next to the Input anno coverage text box and browse to the newly created annotation coverage. Change the Number of decimal places…. to 3. Specify an output DXF file name and location to export the coverage annotation to and click OK.



  1. Close ArcToolbox and Start ArcMap. Check the output annotation DXF file.

profile

Map for your Life ~~~~~~ !

biz-gis.com 운영진입니다.

List of Articles
번호 제목 글쓴이 날짜 조회 수
64 좌표계 정의가 되지 않은 캐드 파일(dxf, dwg) 좌표부여하기... 김한국 2011-07-22 56436
63 GRS80 좌표계 변환결과 300m 정도 오차나는 경우 file + 3 김한국 2011-05-24 49289
62 엑셀에서 shp 파일 만들기 - 이상희님 자료입니다. file + 4 김한국 2011-04-12 48550
61 래스터 디스플레이 할때 Too many unique values (>65536) 에러 해결법 file + 2 김한국 2011-04-01 30933
60 ArcMap 매크로(VBA) 기능이 비활성화 되는 문제 해결법 (ArcMap Visual Basic Editor macro is disabled) + 1 김한국 2010-08-09 37967
59 ArcMap 테이블의 복잡한 필드 계산(field calculator)시 방법 file + 3 김한국 2010-06-18 39573
58 DEM의 표면면적(3D면적) 구하기 file + 2 김한국 2010-04-14 38856
57 래스터 데이터(토지피복 등) 폴리곤별 포함면적 계산 file + 5 김한국 2010-01-12 36707
56 [re] 수리수문, 풍향풍속과 같은 현황을 화살표를 활용하여 어떻게 표현하나요?? + 1 박세진 2009-09-22 38532
55 수리수문, 풍향풍속과 같은 현황을 화살표를 활용하여 어떻게 표현하나요?? file + 3 eric~~~~ 2009-09-21 38745
54 경위도(Degree->DMS) 변환설명 이기우 2009-06-10 40265
53 CAD MAP에서 속성별로 레이어만들기 + 6 강세경 2009-06-08 43492
52 Raster Calculator에서 삼각함수(sin, tan, cos) 사용법 + 1 김한국 2009-06-04 41027
51 Cad→ Shape변환 관련자료입니다. file + 10 조덕연 2009-05-07 39923
50 지적도(폴리곤)에서 중첩된 영역 추출하는 방법 + 3 김한국 2009-03-17 42559
49 아크맵상에서 shp파일 만드는 방법입니다. + 4 김영우 2009-01-29 45631
48 아크GIS 9.2 에서 dxf 파일을 불러오면 한글이 깨짐니다 + 5 정익선 2009-01-19 36346
47 데이타(data) 폴더 이동시 레이어가 안보일때 해결방법은 없나요? + 5 김도환 2008-12-10 33064
46 지번 19자리 설명 + 2 김한국 2008-11-06 44559
45 PolyLine을 Polygon으로 변환할때 속성정보까지 같이 변환 file + 4 송영기 2008-10-10 38638