tinyows 1.2.2
ows_geobbox.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <float.h>
#include <math.h>
#include <string.h>
#include "ows.h"
Include dependency graph for ows_geobbox.c:

Go to the source code of this file.

Functions

ows_geobboxows_geobbox_init ()
 
ows_geobboxows_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_geobboxows_geobbox_set_from_str (ows *o, ows_geobbox *g, char *str)
 
ows_geobboxows_geobbox_compute (ows *o, buffer *layer_name)
 

Function Documentation

◆ ows_geobbox_compute()

◆ ows_geobbox_copy()

ows_geobbox * ows_geobbox_copy ( ows_geobbox * g)

Definition at line 56 of file ows_geobbox.c.

Referenced by ows_parse_config_layer().

◆ ows_geobbox_free()

void ows_geobbox_free ( ows_geobbox * g)

◆ ows_geobbox_init()

◆ ows_geobbox_set()

bool ows_geobbox_set ( ows * o,
ows_geobbox * g,
double west,
double east,
double south,
double north )

◆ 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().

Here is the call graph for this function:

◆ 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().

Here is the call graph for this function:

Generated for tinyows by doxygen 1.10.0