How to render a layer with HTML/JS with MapServer 4.4.0 (configuration problem)
Ivano Picco
ivano.picco at AQUPI.TK
Mon Dec 13 03:18:46 PST 2004
Hi list!
In my previous posts I tried to explain my problem with the SVG generation
by some Query request and using SVG template. On my last post I pointed out
a problem with the query when someone try to load all points of all geometry
on a layer, the only way to get the point to build the SVG document.
Now I'm trying a new way to get points, maybe better than the old:
I found html output support for a single WMS layer in the mapserver (version
4.3) included on OpenEV_FW 1.8.2 package. With this i can get the points
with a simple GetMap request (using WMS url) and with Javascript I can build
my SVG document on the fly with the client's browser.
The 4.3 version included on OpenEV_FW has some problem with Oracle Spatial,
so I have to use the last mapserver build, but I can't add html support to WMS.
What do I have to do? Do I have to change the Map file?, or do I have to
rebuild my binary? If so, what does the configure need?
Thanks for your support,
sorry for my english,
Ivano Picco
Against the same demo.map (the glourious Itasca demo :)) the old 4.3 gives
me this response during a GetCapabilities request:
[..SNIP..]
<GetMap>
<Format>image/png</Format>
<Format>image/jpeg</Format>
<Format>image/wbmp</Format>
<Format>text/html</Format>
<Format>image/tiff</Format>
[..SNIP..]
where 4.4.0 gives:
[..SNIP..]
<GetMap>
<Format>image/gif</Format>
<Format>image/png</Format>
<Format>image/jpeg</Format>
<Format>image/wbmp</Format>
<Format>image/tiff</Format>
[..SNIP..]
This it 4.3 mapscriptvars:
-DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_GD_PNG
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_OGR -DUSE_GDAL
-I. -I/usr3/pkg4/OpenEV_FW_Tree/OpenEV_FW/include -I/usr/local/include
-I/usr3/pkg4/OpenEV_FW_Tree/OpenEV_FW/include
-L. -lmap
and this is mine:
-DIGNORE_MISSING_DATA -DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H
-DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_SDE -DUSE_OGR
-DUSE_GDAL -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR
-I. -I/home/mapserver/include -I/home/mapserver/lib/arcsde/sdeexe90/include
-L. -lmap -L/home/mapserver/lib -lgd -ljpeg -lfreetype -lpng -lz -ljpeg
-lfreetype -lpng -lz -L/home/mapserver/lib -lproj -ljpeg
-L/home/mapserver/lib/arcsde/sdeexe90/lib -lsde90 -lpe90 -lsg90 -lpthread
-ldl -lgdal -lming -lcurl -L/usr/kerberos/lib -lssl -lcrypto -ldl -lssl
-lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl
-L/home/mapserver/lib/oracle/10.1.0.2/client/lib -lclntsh -lc -lm -lstdc++
More information about the MapServer-users
mailing list