summaryrefslogtreecommitdiff
path: root/internal/imgw/testdata/gugik_krakow.json
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-25 15:58:38 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-25 15:58:38 +0200
commita7941bb92df67686b018fbb601cbf413ea909d14 (patch)
tree322d0ad4b5fef2f27a143d7ec64d5849a4502371 /internal/imgw/testdata/gugik_krakow.json
parent391fc97fca932a50557d8e0f07ea2dfa8135900a (diff)
downloadprognosis-b7442b2a5a6a97b42b797f122da255be3d83bcb5.tar.gz
prognosis-b7442b2a5a6a97b42b797f122da255be3d83bcb5.zip
privacy: use Krakow in examples, tests and fixturesv0.1.2
A recorded GUGiK fixture was a reverse address lookup for the author's home: it carried a house number, a postal code and coordinates to about a metre, and it was published. The place name in the README was the lesser half of the problem. Fixtures are re-recorded against Rynek Glowny in Krakow, a public square, and the tests, spec example and README follow. The README example is regenerated from the binary. warnings.json is left as recorded: it is a verbatim national bulletin whose teryt array lists roughly two hundred powiats, so no single entry says anything about anyone. NOTE: this removes the address from the tip, not from history. Commit e14a7db and its successors still contain it, and remain reachable on any clone or mirror.
Diffstat (limited to 'internal/imgw/testdata/gugik_krakow.json')
-rw-r--r--internal/imgw/testdata/gugik_krakow.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/imgw/testdata/gugik_krakow.json b/internal/imgw/testdata/gugik_krakow.json
new file mode 100644
index 0000000..9bee9a1
--- /dev/null
+++ b/internal/imgw/testdata/gugik_krakow.json
@@ -0,0 +1 @@
+{"type":"address","max results limit":1,"radius":5000,"max polygon area":null,"returned objects":1,"results":{"1":{"city":"Krak\u00f3w","citypart":null,"street":"Rynek G\u0142\u00f3wny","number":"3","teryt":"126101","simc":"0950463","ulic":"38504","code":"31-042","jednostka":"{Polska,ma\u0142opolskie,Krak\u00f3w,Krak\u00f3w}","x":"19.9375622203567","y":"50.0617125271123","geometry_wkt":"POINT(19.9375622203567 50.0617125271123)","distance":"18.8155055148824","id":1}},"request time":0.0011776526769002279} \ No newline at end of file