navit
0.5.3-trunk
|
Data Structures | |
struct | coastline_tile |
struct | coastline_tile_data |
Functions | |
static int | distance_from_ll (struct coord *c, struct rect *bbox) |
static struct geom_poly_segment * | find_next (struct rect *bbox, GList *segments, struct coord *c, int exclude, struct coord *ci) |
static void | close_polygon (struct item_bin *ib, struct coord *from, struct coord *to, int dir, struct rect *bbox, int *edges) |
static GList * | tile_data_to_segments (int *tile_data) |
static void | tile_collector_process_tile (char *tile, int *tile_data, struct coastline_tile_data *data) |
static void | ocean_tile (GHashTable *hash, char *tile, char c, osmid wayid, struct item_bin_sink *out) |
static void | tile_collector_add_siblings (char *tile, struct coastline_tile *ct, struct coastline_tile_data *data) |
static int | tile_sibling_edges (GHashTable *hash, char *tile, char c) |
static void | tile_collector_add_siblings2 (char *tile, struct coastline_tile *ct, struct coastline_tile_data *data) |
static void | foreach_tile_func (gpointer key, gpointer value, gpointer user_data) |
static void | foreach_tile (struct coastline_tile_data *data, void(*func)(char *, struct coastline_tile *, struct coastline_tile_data *)) |
static int | tile_collector_finish (struct item_bin_sink_func *tile_collector) |
static int | coastline_processor_process (struct item_bin_sink_func *func, struct item_bin *ib, struct tile_data *tile_data) |
static struct item_bin_sink_func * | coastline_processor_new (struct item_bin_sink *out) |
static void | coastline_processor_finish (struct item_bin_sink_func *coastline_processor) |
void | process_coastlines (FILE *in, FILE *out) |
|
static |
References bbox(), c, distance_from_ll(), edges, item_bin_add_coord(), pcoord::x, and pcoord::y.
Referenced by tile_collector_process_tile().
|
static |
References item_bin_sink_destroy(), item_bin_sink_func_destroy(), item_bin_sink_func::priv_data, and tile_collector_finish().
Referenced by process_coastlines().
|
static |
References tile_parameter::attr_to_copy, coastline_processor_process(), item_bin_sink_add_func(), item_bin_sink_func_new(), item_bin_sink_new(), tile_parameter::max, tile_parameter::min, tile_parameter::overlap, item_bin_sink_func::priv_data, and tile_collector_new().
Referenced by process_coastlines().
|
static |
References item_bin_write_clipped(), and item_bin_sink_func::priv_data.
Referenced by coastline_processor_new().
References bbox(), c, pcoord::x, and pcoord::y.
Referenced by close_polygon(), find_next(), and tile_collector_process_tile().
|
static |
References bbox(), c, dbg, distance_from_ll(), geom_poly_segment::first, geom_poly_segment::last, lvl_debug, coord::x, and coord::y.
Referenced by tile_collector_process_tile().
|
static |
References data, foreach_tile_func(), coastline_tile_data::k, and coastline_tile_data::v.
Referenced by tile_collector_finish().
|
static |
References data, key, and value.
Referenced by foreach_tile().
|
static |
References bbox(), c, coastline_tile::edges, init_item(), item_bin_add_attr_longlong(), item_bin_bbox(), item_bin_write_to_sink(), tile_bbox(), coastline_tile::wayid, and wayid.
Referenced by tile_collector_add_siblings().
void process_coastlines | ( | FILE * | in, |
FILE * | out | ||
) |
|
static |
References data, debug, edges, coastline_tile::edges, ocean_tile(), and coastline_tile::wayid.
Referenced by tile_collector_finish().
|
static |
References data, debug, edges, coastline_tile::edges, tile_sibling_edges(), and coastline_tile::wayid.
Referenced by tile_collector_finish().
|
static |
|
static |
References bbox(), close_polygon(), data, dbg, distance_from_ll(), edges, coastline_tile::edges, find_next(), geom_poly_segment::first, geom_poly_segment_destroy(), geom_poly_segment_type_none, geom_poly_segment_type_way_inner, geom_poly_segment_type_way_outer, geom_poly_segment_type_way_right_side, geom_poly_segments_sort(), init_item(), item_bin_add_attr_longlong(), item_bin_add_coord(), item_bin_bbox(), item_bin_get_wayid(), item_bin_write_to_sink(), lvl_debug, tile_bbox(), tile_data_to_segments(), geom_poly_segment::type, coastline_tile::wayid, coord::x, and coord::y.
Referenced by tile_collector_finish().
|
static |
References geom_poly_segment_type_way_right_side, item_bin_to_poly_segment(), and item_bin::len.
Referenced by tile_collector_process_tile().
|
static |
References c, and coastline_tile::edges.
Referenced by tile_collector_add_siblings2().