Skip to content

Conversation

@lonvia
Copy link
Collaborator

@lonvia lonvia commented Dec 28, 2019

Parametrize gazetteer tests so that not only nodes are imported but also ways and relations. Geometries are created at random. For relations a simple tetragon from a single way is used.

Move the OPL creation and database access functions into a class
that can be used to instantiate template tests. Currently still
only works for nodes.
Use a fixed seed to make the results reproducable.
Choose a distribution range that ensures that all points are
valid latitudes/longitudes.
@lonvia lonvia merged commit 6f9454b into osm2pgsql-dev:master Dec 29, 2019
@lonvia lonvia deleted the extend-gazetteer-tests branch January 4, 2020 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant