ZOO-Project
|
service_internal_ms.h File Reference
#include <sys/stat.h>
#include "service.h"
#include "cpl_conv.h"
#include "cpl_multiproc.h"
#include "ogr_api.h"
#include "gdal.h"
#include "ogr_srs_api.h"
#include <mapserver.h>
Go to the source code of this file.
Functions | |
map * | getCorrespondance () |
Get a list of configuration keys having a corresponding mandatory ows_*. More... | |
void | setMapSize (maps *output, double minx, double miny, double maxy, double maxx) |
Add width and height keys to an output maps containing the maximum width and height for displaying the full data extent. More... | |
void | setReferenceUrl (maps *m, maps *tmpI) |
Add a Reference key to an output containing the WMFS/WFS/WCS request for accessing service result. More... | |
void | setSrsInformations (maps *output, mapObj *m, layerObj *myLayer, char *pszProjection) |
Set projection for a layer in a MAPFILE using Authority Code and Name if available or fallback to proj4 definition if available or fallback to default EPSG:4326. More... | |
void | setMsExtent (maps *output, mapObj *m, layerObj *myLayer, double minX, double minY, double maxX, double maxY) |
Set the MAPFILE extent, the the ows_extent for the layer, add wms_extent and wfs_extent to the output maps and call setMapSize. More... | |
int | tryOgr (maps *conf, maps *output, mapObj *m) |
Try to open a vector output and define the corresponding layer in the MAPFILE. More... | |
int | tryGdal (maps *conf, maps *output, mapObj *m) |
Try to open a raster output and define the corresponding layer in the MAPFILE. More... | |
void | outputMapfile (maps *conf, maps *outputs) |
Create a MapFile for WMS, WFS or WCS Service output. More... | |
void | saveMapNames (maps *, maps *, char *) |
Save the map fullpath in a text file (.maps) More... | |
Function Documentation
map* getCorrespondance | ( | ) |
Get a list of configuration keys having a corresponding mandatory ows_*.
Map composed by a main.cfg maps name as key and the corresponding MapServer Mafile Metadata name to use see doc from here :
- http://mapserver.org/ogc/wms_server.html
- http://mapserver.org/ogc/wfs_server.html
- http://mapserver.org/ogc/wcs_server.html
- Returns
- a new map containing a table linking a name of a configuration key to a corresponding mandatory ows_* keyword (ie. "fees" => "ows_fees").
Create a MapFile for WMS, WFS or WCS Service output.
- Parameters
-
conf the conf maps containing the main.cfg settings outputs a specific output maps
First store the value on disk
Set a ows_rootlayer_title,
Enable all the WXS requests using ows_enable_request see http://mapserver.org/trunk/development/rfc/ms-rfc-67.html
Set metadata extracted from main.cfg file maps
Save the map fullpath in a text file (.maps)
- Parameters
-
conf the main configuration map pointer output the current output for which a mapfile has been generated mapfile the mapfile saved to store in the text file
void setMapSize | ( | maps * | output, |
double | minx, | ||
double | miny, | ||
double | maxx, | ||
Support ZOO-ProjectSearchContext NavigationMain Navigation |