Improve performance when importing from OpenStreetMap

As was said in another post from this Blog, the display of the Import parameters window is often delayed when importing some “heavy” data sources in AutoCAD or BricsCAD

OpenStreetMap stands out as one of the ‘Spatial Manager’ data providers that is commonly used for the massive import of spatial data

Importing from OpenStreetMap to AutoCAD or BricsCAD

Importing from OpenStreetMap to AutoCAD or BricsCAD

Related videos: AutoCAD / BricsCAD

The delay effect occurs because a preliminary process that requires the reading of data fields (not of the data itself) from the table being imported. This process can be quite complex depending on the number of existing fields in the incoming table, which may be very high when importing from OpenStreetMap

Why is it necessary to review the data fields before importing?
The user can configure multiple import parameters based on the values of certain fields in the imported table. These parameters can be the Layer, Elevation or Thickness of the imported objects, some parameters for Block insertions when used for point elements, the Label text when labeling the objects, and more. ‘Spatial Manager’ firstly needs to review the data fields to show the user the different options available for selecting these parameters

What can be done to improve the overall importing process?
If you do not need to use these parameters, it is not necessary to waste time (sometimes it can be a long time) in the process of reviewing the data fields in the OpenStreetMap table to import. ‘Spatial Manager’ has a “Skip” Button that allows you to quickly cancel fields reading and go directly to the import parameters window, which will accelerate the global process when you do not want to define any parameter based on the field values

Reading OSM fields

Reading OSM fields

You can choose to use this Button or not in your own tests or projects. Or you may want to use it first in order to get a quick preview of the OpenStreetMap data in your drawing, and then running the definitive importing process where you will let ‘Spatial Manager’ perform the full importing tasks

You can also take advantage of the advanced Field options of the OpenStreetMap data provider. Please read this Blog post to find out how

Learn more about Importing with ‘Spatial Manager’ in the Technical Wiki of ‘Spatial Manager for AutoCAD’ or ‘Spatial Manager for BricsCAD’