Import Geometry XML - Blank File

Hello!

I am trying to take horizontal alignments w/ their respective profiles that were originally created in V8i and import them into a new DGN via an XML file. I go into PowerGEOPAK V8i, select the geometry, go to Horizontal Reports, and save as an XML. I can open this XML and it appears sound. The horizontal and vertical definitions are there. Of note, it is indicating XML version 1.0 in these files (not sure if this has anything to do with it or not). When I go into OpenRoads Designer (CE 2021 R2), I go to Geometry, Import/Export and select my .XML file. On the Import Geometry dialog box that comes up, the top portion shows a checkbox with "LandXML...", but there is nothing below that like there normally would be, eventually showing the alignment names to be imported. I can check the box and resize the dialog, but nothing shows up. If I check the box and still hit Import, there is nothing brought into the DGN file. 

The horizontal alignments are very simple (two alignments, each just a tangent line). The names shouldn't be an issue ("PRA" for horiz and "PRA_PG" for vertical).

Any ideas why this is not importing?

Thanks in advance all!

Ken

  • Hello Ken,

    If possible, can you please share .XML file so that I can test it at my end and provide possible solution at the earliest ?

    Also, please confirm exact version number of PowerGeopak V8i through which you have created XML file. 

    https://communities.bentley.com/products/road___site_design/w/road_and_site_design__wiki/36609/video-import-xml-file-in-openroads-designer 

    Regards,

    Purva Lakde 

  • Thanks for the reply, Purva. V8i 08.11.09.918. XML is attached.

    <?xml version="1.0" encoding="iso-8859-1"?>
    <InRoads productName="Bentley Civil" productVersion="08.11.09.xx" linearUnits="Imperial" angularUnits="Degrees" isInternationalFoot="false" commandName="Geometry Report">
      <GeometryProject name="Default" file="H:\Projects\ORD\OR_Alignments.dgn" lastRevisedDate="9/20/2022 07:35:48">
        <HorizontalAlignment name="PRA" lastRevisedDate="4/9/2020 11:39:28" area="0.000000000" perimeter="550.000000000" closingDistance="550.000000000" closingDirection="3.152314618670" closingPrecision="3.280833333" northingClosingError="549.968386156" eastingClosingError="5.896967806" fromFeature="false">
          <HorizontalElements>
            <HorizontalLine length="550.000000000" direction="0.010721965080" elementNumber="1">
              <Start northing="296227.307716984" easting="802682.524846305" elevation="1059.875973645" pointType="POB" type="POB">
                <station internalStation="104700.000000000" externalStation="104700.000000000" externalStationName="" />
              </Start>
              <End northing="296777.276103140" easting="802688.421814111" elevation="1062.318373645" pointType="POE" type="POE">
                <station internalStation="105250.000000000" externalStation="105250.000000000" externalStationName="" />
              </End>
            </HorizontalLine>
          </HorizontalElements>
          <HorizontalCurveSets>
            <CurvesetPoint curveSetID="0" tangentDirectionStart="0.010721965080" pointType="POB" type="POB" curveSetStartElement="1">
              <GeometryPoint northing="296227.307716984" easting="802682.524846305" elevation="1059.875973645" pointType="POB" type="POB">
                <station internalStation="104700.000000000" externalStation="104700.000000000" externalStationName="" />
              </GeometryPoint>
            </CurvesetPoint>
            <CurvesetPoint curveSetID="1" tangentDirectionEnd="0.010721965080" pointType="POE" type="POE" curveSetStopElement="1">
              <GeometryPoint northing="296777.276103140" easting="802688.421814111" elevation="1062.318373645" pointType="POE" type="POE">
                <station internalStation="105250.000000000" externalStation="105250.000000000" externalStationName="" />
              </GeometryPoint>
            </CurvesetPoint>
          </HorizontalCurveSets>
          <HorizontalTraversePoints />
          <HorizontalEventPoints />
          <VerticalAlignment name="PRA_PG" lastRevisedDate="4/9/2020 11:39:28">
            <VerticalElements>
              <VerticalLine length="430.000000000" grade="0.00568000000000">
                <VerticalStart northing="296312.302831209" easting="802683.436195875" elevation="1059.875973645" pointType="POB" type="POB" PVItoPVIVerticalAhead="2.442400000" PVItoPVIHorizontalAhead="1410.758333332" PVItoPVISlopeAhead="1410.760447554">
                  <station internalStation="104785.000000000" externalStation="104785.000000000" externalStationName="" />
                </VerticalStart>
                <VerticalEnd northing="296742.278114930" easting="802688.046552523" elevation="1062.318373645" pointType="POE" type="POE" PVItoPVIVerticalBack="-2.442400000" PVItoPVIHorizontalBack="-1410.758333332" PVItoPVISlopeBack="1410.760447554">
                  <station internalStation="105215.000000000" externalStation="105215.000000000" externalStationName="" />
                </VerticalEnd>
              </VerticalLine>
            </VerticalElements>
            <VerticalEventPoints />
          </VerticalAlignment>
        </HorizontalAlignment>
      </GeometryProject>
    </InRoads>

  • I might be missing something, but why not just import the .gpk file when using Import Geometry?  I don't think there is a need to create a .xml file for the alignments.

  • Hi Ken,

    These don't look to be "proper" LandXML files eg. they contain "HorizontalAlignment" elements and not the standard "Alignment", etc. Although they are XMLs, I dont believe they are formatted as LandXMLs?

    Regards,

    Mark


    OpenRoads Designer 2022 R1 (10.11)  |  Microstation CE Update 17.2 |  ProjectWise CE 3.4

  • Correct J, that would be our typical work flow internally. There was a concern that there is something wrong with our XML files in the instance where we don't want to share the entire GPK file.