source: trunk/zoo-project/zoo-kernel/service_internal_ms.h @ 348

Last change on this file since 348 was 348, checked in by neteler, 8 years ago

set correctly svn propset

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr
File size: 1.3 KB
Line 
1#ifndef ZOO_SERVICE_INTERNAL_MS_H
2#define ZOO_SERVICE_INTERNAL_MS_H 1
3#ifdef USE_MS
4
5#include <sys/stat.h>
6#include "service_internal.h"
7#include "service.h"
8#include "cpl_conv.h"
9#include "ogr_api.h"
10#include "gdal.h"
11#include "ogr_srs_api.h"
12#include "ulinet.h"
13
14#include <mapserver.h>
15
16  /**
17   * Map composed by a main.cfg maps name as key and the corresponding
18   * MapServer Mafile Metadata name to use
19   * see doc from here :
20   *  - http://mapserver.org/ogc/wms_server.html
21   *  - http://mapserver.org/ogc/wfs_server.html
22   *  - http://mapserver.org/ogc/wcs_server.html
23   */
24  map* getCorrespondance();
25  void setMapSize(maps* output,double minx,double miny,double maxy,double maxx);
26  void setReferenceUrl(maps* m,maps* tmpI);
27
28  /**
29   * Set projection using Authority Code and Name if available or fallback to
30   * proj4 definition if available or fallback to default EPSG:4326
31   */
32  void setSrsInformations(maps* output,mapObj* m,layerObj* myLayer, char* pszProjection);
33 
34  void setMsExtent(maps* output,mapObj* m,layerObj* myLayer,
35                   double minX,double minY,double maxX,double maxY);
36  int tryOgr(maps* conf,maps* output,mapObj* m);
37 
38  int tryGdal(maps* conf,maps* output,mapObj* m);
39  /**
40   * Create a MapFile for WMS, WFS or WCS Service output
41   */
42  void outputMapfile(maps* conf,maps* outputs);
43
44#endif
45#endif
46 
Note: See TracBrowser for help on using the repository browser.

Search

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png