summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix:graphics/sdl Always use new polygon with holes primitivesdl_with_holesWildemann Stefan2019-09-031-36/+4
| | | | | | | Always use polygon with holes primitive for drawing polygons, as this should be faster than older SDL_gfx like drawing primitives because we do not copy the coordinates into different style buffer before raycasting.
* Add:graphics/sdl:Add polygon with holesStefan Wildemann2019-09-033-1/+240
|
* core:feature:multipolygon support #824Stefan Wildemann2019-09-0314-360/+1420
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds multi polygon support to navit binfile. It uses the following attempt: - Multipolygon "outer" polygons are converted to polygons inside the binfile map. - Multipolygon "inner" polygons are added as attributes to the outer polygon. - New method is added to graphics to draw polygons with "holes" (currently qt5, gtk_drawing_area, and Windows (except CE) but at least sdl can do this as well) Since the binfile format stays structural intact, new maps can be processed by old Navit versions, except they draw the multipolygons without their "holes", New version of Navit can still read old maps of course. Limitations: - In the maps, there are multipolygons having other multipolygons as inner or outer. These are unsupported and fail the member check. According to https://wiki.openstreetmap.org/wiki/Relation:multipolygon these are invalid. And the current web display cannot display them as well. See https://www.openstreetmap.org/relation/5587300 . Don't know if this get a standard mapping feature. Hopefully not. - Multipolygon polygons tend to become huge. No algorithm to split them into smaller chunks is contained. But my personal opinion is to exclude some types of polygons from map altogether on constrained devices over not including or artificial cutting the multipolygon ones. Btw. there are already huge traditional polygons as well. - Processing the map required more disk space as one cannot early drop ways with unknown tags any more, as they could be part of multipolygon. Maptools -n flag works as expected for the final result though. Additional changes: - Default to 64 bit zip files on maptool
| * Merge branch 'trunk' into multipolygonmultipolygonStefan Wildemann2019-09-021-17/+20
| |\ | |/ |/|
* | Merge pull request #850 from mvglasow/bikemvglasow2019-09-021-17/+20
|\ \ | | | | | | Fix:xml:Fix bike routing
| * \ Merge branch 'trunk' into bikemvglasow2019-08-315-20/+15
| |\ \ | |/ / |/| |
| * | Fix:xml:Fix bike routingmvglasow2019-08-281-17/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | Respect oneway restrictions Allow trunk, but with low priority Lower priority for unpaved paths Tweak speed and priority for other item types Signed-off-by: mvglasow <michael -at- vonglasow.com>
| | * Merge branch 'trunk' into multipolygonStefan Wildemann2019-09-015-20/+15
| | |\ | |_|/ |/| |
* | | typo:xml: Fix a typo of the OpenStreetMap name in the shipped XML (#857)Joseph Herlant2019-08-311-1/+1
| | |
* | | refactoring:tools:remove unnecessary trailing line to make codefactor happyJoseph Herlant2019-08-311-1/+0
| | |
* | | Refactoring:tools: Check exit code directly with e.g. "if mycmd;", not ↵Joseph Herlant2019-08-313-18/+14
|/ / | | | | | | indirectly with $?
| * Add:graphics/windows: draw polygon with holes (#855)Stefan Wildemann2019-08-291-0/+63
| | | | | | | | | | | | * Add:graphics/windows: drawing polygons with holes For all Windows except windows CE.
| * Merge branch 'trunk' into multipolygonStefan Wildemann2019-08-284-1/+3
| |\ | |/ |/|
* | Add Kosovo to known countriesWildemann Stefan2019-08-283-0/+2
| |
* | update:build:sailfish OS to version 3.1.0.12 (#843)Patrick Höhn2019-08-271-1/+1
| | | | | | | | ändrad: .circleci/config.yml ändrad: contrib/sailfish/build_sailfish_ci.sh
| * Merge branch 'trunk' into multipolygonStefan Wildemann2019-08-274-4/+59
| |\ | |/ |/|
* | Add:doc:Migrate the commit guidelines document to readthedocs (#841)Joseph Herlant2019-08-234-4/+59
| |
| * Merge branch 'trunk' into multipolygonStefan Wildemann2019-08-223-5/+5
| |\ | |/ |/|
* | Merge pull request #839 from mvglasow/github827mvglasow2019-08-222-4/+4
|\ \ | | | | | | Fix:toolchain:Remove privileged operation from build script
| * | Add:build:Print error messages to stderrmvglasow2019-08-221-1/+1
| | | | | | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * | Merge branch 'trunk' into github827mvglasow2019-08-221-1/+1
| |\ \ | |/ / |/| |
* | | Merge pull request #838 from mvglasow/github836mvglasow2019-08-221-1/+1
|\ \ \ | | | | | | | | Fix:graphics/android:Fix crash on startup
| * \ \ Merge branch 'trunk' into github836mvglasow2019-08-213-52/+76
| |\ \ \ | |/ / / |/| | |
| * | | Fix:graphics/android:Remove faulty debug statement causing crashesmvglasow2019-08-211-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| | * | Merge branch 'trunk' into github827mvglasow2019-08-2113-205/+924
| | |\ \ | |_|/ / |/| | |
| | * | Fix:toolchain:Remove privileged operation from build scriptmvglasow2019-08-212-4/+4
| | | | | | | | | | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| | | * Merge branch 'trunk' into multipolygonStefan Wildemann2019-08-211-1/+2
| | | |\ | |_|_|/ |/| | |
* | | | Issue/826 (#837)gefin2019-08-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * time_attr is read without initiation. * Update track.c add space after ad the statement to initiate time_attr
| | | * Add struct traffic *traffic; lost on trunk merge conflictmetalstrolch2019-08-201-0/+1
| | | |
| | | * Merge branch 'trunk' into multipolygonStefan Wildemann2019-08-201-22/+51
| | | |\ | |_|_|/ |/| | |
* | | | Merge pull request #817 from navit-gps/fix_cursor_layer_sizeStefan Wildemann2019-08-201-22/+51
|\ \ \ \ | | | | | | | | | | fix: vehicle: Increase layer for cursor for rotation
| * \ \ \ Merge branch 'trunk' into fix_cursor_layer_sizeStefan Wildemann2019-08-2011-155/+855
| |\ \ \ \ | |/ / / / |/| | | |
| * | | | Fix some typos.fix_cursor_layer_sizemetalstrolch2019-08-181-2/+2
| | | | |
| * | | | Merge branch 'trunk' into fix_cursor_layer_sizeStefan Wildemann2019-08-1621-168/+456
| |\ \ \ \
| * | | | | fix: vehicle: Increase layer for cursor for rotationWildemann Stefan2019-07-231-22/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit increases the layer used for drawing the cursor that the cursor fits on it regardless its rotation. This is required as some graphics (e.g. qt5) clip drawings leaving the overlay size. This cripples the cursor if the layout creter did not mind this. This patch adds extra space to compensate.
| | | | | * Merge branch 'trunk' into multipolygonStefan Wildemann2019-08-2010-155/+854
| | | | | |\ | |_|_|_|_|/ |/| | | | |
* | | | | | Reverting part of e7a70e9dc04b94b47fb7786aab4edfd25132c70f (PR #833) that ↵lains2019-08-201-29/+23
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | was not needed Reverting part of e7a70e9dc04b94b47fb7786aab4edfd25132c70f (PR #833) that was not needed
| * | | | | Reverting part of e7a70e9dc04b94b47fb7786aab4edfd25132c70f (PR #833) that ↵Lionel AINS2019-08-201-29/+23
|/ / / / / | | | | | | | | | | | | | | | was not needed
* | | | | Merge pull request #822 from navit-gps/trafficmvglasow2019-08-2010-153/+848
|\ \ \ \ \ | |_|_|/ / |/| | | | traffic:Improve startup performance
| * | | | Merge branch 'trunk' into traffictrafficmvglasow2019-08-202-25/+36
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Fix: Fix pkgconfig detection, and multiple subsequent build for Android (#833)lains2019-08-202-25/+36
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixing lib detection based on build host for Android builds * Fixing workaround according to jandegr's proposal * Fixing subsequent Android builds (where rename fails because of pre-existing renamed files)
| * | | Merge branch 'trunk' into trafficmvglasow2019-08-1919-158/+442
| |\ \ \ | |/ / / |/| | |
| * | | Refactor:traffic:Make sanity check happymvglasow2019-08-161-9/+9
| | | | | | | | | | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * | | Fix:traffic:When restoring items, iterate over mapset only oncemvglasow2019-08-161-137/+184
| | | | | | | | | | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * | | Fix:traffic:Make Android build happymvglasow2019-08-121-6/+3
| | | | | | | | | | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * | | Add:traffic:Preserve cached items even if they were not restoredmvglasow2019-08-121-2/+4
| | | | | | | | | | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * | | Fix:traffic:Make sanity check happymvglasow2019-08-121-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * | | Fix:traffic:Add forgotten linemvglasow2019-08-121-1/+0
| | | | | | | | | | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * | | Fix:traffic:Always free up priv->txt_data in location destructormvglasow2019-08-121-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * | | Add:traffic:Lazy restore for cached itemsmvglasow2019-08-121-31/+53
| | | | | | | | | | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>