i use pmapper 4 version, Mapserver 3 beta 10 ,php 5.3.1
i created a DEM layer when i try to load it with other layers the menu
dissapears for other layers, but when i interchange and start with the point
layers,line layers then finally the DEM layer on the Mapscript the menu bar
appears fine only that the DEM layer overlaps every thing.
Error in log......check the spelling of the other layer(point,line....)
<pmapper>
<ini>
<pmapper>
<pmTitle>xxx </pmTitle>
<debugLevel>3</debugLevel>
<category name="Menengai_Site">
<group>Menengai__GeoWells</group>
<group>WSRiver</group>
<group>fumaroles_locations</group>
<group>Caldera_Boundary</group>
<group>Menengai_Boreholes(WMA)</group>
</category>
<category name="Infrastructure">
<group>Roads</group>
<group>Mene_Caldera_Rds</group>
</category>
<category name="Raster">
<group>Menengai_Topo</group>
</category>
</categories>
<allGroups>
<group>Menengai__GeoWells</group>
<group>Menengai_Topo</group>
<group>fumaroles_locations</group>
<group>Roads</group>
<group>Caldera_Boundary</group>
<group>Mene_Caldera_Rds</group>
<group>Menengai_Boreholes(WMA)</group>
</allGroups>
<defGroups>
<group>Menengai__GeoWells</group>
<group>Mene_Caldera_Rds</group>
<group>Caldera_Boundary</group>
</defGroups>
mapscript
MAP
NAME "MixDEM"
# Map image size
SIZE 600 400
UNITS Meters
SYMBOLSET'../common/symbols/symbols-pmapper.sym'
FONTSET '../common/fonts/msfontset.txt'
EXTENT 143508.681485 9966014.150000 199631.318515 9998935.850000
INTERLACE OFF
PROJECTION
'proj=longlat'
'ellps=WGS84'
'datum=WGS84'
'no_defs'
''
END
# Background color for the map canvas -- change as desired
IMAGECOLOR 255 245 238
IMAGEQUALITY 1000
IMAGETYPE png
OUTPUTFORMAT
NAME png
DRIVER 'GD/PNG'
MIMETYPE 'image/png'
#IMAGEMODE PC256
FORMATOPTION INTERLACE=OFF
TRANSPARENT OFF
EXTENSION 'png'
END
OUTPUTFORMAT
NAME GTiff
DRIVER "GDAL/GTiff"
MIMETYPE "image/tiff"
IMAGEMODE RGB
#FORMATOPTION "TFW=YES"
#FORMATOPTION "COMPRESS=PACKBITS"
EXTENSION "tif"
END
OUTPUTFORMAT
NAME imagemap
MIMETYPE "text/html"
FORMATOPTION SKIPENDTAG=OFF
DRIVER imagemap
END
# Legend
LEGEND
IMAGECOLOR 255 255 255
STATUS ON
KEYSIZE 18 12
LABEL
TYPE BITMAP
SIZE MEDIUM
COLOR 0 0 255
END
END
# Web interface definition. Only the template parameter
# is required to display a map. See MapServer documentation
WEB
# Set IMAGEPATH to the path where MapServer should
# write its output.
TEMPLATE "map.html"
IMAGEPATH "/ms4w/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
# WMS server settings
METADATA
'ows_title' 'project'
'ows_onlineresource' 'http://C:
/ms4w/Apache/cgi-bin/mapserv.exe?map=C:/Users/xxx/Desktop/Geomatik/project/Menengai_DEM.map'
'ows_srs' 'EPSG:4326'
END
#Scale range at which web interface will operate
# Template and header/footer settings
# Only the template parameter is required to display a map. See
MapServer documentation
END
REFERENCE
EXTENT 137305.653181 9966014.150000 205834.346819 9998935.850000
IMAGE "C:/ms4w/apps/pmapper/pmapper-4.0.0/images/Menengai_DEM.png"
SIZE 190 120
COLOR -1 -1 -1
OUTLINECOLOR 255 0 0
END # Reference
LEGEND
KEYSIZE 18 12
# the size of the object representing the
# geographical object
LABEL
TYPE BITMAP
# Font type for the legend name of each
# geographical object
SIZE MEDIUM
# font size
COLOR 0 0 89
# font color
END
STATUS ON
# legend is on by default
END
#
# Start of ScaleBar definition
#
SCALEBAR
STATUS on
TRANSPARENT off
INTERVALS 4
SIZE 200 3
UNITS kilometers
COLOR 0 0 250
OUTLINECOLOR 0 0 0
BACKGROUNDCOLOR 100 100 100
STYLE 0
POSTLABELCACHE true
LABEL
COLOR 0 0 90
#OUTLINECOLOR 200 200 200
SIZE small
END # Label
END # Reference
LAYER
NAME 'Menengai_Topo'
TYPE RASTER
STATUS OFF
EXTENT 134218.009471 9959816.525861 208486.683261 10003382.743118
DATA 'C:/Users/xxx/Desktop/Geomatik/project/Menengai Topo.tif'
METADATA
'ows_title' 'Menengai Topo'
END
STATUS OFF
TRANSPARENCY 100
PROJECTION
'proj=longlat'
'ellps=WGS84'
'datum=WGS84'
'no_defs'
END
END
END
LAYER
NAME 'Menengai__GeoWells'
TYPE POINT
EXTENT 137305.653181 9966014.150000 205834.346819 9998935.850000
DATA
'C:/Users/xxx/Documents/gdc/Shapefiles/Data_original/Topography/Menengai__GeoWells.shp'
METADATA
'ows_title' 'Menengai__GeoWells'
END
STATUS DEFAULT
TRANSPARENCY 100
PROJECTION
'proj=longlat'
'ellps=WGS84'
'datum=WGS84'
'no_defs'
END
CLASS
NAME 'Menengai__GeoWells'
STYLE
SYMBOL "square"
SIZE 7.0
OUTLINECOLOR 0 0 0
COLOR 50 205 50
END
END
template void
END
LAYER
NAME 'Menengai_Boreholes(WMA)'
TYPE POINT
EXTENT 143508.681485 9966014.150000 199631.318515 9998935.850000
DATA
'C:/Users/xxx/Documents/gdc/Shapefiles/Data_original/Geochemistry/Boreholes_Data/Menengai_Boreholes(WMA).shp'
METADATA
'ows_title' 'Menengai_Boreholes(WMA)'
END
STATUS OFF
TRANSPARENCY 100
PROJECTION
'proj=longlat'
'ellps=WGS84'
'datum=WGS84'
'no_defs'
END
CLASS
NAME 'Menengai_Boreholes(WMA)'
STYLE
SYMBOL "circle"
SIZE 7.0
OUTLINECOLOR 0 0 0
COLOR 191 45 220
END
END
template void
END
LAYER
NAME 'fumaroles_locations'
TYPE POINT
EXTENT 137305.653181 9966014.150000 205834.346819 9998935.850000
DATA
'C:/Usersxxx/Documents/gdc/Shapefiles/Data_original/Topography/fumaroles_locations.shp'
METADATA
'ows_title' 'fumaroles_locations'
END
STATUS OFF
TRANSPARENCY 100
PROJECTION
'proj=longlat'
'ellps=WGS84'
'datum=WGS84'
'no_defs'
END
CLASS
NAME 'fumaroles_locations'
STYLE
SYMBOL "circle"
SIZE 7.0
OUTLINECOLOR 0 0 0
COLOR 255 165 0
END
END
template void
END
LAYER
NAME 'Mene_Caldera_Rds'
TYPE LINE
EXTENT 137305.653181 9966014.150000 205834.346819 9998935.850000
DATA 'C:/Users/xxx/Documents/gdc/Shapefiles/Mene_Caldera_Rds.shp'
METADATA
'ows_title' 'Mene_Caldera_Rds'
END
STATUS DEFAULT
TRANSPARENCY 100
PROJECTION
'proj=longlat'
'ellps=WGS84'
'datum=WGS84'
'no_defs'
END
CLASS
NAME 'Mene_Caldera_Rds'
STYLE
SYMBOL 0
SIZE 10.0
OUTLINECOLOR 1 144 50
COLOR 0 0 0
END
END
template void
END
LAYER
NAME 'Caldera_Boundary'
TYPE LINE
EXTENT 137305.653181 9966014.150000 205834.346819 9998935.850000
DATA 'C:/Users/xxx/Documents/gdc/Shapefiles/Data From
KFS/Caldera_Boundary.shp'
METADATA
'ows_title' 'Caldera_Boundary'
END
STATUS DEFAULT
TRANSPARENCY 100
PROJECTION
'proj=longlat'
'ellps=WGS84'
'datum=WGS84'
'no_defs'
END
CLASS
NAME 'Caldera_Boundary'
STYLE
SYMBOL 0
SIZE 50.0
OUTLINECOLOR 60 179 113
COLOR 60 179 113
END
END
template void
END
LAYER
NAME 'Roads'
TYPE LINE
EXTENT 137305.653181 9966014.150000 205834.346819 9998935.850000
DATA 'C:/Users/xxx/Documents/gdc/Shapefiles/Data From KFS/Roads.shp'
METADATA
'ows_title' 'Roads'
END
STATUS OFF
TRANSPARENCY 100
PROJECTION
'proj=longlat'
'ellps=WGS84'
'datum=WGS84'
'no_defs'
END
CLASS
NAME 'Roads'
STYLE
SYMBOL 0
OUTLINECOLOR 255 255 255
COLOR 0 0 0
END
END
template void
END
#Circle symbol
SYMBOL
NAME 'CIRCLE'
TYPE ellipse
FILLED true
POINTS
1 1
END
END
SYMBOL
Name 'square'
Type VECTOR
Filled TRUE
Points
0 1
0 0
1 0
1 1
0 1
END
END
END
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users