Closed dolejarz closed 7 years ago
Rough PostgreSQL outline
CREATE OR REPLACE FUNCTION match_tmc(point GEOMETRY, OUT tmc char(9), OUT tmc_distance float)
And then usage like (may not work)
FROM incidents```
Or [like this](http://gis.stackexchange.com/a/144230/36886)