Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
Bentley Map | OpenCities Map
  • Product Communities
  • Geospatial
  • Bentley Map | OpenCities Map
  • More
  • Cancel
Bentley Map | OpenCities Map
Bentley Map | OpenCities Map Wiki - Export arcs and stroking tolerance
    • Sign in
    • -Bentley Map | OpenCities Map Wiki
      • -OpenCities Map
        • Working from home with OpenCities Map
        • +Release Information
        • +Installation Information
        • +Getting Started
        • +Administration
        • +General Topics
        • +Geospatial Administrator
        • -Interoperability
          • - Add properties to MicroStation elements without a Map project
          • - Add properties to SHP files using Map
          • - Apply symbology when importing Esri Shapefiles
          • - Assign attributes when importing Shapefiles
          • - Connect to ESRI File Geodatabase
          • - Convert numerical properties upon import from SHP
          • - Create a join between Microsoft Excel and Esri Shapefile data
          • - Create join to SHP file to update properties
          • - Export arcs and stroking tolerance
          • - Export textures to CityGML
          • - Export thematic symbology to MicroStation
          • - Export to Esri Shapefile format
          • - Export to Google Earth, polygon issues
          • - Export to Shapefile makes two Shapefiles
          • - Exporting a DGN to shapefile with properties
          • - File Geodatabase and Custom Coordinate Systems
          • - File Geodatabase reports unknown spatial reference
          • - Import coordinate and property information from an XLS or CSV file
          • - Import INSPIRE GML using FME (Video)
          • - Import multiple folders of Shapefiles by using GDI key-ins
          • - Import Oracle data using VRT
          • - Import requirements for geospatial file formats
          • - Import text strings from point SHP properties
          • - Importing 3D shapefiles with elevation
          • - Interoperability key-ins
          • - Key-in to execute import for an IMPX file
          • - Limitations of Esri File Geodatabase support
          • - MXD files
          • - Protecting Bentley Map design file data in a MicroStation session
          • - Queries are not undoable
          • - Selecting specific feature properties when importing Shapefiles
          • - VRT file parameters to import Points, Lines, and Polygons
          • - VRT files to import ODBC and CSV data sources
        • +Spatial Databases
        • +Spatial Analysis
        • +3D Geospatial
        • +Geographic Coordinate Systems
        • +Troubleshooting
        • +Freeware - Utilities - Applications - Programs
        • +Advanced Map Finishing
        • +Bentley Cadastre
      • Bentley Descartes
      • +Other Geospatial Products
      • +Bentley Map Mobile
      • +Bentley Map Mobile Publisher

     
     Questions about this article, topic, or product? Click here. 

    - Export arcs and stroking tolerance

    Most geospatial data types support points, lines and polygons only. When Bentley Map exports or post features it converts the various MicroStation geometries into one of those types. When there are curves or arcs in the linear or polygon element or when circles or ellipses are transferred these are stroked into line strings using a defined tolerance.

    What can occur is that the tolerance (distance between the original arc and stroked line string) may appear to vary or simpler stated, the transferred element looks very different from the original one. The problem is illustrated in the figure below where the element in blue is stroked with very few line segments (edges) and it doesn’t look any close to the original element in red. For example measurements of the area can be altered in case of polygons if this occurs.

     

    Bentley Map uses a variable to define the stroke tolerance. This tolerance can be adjusted with ECSDK_GEOMETRY_STROKING_TOLERANCE. It represents the maximum distance between the actual element and the approximating line in master units. This configuration variable can be set at environment or workspace level and is used to change the stroking tolerance.

     

    Example

    The problem described above can occur for example when exporting to a TAB file or when the data is stored in an Oracle spatial database, if a non-supported non-linear geometry is encountered while posting to the spatial database (in this example a 3D Arc), the geometry is stroked before being inserted in the database.

    The stroking tolerance is computed based upon the layer tolerance so the variable ECSDK_GEOMETRY_STROKING_TOLERANCE should be set as an optional override to the default stroking tolerance in the Interoperability application.

    In an Oracle spatial project we can set this variable at the workspace level in the Bentley Map Geospatial Administrator under Workspace > Macro.

    The figure below represents as in the first figure the original element in red and the data that was posted and later is queried in blue. This turn when using the stroking tolerance of 0.01 where the original is the red arc and the approximating line is blue the result is considerable improved. In practice, a much smaller stroking tolerance will yield better results.

     

    More information about the exporting features can be found in the Bentley Map Help documentation

    • Oracle
    • Export
    • Stroke Tolerance
    • Interoperability
    • Arcs
    • Bentley Map
    • Share
    • History
    • More
    • Cancel
    • CMartins Created by Bentley Colleague CMartins
    • When: Thu, Aug 1 2013 9:47 AM
    • Inga Morozoff Last revision by Bentley Colleague Inga Morozoff
    • When: Fri, Nov 9 2018 3:14 PM
    • Revisions: 6
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2021 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies