Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenCities Map
  • Product Communities
  • Geospatial
  • OpenCities Map
  • Cancel
OpenCities Map
OpenCities Map Wiki - Export arcs and stroking tolerance
    • Sign In
    • -OpenCities Map Wiki
      • -OpenCities Map
        • - End of Support for Bentley Map V8i (SELECTseries) products
        • +Release Information
        • +Installation Information
        • +Getting Started
        • +Administration
        • +General Topics
        • +Geospatial Administrator
        • +Feature Definitions and Inference Rules
        • -Interoperability
          • - Add properties to MicroStation elements without a Map project
          • - Add properties to Shapefiles using Map
          • - Apply symbology when importing Esri Shapefiles
          • - Assign attributes when importing Shapefiles
          • - Connect to ESRI File Geodatabase
          • - Convert numerical properties upon import from Shapefile
          • - Create a join between Microsoft Excel and Esri Shapefile data
          • - Create Join to Shapefile 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 OpenCities Map Design File data in a MicroStation session
          • - Queries are not undoable
          • - Selecting specific feature properties when importing Shapefiles
          • - Using SharePoint for Cloud storage
          • - VRT file parameters to import Points, Lines, and Polygons
          • - VRT files to import ODBC and CSV data sources
          • Configuring DGN2DB for Access ODBC
        • +Spatial Databases
        • +Spatial Analysis
        • +3D Geospatial
        • +Geographic Coordinate Systems
        • +Troubleshooting
        • +Freeware - Utilities - Applications - Programs
        • +Advanced Map Finishing
      • OpenCities Map Ultimate for Finland CONNECT Edition x64 (SES)
      • OpenCities Map Ultimate for Finland CONNECT Edition - Suomi
      • Bentley Descartes
      • +Other Geospatial Products

     
     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 OpenCities 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.

     

    OpenCities 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 OpenCities 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 OpenCities Map Help documentation.

    • Oracle
    • OpenCities Map
    • Export
    • Stroke Tolerance
    • ECSDK_GEOMETRY_STROKING_TOLERANCE
    • Interoperability
    • Arcs
    • Share
    • History
    • More
    • Cancel
    • CMartins Created by Bentley Colleague CMartins
    • When: Thu, Aug 1 2013 9:47 AM
    • Dan Weston Last revision by Bentley Colleague Dan Weston
    • When: Thu, Jul 7 2022 5:14 PM
    • Revisions: 7
    • 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

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