VRT File Parameters

I've found the example VRT file to import a CSV file containing point data and have been using that quite a bit. Is it possible to import line and polygon data from a CSV file? If so, what are the VRT file tags to do that? Is there any additional documentation on the VRT file tags?

Thanks.

Parents
  • Rod,

    Attached is a set of sample CSV files and related VRT file defined as...

    ...which makes use of WKT geometry field encoding for points, lines and polygons. After opening the example VRT file, the "Interoperability" application displays the following...

    ...with an "Import" resulting in the following feature instances...

    ...and "Analyze Feature" showing both business and geometric properties, as well as the WKT property...

     ...which you may want to disable in the "Interoperability" application prior to performing the "Import" operation.

    Regards,

    Jeff Bielefeld [Bentley]



    vrt_geometries1.zip
  • Why in Map SS4 using the same example it shows as duplicates?

  • I performed a quick test of this as well. I got the same result as Dan (i.e. single entries, not duplicate).


     This is a test

  • When you select the Add File... item twice, it will duplicate the entries in the Import node.  



  • It does this by itself. See video -

  • After viewing the steps you use to Add the File, we see that the Features are added twice when you use the "Selected Files" option. 

    If you collapse that field, and just allow the file to be added from the File name: field, the Features are only added to the Import node once.

    This has been reported in Defect # 388403 [Map Interoperability], and will be addressed the Development staff.



  • Why Bentley Map expects that layer name should match CSV name? I am not able to import multiple layers from one CSV file if it contains many geometries.
Reply Children
No Data