Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ALIM | Exor
  • Product Communities
  • AssetWise
  • ALIM | Exor
  • Cancel
ALIM | Exor
ALIM | Exor - Wiki AWLRS: export is showing error: OGR Error. Attempt to write feature failed.
    • Sign In
    • -Exor - Wiki
      • +ALIM Document Manager
      • An Attempt to Reset Your Password Has Failed
      • -AWLRS
        • AWLRS and Spatial Manager - Questions and Answers
        • +AWLRS 1.3.x versions
        • +AWLRS 1.2.x versions
        • +AWLRS 1.1.x versions
        • -AWLRS Troubleshooting
          • exporting a shapefile from AWLRS and Importing into ArcMap sometimes produces a blank attribute table
          • AWLRS error: the node id of the node could not be retrieved.
          • A New Layer Doesn’t Appear In Maps
          • Layer or part of a layer disappears after enabling Edit
          • Node error messages when editing in AWLRS
          • AWLRS login window is not displayed
          • 'Invalid Attribute supplied' error in the Advanced Search dialog
          • After an unsplit or an unmerge I don't see any changes to the parent route members
          • AWLRS : Cannot locate asset on network type.
          • AWLRS is not working: Network or configuration error
          • AWLRS More rows to export
          • AWLRS: export is showing error: OGR Error. Attempt to write feature failed.
          • AWLRS: export to scv is showing error: PLS-00103
          • I can't see the cursor blue dot when I digitize a datum
          • The error “An Internal Server Error occurred. [object Object]”
          • The [Code to Execute] field in the Process Types form is read-only
          • User is unable view the network.
          • ORA-20000: Upgrade of "AWLRS" from v x.x.x.x t v y.y.y.y not allowed
        • Learning
        • +How To
        • Resolve potential date / time issue in the Exor database
        • +Transportation Data Loader
      • +Exor Asset Manager
      • +Exor CIM / FIM
      • +Exor Document Manager
      • +Exor Enquiry Manager
      • +Exor Information Manager
      • +Exor Information Manager TMA Reporting Pack
      • +Exor Maintenance Manager
      • +Exor Maintenance Mobile
      • +Exor MapCapture
      • +Exor MapCapture (ESRI)
      • +Exor MCI MapCapture Interface
      • +Exor Network Event Manager
      • +Exor Network Manager
      • +Exor Oracle
      • Exor Problems and Solutions
      • +EXOR product placeholder
      • Exor Public Enquiry Manager API
      • +Exor Schemes Manager
      • +Exor Spatial Manager
      • +Exor Street Gazetteer Manager
      • Exor Streetworks Manager
      • Exor Streetworks Mobile
      • +Exor Structures Manager
      • Exor Structures Mobile
      • +Exor TMA Noticing Manager
      • +Exor TMA Permitting Manager
      • +Exor UKPMS
      • Remove @ from the AWLRS Local Password Policy
      • +Transportation Intelligence Gateway
      • Unable to connect to Power BI dataset
      • +Video Series for Exor
      • Working From Home with Exor
    • +AssetWise ALIM for Transportation
    • How To Import SSL Certificate 11g Weblogic

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

    AWLRS: export is showing error: OGR Error. Attempt to write feature failed.

      Product(s): AWLRS
      Version(s): 1.2.x.x
      Environment: N/A
      Area: Other
      Subarea: N/A

    Error or Warning Message

    A user cannot export some layers to shapefile. Please see below the error message

    .

    How to Avoid

    It looks like some assets have incorrect geometry type records. You can find it using steps below:

     

    1. in Exor form go to Launchpad>exor>GIS Data>GIS Layer Tool, click on Asset Layer under Asset Manager, in Asset tab chose the exported asset type and click on "Get Themes" button and note the name of spatial table.

    2. By running script below make sure that spatial table contains different geometry type records. Do not forget to change the table_name to the name of spatial table from step 1.

      select s.geoloc.sdo_gtype, count(*) from table_name s
      group by s.geoloc.sdo_gtype;

    3. If step 2 came back with more that one entry. Then most probably one of these records has geometry type value -point 3301. The following script will help to find such entries

      select * from table_name t
      where t.ne_id in (select i.ne_id from table_name i where i.geoloc.sdo_gtype=3301)
      order by t.ne_id
       

    See Also

      Original Author: NT
    • AWLRS
    • Share
    • History
    • More
    • Cancel
    • NT Created by Bentley Colleague NT
    • When: Thu, Nov 18 2021 5:30 AM
    • Pano Voudouris Last revision by Bentley Colleague Pano Voudouris
    • When: Fri, Apr 8 2022 7:52 AM
    • Revisions: 2
    • 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