We’re rewarding the question askers & reputations are being recalculated! Read more.

Hot answers tagged

27

First you need to project your geographic coordinates to a cartesian 2D coordinate system, since affine transformations don't apply to geographic coordinate systems. You can apply an affine transformation from control points or from transformation parameters. The QGIS plugin asks you transformation parameters, but it is much more common for a user to have ...


14

The Shapefile format is an old format which has no scope for a password or encryption. So all the solutions that you will find, will be built on top of the existing standards, and hence will not be standard across various applications. A solution that will work with ArcGIS will not work with Qgis and so on. Having said that, I have seen a few low-tech ways ...


10

It's super-easy in QGIS 3.0: Run the "Set Z Value" Processing algorithm Click the button on the right of "Z Value", and select Field -> "DYBDE". Run the algorithm. The z values for the geometry's vertices will be set to the value from the DYBDE field. In case you have the values of depths and you want to get elevation values with negative number for ...


8

LibreCAD is one open source project that I found promising. It's GUI is very similar to AutoCAD. This makes it quite easy for AutoCAD users. At present it does not support .dwg format. But you can work on dxf files.


8

@mapperz provided this answer: http://enja.org/enjshape/ This is a great plugin and works like a charm. It is, however, very sensitive to coordinate systems, so I would suggest: make sure your SHP is in LAT/LON (WGS84) start a new sketchup document in 'metres'. Worked for me! Thank you again, @Mapperz! UPDATE This plugin stopped working beyond Sketch-...


7

You'll just need to use a for loop and if statement to find all the files you need. I haven't tested the code below with CAD files but it should be what you're after (or at least provide the structure to do so). # Import system modules import arcpy, os from arcpy import env # Set local variables input_cad_folder = "C:\Users\iegbulefu\Documents\info" ...


6

