53 #ifndef DOXYGEN_SHOULD_SKIP_THIS
62 typedef struct gaia_wfs_catalog gaiaWFScatalog;
63 typedef gaiaWFScatalog *gaiaWFScatalogPtr;
65 typedef struct gaia_wfs_item gaiaWFSitem;
66 typedef gaiaWFSitem *gaiaWFSitemPtr;
68 typedef struct gaia_wfs_schema gaiaWFSschema;
69 typedef gaiaWFSschema *gaiaWFSschemaPtr;
71 typedef struct gaia_wfs_column gaiaWFScolumn;
72 typedef gaiaWFScolumn *gaiaWFScolumnPtr;
104 const char *path_or_url,
105 const char *alt_describe_uri,
106 const char *layer_name,
int swap_axes,
108 const char *pk_column_name,
109 int spatial_index,
int *rows,
111 void (*progress_callback) (
int,
149 const char *path_or_url,
150 const char *alt_describe_uri,
151 const char *layer_name,
154 const char *pk_column_name,
156 int page_size,
int *rows,
158 void (*progress_callback) (
int,
202 SPATIALITE_DECLARE
const char *
get_wfs_version (gaiaWFScatalogPtr handle);
253 int srid,
int max_features);
273 const char *version);
461 int *type,
int *srid,
SPATIALITE_DECLARE int get_wfs_schema_geometry_info(gaiaWFSschemaPtr handle, const char **name, int *type, int *srid, int *dims, int *nullable)
Return the infos describing some WFS-GeometryColumn object.
SPATIALITE_DECLARE gaiaWFScatalogPtr create_wfs_catalog(const char *path_or_url, char **err_msg)
Creates a Catalog for some WFS service.
SPATIALITE_DECLARE const char * get_wfs_item_title(gaiaWFSitemPtr handle)
Return the title corresponding to some WFS-Item (aka Layer) object.
SPATIALITE_DECLARE int get_wfs_schema_column_info(gaiaWFScolumnPtr handle, const char **name, int *type, int *nullable)
Return the infos describing some WFS-Column object.
SPATIALITE_DECLARE int get_wfs_layer_srid_count(gaiaWFSitemPtr handle)
Return the total count of SRIDs supported by a WFS-Item object.
SPATIALITE_DECLARE int get_wfs_layer_srid(gaiaWFSitemPtr handle, int index)
Return one of the SRIDs supported by a WFS-Item object.
SPATIALITE_DECLARE char * get_wfs_request_url(gaiaWFScatalogPtr handle, const char *name, const char *version, int srid, int max_features)
Return a GetFeature URL (GET)
SPATIALITE_DECLARE void destroy_wfs_schema(gaiaWFSschemaPtr handle)
Destroys a WFS-schema object freeing any allocated resource.
SPATIALITE_DECLARE int load_from_wfs_paged(sqlite3 *sqlite, const char *path_or_url, const char *alt_describe_uri, const char *layer_name, int swap_axes, const char *table, const char *pk_column_name, int spatial_index, int page_size, int *rows, char **err_msg, void(*progress_callback)(int, void *), void *callback_ptr)
Loads data from some WFS source (using WFS paging)
SPATIALITE_DECLARE int get_wfs_catalog_count(gaiaWFScatalogPtr handle)
Return the total count of items (aka Layers) defined within a WFS-Catalog object. ...
SPATIALITE_DECLARE gaiaWFScolumnPtr get_wfs_schema_column(gaiaWFSschemaPtr handle, int index)
Return the pointer to some specific Column defined within a WFS-Schema object.
SPATIALITE_DECLARE const char * get_wfs_item_abstract(gaiaWFSitemPtr handle)
Return the abstract corresponding to some WFS-Item (aka Layer) object.
SPATIALITE_DECLARE gaiaWFSitemPtr get_wfs_catalog_item(gaiaWFScatalogPtr handle, int index)
Return the pointer to some specific Layer defined within a WFS-Catalog object.
SPATIALITE_DECLARE const char * get_wfs_item_name(gaiaWFSitemPtr handle)
Return the name corresponding to some WFS-Item (aka Layer) object.
SPATIALITE_DECLARE const char * get_wfs_version(gaiaWFScatalogPtr handle)
Return the WFS-Version string as reported by GetCapabilities.
SPATIALITE_DECLARE const char * get_wfs_base_request_url(gaiaWFScatalogPtr handle)
Return the base URL for any WFS-GetFeature call.
SPATIALITE_DECLARE const char * get_wfs_base_describe_url(gaiaWFScatalogPtr handle)
Return the base URL for any WFS-DescribeFeatureType call.
SPATIALITE_DECLARE void reset_wfs_http_connection(void)
Resets the libxml2 "nano HTTP": useful when changing the HTTP_PROXY settings.
SPATIALITE_DECLARE void destroy_wfs_catalog(gaiaWFScatalogPtr handle)
Destroys a WFS-Catalog object freeing any allocated resource.
SPATIALITE_DECLARE char * get_wfs_describe_url(gaiaWFScatalogPtr handle, const char *name, const char *version)
Return a DescribeFeatureType URL (GET)
SPATIALITE_DECLARE gaiaWFSschemaPtr create_wfs_schema(const char *path_or_url, const char *layer_name, char **err_msg)
Creates a Schema representing some WFS Layer.
SPATIALITE_DECLARE int get_wfs_keyword_count(gaiaWFSitemPtr handle)
Return the total count of Keywords associated to a WFS-Item object.
SPATIALITE_DECLARE int load_from_wfs(sqlite3 *sqlite, const char *path_or_url, const char *alt_describe_uri, const char *layer_name, int swap_axes, const char *table, const char *pk_column_name, int spatial_index, int *rows, char **err_msg, void(*progress_callback)(int, void *), void *callback_ptr)
Loads data from some WFS source.
SPATIALITE_DECLARE const char * get_wfs_keyword(gaiaWFSitemPtr handle, int index)
Return one of the Keywords supported by a WFS-Item object.
SPATIALITE_DECLARE int get_wfs_schema_column_count(gaiaWFSschemaPtr handle)
Return the total count of items (aka Columns) defined within a WFS-Schema object. ...