tinyows 1.2.2
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "../ows/ows.h"
Go to the source code of this file.
Functions | |
bool | fe_is_spatial_op (char *name) |
static buffer * | fe_transform_coord_gml2_to_psql (buffer *coord) |
buffer * | fe_envelope (ows *o, buffer *typename, filter_encoding *fe, buffer *envelope, xmlNodePtr n) |
static buffer * | fe_spatial_functions (ows *o, buffer *typename, filter_encoding *fe, xmlNodePtr n) |
static buffer * | fe_distance_functions (ows *o, buffer *typename, filter_encoding *fe, xmlNodePtr n) |
static buffer * | fe_bbox_layer (ows *o, buffer *typename, buffer *sql, buffer *propertyname, buffer *envelope) |
static buffer * | fe_bbox (ows *o, buffer *typename, filter_encoding *fe, xmlNodePtr n) |
buffer * | fe_spatial_op (ows *o, buffer *typename, filter_encoding *fe, xmlNodePtr n) |
|
static |
Definition at line 495 of file fe_spatial_ops.c.
References buffer_add(), buffer_add_str(), buffer_free(), buffer_init(), Filter_encoding::error_code, fe_bbox_layer(), fe_envelope(), FE_ERROR_FILTER, FE_ERROR_GEOM_PROPERTYNAME, FE_NO_ERROR, fe_property_name(), List::first, in_list(), Filter_encoding::in_not, Ows::layers, List_node::next, ows_layer_prefix_to_uri(), ows_psql_geometry_column(), Filter_encoding::sql, Buffer::use, and List_node::value.
Referenced by fe_spatial_op().
|
static |
Definition at line 428 of file fe_spatial_ops.c.
References buffer_add(), buffer_add_int(), buffer_add_str(), buffer_copy(), Ows_request::request, Ows::request, and Ows_request::wfs.
Referenced by fe_bbox().
|
static |
Definition at line 346 of file fe_spatial_ops.c.
References buffer_add(), buffer_add_str(), buffer_copy(), buffer_free(), buffer_ftoa(), buffer_init(), Filter_encoding::error_code, FE_ERROR_GEOMETRY, FE_ERROR_UNITS, fe_property_name(), Ows::layers, ows_layer_prefix_to_uri(), ows_psql_gml_to_sql(), ows_srs_meter_units(), and Filter_encoding::sql.
Referenced by fe_spatial_op().
buffer * fe_envelope | ( | ows * | o, |
buffer * | typename, | ||
filter_encoding * | fe, | ||
buffer * | envelope, | ||
xmlNodePtr | n ) |
Definition at line 81 of file fe_spatial_ops.c.
References Buffer::buf, buffer_add_str(), buffer_free(), buffer_init(), check_regexp(), Filter_encoding::error_code, FE_ERROR_BBOX, FE_ERROR_SRS, fe_transform_coord_gml2_to_psql(), List::first, Ows_srs::honours_authority_axis_order, Ows_srs::is_axis_order_gis_friendly, Ows::layers, list_explode(), list_explode_str(), list_free(), List_node::next, ows_bbox_free(), ows_bbox_init(), ows_bbox_set(), ows_bbox_to_query(), ows_layer_prefix_to_uri(), ows_srs_free(), ows_srs_get_srid_from_layer(), ows_srs_init(), ows_srs_set_from_srsname(), Ows_request::request, Ows::request, Ows_srs::srid, List_node::value, and Ows_request::wfs.
Referenced by fe_bbox(), fe_spatial_functions(), wfs_insert_xml(), and wfs_update_xml().
bool fe_is_spatial_op | ( | char * | name | ) |
Definition at line 35 of file fe_spatial_ops.c.
Referenced by fe_binary_logical_op(), fe_filter(), and fe_unary_logical_op().
|
static |
Definition at line 230 of file fe_spatial_ops.c.
References Buffer::buf, buffer_add(), buffer_add_int(), buffer_add_str(), buffer_copy(), buffer_free(), Filter_encoding::error_code, fe_envelope(), FE_ERROR_GEOMETRY, fe_property_name(), Ows::layers, ows_layer_prefix_to_uri(), ows_psql_geometry_srid(), ows_psql_gml_to_sql(), ows_srs_free(), ows_srs_get_srid_from_layer(), ows_srs_init(), ows_srs_set_from_srid(), ows_srs_set_from_srsname(), Ows_request::request, Ows::request, Filter_encoding::sql, Ows_srs::srid, and Ows_request::wfs.
Referenced by fe_spatial_op().
buffer * fe_spatial_op | ( | ows * | o, |
buffer * | typename, | ||
filter_encoding * | fe, | ||
xmlNodePtr | n ) |
Definition at line 570 of file fe_spatial_ops.c.
References Filter_encoding::error_code, fe_bbox(), fe_distance_functions(), FE_ERROR_FILTER, fe_spatial_functions(), and Filter_encoding::sql.
Referenced by fe_binary_logical_op(), fe_filter(), and fe_unary_logical_op().
Definition at line 61 of file fe_spatial_ops.c.
References Buffer::buf, check_regexp(), and Buffer::use.
Referenced by fe_envelope().