[mapserver-users] Shapefiles not rendered
Juan Jesús Cremades Monserrat
relicary at gmail.com
Fri Jan 13 03:49:36 PST 2012
Hi,
I want execute the getMap method with an URL like this:
http://localhost:9000/cgi-bin/mapserv.exe?LAYERS=COMACOM.SHP&FORMAT=image/png&TRANSPARENT=true&MAP=/ms4w/apps/demo-cv/demoCV.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application/vnd.ogc.se_inimage&SRS=EPSG:4326&BBOX=-180,-90,180,90&WIDTH=551&HEIGHT=356
But the result is always a white page. Where the error may be? My MapServer
is the MS4W. Thanks
My MapFile is this:
MAP
NAME map_generated_by_gvsig
EXTENT 626679.4375 4191039.75 797868.9375 4519396.0
SYMBOLSET "demoCV.sym"
FONTSET "fonts.txt"
LEGEND
IMAGECOLOR -1 -1 -1
LABEL
FONT "vera"
ANGLE FOLLOW
COLOR 0 0 0
ENCODING "UTF-8"
TYPE truetype
SIZE 8
END
STATUS ON
TRANSPARENT ON
END
SIZE 800 800
OUTPUTFORMAT
NAME PNG24
DRIVER AGG/PNG
IMAGEMODE RGB
END
WEB
METADATA
"wms_encoding" "UTF-8"
"wms_title" "Mapserver WMS"
"wms_abstract" ""
"wms_srs" " EPSG:4326"
"wms_onlineresource" "
http://localhost:9000/cgi-bin/mapserv.exe?map=E%3A%5Cms4w%5Capps%5Cdemo-cv%5CdemoCV.map
"
"ows_enable_request" "*"
"wms_feature_info_mime_type" "text/html"
END
END
PROJECTION
"init=epsg:4326"
END
LAYER
NAME "COMACOM.SHP"
STATUS ON
DUMP true
TEMPLATE "templates/provincias.html"
TYPE POLYGON
DATA "E:\COMACOM.SHP"
MAXSCALE -1.0
MINSCALE -1.0
TRANSPARENCY 100
SIZEUNITS pixels
PROJECTION
"init=epsg:4326"
END
CLASS
STYLE
COLOR 104 108 2
OUTLINECOLOR 72 75 1
WIDTH 1
END
NAME "default"
END
METADATA
"wms_title" "COMACOM.SHP"
"wms_abstract" "generated by gvSIG"
"wms_extent" "626679.4375 4191039.75 797868.9375 4519379.0"
"gml_include_items" "all"
"ows_enable_request" "*"
END
END # Layer
END # Map File
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120113/ced84791/attachment.htm>
More information about the MapServer-users
mailing list