kopia lustrzana https://gitlab.com/tomaszg/geostat
Ugly fix for traildb: increase hardcoded trails limit, change output files names, install binary
rodzic
ccfcef272b
commit
2801ac29f1
|
@ -30,7 +30,7 @@ executable('geofriends', src_fr, install: true, link_with : lib_geostat)
|
||||||
executable('geolist', src_lst, install: true, link_with : lib_geostat)
|
executable('geolist', src_lst, install: true, link_with : lib_geostat)
|
||||||
executable('geostat_cli', src_cli, dependencies : [gpx_dep], link_args: link, install: true, link_with : lib_geostat)
|
executable('geostat_cli', src_cli, dependencies : [gpx_dep], link_args: link, install: true, link_with : lib_geostat)
|
||||||
executable('geodb', src_db, install: true, link_with : lib_geostat)
|
executable('geodb', src_db, install: true, link_with : lib_geostat)
|
||||||
executable('traildb', src_traildb, install: false, link_with : lib_geostat)
|
executable('traildb', src_traildb, install: true, link_with : lib_geostat)
|
||||||
|
|
||||||
#configure_file(input: 'rating-star.png', output: '@PLAINNAME@', copy: true, install: true, install_dir: '.')
|
#configure_file(input: 'rating-star.png', output: '@PLAINNAME@', copy: true, install: true, install_dir: '.')
|
||||||
#configure_file(input: 'geo.css', output: '@PLAINNAME@', copy: true, install: true, install_dir: '.')
|
#configure_file(input: 'geo.css', output: '@PLAINNAME@', copy: true, install: true, install_dir: '.')
|
||||||
|
|
|
@ -15,11 +15,11 @@ int main() {
|
||||||
// Debug::set_debug_level(5);
|
// Debug::set_debug_level(5);
|
||||||
PowertrailDB T;
|
PowertrailDB T;
|
||||||
|
|
||||||
for (int i = 1; i < 1675; i++)
|
for (int i = 1; i < 2000; i++)
|
||||||
T.get_trail(i);
|
T.get_trail(i);
|
||||||
|
|
||||||
Caches_in_Powertrails cc(T);
|
Caches_in_Powertrails cc(T);
|
||||||
|
|
||||||
cc.save_to_json("caches_in_power.json");
|
cc.save_to_json("caches_in_power.json.new");
|
||||||
T.save_to_json("powertrails.json");
|
T.save_to_json("powertrails.json.new");
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue