#include <rdata.h>
Data Fields | |
bx_node_t * | rules |
root node of node rules and way rules | |
int | need_index |
If need_index is set to 1, Smrender will create the reverse pointers. | |
bx_node_t * | index |
root node of reverse pointers for OSM objects | |
struct bbox | bb |
bounding box (left lower and right upper coordinates) | |
int | polygon_window |
polygon window instead of bbox | |
struct coord | pw [4] |
coordinates of polygon (ll, rl, ru, lu) | |
double | rot |
rotation of page | |
double | wc |
coordinate width in degrees (wc=bb.ru.lon-bb.ll.lon) | |
double | hc |
coordinate height in degrees (hc=bb.ru.lat-bb.ll.lat) | |
double | mean_lat |
mean latitude and its length in degrees corresponding to the real nautical miles | |
double | mean_lat_len |
double | mean_lon |
mean longitude in degrees | |
double | lath |
hyperbolic value of mean latitude, necessary for Mercator projection (latitude stretching) | |
double | lath_len |
difference between hyperbolic max. and min. latitudes | |
double | w |
(pixel) image width of rendered image | |
double | h |
(pixel) image height of rendered image | |
double | pgw |
page (pixel) width, this == rd->w if no rotation takes place (i.e. rd->rot = 0) | |
double | pgh |
page (pixel) height | |
int | dpi |
pixel resolution | |
double | scale |
scale | |
struct dstats | ds |
node/way stats | |
char * | cmdline |
pointer to cmd line string | |
char * | title |
chart title | |
int | flags |
general control flags (RD_xxx) | |
int64_t | id_off |
offset of output ids | |
double | img_scale |
default image scale | |
This structure contains all core parameters and settings which are necessary for Smrender to operate properly.