MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / poly2req.js

File poly2req.js

scripts/poly2req.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#!/usr/bin/env node
2// Polygon-to-requests generator - creates random routing queries within geographic boundaries
3
4import fs from 'fs';

Callers

nothing calls this directly

Calls 8

getRandomCoordinateFunction · 0.85
makeQueryFunction · 0.85
exitMethod · 0.80
minMethod · 0.80
maxMethod · 0.80
errorMethod · 0.80
pushMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected