1

I have a erosion map and land use map in DWG files, made of regions (boundary) and hatches.

How to convert regions or hatches to polygons?

This is the picture of the map in DWG file.

enter image description here

2

2 Answers 2

3

Autocad Solution:

In autocad there is a command "_HATCHGENERATEBOUNDARY", select all hatches and apply this command. This will generate a polyline to all hatches than import/export polyline to polygon.

Regarding to regions.

1.Select all regions and apply explode command.

2.This will convert all regions to line.

3.Than if you have no acadmap apply comand "pedit"-polyline edit and chose multiple.

4.Than chose option "Join".

5.This will convert all lines to polylines.

13
  • this the link to .dwg fail. you have in it the example of region and hatch that i want to export to .shp. mega.nz/#!4hMwDbDJ!2d-DhU2OzIVTnCGGcX-AOZS7wpTOMW5IyWrxIE0_j‌​eg
    – Markoneo
    Nov 10, 2016 at 13:58
  • first answer i dont know to perform. second gives me polygons, but they overlap.
    – Markoneo
    Nov 10, 2016 at 14:10
  • they overlap because hatches or boundaries have been overlapped too, so after converting to polyline you can perform Drawing Cleanup at autocad or convert overlapped feature to GIS than repar overlapping using QGIS or other GIS software.
    – Florjan
    Nov 11, 2016 at 13:59
  • I opened your file using autocadmap. 1- Exploded all regions to line. 2- Applied drawing cleanup by choosing (1.break crossing, 2.delete duplicates, 3.snap clustered nodes,4. dissolve pseudonods, 5.break crossing), Lines to polylines. 3- Create polygon topology (Map drafting/ topology/ create topology). 4- Convert topology to polygon (polygon toolbar).
    – Florjan
    Nov 11, 2016 at 14:32
  • if you have no autocad map license than you should try to convert polylines to QGIS and edit there overlapping polygons.
    – Florjan
    Nov 11, 2016 at 14:33
1

Type in Autocad mapexport, choose the online option, select the features required and export to SHAPEFILE in QGIS utlize SAGA complement the Process panel for converting line polygon.

3
  • this the link to .dwg fail. you have in it the example of region and hatch that i want to export to .shp. mega.nz/#!4hMwDbDJ!2d-DhU2OzIVTnCGGcX-AOZS7wpTOMW5IyWrxIE0_j‌​eg
    – Markoneo
    Nov 10, 2016 at 13:58
  • I tried this way you answerd, and it's not working. i get polygons but they overlap.
    – Markoneo
    Nov 10, 2016 at 14:07
  • i found the solution :DDDD cad2shape.sharewarejunction.com/#download
    – Markoneo
    Nov 28, 2016 at 13:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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