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

Last change on this file since 364 was 364, checked in by djay, 10 years ago

Update to make ZOO-Kernel able to compile and run from Windows Platforms. A special thanks to Espen Messel, Knut Landmark and Benrd Härtwig for providing many patches that I can successfully apply on the SVN source tree and to Farkas for continuing requesting for ZOO-Kernel to run on Windows platforms privately and through the ZOO-Discuss mailing list.

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr
File size: 1.5 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 "cpl_multiproc.h"
10#include "ogr_api.h"
11#include "gdal.h"
12#include "ogr_srs_api.h"
13#include "ulinet.h"
14#ifdef WIN32
15#include <unistd.h>
16#endif
17
18#include <mapserver.h>
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23  //#include <mapserver.h>
24  /**
25   * Map composed by a main.cfg maps name as key and the corresponding
26   * MapServer Mafile Metadata name to use
27   * see doc from here :
28   *  - http://mapserver.org/ogc/wms_server.html
29   *  - http://mapserver.org/ogc/wfs_server.html
30   *  - http://mapserver.org/ogc/wcs_server.html
31   */
32  map* getCorrespondance();
33  void setMapSize(maps* output,double minx,double miny,double maxy,double maxx);
34  void setReferenceUrl(maps* m,maps* tmpI);
35
36  /**
37   * Set projection using Authority Code and Name if available or fallback to
38   * proj4 definition if available or fallback to default EPSG:4326
39   */
40  void setSrsInformations(maps* output,mapObj* m,layerObj* myLayer, char* pszProjection);
41 
42  void setMsExtent(maps* output,mapObj* m,layerObj* myLayer,
43                   double minX,double minY,double maxX,double maxY);
44  int tryOgr(maps* conf,maps* output,mapObj* m);
45 
46  int tryGdal(maps* conf,maps* output,mapObj* m);
47  /**
48   * Create a MapFile for WMS, WFS or WCS Service output
49   */
50  void outputMapfile(maps* conf,maps* outputs);
51#ifdef __cplusplus
52}
53#endif
54
55#endif
56#endif
57 
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