Open nilsnolde opened 4 years ago
I started a project: https://github.com/GIScience/openpoiservice/projects/1 and started to take out a few issues from above list.
The high priority
column is what I think should be tackled first as it defines the whole project, ordered with in descending priority.
I created a new branch v1.0-release
where we can collect all the improvements over time.. Tests are not necessarily expected to pass before we finally merge into master
Let's create separate issues from this list once we discussed them a little bit @zephylac. If you'd like to be involved too, we can see which ones who tackles:
gunicorn
needs to be updated to>=19.9.0
, maybe,<20.0.0
, as there's been conflicts from 3.7 on (#79)imposm
since deprecated since a long while (#80)Flask>=1.0
, which also meansWerkzeug>=1.0
(#81)Dockerfile
and template docker-compose.yml can be improved:tests
out of the main package: can have very undesirable side effects otherwise as the root__init__.py
is executed when running the tests (#83)area
checks to determine if the request exceeds the server limits are done inEPSG:3857
, which should ideally be a global equal-area projection like MollweideMultiPolygon
: now they're all lists of GeoJSONFeatureCollection
where I don't really understand the point of. It's all the samegeometry.type
, so a list ofFeatureCollection
is pretty much an anti-pattern. Why not wrap all features for all polygons (if MultiPolygon) in a single FeatureCollection? If you really need to relate the polygons of a MultiPolygon to the index in the response list (only reason I can think of) then doing a multipart to singlepart conversion and requesting with single Polygons makes more sense to me. Can we please revert that again?remove all user-settable files from git and provide maintained template versions of them: so we don't accidentally commit our passwords and stuffslight changes to make the project more accessible: moveops_settings.yml
to the root of the main package, removeserver
folder (redundant when tests are moved)Optional:
tox
to test multiple Python versions easilyyapf
views.py
, which could be avoided, as that's a potential performance drain