summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* update: Navit logo for (sailfish) desktopdesktop_iconsWildemann Stefan2019-09-185-0/+0
|
* Merging PR #724: Updating Navit logo according to proposal in issue #436lains2019-09-187-1007/+1394
| | | | | | | | * Updating navit logo for QT * Adding navit icon to GTK GUI's windows, using the black and white version of the icon in GTK GUI for better readability * Fixing memory leak in GTK geticon() * Adding source svg for all variations of the logo (integrating to the repo, the svg logo catalog that was last posted in #436 (https://github.com/navit-gps/navit/issues/436#issuecomment-450587935) Credits for logo design: redmusic27 and zintor
* fix:core:add clipping to polygons with holes (#870) fixes (#869)Stefan Wildemann2019-09-131-43/+186
| | | | | | | | | | | | | | * fix:core:refactor polygon clipping This commit extracts the polygon clipping into its own function to be re used for polygon with holes clipping. * fix:core:Clip polygons with holes prior drawing. While this helps drawing for limited graphics like SDL or WindowsCE, it will slightly slow down on graphics that do clipping themselves like qt5. As this is done for polygons already, we do this for polygons with holes as well.
* Fix:core/maptool:Merge pull request #859 from mvglasow/baltic_admin_levels. ↵Stefan Wildemann2019-09-061-36/+51
|\ | | | | | | | | Fix #847 Admin levels for additional countries
| * Merge branch 'trunk' into baltic_admin_levelsStefan Wildemann2019-09-064-34/+406
| |\ | |/ |/|
* | Add:graphics/windows: polygons with holes for windows CE #862Stefan Wildemann2019-09-061-5/+170
|\ \ | | | | | | | | | | | | Add:graphics/windows: polygons with holes for windows CE This uses the same "hand and foot" raycasting algorithm than the SDL version does since WindowsCE lacks the fancy drawing routines of better Windows.
| * \ Merge branch 'trunk' into windowsCE_with_holeswindowsCE_with_holesStefan Wildemann2019-09-053-29/+236
| |\ \ | |/ / |/| |
* | | Add:graphcs/sdl: Polygon with holes support #861Stefan Wildemann2019-09-053-29/+236
|\ \ \ | | | | | | | | Add:graphics/sdl: Polygon with holes support.
| * | | 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
|/ / /
| * | Add:graphics/windows: polygons with holes for windows CEWildemann Stefan2019-09-031-5/+170
|/ /
| * Merge branch 'trunk' into baltic_admin_levelsmvglasow2019-09-0414-360/+1420
| |\ | |/ |/|
* | 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 branch 'trunk' into multipolygonStefan Wildemann2019-09-015-20/+15
| |\ \
| * | | 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
| |\ \ \
| * \ \ \ Merge branch 'trunk' into multipolygonStefan Wildemann2019-08-274-4/+59
| |\ \ \ \
| * \ \ \ \ Merge branch 'trunk' into multipolygonStefan Wildemann2019-08-223-5/+5
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'trunk' into multipolygonStefan Wildemann2019-08-211-1/+2
| |\ \ \ \ \ \
| * | | | | | | Add struct traffic *traffic; lost on trunk merge conflictmetalstrolch2019-08-201-0/+1
| | | | | | | |
| * | | | | | | Merge branch 'trunk' into multipolygonStefan Wildemann2019-08-201-22/+51
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'trunk' into multipolygonStefan Wildemann2019-08-2010-155/+854
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'trunk' into multipolygonStefan Wildemann2019-08-1611-27/+52
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | Refactor polygon processing for CodeFactorWildemann Stefan2019-08-071-15/+17
| | | | | | | | | | |
| * | | | | | | | | | refactor item_add for CodeFactorWildemann Stefan2019-08-071-17/+30
| | | | | | | | | | |
| * | | | | | | | | | Refactor item drawing to make CodeFactor happy.Wildemann Stefan2019-08-071-104/+139
| | | | | | | | | | |
| * | | | | | | | | | Add polygon with hole and dpi support to gtk_drawing_areaWildemann Stefan2019-08-071-10/+63
| | | | | | | | | | |
| * | | | | | | | | | Initialize holes pointer.Stefan Wildemann2019-08-071-0/+1
| | | | | | | | | | |
| * | | | | | | | | | Remove unused variablesWildemann Stefan2019-08-061-2/+0
| | | | | | | | | | |
| * | | | | | | | | | Remove manual setting of order tag on multipolygonsWildemann Stefan2019-08-061-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should not be neccesary.
| * | | | | | | | | | Add forgotten new parameter -3 to list of parameters.Wildemann Stefan2019-08-061-1/+1
| | | | | | | | | | |
| * | | | | | | | | | Make 64 bit zip default.Wildemann Stefan2019-08-061-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is baraindead. Lost days of computing time because getting invalid zip files at the end because of being too big. Make 64 bit zips the default. Neccessary for big maps anyway, and shouldn't hurt on small files.
| * | | | | | | | | | Add progress display for multipolygon processingStefan Wildemann2019-08-041-0/+9
| | | | | | | | | | |
| * | | | | | | | | | Add T parameter to maptool commandline. Optimize multipolygon speedStefan Wildemann2019-08-043-7/+18
| | | | | | | | | | |
| * | | | | | | | | | Multi thread multi polygon processing.Stefan Wildemann2019-08-041-28/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Way faster because a) better cpu usage on multicores and b) multiple but smaller hashes that scale O^2 on inserting. They are just O on reading, so the multiple doesn't count that much. And besides that we save main menory as we can process each hash independent.
| * | | | | | | | | | Remove duplicates from multipolygon processingWildemann Stefan2019-08-021-0/+6
| | | | | | | | | | |
| * | | | | | | | | | fix finding loops in road parts. Remove outputWildemann Stefan2019-08-011-28/+37
| | | | | | | | | | |
| * | | | | | | | | | Correctly sort multipolygons from boundariesStefan Wildemann2019-08-011-8/+6
| | | | | | | | | | |
| * | | | | | | | | | Fix turn restriction processingStefan Wildemann2019-08-011-2/+6
| | | | | | | | | | |
| * | | | | | | | | | Move multipolygons to own tempfile, simplify filteringStefan Wildemann2019-08-014-22/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: the simpler filtering results in bigger disk space required. But we cannot filter unknown streets early anymore, as they may be required for polygon processing
| * | | | | | | | | | Fix/refactor polygon reassembly.Wildemann Stefan2019-07-312-123/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're getting close. Finally processed map of Oberbayern, Germany without any issues. Renders nicely on Qt5. Nedds still some hacks in maptool as I did not understan everything properly. Parts of maptool are rather hacky, aren't they?
| * | | | | | | | | | Convert parts to polygons. Partly workingStefan Wildemann2019-07-314-48/+138
| | | | | | | | | | |
| * | | | | | | | | | Start converting multi polygon chunks to closed loopsWildemann Stefan2019-07-301-40/+216
| | | | | | | | | | |
| * | | | | | | | | | Fix memory handling in maptool.Wildemann Stefan2019-07-291-2/+9
| | | | | | | | | | |
| * | | | | | | | | | Fix multipolygon assignment.Stefan Wildemann2019-07-291-5/+5
| | | | | | | | | | |
| * | | | | | | | | | implement drawing of polygons with holes for qt5Stefan Wildemann2019-07-283-2/+89
| | | | | | | | | | |
| * | | | | | | | | | Transform hole coordinates to be drawn. Draw text on holes.Stefan Wildemann2019-07-281-5/+65
| | | | | | | | | | |
| * | | | | | | | | | Forward multipolygon holes to grapics structuresStefan Wildemann2019-07-281-4/+57
| | | | | | | | | | |
| * | | | | | | | | | Fix coord count on attr_poly_hole. Forward name to multipolygons.Stefan Wildemann2019-07-281-0/+7
| | | | | | | | | | |