Repository navigation
Conversation
Android: VTM 0.9.0 OpenGL vector map library
…n available here, go one layer down.
…formation available here, go one layer down." This reverts commit a264ea8
… i.e. for information purposes. Not considered for routing yet.
…ptions on windows
* Ignore the tests, reverted memory and some minor improvements * Revert IntelliJ formatting issue * Removed pointList.isEmpty
* Added heading for first continue * Added U-turn for contextual information * Fixed angle calculation issue * Added translations fo de+en * Angle improvement * Updated U_TURN translation and added it to the frontend * Updated translation files * Recognize U-turns over an additional edge * Updated max distance * Fixed Typo * Removed comment * Updated Translations * Changed Orientation Diff * Tmp Commit * Improved the U-Turn recognition * Limit U-turns to one-ways * Fixed some checkstyle warnings * Propose U-Turn left/right differentiation * Merge main.js
Docker conventions and thoughts
Use Policeman Tools
…per#1246) * Make omniscale api key configurable and changed omniscale layer type * Rebuild webapp main.js
…graphhopper#1225) * Does some minor clean-up in PrepareContractionHierarchies. * some simple restructuring to prepare NodeContractor extraction * some readability improvements * Reorders fields and methods in PrepareContractionHierarchies. * reordering is supposed to make diffs easier to read when NodeContractor is extracted * besides the reordering no code is changed * Decouples some code in PrepareContractionHierarchies. * because findShortcuts shall be attributed to NodeContractor in the future it needs to be decoupled from meanDegree (meanDegree is used by PrepareContractionHierarchies to determine the node ordering). to achieve this another variable maxVisitedNodes is introduced. * the changes made to findShortcuts are replaced by corresponding code that is inserted before / after the few places where findShortcuts is called, if this is needed * Extracts the methods that will belong to NodeContractor in PrepareContractionHierarchies * creates the methods (getters etc. that will belong to NodeContractor) * Creates inner static class NodeContractor in PrepareContractionHierarchies. * NodeContractor is responsible for searching for witness paths and adding required shortcut edges for a given node that shall be contracted * PrepareContractionHierarchies is responsible for determining the order in which nodes are contracted and provides the interface to start the contraction of a graph * Makes NodeContractor a proper class. * adjusts some access modifiers so NodeContractor can be moved out of PrepareContractionHierarchies * adds some documentation * otherwise does not change the code * Renames getNewShorcuts in NodeContractor. * some minor clean-up * Disallows non-node-based graph traversal for CH. * makes NodeContractor (and thereby PrepareContractionHierarchies) throw an exception when it is called with edge-based traversal mode, because it is not supported yet * Tries to clarify the role of meanDegree in PrepareContractionHierarchies. * meanDegree / tmpDegreeCounter variables are a bit confusing as they do not represent the degree of a node (number of adjacent edges) * Fixes error message in NodeContractor#setOrigEdgeCount * fixes todo in NodeContractor#setOrigEdgeCount, the previous implementation returned the number of original edges where most likely the number of original edges + shortcuts was meant. * Fixes setting of maxVisitedNodes for witness path searches in PrepareContractionHierarchies. * so far maxVisitedNodes was always set to zero in prepareNodes() / calculatePriority() because meanDegree was initialized only afterwards in contractNodes() this means so far the priorities were not calculated right because no witness paths could be found. * this fix requires adjusting three tests that depend on the contraction order. adjusted createExampleGraph instead of testAddShortcut, because testAddShortcut does no longer find a shortcut with the example graph. the other tests using createExampleGraph are not be affected by this change. * Fixes cast of meanDegree to maxVisitedNodes in PrepareContractionHierarchies. * previously maxVisitedNodes was 0 if meanDegree < 1. * this change affects the node contraction order and one test had to be adjusted. * Cleans-up NodeContractor and PrepareContractionHierarchies. * postpones creation of NodeContractor in PrepareContractionHierarchies to initFromGraph(), gets rid of NodeContractor#setMaxEdgesCount * makes levelFilter in PCH a local variable * Adds NodeContractorTest * moves testShortcutMergeBug to NodeContractorTest * removes PCH#testAddShortcuts * Moves some tests from PrepareContractionHierarchiesTest to NodeContractorTest and cleans up. * these tests basically 'misuse' PCH only to set the node priorities to the maximum level * makes PCH#initFromGraph,prepareNodes,contractNodes private * removes PCH#testFindShortcuts * some clean-up * Adds comment in NodeContractor#initFromGraph * Adds more tests to NodeContractorTest, sets default maxVisitedNodes from 0 to max. * so far NodeContractor used a default maxVisitedNodes of 0, which did not make much sense * Adds a todo about obscure behavior of AllCHEdgesIterator in NodeContractorTest. * for some reason AllCHEdgesIterator returns a shortcut where both skipped1/2edges are 0 * Adds to NodeContractorTest. * adds another test, adds some infrastructure now that AllCHEdgeIterator is fixed. Signed-off-by: ammagamma <[email protected]> * Fixes (some) climate code issues. Signed-off-by: ammagamma <[email protected]> * Fixes more climate code issues. Signed-off-by: ammagamma <[email protected]> * Fixes more code climate issues. Signed-off-by: ammagamma <[email protected]> * Removes NodeContractor#testFindShortcuts, cleans up NodeContractorTest. Signed-off-by: ammagamma <[email protected]> * Reverts fixes of the node contraction order. Signed-off-by: ammagamma <[email protected]> * Renames a few variables for 'better' code climate. Signed-off-by: ammagamma <[email protected]> * Fixes code climate. Signed-off-by: ammagamma <[email protected]> * minor Signed-off-by: ammagamma <[email protected]>
* Add smoothing of roads by averaging over the elevation of the points. * Tried Loess Interpolator * Smooth Towernodes as well * Smooth in the OSMReader * Removed AbstractRoadAverageElevationInterpolator * Minor comment improvement * Fix tests * Use distance only instead of number of points + distance * Changed distance * Fixed tests
* Add Reader for SRTMGL1 data and extract common code * Added tests and run them, needed to increase RAM. * Abstracted the getEle method of the CGIAR and GMTED provider Improved FileNotFound handling for the SRTMGL1Provider Some minor improvements * Added more tests and some minor abstraction improvements * Ignore the tests, reverted memory and some minor improvements * Don't use String.format for performance reasons * Fixed copyright notice formatting * Fixed copyright notice formatting * Don't use SRTMGL1 by default in the MultiSourceProvider * Fix Policeman Issues * Changed Method Name
Add a new method to TurnCostExtension which enables users to define their preferred merge strategy (overwrite vs. bitwise OR vs. …). These changes require JDK 8. replace java.util.function by a JDK7 compatible solution optimisation for simple writing of turn flags Users can circumvent the check if turn flags of a specific turn have already been saved. drop FlagMergeStrategy interface and replace it by simple ifs see graphhopper#1276 (comment) less parameters, slightly more tests but avoid bit-based tests, include clearing turn infos
Signed-off-by: Michael Zilske <[email protected]>
Signed-off-by: Michael Zilske <[email protected]>
Signed-off-by: Michael Zilske <[email protected]> (cherry picked from commit 0b27ee5) Signed-off-by: Michael Zilske <[email protected]>
Signed-off-by: Michael Zilske <[email protected]> (cherry picked from commit 2cc2327) Signed-off-by: Michael Zilske <[email protected]>
* try to downgrade maven graphhopper#1292 * wget silent
Signed-off-by: Will Cohen <[email protected]>
Signed-off-by: Will Cohen <[email protected]>
Signed-off-by: Will Cohen <[email protected]>
|
Thanks, LGTM. Do you think we should rename |
|
Any preferences here @willcohen? |
|
I think the renames make sense. Apologies for the delay -- as I was giving the refactor a shot I also noticed that the ContourBuilder says it's an adaptation of org.opentripplanner.common.geometry.DelaunayIsolineBuilder, which is LGPL, which means that even if JTS and the other pieces get their license issues resolved, the broader issue will still remain once isochrones get merged in. Does it make sense to try to base this feature off of a different algorithm instead? Sextante is a little old but has a bunch of MIT-licensed GIS algorithms, including some Isolines from TIN. The canonical home for Sextante is here, but I just haven't gotten through adapting this to JTS's object types yet. |
|
LGPL is not a huge problem for now if we document which parts are which license in the NOTICE file. We can solve this later step by step. E.g. in 0.8 we were free of LGPL and we might be free of LGPL in 0.11 again, but this is not a big problem on the server side and on mobile only Android is affected due to the "merging".
This would be really cool, also to see other advantages (and also disadvantages). Still I would prefer this in a separate PR to avoid further delay. |
Signed-off-by: Will Cohen <[email protected]>
|
Okay -- I think I got the rest of the reach -> isochrone renames with this latest commit |
|
Thanks! |
Re #1237, this: