Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

explain_-aspatial_full.rst_ 1.8 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  1. .. _-aspatial_full:
  2. **-a**\ [*col*\ =]\ *name*\ [,\ *...*]
  3. Control how aspatial data are handled in GMT during input and output.
  4. *Reading OGR/GMT-formatted files*: To assign certain aspatial data
  5. items to GMT data columns, give one or more comma-separated
  6. associations *col*\ =\ *name*, where *name* is the name of an
  7. aspatial attribute field in a OGR/GMT file and whose value we wish
  8. to use as data input for column *col*. In addition, to assign an
  9. aspatial value to non-column data, you may specify *col* as **D**
  10. for *distance*, **G** for *fill*, **I** for *ID*, **L** for *label*,
  11. **T** for *text*, **W** for *pen*, and **Z** for *value* [e.g., used
  12. to look up color via a CPT]. If you skip the leading "*col*\ =" in
  13. the argument then we supply (and automatically increment) a column
  14. value starting at 2. Give just **-a** to select all aspatial items
  15. to be added to the input record.
  16. *Writing OGR/GMT-formatted files*: To write OGR/GMT-formatted
  17. files, give one or more comma-separated associations
  18. *col*\ =\ *name*\ [:*type*], with an optional data type from DOUBLE,
  19. FLOAT, INTEGER, CHAR, STRING, DATETIME, or LOGICAL [DOUBLE]. To
  20. extract information from GMT multisegment headers encoded in the
  21. **-D**\ *distance*, **-G**\ *fill*, **-I**\ *ID*, **-L**\ *label*,
  22. **-T**\ *text*, **-W**\ *pen*, or **-Z**\ *value* settings, specify
  23. *COL* as **D**, **G**, **I**, **L**, **T**, **W** or **Z**,
  24. respectively; type will be set automatically. Finally, you *must*
  25. append **+g**\ *geometry*, where *geometry* is either POINT, LINE,
  26. or POLY. Optionally, prepend **M** for multi-versions of these
  27. geometries. To force the clipping of features crossing the Dateline,
  28. use upper-case **+G** instead. See :doc:`/cookbook/ogrgmt-format`
  29. for details of the OGR/GMT file format.
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...