Paul Bienkowski
1c53230b4d
chore: fix log import
2023-05-13 20:22:16 +02:00
gluap
7e44f6d31d
implement comments from review; slow fade-in of events
2023-05-13 20:22:16 +02:00
gluap
a946ea53c9
Add bulk downloading
2023-05-13 20:22:16 +02:00
gluap
fb3e8bf701
log10(0) is not defined - also: make region borders less intrusive for depending on number of events. As it was, it was hard to see the underlying geography.
2023-04-10 13:10:03 +02:00
gluap
56c9d2e455
don't die if no argv is supplied.
2023-04-10 12:42:24 +02:00
gluap
c359d945da
the current version of region does not have that column - furthermore it now has an index for its id column already during creation.
2023-04-10 12:38:37 +02:00
gluap
a66d96568e
fix downgrade step of event geometry transform.
2023-04-10 12:15:25 +02:00
gluap
dc89db5471
fix typo in column name...
2023-04-10 12:05:15 +02:00
gluap
10fd02804e
exclude newest websockets versions that kill sanic.
2023-04-10 12:01:41 +02:00
gluap
5108eb02ce
Update scripts to latest version to avoid version conflicts
2023-04-01 21:43:35 +02:00
Paul Bienkowski
251be4a699
Fix bearings on road info, and German words for those
2023-04-01 20:19:59 +02:00
Paul Bienkowski
dd72ed791f
Use ESPG 3857 for all geometry columns
2023-04-01 16:44:47 +02:00
Paul Bienkowski
ce8054b7ae
Use NUTS for region import, not OSM
2023-03-31 21:06:59 +02:00
Paul Bienkowski
0d9ddf4884
Use logging in import_osm
2023-03-30 14:56:21 +02:00
Paul Bienkowski
6fb5dfe6de
Fix index names on geometry tables and add way_id/relation_id indexes
2023-03-30 14:18:44 +02:00
gluap
10f6b0c0c9
make sure we generate the right geometry column type and stay with the types we had from osm2psql (and thus compatible with older installations).
...
I believe retrofitting the migrations is OK as these were overwritten by osm2pgsql in the past anyhow. Now at least we create the schema everyone is using already.
2023-03-30 14:18:44 +02:00
gluap
8ce5816f53
enable importing and dumping also regions - in the same epsg geometry as we had them from osm2pgsql
2023-03-30 14:18:44 +02:00
gluap
dd912bcd0d
np.float
was a deprecated alias for the builtin float
. To avoid this error in existing code, use float
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64
here.
2023-03-30 14:18:44 +02:00
gluap
39d90b3606
Update 35e7f1768f9b_create_table_road.py
...
Weird. Normally alembic should not make spelling errors :D
2023-03-30 14:18:44 +02:00
gluap
e13bc759d7
Update Dockerfile
...
Remove roads_import.lua reference (file is already deleted)
2023-03-30 14:18:44 +02:00
Paul Bienkowski
0a18cda691
Remove osm2pgsql
2023-03-30 14:18:44 +02:00
Paul Bienkowski
761908a987
Move deployment readme to docs/
2023-03-30 14:18:44 +02:00
Paul Bienkowski
c4cc4a9078
Docs for new pipeline
2023-03-30 14:18:44 +02:00
Paul Bienkowski
ac90d50239
Remove lean mode
2023-03-30 14:18:44 +02:00
Paul Bienkowski
59f074cb28
New import pipeline with a PBF conversion step
2023-03-30 14:18:44 +02:00
Paul Bienkowski
4c1c95e4ff
Add chunk utility
2023-03-30 14:18:44 +02:00
Paul Bienkowski
69d7f64ead
Add import_group columns for OSM data tables
2023-03-30 14:18:44 +02:00
Paul Bienkowski
276a2ddc69
Remove HSTORE tags column from region table
2023-03-30 14:18:44 +02:00
Paul Bienkowski
de8d371b65
Include device count in stats
2023-03-30 14:18:26 +02:00
gluap
cf8358d14b
fix the road_usage issue dennis found.
2023-03-26 22:34:20 +02:00
Dennis Boldt
eda3bf2688
Make menu stackable on mobile
2023-03-26 19:09:29 +02:00
gluap
df0466c6f1
as discussed with paul: This makes the region lookup smooth.
2023-03-26 16:46:23 +02:00
gluap
9882b2041f
update what can be updated without breaking stuff.
2023-03-26 14:15:57 +02:00
gluap
a7566fb6b3
restrict to admin_level 6
...
Only compute the regions layer at the required admin level 6 (kreise/kreisfreie Städte)- we're not using other levels yet and this speeds it up notably.
2023-03-25 17:43:32 +01:00
gluap
b6cf59a09d
fix requirements.txt
...
remove reduntdant version that breaks pip
```
=> ERROR [stage-2 5/18] RUN pip install -r requirements.txt 2.2s
------
> [stage-2 5/18] RUN pip install -r requirements.txt:
#0 1.825 ERROR: Invalid requirement: 'sqlalchemy[asyncio]~=1.4.39 <2.0' (from line 10 of requirements.txt)
#0 2.055 WARNING: You are using pip version 21.2.4; however, version 23.0.1 is available.
```
2023-03-21 20:10:06 +01:00
gluap
fa29deb397
Fix that bug sonarcloud is moaning about.
2023-03-12 23:30:52 +01:00
Paul Bienkowski
665816cc98
Fix map size when sidebar is open
2023-03-12 13:45:50 +01:00
Paul Bienkowski
0d44560830
Merge branch 'device-identifiers' into next
2023-03-12 13:38:42 +01:00
Paul Bienkowski
61b74e90fd
wip:Build devices page
2023-03-12 13:37:51 +01:00
Paul Bienkowski
2c27a2c549
Pin sqlalchemy better
2023-03-12 13:13:46 +01:00
Paul Bienkowski
141460c79f
Split settings page
2023-03-12 13:13:46 +01:00
Paul Bienkowski
4fe7d45dec
Bulk update operations on tracks
2023-03-12 13:13:46 +01:00
Paul Bienkowski
cbab83e6e3
Build awesome "My Tracks" table with filters and sorting
2023-03-12 13:13:46 +01:00
Paul Bienkowski
5a78d7eb38
Parse device identifiers and create UserDevice entries in database
2023-03-12 13:13:46 +01:00
Paul Bienkowski
56905fdf75
Install stream-zip
2023-03-12 13:13:46 +01:00
Paul Bienkowski
6c458a43f6
Raise maximum on track page limit
2023-03-12 13:09:36 +01:00
Paul Bienkowski
84ab957aa0
fix cors by implementing it ourselves
2023-03-12 13:09:36 +01:00
Paul Bienkowski
ed272b4e4a
Use TTY in development docker to get line-buffered prints
2023-03-12 13:09:36 +01:00
Paul Bienkowski
b9aaf23e0a
Clean up sanic logging
2023-03-12 13:09:36 +01:00
Paul Bienkowski
78dca1477c
Fix naming of AUTO_RELOAD/AUTO_RESTART
2023-03-12 13:09:36 +01:00