How to export/import annotations on PIX4Dcloud

Follow

PIX4Dcloud annotations can be exported (and imported) into other PIX4Dcloud projects or third-party software.

IN THIS ARTICLE

Export
Import

Important: Read about the supported coordinate systems for exporting and importing annotations at Georeferencing of datasets, outputs and annotations on PIX4Dcloud.

Export

To export an annotation group:

  1. Ensure each annotation in the group has the desired name and, optionally, a description.
  2. On the left sidebar, select the Annotations layer that needs export.
  3. Click cloud_download.png.
  4. Select the export format from the dialog and click Export.Export_annotations_PIX4Dcloud.jpg

Export formats:

CSV (WGS84 and project coordinate system): It allows exporting the annotations in WGS84 and the project coordinate system.

 

  1. Select CSV file.
  2. The file is exported with .csv extension, and the information included for each of the elements is:
    • Markers: Type, Name, Longitude and Latitude (WGS84), Elevation, creation date, X and Y (Project coordinate system), Project Coordinate system.
    • Lines: Type, Name, Length creation date.
    • Polygons: Type, Name, Perimeter, Area, Creation date.
    • Volumes: Type, Name, Perimeter, Area, Creation date, Volume difference, Cut, Fill.
    • Inspection: Type, Name, Longitude and Latitude (WGS84), Elevation, creation date, X and Y (Project coordinate system), Project Coordinate system.

GeoJSON (WGS84): It allows exporting the annotations in GeoJSON format.

 

    1. Select GeoJSON file.
    2. The file is exported in GeoJSON format. It exports the properties of each of the different types of annotations in the correct units, the tag and description (if exists), the color, creation, and modified date, and whether the annotation is set to visible or not. For each of the annotations, there is a geometry part including the coordinates in WGS84 lat, long, and Z:
      • Line: Line vertex coordinates.
      • Polygon: Polygon vertex coordinates.
      • Circle: It is exported as a polygon, and the geometry part includes the coordinates of each vertex.
      • Volume: The coordinates of boundary vertex.
      • Markers: The coordinates of the markers.
      • Inspections: The coordinates of the inspections.

Shapefile (WGS84): It allows exporting the annotations in SHP format.

 

    1. Select the SHP file.
    2. It will export the SHP, SHX, and DBF files.
      • .shp: The main file that stores the feature geometry. It is given in WGS84 in 2D.
      • .shx: The Index file that stores the index of the feature geometry.
      • .dbf: The dBASE table that stores the attribute information of features.
        • For markers and inspections, the dBAse includes the lat,long and Z value in WGS84.
        • For lines, polygons, volumes and circles, no coordinates are included.
      • .prj: The file that stores the coordinate system information. It contains the WGS84 definition. ESRI format.
Note: Annotations cannot be exported individually. The entire Annotations group is exported at once. Multiple Annotations groups can be created.

Import

To import the annotations:

1. On the left sidebar, click the Annotations layer's name.
2. Click import.png
3. Select the file format from the dialog and click on Import.

Import_annotations_PIX4Dcloud.jpg

Import formats:

CSV points (project coordinate system): It allows importing points in the project coordinate system.

 

     1. Select CSV points.

     2. A dialog will pop up demanding to refer to the file format and the path in the local device.

Important: The format of the file is described here.
  • First column (required): Label (name/ID).
  • Second column (required): Easting coordinate.
  • Third column (required): Northing coordinate.
  • Fourth column (required): Elevation height.
Fields should be separated by commas, and there should be no header. See the following example.
Example: File with 4 points in projected coordinates
001_,4392829.089,5386534.037,424.524
002_,4392772.823,5386545.0894,424.582
003_,4392732.981,5386516.197,424.723
004_,4392761.505,5386468.789,422.646

     3. A dialog will pop up with the total of markers detected and the first maker reading format. CSV_points_annotations_inport_PIX4Dcloud.png

     4. (optional) Click Replace file to select a new CSV file in the local device.

     5. Click Upload to display the marker in the PIX4Dcloud user interface.

GeoJSON (WGS84): It allows importing a GeoJSON file in WGS84.

 

    1. Select  GeoJSON file.
    2. Click on Select file and navigate until the file path on the local device.
    3. The GeoJSON file will be displayed in the PIX4Dcloud editor. 

Shapefile (WGS84): It allows importing an SHP file georeferenced in the project coordinate system.

 

    1. Select SHP file.
    2. Select the files:
      • SHP must be georeferenced in the project coordinate system.
      • DBF.
 
Warning: For shapefile import, the entire folder with the 4 .dbf, .prj, .shp, .shx files should be zipped in a folder (.zip) and the folder imported.

DXF (project coordinate system): It allows importing a DXF file georeferenced in the project coordinate system.

 

    1. Select DXF file.
    2. Select the file:
      • DXF must be georeferenced in the project coordinate system.
 
Warning: The information will not be aligned if the files are imported in a coordinate system different from the one the software expects.
 
Warning: The GeoJSON file has a custom structure to be read by the application. Ensure the imported GeoJSON file reflects the formatting rules of the exported one. To check the format of the file, create some annotations, and export the layer.
Was this article helpful?
2 out of 3 found this helpful

Article feedback (for troubleshooting, post here instead)

0 comments

Article is closed for comments.