Repository navigation
Android sample + JTS working - #1507
Conversation
devemux86
commented
Dec 19, 2018
- VTM 0.10.0 OpenGL vector map library
- Update Android sample build system
- Downgrade JTS for work on Android
- Update Android sample build system - Downgrade JTS for work on Android
| implementation 'org.mapsforge:vtm-jts:0.10.0' | ||
| implementation 'org.mapsforge:vtm-themes:0.10.0' | ||
| implementation 'com.caverock:androidsvg:1.3' | ||
| implementation 'org.locationtech.jts:jts-core:1.15.1' |
There was a problem hiding this comment.
Is this required if GH core contains the dependency to jts-core?
There was a problem hiding this comment.
In the future no, but now 0.12-SNAPSHOT contains the 1.16.0 and I excluded it above for Android to work.
Or we can split the PR in 2 steps, one for downgrade the JTS and one for update the Android sample (after new 0.12-SNAPSHOT is published)?
There was a problem hiding this comment.
Ok, will probably just manually add a commit with this dependency change and then we can wait until first snapshot is released.
There was a problem hiding this comment.
@michaz are there any objections from your side to downgrade JTS from 1.16 to 1.15.1?
There was a problem hiding this comment.
@karussell Not that I know of. I think everything I use in JTS has been there forever.
There was a problem hiding this comment.
@devemux86 have now made the change and the snapshot is deployed
There was a problem hiding this comment.
Then can remove the 2 lines:
exclude group: 'org.locationtech.jts', module: 'jts-core'
...
implementation 'org.locationtech.jts:jts-core:1.15.1'
* make measurement possible again #1351 * refactored long flags into IntsRef * more agressive caching * made core + reader-osm modules working and tests pass * made gtfs compiling. Finally all tests are green. Yeah * removed TODO NOW, some for later some are no longer critical as all tests pass * introduce separate parsing of shared EncodedValues like roundabout to avoid duplicative work * merged master into intsref_refactoring * enable to increase edge flags to more than 8 bytes * parse bytes for edges properly * JTS downgrade to 1.15.1 #1507 * introduced interfaces for EncodedValues; replaced StringEV with EnumAlikeEV; removed default for EV; * minor missing renames to EnumEncodedVAlue * fix bug with more than 4 bytes for edge flags * made cachedIntsRef cleaner and reduce object creation when there are edges and shortcuts * renamed EnumAlike to IndexBased and EnumEncodedValue to ObjectEncodedValue * use cached IntsRef for CH preparation * trying another approach * for now make setSpeed protected * Fixes some compile errors after merge, leaves some todos, only one test class is failing. Signed-off-by: easbar <[email protected]> * Adjusts debugPrint() methods to changed api and intsref. Signed-off-by: easbar <[email protected]> * minor fix. Signed-off-by: easbar <[email protected]> * Fixes EdgeBasedNodeContractorTest. Signed-off-by: easbar <[email protected]> * Adds more efficient shortcut method (prevents iterator), but sth is wrong. Signed-off-by: easbar <[email protected]> * Fixes error (write flags to edges DA instead of shortcuts) and uses new method for node- and edge-based CH. Signed-off-by: easbar <[email protected]> * minor Signed-off-by: easbar <[email protected]> * minor improvements * Minor cleanup. Signed-off-by: easbar <[email protected]> * Avoids intsref for shortcut updates and removes IntsRef creation from CHEdgeIteratorImpl. Signed-off-by: easbar <[email protected]> * removed unnecessary getDirectFlags method and some minor cleanup * shortcuts use cached chFlags but do not use setFlags * Removes unused intsref. Signed-off-by: easbar <[email protected]> * minor cleanup * add some final Co-authored-by: easbar <[email protected]>