Skip to content

Commit 0754533

Browse files
committed
Improve formatting
1 parent 9fdd516 commit 0754533

File tree

1 file changed

+37
-30
lines changed

1 file changed

+37
-30
lines changed

README

Lines changed: 37 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Geometry command line library.
22
==============================
3-
Geometry commands is a command line library for processing geometry that follows the unix philosophy. Each command does one thing well (buffer, centroid, envelope) by reading in a geometry, processing the geometry, and writing the geometry out as WKT. Individual commands can be connected with unix pipes.
3+
Geometry commands is a command line library for processing geometry that follows the unix philosophy. Each command does one thing well (buffer, centroid, envelope) by reading in a geometry, processing the geometry, and writing the geometry out as WKT. Individual commands can be connected with unix pipes. For more information please visit the `web site <http://jericks.github.com/geometrycommands/index.html>`_.
44

55
Libraries
66
---------
@@ -13,35 +13,42 @@ Args4J:
1313

1414
Examples:
1515
---------
16-
Geometry input with -geom argument
17-
>>> geom buffer -geom "POINT (10 10)" -d 2
18-
19-
Geometry input using Standard input stream
20-
>>> echo "POINT (10 10)" | geom buffer -d 20
21-
22-
Piping results of one geometry command to another
23-
>>> geom buffer -g "POINT (10 10)" -d 2 | geom envelope
24-
25-
Contains
26-
>>> echo "POINT (0 0)" | geom buffer -d 10 | geom contains -other "POINT (5 5)"
27-
true
28-
>>> echo "POINT (0 0)" | geom buffer -d 10 | geom contains -other "POINT (25 25)"
29-
false
30-
31-
Buffer a point, get coordinates, draw coordinates to image, and open the image
32-
>>> echo "POINT (10 10)" | geom buffer -d 5 | geom coordinates | geom draw && open image.png
33-
34-
List available geometry commands:
35-
>>> geom list
36-
list
37-
buffer
38-
centroid
39-
contains
40-
convexHull
41-
draw
42-
difference
43-
envelope
44-
intersection
16+
Geometry input with -geom argument::
17+
18+
>>> geom buffer -g "POINT (10 10)" -d 2
19+
20+
Geometry input using Standard input stream::
21+
22+
>>> echo "POINT (10 10)" | geom buffer -d 20
23+
24+
Piping results of one geometry command to another:
25+
26+
>>> geom buffer -g "POINT (10 10)" -d 2 | geom envelope
27+
28+
Contains::
29+
30+
>>> echo "POINT (0 0)" | geom buffer -d 10 | geom contains -o "POINT (5 5)"
31+
true
32+
33+
>>> echo "POINT (0 0)" | geom buffer -d 10 | geom contains -o "POINT (25 25)"
34+
false
35+
36+
Buffer a point, get coordinates, draw coordinates to image, and open the image::
37+
38+
>>> echo "POINT (10 10)" | geom buffer -d 5 | geom coordinates | geom draw && open image.png
39+
40+
List available geometry commands::
41+
42+
>>> geom list
43+
list
44+
buffer
45+
centroid
46+
contains
47+
convexHull
48+
draw
49+
difference
50+
envelope
51+
intersection
4552

4653
Build
4754
-----

0 commit comments

Comments
 (0)