After some problems, map not listed in the primary framework, is shown in
white.
When reviewing the pm_debug.log I getting the following error:
[24-Feb-2010 14:03:55] P.MAPPER debug info
Searcharray in search.php->getSearchParameters()
Array
(
[PHPSESSID] => 154ed5ad87b2e30b76a5e37fbb934910
[mode] => search
)
[24-Feb-2010 14:03:55] P.MAPPER debug info
Parameters for searchArray
file: query.php->q_execAttributeQuery
Array
(
[PHPSESSID] => 154ed5ad87b2e30b76a5e37fbb934910
[mode] => search
)
[24-Feb-2010 14:03:55] P.MAPPER debug info
Parameters for searchParams
file: query.php->q_execAttributeQuery
Array
(
[layerName] => departamento
[layerType] => shape
[firstFld] => NOMBRE
[qStr] =>
)
[24-Feb-2010 14:04:59] P.MAPPER debug info
P.MAPPER-ERROR: RESOLUTION tag not set to 96. This value is needed for
proper function of PDF print.
[24-Feb-2010 14:05:15] P.MAPPER debug info
Validation of search.xml file succeeded
I send my mapfile:
#
# Start of map file
#
MAP
EXTENT 1988372 1400000 6411627 5400000
UNITS meters
#EXTENT -15 30 40 70
#UNITS dd
SIZE 600 500
SHAPEPATH "/var/www/pmapper-3.2/config/geo/"
SYMBOLSET "../common/symbols/symbols-pmapper.sym"
FONTSET "../common/fonts/msfontset.txt"
RESOLUTION 96
IMAGETYPE png
INTERLACE OFF
CONFIG "PROJ_LIB" "/opt/fgs/share/proj/"
PROJECTION
#ETRS-LAEA
"init=epsg:22521"
END
#
# Image formates for GD
#
OUTPUTFORMAT
NAME "png"
DRIVER "GD/PNG"
MIMETYPE "image/png"
IMAGEMODE RGB
FORMATOPTION INTERLACE=OFF
TRANSPARENT OFF
EXTENSION "png"
END
#
#
# Start of web interface definition
#
WEB
TEMPLATE "map.html"
IMAGEPATH "/var/www/tmp/"
IMAGEURL "/tmp/"
METADATA
#"MAPFILE_ENCODING" "ISO-8859-1"
"ows_title" "WMS Demo Server"
"ows_onlineresource" "http://wms.yourserver.org?owskey=test&"
"ows_srs" "EPSG:22521"
END # Metadata
END # Web
#
# Start of Reference map definition
#
REFERENCE
EXTENT 200000 1400000 8000000 5400000
IMAGE "../../images/reference.png"
SIZE 199 110
COLOR -1 -1 -1
OUTLINECOLOR 255 0 0
END # Reference
LEGEND
END
#
# Start of ScaleBar definition
#
SCALEBAR
STATUS off
TRANSPARENT off
INTERVALS 4
SIZE 200 3
UNITS kilometers
COLOR 250 250 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
# SYMBOLS USED IN PMAPPER
# - 'circle' always necessary (used e.g. for highlight)
# - 'square' used in currecnt map file
# Symbols can also be defined via tag SYMBOLSET (see above)
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
#================== START OF LAYER SECTION =====================#
#
# Start of Layer departamento.shp
#
LAYER
NAME "departamento"
TYPE polygon
DATA "/var/www/pmapper-3.2/config/geo/departamento.shp"
TRANSPARENCY 50
PROJECTION
"init=epsg:22521"
END
METADATA
"DESCRIPTION" "Pais"
"RESULT_FIELDS" "NOMBRE"
END # Metadata
CLASS
Name 'Pais'
COLOR 198 195 192
OUTLINECOLOR 0 0 0
TEMPLATE void
END # Class
END # Layer
END #Map
--
View this message in context:
http://old.nabble.com/Main-frame-blank-and-Tag-RESOLUTION-tp27714240p27714240.html
Sent from the pmapper users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
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