Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenCities Map
  • Product Communities
  • Geospatial
  • OpenCities Map
  • Cancel
OpenCities Map
OpenCities Map Wiki - Assign attributes when importing Shapefiles
    • 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. 

    - Assign attributes when importing Shapefiles

    On occasion, the shapefile you're importing has attributes with different names than those defined in your project schema. For example, the Roads.shp file may contain the following attributes:

      And your task is to import them as Street features that has the following attributes:

    In this example, the following attributes from the incoming Road feature need to be remapped to specific attributes in the Street feature.

    OBJECTID > SegmentID

    NAME  >  Name

    TYPE  >  StrType

    STREET  >  FullName

    SPEED  >  RevSpeed

    The following describes the workflow to achieve this.

    From the Map Interoperability dialog, and the Imports tab, create a new import for the Shapefile.

    In the Feature Parameters panel, select the destination feature name from the Mapped Name pick list.  Note that only those features from your schema that have the same geometry type will be listed.

    Reveal the properties of incoming shapefile by selecting Show Properties from the feature right-click menu.  They will be shown in alphabetical order.

    To remap the property, navigate to Property Parameters and choose the new property from the list in the Mapped Name field.  The properties shown in the pick list are those defined for the feature in your project schema.

    Import your data.

    The values of mapped properties are inserted, while the others will be left blank.  They can be filled in later using the Data Browser or the Edit Feature tool.

    The newly imported features will adopt the symbology of the feature definition in your schema.

    • XFM
    • Interoperability
    • Bentley Map
    • Shapefile
    • Share
    • History
    • More
    • Cancel
    • Keith Raymond Created by Keith Raymond
    • When: Fri, Aug 17 2012 2:23 PM
    • Inga Morozoff Last revision by Bentley Colleague Inga Morozoff
    • When: Tue, Jun 19 2018 5:09 PM
    • Revisions: 5
    • 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