1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/bin/sh
#
# Use example programs to create a very simple dataset that
# should display in ARCView II.
#
shpcreate test polygon
dbfcreate test.dbf -s Description 30 -n TestInt 6 0 -n TestDouble 16 5
shpadd test 0 0 100 0 100 100 0 100 0 0 + 20 20 20 30 30 30 20 20
dbfadd test.dbf "Square with triangle missing" 1.5 2.5
shpadd test 150 150 160 150 180 170 150 150
dbfadd test.dbf "Smaller triangle" 100 1000.25
shpadd test 150 150 160 150 180 170 150 150
dbfadd test.dbf "" "" ""
shpdump test.shp
dbfdump test.dbf
|