QGIS: exporting contours to DXF with height values

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

ความคิดเห็น • 66

  • @ticoyderek
    @ticoyderek 10 หลายเดือนก่อน +2

    In case anyone is interested, the reverse process (DXF->SHP) can be done with Civil 3D using the MAPEXPORT command and specifying to the elevation attributes in the DATA tab. Greetings from Mexico.

  • @donodony3868
    @donodony3868 3 ปีที่แล้ว +1

    Great music man, chill and no effensive, really appretiate

  • @moizzasaeed5132
    @moizzasaeed5132 ปีที่แล้ว +1

    Your tutorial was very helpful, I had bit of a trouble with it understanding and fixing the units

  • @maunoaho1689
    @maunoaho1689 6 ปีที่แล้ว +1

    Thanks! it really helped me. I just have to add one trivial step in AutoCAD (applies to BricsCAD as well): When you export anything from QGIS (or ArcGIS) to DXF the units in DXF will be inches. This is ridiculous and the first thing in CAD is to change the units to meters. If you skip this and use the DXF file anwhere all the measures and thus also the CRS will be wrong since CAD programs think they are really inches which they never were. If you create a DXF from scratch it will be unitless and usually understood as millimeters.

    • @tombuckland4236
      @tombuckland4236 4 ปีที่แล้ว

      this explains so much

    • @moizzasaeed5132
      @moizzasaeed5132 ปีที่แล้ว

      do we change the units manually or through units tab? can you explain units a bit more please

    • @maunoaho1689
      @maunoaho1689 ปีที่แล้ว

      @@moizzasaeed5132 I was speaking about drawing units. Although the AutoCAD I used was configured to ISO i.e. metric drawing units it will consider unitless DXFs having inch as drawing unit.
      I have not used any specific unit table.

    • @maunoaho1689
      @maunoaho1689 ปีที่แล้ว

      @@moizzasaeed5132 Sorry, I misread your question. I' m not using units tab. Since I have originally learnt AutoCAD DOS version 9 in late 80's prefer commands and just enter "units" and select meters.

  • @ActionEcology
    @ActionEcology 3 ปีที่แล้ว +1

    It would be great if you could update this for 2021 now that QGIS has GRASS kinda built in. Thanks!

  • @luminaryaurorae
    @luminaryaurorae 3 ปีที่แล้ว +1

    I keep coming back to this one, every time - two kung fu steps - blam! yes :) my brain is going

  • @Math.C.T
    @Math.C.T 3 ปีที่แล้ว +5

    I was struggling with this so much, finally got how to do it. Unfortunately when I click "View output" in 2D to 3D nothing happens and I'm stuck again. Anyone can help?

    • @Kangage
      @Kangage 3 หลายเดือนก่อน

      your USGS wrong

  • @ninjapancakes9435
    @ninjapancakes9435 3 ปีที่แล้ว

    Extremely Helpful!!!!! Thanks

  • @theoalliot632
    @theoalliot632 4 ปีที่แล้ว +7

    Thank's! But when I open the DXF in Autocad, all my curves are on Z=0 ... Do you know where it might come from?

    • @svvine5803
      @svvine5803 4 ปีที่แล้ว

      I have the same problem. No height values when I import it into my other software. Did you find a fix?

    • @robnewell9531
      @robnewell9531 3 ปีที่แล้ว +13

      I had that issue and figured out the fix. On the export to DXF there is Geometry options area. Expand Geometry area and change it from Automatic to Polygons, and then make sure the "Include Z-Dimension" box is checked. Worked for me.

    • @praddyban
      @praddyban 3 ปีที่แล้ว +1

      @@robnewell9531 Whoa! That little step was the final piece of the puzzle I was looking for! Thank you for posting that!

    • @malcolmafonso1353
      @malcolmafonso1353 6 หลายเดือนก่อน

      @@robnewell9531 this solution saved the day. Thank you.

    • @seafravil
      @seafravil 6 หลายเดือนก่อน

      ​@@robnewell9531thanks for the info

  • @iStrider
    @iStrider 7 ปีที่แล้ว +1

    You are a national hero

  • @rickwentworth6842
    @rickwentworth6842 ปีที่แล้ว +1

    I have a large area of contours in a geodatabase and I am trying to only select a small portion of contours to export as DXF. Is there a way to only select contours within a particular area? So far, QGIS selects only those contours that are completely within the selection polygon. I want to select the contours that my polygon touches. Any help would be great.

  • @jackierosales3697
    @jackierosales3697 ปีที่แล้ว

    I dont get the option save as, I dont know if this is because its the new QGIS but I cant save it after that.

  • @ticoyderek
    @ticoyderek 10 หลายเดือนก่อน

    ¡Muchas gracias!

  • @wesleymarinho8475
    @wesleymarinho8475 3 ปีที่แล้ว

    Dude, you saved me with it. Thank you very much

  • @lemonbomb9972
    @lemonbomb9972 5 ปีที่แล้ว +3

    after the 2D -> 3D fanction has successfully finished i press "view output" but the layer wont appear, any ideas ?

    • @jannydaggs1715
      @jannydaggs1715 3 ปีที่แล้ว +1

      I had the same issue

    • @Math.C.T
      @Math.C.T 3 ปีที่แล้ว

      Any solutions?

  • @hondaf20b6
    @hondaf20b6 4 ปีที่แล้ว +1

    @Quoc Dang once I complete the "import loaded vector" command and my elevation values are gone in the new "contours_vector" layer which probably causes my QGIS to crash the 2d to 3d step.... I have tried both QGIS with GRASS 3.10 and 3.12. Both fail.... Any ideas how to fix this?

  • @rbcadigeotecnologias6960
    @rbcadigeotecnologias6960 8 ปีที่แล้ว +1

    Very good, thankyou!

  • @seyramaguadze6025
    @seyramaguadze6025 3 ปีที่แล้ว

    I keep getting "Finished with error". When I get to V to 3D.. and I don't get an output file??

  • @pinkivyagr4481
    @pinkivyagr4481 2 ปีที่แล้ว

    sir how do we get contour text in cad from qgis

  • @glennkam8797
    @glennkam8797 5 ปีที่แล้ว

    Can you please show how to compute volume from Google Earth into QGIS?

  • @1x3lol1x3
    @1x3lol1x3 2 ปีที่แล้ว

    Hi if is it the other way around like i have the DXF and i want to upload it to qgis?

  • @alialhameedi990
    @alialhameedi990 3 ปีที่แล้ว

    Thank you so much

  • @evintini8363
    @evintini8363 6 ปีที่แล้ว +1

    great tutorial, thanks! I am following all steps but when converting to 3d vectors the Column with height values field has only one option (cat) although the attribute table includes the elevation column. Any ideas?

    • @alexr4926
      @alexr4926 4 ปีที่แล้ว

      did u find the answer ?

  • @joebrennan648
    @joebrennan648 7 ปีที่แล้ว +4

    As far as I'm aware, GRASS plugin is no longer available through QGIS? Any ideas what to do?

    • @quocdang7024
      @quocdang7024  7 ปีที่แล้ว

      I'm not aware of this, I haven't upgraded to the latest QGIS. Have you tried posting your question over here gis.stackexchange.com/ ?

    • @iHaveContrl
      @iHaveContrl 7 ปีที่แล้ว +2

      Joe. GRASS is still available dude.
      I'm using QGIS version 2.18.9 with GRASS 7.2.1, they are the latest at the moment.
      I uninstalled my old QGIS version first;
      I went to GRASS website and installed the GRASS package in a separate directory planet.qgis.org/planet/tag/grass/
      and then installed QGIS version 2.18.9 after.
      When I run the software, I run with the QGIS desktop 2.18.9 with GRASS 7.2.1, then you should be able to search the plugin GRASS7.
      (or maybe you should be able to search GRASS7 if you are using the latest QGIS version, idk, I just did the long way to hope everything work ok...)

    • @benwalters3825
      @benwalters3825 6 ปีที่แล้ว

      I recently downloaded qgis and it came with qgis with grass as separate install and I had no idea what it was for until this video ,

    • @ticoyderek
      @ticoyderek 10 หลายเดือนก่อน

      It helped me to download the old version 2.14

  • @antonioandrearq
    @antonioandrearq 4 ปีที่แล้ว

    I know this is an old post but were can i find tutorial from the begining to make contour lines from a specific site location and extract those curve to CAD.
    It is possible to extract existent building and roads from surroundings?

  • @JMSculptureDesigns
    @JMSculptureDesigns 5 ปีที่แล้ว

    please, can you make please a tutorial on how to grab elevations from google earth /and contours from qgis/ into revit, your tutorial is very good but for me it's too complicated...PLEASE i'm trying to import elevations terrain into revit since 2 weeks everyday but revit doesn't no recognize any dwg or dxf, so please HELP me, i never seen in my life something so difficult...please sir help me or show me how to the simple way or a good way explained please, thank you

  • @rikschoeman6636
    @rikschoeman6636 3 ปีที่แล้ว

    hey, After choosing for import vector with the Grass tool, you have to choose for a loaded layer. How do you make this layer? or Where you make this layer?

  • @bowtechbob6
    @bowtechbob6 6 ปีที่แล้ว

    Awesome! Thank You!

  • @MS-xk1ne
    @MS-xk1ne 7 ปีที่แล้ว

    Open Mapset is greyed out for me so I am unable to click on it. What do you need to do for you to be able to access it? I can't create a new Mapset as this is greyed out also. :/ I have looked online and can't seem to find anything trouble shooting this.

  • @benwalters3825
    @benwalters3825 6 ปีที่แล้ว

    very useful , cheers !!!!!!!

  • @ashrafkutty5183
    @ashrafkutty5183 6 ปีที่แล้ว

    i got the dxf file out put but the contour limit size is very small in open cad.I think may it should be scaled multiple of thousands.some one could advise me?

  • @nedpadilah
    @nedpadilah 3 ปีที่แล้ว

    thanks

  • @TheForge10
    @TheForge10 4 ปีที่แล้ว

    Went to find GRASS in the plugins , its not listed.

    • @despoinamountogiannaki4832
      @despoinamountogiannaki4832 4 ปีที่แล้ว

      hi, same problem, did you find it somehow?

    • @iancorrea8472
      @iancorrea8472 3 ปีที่แล้ว

      same problem i cant find grass in the plugins

    • @despoinamountogiannaki4832
      @despoinamountogiannaki4832 3 ปีที่แล้ว

      ​@@iancorrea8472 there is seperate app in the latest qgis

    • @ticoyderek
      @ticoyderek 10 หลายเดือนก่อน

      It helped me to download the old version 2.14

  • @benwalters3825
    @benwalters3825 6 ปีที่แล้ว

    Hi , I just realised i have a bit of a problem , when I go to convert 2d contour to 3d by attributes- when I look for which attribute to get the elevation data, I am only given 4 options when attribute table contains many more columns including the one i need named "elevation"

    • @benwalters3825
      @benwalters3825 6 ปีที่แล้ว

      p.s. I just found out what my problem was - elevation column was classed as "string", to fix this I had to make new column and do function see this link - gis.stackexchange.com/questions/75021/convert-string-to-integer-in-qgis-tables/75032

  • @maxbloki
    @maxbloki 7 ปีที่แล้ว

    How can I change xy scale? scale factor is just right for z, but xy scale is too small!!!

    • @quocdang7024
      @quocdang7024  7 ปีที่แล้ว

      What program is it too small in, Autocad?

    • @maxbloki
      @maxbloki 7 ปีที่แล้ว

      When I export from Qgis the dxf file and then import it into autocad z scale is right, but xy are not!!! thei are too small!!!

    • @properrhino
      @properrhino 7 ปีที่แล้ว

      Massimiliano Blocher I’m facing the same problem, Maybe the solution is in QGIS csr settings . Could you figure out the solution?

  • @iHaveContrl
    @iHaveContrl 7 ปีที่แล้ว

    I got an error "Unable to open Data source": (FIXED)
    When I tried to do the import vector thingy, choice loaded layer (.shp) and when I clicked the "Run", i got an error saying "Unable to open Data source"
    I'm using QGIS version 2.18.9 with GRASS 7.2.1, they are the latest atm so shouldn't be a problem...
    is it because of the .shp file?

    • @iHaveContrl
      @iHaveContrl 7 ปีที่แล้ว

      Through an hour investigation, the .shp file you use in QGIS can only be used from a directory of all English letters without any special characters, or an error "Unable to open Data source" will occur, kinda stupid really.
      I fixed it by moving all my .shp files to my desktop and re-imported into QGIS.

  • @ognjenkralj4012
    @ognjenkralj4012 4 ปีที่แล้ว

    My Z is always 0. How to fix it?

    • @svvine5803
      @svvine5803 4 ปีที่แล้ว

      I have the same problem. No height values when I import it into my other software. Did you find a fix?

    • @ognjenkralj4012
      @ognjenkralj4012 4 ปีที่แล้ว

      @@svvine5803 No, i still have that problem.

  • @renueenergia9617
    @renueenergia9617 11 หลายเดือนก่อน

    thanks