I am working on openlayers and I need to change the dwg format to GeoJSON using ArcGIS. How can i do this?
Indeed, GDAL has the necessary tools to do this. ogr2ogr is a program included in GDAL that can convert various formats , including DWG. If you don't have GDAL yet, here are some good guides for windows and Mac / Linux . The following guide recommends converting to DXF first, since the library for converting from DXF is enabled by default using GDAL. You will need to install some additional dependencies for direct conversion from DWG. If you convert to DXF first, you can use the command line to convert to GeoJson:
ogr2ogr -f GeoJSON ./mynewfile.geojson ./mycadfile.dxf
If you use ArcGIS Desktop, you can use CAD for the geodatabase tool .
GDAL , ogr2ogr, 100%.
Source: https://habr.com/ru/post/1652917/More articles:Oracle SQL Get last row in parentheses (may also contain parentheses) - substringHow to order a query for the sum of two columns in Ecto? - elixirConfigure glmnet hyperparameters and evaluate performance with nested cross validation in mlr? - rРаботники единорога умирают без причины - rubyИлюма Ruby для короткого замыкания, чтобы вернуть сначала не-nil, используя каждый и карту - rubyHow to calculate the amount from the list - Typescript - Angular2 - angularjava.lang.NoClassDefFoundError: permission failed: Ljava / time / LocalTime; - androidAWS Lambda - Sync vs. async - asynchronousHow to check if the Linux user namespace is supported by the current OS kernel - linuxПолучить имя пользователя из Active Directory - c#All Articles