summaryrefslogtreecommitdiff
path: root/navit/maptool/boundaries.c
Commit message (Collapse)AuthorAgeFilesLines
* enhancement:maptool:slice big polygons into smaller parts (#906)Stefan Wildemann2019-10-281-1/+1
| | | | | | | | | | | | | | | | | | | This commit allows to slice all polygons (except poly_water_sliced) into squares so that they fit into smaller map tiles. Holes if present are correctly sliced as well. This has the advantage that they do not need to be processed albeit not being displayed, and navit-planet-extractor can filter them out. This has the disadvantage that the big polygons are displayed checkered if the corresponding itemgra in config features an outline. TODO: Slice already on polygon creation. Currently the slicing has to be performed twice, because of tile preprocessing and saving is done in seperate steps from the tempfiles. TODO: Make the trigger for slicing configurable. Right now it slices everything smaller than tile level 4.
* Move Android build to separate script (#727)mvglasow2019-01-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add:circleci:Install dependencies before the first build step Signed-off-by: mvglasow <michael -at- vonglasow.com> * Refactor:core:Make style check happy Signed-off-by: mvglasow <michael -at- vonglasow.com> * Refactor:core:Make style check happy Signed-off-by: mvglasow <michael -at- vonglasow.com> * Fix:circleci:ninja-build is a build dependency Signed-off-by: mvglasow <michael -at- vonglasow.com> * Add:circleci:Install Android cmake instead of ninja-build Signed-off-by: mvglasow <michael -at- vonglasow.com> * Refactor:circleci:Move Android build to external script Signed-off-by: mvglasow <michael -at- vonglasow.com> * Fix:circleci:Fix globbing errors Signed-off-by: mvglasow <michael -at- vonglasow.com>
* cleanup:maptool: use g_strcmp0 instead of strcmp (#434)Joseph Herlant2018-08-211-7/+7
|
* Cleanup:global:force the re-attach the return type to the function ↵Joseph Herlant2018-05-301-26/+14
| | | | | | | | declaration (#605) * Cleanup:global:force the re-attach the return type to the function declaration * cleanup:global:some loose ends
* cleanup:global:Use astyle to reformat everythingJoseph Herlant2018-05-251-284/+274
|
* cleanup:global:Cleanup some unreachable codeJoseph Herlant2018-04-301-31/+0
|
* Workaround maptool crash, increase static itembin buffer.R6272Michael Dankov2015-09-161-0/+1
|
* Add:maptool:Output progress info during boundaries processing.Michael Dankov2015-08-161-0/+2
|
* Fix:maptool:Properly free the boundary list.Michael Dankov2015-08-121-2/+3
|
* Refactor:maptool:New #define for relation member template string.sleske2014-07-171-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5816 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Refactor:maptool:Use enum for relation member types, separate function for ↵sleske2014-07-071-6/+8
| | | | | | default entries in relations collection. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5809 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Refactor:maptool:Rename methods, add Doxygen commments.sleske2014-07-071-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5808 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Refactor:maptool:Better names, add comments, remove unused parameter.sleske2014-05-291-3/+3
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5785 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:maptool:Don't use g_strcmp0() to make it compileable for windows.mdankov2013-08-301-2/+4
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5624 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:maptool:Fix NULL pointer dereference introduced last night.mdankov2013-08-291-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5621 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:maptool:Workaround to process France boundary not having ISO tag. ↵mdankov2013-08-281-0/+3
| | | | | | Related to #1097. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5620 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:maptool:Skip country boundaries which have no outer members. Report ↵mdankov2013-08-281-1/+17
| | | | | | unsupported cascaded country boundary relations. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5619 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fix warnings for unused functions, usually by removing them.|Part ↵sleske2013-08-111-0/+2
| | | | | | of #1154. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5570 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:maptool:Fixed few memleaks in relations, baoundary, coastline processing ↵mdankov2013-08-031-0/+2
| | | | | | code. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5556 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:maptool:Fix some memory leaks regarding boundary processingmartin-s2013-07-301-0/+29
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5552 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:maptool:Move to mainstream all experimental features: Spain town search ↵mdankov2013-02-211-2/+1
| | | | | | by country boundary; skip district names from Russian Fedeal cities. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5389 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:maptool:Make expiremental feature to skip extra administrative ↵mdankov2013-02-171-3/+3
| | | | | | subdivisions (svn 5380) work. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5384 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:maptool:Experimental feature to not include excessive administrative ↵mdankov2013-02-161-5/+16
| | | | | | sublevels to admin centres. For example, Moscow actually is not in Tverskoy district of itself. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5380 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:maptool:Enable Spain town index for experimental maptool runs.mdankov2013-02-071-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5371 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Update iso3166-1 country lists, recoginse iso3166-1:alpha2 tag on ↵mdankov2013-01-051-0/+4
| | | | | | coutry boundary relations. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5337 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Consider each member way of border relation only once, even if it ↵mdankov2013-01-031-1/+4
| | | | | | has duplicate osm->binfile item mapping. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5335 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Simple changes required to compile in MSVCbjasspa2012-08-121-0/+5
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5200 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Simple fixes to get navit compiling with MSVCbjasspa2012-07-011-1/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5165 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:maptool:Fix boundaries issue on win32rikky2012-04-231-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5034 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fix some warningsrikky2012-04-231-1/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5032 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Revert:maptool:Reverted changes 4890 and 4906 to make planet work againmartin-s2012-02-061-67/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4924 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:maptool:added initial support for relation based areas; added some tests ↵tegzed2012-01-151-2/+67
| | | | | | to avoid generating self-intersecting area items git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4890 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:maptool:Experimental support for adding county and municipality informationmartin-s2011-08-011-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4671 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:maptool:Handle ex- and enclavesmartin-s2011-07-201-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4650 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:maptool:Made merge of polygon segments workmartin-s2011-07-201-1/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4649 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:maptool:Better handling of broken polygonsmartin-s2011-07-201-8/+20
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4648 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:maptool:Better algorithm for boundary polygon sortingmartin-s2011-07-201-4/+29
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4646 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:maptool:Disable generating spain index by boundary for now to avoid ↵martin-s2011-07-111-1/+2
| | | | | | bloated toplevel tile git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4629 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:maptool:Save country boundaries for debuggingmartin-s2011-07-111-1/+25
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4627 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:maptool:Better boundary error diagnosticsmartin-s2011-07-111-0/+15
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4625 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:maptool:Let boundaries use new relation mechanismmartin-s2011-07-111-57/+36
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4624 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:maptool:Experimental support for boundary relationsmartin-s2011-07-101-18/+36
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4618 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core: Adds in forgotten licensinggeoghegan2011-04-111-0/+18
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4421 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fix clang compiler warnings: Add missing parenthesesrikky2011-02-121-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4142 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:maptool:MSVC fixes|Thanks chollyamartin-s2011-01-241-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3994 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:maptool:Experimental boundary polygon matchingmartin-s2010-05-151-0/+209
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3253 ffa7fe5e-494d-0410-b361-a75ebd5db220