wktformat

This tiny tool formats a WKT/WKT2 string.

Examples

wktformat64 -i wkt.txt

formats the WKT string in file wkt.txt and print the result to the console.

wktformat64 GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]

formats the input string as argument. Result is

GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563,
            AUTHORITY["EPSG","7030"]],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0,
        AUTHORITY["EPSG","8901"]],
    UNIT["degree",0.0174532925199433,
        AUTHORITY["EPSG","9122"]],
    AUTHORITY["EPSG","4326"]]

wktformat specific arguments

-i [n] : input file or input string
-flat : output as flat WKT (1 line)
-indent [n] : indent each output level by [n] spaces

if only one argument is given this is assumed as input string or input file (ending .txt or .wkt)

Licensing

This tool is free to use.

Support

  1. We invite you to join our LAStools Google Group (http://groups.google.com/group/lastools/). If you are looking for information about a specific tool, enter the tool name in the search function and you’ll find all discussions related to the respective tool.

  2. Customer Support Page: https://rapidlasso.de/customer-support/.

  3. Download LAStools: https://rapidlasso.de/downloads/.

  4. Changelog: https://rapidlasso.de/changelog/.

If you want to send us feedback or have questions that are not answered in the resources above, please email to info@rapidlasso.de.