-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
editoast: speed up layer generation #4607
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #4607 +/- ##
============================================
- Coverage 19.91% 19.91% -0.01%
Complexity 2316 2316
============================================
Files 865 865
Lines 88144 88144
Branches 2277 2277
============================================
- Hits 17553 17552 -1
- Misses 69335 69336 +1
Partials 1256 1256
Flags with carried forward coverage won't be shown. Click here to find out more. |
214e3fd
to
d94dc80
Compare
Uses track section layer avoiding using st_transform
d94dc80
to
2697454
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't the search engine responses be updated as well?
(The geometry 4326 might be wrong as well...)
This part is correct, the geometry stored in layers uses 3857 SRID (I haven't changed it). So we need to transform it to 4326 to match the required projection for geojson. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Uses track section layer avoiding using st_transform.
Benchmark