tinyows 1.2.2
|
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <float.h>
#include <math.h>
#include <string.h>
#include "ows.h"
Go to the source code of this file.
Functions | |
ows_geobbox * | ows_geobbox_init () |
ows_geobbox * | ows_geobbox_copy (ows_geobbox *g) |
void | ows_geobbox_free (ows_geobbox *g) |
bool | ows_geobbox_set (ows *o, ows_geobbox *g, double west, double east, double south, double north) |
bool | ows_geobbox_set_from_bbox (ows *o, ows_geobbox *g, ows_bbox *bb) |
ows_geobbox * | ows_geobbox_set_from_str (ows *o, ows_geobbox *g, char *str) |
ows_geobbox * | ows_geobbox_compute (ows *o, buffer *layer_name) |
ows_geobbox * ows_geobbox_compute | ( | ows * | o, |
buffer * | layer_name ) |
Definition at line 153 of file ows_geobbox.c.
References Buffer::buf, buffer_add_str(), buffer_copy(), buffer_empty(), buffer_free(), buffer_init(), Ows::estimated_extent, List::first, List_node::next, ows_bbox_free(), ows_bbox_init(), ows_bbox_set(), ows_geobbox_init(), ows_geobbox_set_from_bbox(), ows_psql_exec(), ows_psql_geometry_column(), ows_psql_schema_name(), ows_psql_table_name(), and List_node::value.
Referenced by wfs_feature_type_list().
ows_geobbox * ows_geobbox_copy | ( | ows_geobbox * | g | ) |
Definition at line 56 of file ows_geobbox.c.
Referenced by ows_parse_config_layer().
void ows_geobbox_free | ( | ows_geobbox * | g | ) |
Definition at line 69 of file ows_geobbox.c.
Referenced by ows_free(), ows_layer_free(), ows_parse_config_limits(), and wfs_feature_type_list().
ows_geobbox * ows_geobbox_init | ( | ) |
Definition at line 37 of file ows_geobbox.c.
References Ows_geobbox::east, Ows_geobbox::north, Ows_geobbox::south, and Ows_geobbox::west.
Referenced by ows_geobbox_compute(), ows_parse_config_layer(), ows_parse_config_limits(), and wfs_feature_type_list().
bool ows_geobbox_set | ( | ows * | o, |
ows_geobbox * | g, | ||
double | west, | ||
double | east, | ||
double | south, | ||
double | north ) |
Definition at line 80 of file ows_geobbox.c.
References Ows_geobbox::east, Ows_geobbox::north, Ows_geobbox::south, and Ows_geobbox::west.
Referenced by ows_geobbox_set_from_bbox().
bool ows_geobbox_set_from_bbox | ( | ows * | o, |
ows_geobbox * | g, | ||
ows_bbox * | bb ) |
Definition at line 108 of file ows_geobbox.c.
References ows_geobbox_set(), Ows_bbox::xmax, Ows_bbox::xmin, Ows_bbox::ymax, and Ows_bbox::ymin.
Referenced by ows_geobbox_compute(), and ows_geobbox_set_from_str().
ows_geobbox * ows_geobbox_set_from_str | ( | ows * | o, |
ows_geobbox * | g, | ||
char * | str ) |
Definition at line 134 of file ows_geobbox.c.
References ows_bbox_free(), ows_bbox_init(), ows_bbox_set_from_str(), and ows_geobbox_set_from_bbox().
Referenced by ows_parse_config_layer(), and ows_parse_config_limits().