Convert geom file formats - CNR-Engineering/PyTelTools GitHub Wiki

File formats are documented on a separate document.

Points set

Input Output
xyz xyz PointZ csv
Point Point PointZ csv
PointZ Point PointM PointZ xyz csv
PointM PointM PointZ csv
MultiPoint MultiPoint Point csv
MultiPointZ MultiPointZ PointZ csv
MultiPointM MultiPointM PointM csv

Lines set (open and closed)

Input Output
i2s i2s Polyline Polygon csv
i3s i2s i3s PolylineZ PolygonZ csv
Polyline Polyline PolylineZ i2s csv
PolylineZ Polyline PolylineZ i2s i3s csv
PolylineM PolylineM PolylineZ i2s i3s csv
Polygon Polygon PolygonZ i2s csv
PolygonZ Polygon PolygonZ i2s i3s csv
PolygonM PolygonM PolygonZ i2s i3s csv

Output parameters

For a given input file format and depending on the output file format, some parameters are necessary to build the output.

  • Attribute name: specify attribute name to write elevation for PointZ(M) outputs
  • Fill Z with: select the attribute (or Z geometry coordinate) to fill Z
  • Fill M with: select the attribute (or M value from the geometry) to fill M
  • Fill attribute with: ?FIXME

Lines can be resampled by maximum length with a constant value or an attribute (whose value may vary from each line). Each resampled line corresponds to its original points populated with intermediate points to insure that all consecutive points are less distant than the maximum length (maximum length could not be less or equal to zero).

Interface

Convert geom files A Convert geom files B

⚠️ **GitHub.com Fallback** ⚠️