diff options
author | mdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-02-28 19:58:59 +0000 |
---|---|---|
committer | mdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-02-28 19:58:59 +0000 |
commit | e9e4cde50c131805c6fcfb64b3d9533360865883 (patch) | |
tree | d312388238e7647e941f812458e6ef1c3f719d0c /navit/maptool/maptool.c | |
parent | 0ec6489a72d723344b0e62e31034aaaaaf780c28 (diff) | |
download | navit-svn-e9e4cde50c131805c6fcfb64b3d9533360865883.tar.gz |
Add:maptool:Experimental feature to convert place=* relations to poly_place* items to improve address search.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5395 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/maptool/maptool.c')
-rw-r--r-- | navit/maptool/maptool.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/navit/maptool/maptool.c b/navit/maptool/maptool.c index 7d1876b3..4800a286 100644 --- a/navit/maptool/maptool.c +++ b/navit/maptool/maptool.c @@ -786,8 +786,8 @@ int main(int argc, char **argv) char *suffixes[]={""}; #endif char *suffix=suffixes[0]; - char *filenames[10]; - char *referencenames[10]; + char *filenames[20]; + char *referencenames[20]; int filename_count=0; int suffix_count=sizeof(suffixes)/sizeof(char *); @@ -832,7 +832,7 @@ int main(int argc, char **argv) exit(0); } } -#if 1 +#if 0 if (experimental) { fprintf(stderr,"No experimental features available\n"); exit(0); @@ -935,6 +935,10 @@ int main(int argc, char **argv) filenames[filename_count]="way2poi_result"; referencenames[filename_count++]=NULL; } + if(experimental) { + filenames[filename_count]="towns_poly"; + referencenames[filename_count++]=NULL; + } for (i = suffix_start ; i < suffix_count ; i++) { suffix=suffixes[i]; if (start_phase(&p,"generating tiles")) { |