New answers tagged cad
I think the repository you are looking for is https://github.com/olivierdalang/CadInput. Plugins-Manage and install plugins and you can give the repository there in order to install and use this plugin.
You have commented "when i georef the shapefile" which makes me think your procedure is astray. Perhaps you are defining a Projected Coordinate System on a shapefile in a Geographic Coordinate System (which has lat/long values) i.e. using Define Projection when you need the Project tool. You should be georeferencing the CAD file not the shapefile. There ...
If your organization uses AutoCAD, I would suggest to have a look at ESRI's "ArcGIS for AutoCAD" product. It should theoretically allow a much more streamlined working process between AutoCAD and ArcGIS, where both your ArcGIS and AutoCAD users, can use and edit the same datasets stored in an ESRI Geodatabase via editable webservices. See here for the ...
Edit: just seem the size of your data. I'm no expert on Leaflet at that scale. As said above, it could work with Geoserver, but I can't imagine that amount of JSON loading successfully. Tom (qgis2leaf dev)
Just found a solution to the problem. The CAD file was made of many line segments instead of one single line. We used SAGA's line simplification. Performance was significantly increased and the output displays properly. Zooming in however crashes the browser though.
You have to do some work in AutoCAD before you will be able to successfully import. I don't think I've ever come across a drawing that imported exactly as expected. You need to understand the drawing itself in its native format, what layers are visible, which are frozen, if you have blocks, linked files, how complex are the blocks, where are the annotations ...
When you use 'Add Data ...' to add a CAD file to a map, ArcMap creates a layer for each geometry type e.g. point, line, polygon, anno, and puts all the CAD features of a given geometry type into the respective map layer. As you've noticed, this is hardly ideal. You should be able to see the original CAD layer as an attribute in the features. e.g.
You could try to get rid of unnecessary attribute data or simplify the geometry for the webapp (see How to get a Leaflet app with a big GeoJSON file to work on mobile devices? ) but the better choice would be to setup something like Geoserver and work with a wms-service. By the way: how many features does your layer contain?
Top 50 recent answers are included