I am trying to use mapserver to display some data but unfortunately the map
in not visible below the layer. My configuration of my mapserver is below.
Any guidance would be appreciated.
MAP
IMAGETYPE png
MAXSIZE 4000
SIZE 800 800
EXTENT -9583207 3548826 -8999182 4183713
UNITS meters
IMAGECOLOR "#FF000000"
WEB
METADATA
"wfs_title" "mapserverdemo"
"wfs_enable_request" "*"
"wfs_onlineresource" "
http://localhost:8080/mapserv?map=/etc/mapserver/wms.map"
"ows_enable_request" "*"
"wms_srs" "EPSG:3857 EPSG:4326"
"wfs_srs" "EPSG:3857 EPSG:4326"
"labelcache_map_edge_buffer" "-1"
"wms_title" "OpenStreetMap"
"wms_feature_info_mime_type" "text/plain text/html application/json"
END
IMAGEPATH "/ms4w/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
END
DEBUG 1
CONFIG "MS_ERRORFILE" "stderr"
PROJECTION
"init=epsg:3857"
END
OUTPUTFORMAT
NAME "jpeg_png"
MIMETYPE "image/vnd.jpeg-png"
DRIVER AGG/MIXED
IMAGEMODE RGBA
FORMATOPTION "TRANSPARENT_FORMAT=png"
FORMATOPTION "OPAQUE_FORMAT=jpeg"
END
LAYER
STATUS DEFAULT
TYPE POLYGON
NAME "h3_polygons"
GROUP "h3"
CONNECTIONTYPE postgis
CONNECTION "host=host.docker.internal dbname=h3demo user=postgres
password=postgres port=5432"
DATA "geom from pop6 using unique fld using srid=4326"
COMPOSITE
OPACITY 70
END # COMPOSITE
CLASS
STYLE
OUTLINECOLOR 0 0 255
WIDTH 3
END
STYLE
COLOR 255 0 0
OPACITY 10
END
END
PROJECTION #source
"init=epsg:4326"
END
END
END
--
http://www.atlantageek.com
_______________________________________________
MapServer-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users