navit
0.5.3-trunk
|
Used to select data from a map. More...
#include <map.h>
Data Fields | |
struct map_selection * | next |
union { | |
struct coord_rect c_rect | |
struct point_rect p_rect | |
} | u |
int | order |
struct item_range | range |
Used to select data from a map.
A map selection is a map query, used to select data from a map. It builds a coordinate rectangle on the map and selects a range of item types to query the map for.
Multiple rectangular areas and/or non-contiguous ranges of item types can be specified by concatenating multiple map selections in a linked list.
Note that passing NULL instead of a pointer to such a struct often means "get me everything".
struct coord_rect map_selection::c_rect |
For building the rectangle based on coordinates
Referenced by NGQPoint::_coordName(), binmap_search_housenumber_by_estimate(), binmap_search_new(), binmap_search_street_by_estimate(), binmap_search_street_by_place(), block_init(), block_next(), block_next_lin(), garmin_get_selection(), Backend::get_pois(), NGQPoint::getPOI(), gui_internal_cmd2_route_height_profile(), gui_internal_cmd_map_download_do(), gui_internal_cmd_pois(), item_coord_get_within_selection(), map_download_selection_check(), map_rect_new_csv(), map_rect_new_textfile(), map_route_occluded_get_buildings(), map_selection_contains_point(), map_selection_contains_polyline(), map_selection_contains_rect(), map_selection_dup_pro(), map_selection_rect_new(), navigation_itm_new(), navigation_itm_ways_update(), navit_cmd_map_add_curr_pos(), poly_get(), route_rect(), rp_rect_new(), selection_contains(), street_data_within_selection(), tm_rect_new(), town_get(), traffic_process_messages_int(), transform_get_selection(), and transform_setup_source_rect().
struct map_selection* map_selection::next |
Linked-List pointer
Referenced by NGQPoint::_coordName(), binmap_search_street_by_place(), gmap_rect_new(), gui_internal_cmd2_route_height_profile(), gui_internal_cmd_map_download_do(), item_coord_get_within_selection(), map_download_selection_check(), map_rect_get_item_mg(), map_rect_new_mg(), map_rect_new_textfile(), map_route_occluded_get_buildings(), map_selection_contains_item(), map_selection_contains_item_range(), map_selection_contains_point(), map_selection_contains_polyline(), map_selection_contains_rect(), map_selection_destroy(), map_selection_dup_pro(), navigation_itm_new(), navigation_itm_ways_update(), navit_cmd_map_add_curr_pos(), route_free_selection(), route_rect(), route_rect_add(), selection_contains(), street_data_within_selection(), tm_rect_new(), traffic_process_messages_int(), traffic_traff_android_set_selection(), transform_get_selection(), transform_setup_source_rect(), and transform_within_border().
int map_selection::order |
Holds the order
Referenced by NGQPoint::_coordName(), binmap_search_housenumber_by_estimate(), binmap_search_street_by_place(), get_level(), gmap_rect_new(), gui_internal_cmd2_route_height_profile(), gui_internal_cmd_map_download_do(), map_rect_new_binfile(), map_rect_new_textfile(), map_route_occluded_get_buildings(), map_selection_rect_new(), navigation_itm_new(), navit_cmd_map_add_curr_pos(), poly_get(), route_rect(), route_rect_add(), selection_contains(), street_get(), town_get(), and transform_get_selection().
struct point_rect map_selection::p_rect |
For building the rectangle based on points
Referenced by navit_handle_resize(), osd_auxmap_draw(), transform_get_size(), transform_set_screen_selection(), transform_setup_source_rect(), and transform_within_border().
struct item_range map_selection::range |
Range of items which should be delivered
Referenced by NGQPoint::_coordName(), binmap_search_housenumber_by_estimate(), binmap_search_street_by_place(), garmin_get_selection(), gui_internal_cmd2_route_height_profile(), gui_internal_cmd_map_download_do(), map_route_occluded_get_buildings(), map_selection_contains_item(), map_selection_contains_item_range(), map_selection_rect_new(), navigation_itm_new(), navit_cmd_map_add_curr_pos(), route_rect(), and transform_get_selection().
union { ... } map_selection::u |
Referenced by NGQPoint::_coordName(), binmap_search_housenumber_by_estimate(), binmap_search_new(), binmap_search_street_by_estimate(), binmap_search_street_by_place(), block_init(), block_next(), block_next_lin(), garmin_get_selection(), Backend::get_pois(), NGQPoint::getPOI(), gui_internal_cmd2_route_height_profile(), gui_internal_cmd_map_download_do(), gui_internal_cmd_pois(), item_coord_get_within_selection(), map_download_selection_check(), map_rect_new_csv(), map_rect_new_textfile(), map_route_occluded_get_buildings(), map_selection_contains_point(), map_selection_contains_polyline(), map_selection_contains_rect(), map_selection_dup_pro(), map_selection_rect_new(), navigation_itm_new(), navigation_itm_ways_update(), navit_cmd_map_add_curr_pos(), navit_handle_resize(), osd_auxmap_draw(), poly_get(), route_rect(), rp_rect_new(), selection_contains(), street_data_within_selection(), tm_rect_new(), town_get(), traffic_process_messages_int(), transform_get_selection(), transform_get_size(), transform_set_screen_selection(), transform_setup_source_rect(), and transform_within_border().