Given that your autocad version is 12+ years old it may be an issue with autocad dwg or dxf file format version (major format version: http://en.wikipedia.org/wiki/.dwg#Version_history). You should try to open it in a newer version of ACAD, or try saving it into an older format.


6

autocad map 3d will easily geo-reference your dwg/dxf files and allow conversion to 12 gis formats. Unless you add FME desktop also (FME extsion for ArcGIS). Then with FME extended to arcmap and autocad you have all ~275 formats. But doing it through map3d you have access to some particularly useful tools. (i.e. select by layer, color, linetype, or even ...


6

It seems to me that the main problem for you is to introduce some order to your tons of DWG/DXF files with information (in several layers). Regardless of choosing software/tool I can recommend you to describe your data. Here is some thoughts: You should develop some kind of unique codes for all types of your features. It can be one attribute or several or ...


6

Possible error of your geometric operation depends on: overall size of the objects - bigger size increase errors, projection that you use, datum that you use (each datum suits some parts of the Earth more than the others) quality of your data. Generally you don't want to work with unprojected data at all unless there is some specific reasons like finding ...


5

If you're looking for free as in I don't want to pay money for a CAD program, I recommend you look into Draftsight edit: Just in case, you wanted to learn the software or you're coming from AutoCAD, I've developed this tutorial / cheat sheet: http://97.107.136.148/Autocad_tutorial_v1.pdf a few years ago. Unfortunately, since it's a numeric IP address, ...


5

Once you coverted the DWG to DXF you should be able to use GDAL/OGR. Note that you have to use DXF version 2000 (http://www.gdal.org/ogr/drv_dxf.html). I have recently used ogr2ogr with the -gcp (ground control point) option (http://www.gdal.org/ogr2ogr.html) successfully to geolocate DXFs. Thus, with ogr2ogr you can covert the DXF to Shapefile and ...


5

You will need to loop through the layers inside each MXD to check the layer sources. this should look similar to this import arcpy,os,sys,string from arcpy import env env.workspace = r"G:\PROJECTS\daras\gis" for mxdname in arcpy.ListFiles("*.mxd"): print mxdname # print list of mxd's in the folder mxd = arcpy.mapping.MapDocument(r"G:\PROJECTS\...


5

Have you tried a combination of the advanced digitizing tools and reshape features. This will allow to redraw the rectangle. Optional tidy up would be to remove unnecessary nodes on the polygon. Alternatively using the 'Node tool' and dragging the line between two nodes would also work, however there is no control on maintaining angles.


4

Quick guess for question #1: QGIS only projects vertices and your straight lines have only an start- and endpoint?


4

This is a loaded question. You can do a great deal more with map capable versions of AutoCAD than just drafting related activities. Really there are too many possible functions to discuss; especially in reference to the AutoCAD Civil 3D environment. In many cases, a client will have CAD drawings that serve as a starting point in a broader project, or from ...


4

FME can do Shape to AutoCAD Blocks This was modified (for FME 2013) from the original on FMEPedia http://fmepedia.safe.com/articles/How_To/Creating-AutoCAD-Blocks-with-FME Product: FME Desktop http://www.safe.com/fme/fme-technology/fme-desktop/overview/


4

You say that you're open to using FME for this but don't want to run in a Windows environment. Good news, as of FME 2014, FME now runs on a Mac as a "technical preview". With FME, you can bypass many of your intermediate steps and go straight from DWG to Google Earth. I would have open a DWG reader and connect it to a Trimble Sketchup Writer. You can ...


4

JPG is not a spatially aware raster format, and the process by which different programs independently georeference rasters and save that transformation information doesn't necessarily transfer. I see two potential options. In CAD export the image as a georeferenced tif file (you may or may not be able to do this depending on what software you have), or ...


4

While I don't know exactly what method you used to georeference, it sounds like you have a georeferenced image and CAD data with no defined projection. The steps you performed and the order in which you did it is going to dictate the outcome. If you added the image and cad data to a map document, then your dataframe should have been set to projected NAD83 (...


4

I'm pretty sure you have to use the add data button. http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?TopicName=Adding_CAD_data_to_ArcMap


4

2 options, issue caused by CAD not using real world coordinates (map projection vs CAD model space): In CAD, use the align command to move data from current CAD coordinate to real world coordinates. in GIS Georeference the CAD drawing, i.e. move the data to where ti fits over the photos and then save data as GIS data. The first option alters the CAD data ...


3

I haven´t tried any of those yet, but these might be worth taking a look: FreeCAD, BRL-CAD, Archimedes


3

You can also look into the AutoCAD university. Free one year edu license and all the tutorials you can stand. That being said, I am on the other side of the fence and use GIS in Public Works. Engineerinfirms give us spatially correct surveys, plats, etc., and I add the tabular data that goes with it. Understanding the concept s of both are key. How they are ...


3

As a person with this background I can talk directly to that topic. What employers are often looking for is people that have production linework experience; or the ability to do solid and consistent data creation work. CAD is often a lot less subjective; whereas GIS with is background in Enviro/Planning arenas has less of a rigid expectation.CAD shops often ...


3

I am in the GIS department of a civil engineering project and when I was hired, the job specification stated that CAD experience was ideal but not essential. I was hired even though I had no experience of CAD and have subsequently been given some cursory training in Civil 3D. In a project of this scale the requirement for the GIS staff to 'know CAD' is ...


3

It sounds like you have some major batch processing and therefore, I would be inclided to script this. Doing this all by hand might be feasible but a pain. At least with a script, if you muck something up you can just correct the script and re-run. Also, you have a chance to unify a lot of the non-standard naming etc by using regular expressions and ...


3

If you have access to an ArcEditor (Standard) or ArcInfo (Advanced) license of ArcGIS Desktop there is a tutorial available on Using geodatabase topology to fix line errors such as undershoots and overshoots. Unfortunately, the options for ArcView (Basic) are more manual and will involve extending lines and or trimming lines.


3

I have been developing a personal open source project. I have placed it on GitHub. It works for SketchUp v14 and v15. Please make sure coordinates are in WGS 1984 Geographic Coordinates. You will also need to geo-locate your model. Right now it only supports points and polylines, but other types will be coming soon. It is in beta, and I will place it in the ...


3

In ArcMap a DXF file is read only so you need to export it, there is no alternative. Use the CAD to Geodatabase tool.


Only top voted, non community-wiki answers of a minimum length are eligible