Skip to content

Commit

Permalink
Add instructions for evaluating variants of our own spatial join
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannah Bast committed Jan 9, 2025
1 parent 225ea14 commit 49e086c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions evaluation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,28 @@ psql -U postgres -d spatialjoin_db -c "CREATE INDEX ${NAME}_geom_idx ON ${NAME}
psql -U postgres -d spatialjoin_db -c "\dt+ public.${NAME}*"
psql -U postgres -d spatialjoin_db -c "\di+ public.${NAME}*"
```

# Compare variants of our own spatial join

First build the `spatialjoin` executable and include it in the `PATH`:

```
mkdir build && cd build
cmake ..
make -j
cd ..
export PATH=PATH:$(pwd)/build:$(pwd)/scripts
```

Create a file `${NAME}.spatialjoin-input.tsv` with two columns (id and
geometry) and no header, following the instructions above. The you can
und and evaluate variants of our spatial join as follows:

```
./spatialjoin-evaluation.py ${NAME} --combinations bcsdoi,Bcsdoi,BCsdoi,BCSdoi,BCSDoi,BCSdOi,BCSdoI 2>&1 | tee ${NAME}.spatialjoin-evaluation.tsv
./spatialjoin-evaluation.py ${NAME} --combinations bcsdoi,Bcsdoi,BCsdoi,BCSdoi,BCSDoi,BCSdOi,BCSdoI --analyze total --minutes
```

For the commands needed to produce the other results from our original paper,
see sigspatial-reproducibility/README.md.

0 comments on commit 49e086c

Please sign in to comment.