Skip to main content
Skip table of contents

Import a codes library

X-PAD Ultimate Survey 1.png | X-PAD Ultimate Build 1.png | X-PAD Ultimate GO 2.png

  • A codes library can be imported from an external file in different formats.

  • Click Job.

  • Click Points/Measurements/Codes.

  • Open the Codes tab.

  • Click Tools and select Load library. Select the format to import.

    image-20250402-140630.png

Import a code list from X-PAD file

  • This option allows to import a code library in X-PAD format (xml).

  • Select Load library X-PAD.

  • Select the X-PAD library from the list of available codes library in X-PAD/_Data/Codes folder.

It is possible to manage the code library and export in X-PAD format using Office Fusion.


Import a code list from ASCII file

  • This option allows to import a code library from an ASCII text file.

  • Select Load library from text file (ASCII).

  • Select the file to import.

  • This selection opens a new window.

    image-20250402-150045.png
    • Scheme: the importation scheme, select Customized or select one of the saved schemes.

    • Separator: set the separation character.

    • Heading rows: set the number of lines composing the header of the file and that have hence not to be imported.

  • Decide which fields are present in the file and in which order. Select a field to enable/disable or click Down or Up to change the order. Click Next.

    image-20250402-150456.png
    • Short code: the name of the code.

    • Long description: the description of the code.

    • Layer name: the name of the layer.

    • Color: the color of the layer. Has to be identifies as “AutoCAD color code” - 1.

      image-20250402-151619.png
    • Line type name: the name of the line type.

    • Symbol: corresponds to the number of the symbol in the symbol manager. “0” corresponds to a point.

      image-20250402-151818.png
    • Symbol size: the size of the symbol. If nothing is entered by default the size will be 0.1 .

    • Point/line: the drawing type.

      image-20250402-151944.png
    • Ignore: allows to ignore this specific field.

  • Check the import preview and click Next.

    image-20250402-150550.png
  • This page allows to save the importation scheme with a name to select it in future.

    image-20250402-150718.png
    • Save scheme: enables/disables the saving of the importation scheme.

    • Scheme name: the name to the scheme to save.

Schemes for import and export are saved as files in the directory X-PAD\_Data\Schemes. Files have *.psc extension.

  • Click Accept to import the codes library.


Import a code list from GeoMapper file

  • This option allows to import a code library in GeoMapper file format.

  • Select Load library from GeoMapper file.

  • Select the file to import the codes.


Import a code list from SCC file

This format is recommended when importing a code list including GIS features

  • This option allows to import a code library as SCC file.

  • Select Load library fromSCC file.

  • Select the file to import the codes.

Prepare a SCC file

  • The SCC file includes codes and GIS features and it is a solution to build a codelist with GIS features in an Excel file.

  • The SCC file contains different columns. A line can define a code or a GIS attribute depending if the first column value is FTR or PAT.

    • FTR: the line is a code. The lines contains instructions on how to create a new survey code.

    • PAT: the line is a GIS feature. The lines contains instructions on how to create a new GIS feature.

  • If the line is FTR (survey code), the column values are:

    1. FTR.

    2. Code ID.

    3. Code decription.

    4. Layer.

    5. (empty)

    6. (empty)

    7. Smart drawing, according to this list.

      image001 (003)-20250929-145131.png
    8. (empty)

    9. Line type.

    10. Color for the code identified by the Hex code.

    11. Number of associated to the code.

  • Below example shows the import of a list of 4 codes. These codes have no GIS attributes.

    2e8259e0-7bca-4304-bdac-fb7d6a0d0544.png
  • This is the result in the software.

    image-20250930-075942.png
  • If the line is PAT (GIS attribute), the column values are:

    1. PAT.

    2. Code to which the GIS attribute is assigned.

    3. Attribute input type (list, real, text, integer, title, date, time).

    4. Title of attribute.

    5. Default entry.

    6. Mandatory field (mandatory or empty).

    7. Number of list options in case the type is list.

    8. List value.

    9. List value.

    10. List value.

    11. etc…

  • We want continue our example including GIS attributes to the defined codelist. In particular we want to add these attributes:

    • Building: the code includes a number attribute as house numbering (mandatory).

    • Manhole: the code includes a number as diameter (mandatory and 60 by default) and a list with the manhole utility (mandatory).

    • Tree: the code includes a number as diameter, a text as additional notes and a list with tree type (mandatory).

  • This example includes the previous codes with the additional GIS attributes. Download the example here: Codelist_2.csv

    image-20250930-081104.png
  • These are the codes in X- PAD after the codelist has been imported. The codes B, MH and TR have GIS attributes.

    image-20250930-081256.png
  • And the GIS features.

    image-20250930-081654.png

Import a code list from LandXML

  • This option allows to import a code library as LandXML file.

  • Select Load library from LandXML.

  • Select either to add codes to the current library or to create a new library.

  • Select the file to import the codes to the existing library or create a new library.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.