navit  0.5.3-trunk
map_priv Struct Reference

Represents the map from a single binfile. More...

#include <csv.h>

Data Fields

int id
 
char * filename
 Filename of the binfile. More...
 
char * cachedir
 
struct filefi
 
struct filehttp
 
struct file ** fis
 
struct zip_cdindex_cd
 
int index_offset
 
int cde_size
 
struct zip_eoceoc
 
struct zip64_eoceoc64
 
int zip_members
 
unsigned char * search_data
 
int search_offset
 
int search_size
 
int version
 
int check_version
 
int map_version
 
GHashTable * changes
 
char * map_release
 
int flags
 
char * url
 
int update_available
 
char * progress
 
struct callback_listcbl
 
struct map_downloaddownload
 
int redirect
 
long download_enabled
 
int last_searched_town_id_hi
 
int last_searched_town_id_lo
 
struct quadtree_nodetree_root
 
GHashTable * qitem_hash
 
int dirty
 
int attr_cnt
 
enum attr_typeattr_types
 
int next_item_idx
 
enum item_type item_type
 
GListnew_items
 
char * charset
 
struct mapparent
 
GListfilters
 
struct gar2nav_convconv
 
struct gar * g
 
struct filefile [file_end]
 
char * dirname
 
SHPHandle hSHP
 
DBFHandle hDBF
 
int nShapeType
 
int nEntities
 
int nFields
 
double adfMinBound [4]
 
double adfMaxBound [4]
 
struct longest_matchlm
 
char * dbfmap_data
 
struct coord offset
 
enum projection pro
 
int is_pipe
 
int no_warning_if_map_file_missing
 
struct navigationnavigation
 
struct navitnavit
 
struct routeroute
 
struct trackingtracking
 
GListitems
 
struct traffic_shared_privshared
 

Detailed Description

Represents the map from a single binfile.

Private data for the traffic map.

Navit, a modular navigation system. Copyright (C) 2005-2008 Navit Team

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

If multiple traffic plugins are loaded, the map is shared between all of them.

Field Documentation

◆ adfMaxBound

double map_priv::adfMaxBound[4]

Referenced by map_new_shapefile().

◆ adfMinBound

double map_priv::adfMinBound[4]

Referenced by map_new_shapefile().

◆ attr_cnt

int map_priv::attr_cnt

Number of elements in attr_types

Referenced by csv_attr_get(), csv_attr_set(), map_new_csv(), and save_map_csv().

◆ attr_types

enum attr_type* map_priv::attr_types

Array of attribute types supported by this map

Referenced by csv_attr_get(), csv_attr_set(), map_destroy_csv(), map_new_csv(), and save_map_csv().

◆ cachedir

char* map_priv::cachedir

◆ cbl

struct callback_list* map_priv::cbl

Referenced by download(), and map_new_binfile().

◆ cde_size

◆ changes

◆ charset

char * map_priv::charset

Identifier for the character set of this map

Referenced by map_destroy_csv(), map_destroy_textfile(), map_new_csv(), map_new_shapefile(), map_new_textfile(), and save_map_csv().

◆ check_version

int map_priv::check_version

◆ conv

struct gar2nav_conv* map_priv::conv

◆ dbfmap_data

char* map_priv::dbfmap_data

◆ dirname

char* map_priv::dirname

◆ dirty

int map_priv::dirty

Need to write map file on exit

Referenced by csv_attr_set(), csv_coord_set(), csv_create_item(), and save_map_csv().

◆ download

struct map_download* map_priv::download

◆ download_enabled

long map_priv::download_enabled

Referenced by download(), and map_new_binfile().

◆ eoc

◆ eoc64

◆ fi

◆ file

◆ filename

◆ filters

GList* map_priv::filters

Referenced by free_filters(), and parse_filters().

◆ fis

struct file** map_priv::fis

◆ flags

◆ g

struct gar* map_priv::g

◆ hDBF

DBFHandle map_priv::hDBF

◆ hSHP

SHPHandle map_priv::hSHP

◆ http

◆ id

◆ index_cd

struct zip_cd* map_priv::index_cd

◆ index_offset

int map_priv::index_offset

◆ is_pipe

◆ item_type

enum item_type map_priv::item_type

Item type stored in this map

Referenced by csv_create_item(), and map_new_csv().

◆ items

GList* map_priv::items

The map items

Referenced by tm_rect_create_item(), and tm_type_set().

◆ last_searched_town_id_hi

int map_priv::last_searched_town_id_hi

◆ last_searched_town_id_lo

int map_priv::last_searched_town_id_lo

◆ lm

◆ map_release

char* map_priv::map_release

◆ map_version

int map_priv::map_version

◆ navigation

struct navigation* map_priv::navigation

◆ navit

struct navit* map_priv::navit

◆ nEntities

int map_priv::nEntities

◆ new_items

GList* map_priv::new_items

List of quadtree items that have no coord set yet

Referenced by csv_coord_set(), and csv_create_item().

◆ next_item_idx

int map_priv::next_item_idx

Zero-based index (id_lo) for the next item to be added

Referenced by csv_create_item(), and map_new_csv().

◆ nFields

int map_priv::nFields

◆ no_warning_if_map_file_missing

int map_priv::no_warning_if_map_file_missing

Referenced by map_new_textfile().

◆ nShapeType

int map_priv::nShapeType

Referenced by map_new_shapefile().

◆ offset

struct coord map_priv::offset

◆ parent

struct map* map_priv::parent

◆ pro

enum projection map_priv::pro

◆ progress

char* map_priv::progress

◆ qitem_hash

GHashTable* map_priv::qitem_hash

Hash table to retrieve items by their ID

Referenced by csv_create_item(), map_destroy_csv(), map_new_csv(), map_rect_get_item_byid_csv(), and quadtree_item_free().

◆ redirect

int map_priv::redirect

◆ route

◆ search_data

unsigned char* map_priv::search_data

Referenced by binfile_search_cd().

◆ search_offset

int map_priv::search_offset

Referenced by binfile_search_cd().

◆ search_size

int map_priv::search_size

Referenced by binfile_search_cd().

◆ shared

struct traffic_shared_priv* map_priv::shared

Private data shared between all instances

Referenced by tm_rect_new(), and traffic_map_new().

◆ tracking

struct tracking* map_priv::tracking

◆ tree_root

struct quadtree_node* map_priv::tree_root

Root of the quadtree from which items can be retrieved by their coordinates

Referenced by csv_coord_set(), map_destroy_csv(), map_new_csv(), and save_map_csv().

◆ update_available

int map_priv::update_available

Referenced by map_binfile_open().

◆ url

◆ version

int map_priv::version

◆ zip_members

int map_priv::zip_members

The documentation for this struct was generated from the following files: