<div dir="ltr">This is the command I'm using that renders fine:<div><pre style="color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">shp2img \
-m /maps/config.map \
-o /sources/testb.png \
-e -118.41347694396971 33.919930516263086 -118.40274810791016 33.92787160756615 \
-s 500 500 \
-l mylayer \
-all_debug 5 \</pre>And this WMS request renders a transparent image:</div><div><br></div><div><a href="http://localhost:8080/?map=/maps/config.map&SERVICE=WMS&VERSION=1.1.1%20&REQUEST=GetMap&LAYERS=mylayer&STYLES=&SRS=EPSG:4326&BBOX=-118.41347694396971,33.919930516263086,-118.40274810791016,33.92787160756615&WIDTH=500&HEIGHT=500&FORMAT=image/png">http://localhost:8080/?map=/maps/config.map&SERVICE=WMS&VERSION=1.1.1%20&REQUEST=GetMap&LAYERS=mylayer&STYLES=&SRS=EPSG:4326&BBOX=-118.41347694396971,33.919930516263086,-118.40274810791016,33.92787160756615&WIDTH=500&HEIGHT=500&FORMAT=image/png</a><br></div><div><br></div><div>This is my mapfile:</div><div><br></div><div><div># A valid mapfile used for testing</div><div>MAP</div><div> NAME valid</div><div> STATUS ON</div><div> PROJECTION</div><div> "init=epsg:4326"</div><div> END</div><div><br></div><div> # IMAGECOLOR 0 0 0</div><div> TRANSPARENT ON</div><div><br></div><div> WEB</div><div> METADATA</div><div> "wms_title" "Slingshot WMS Server"</div><div> "wms_onlineresource" "<a href="http://localhost:8080/?map=config.map&">http://localhost:8080/?map=config.map&</a>"</div><div> "wms_enable_request" "GetCapabilities GetMap GetFeatureInfo"</div><div> "wms_srs" "EPSG:4326 EPSG:3857"</div><div> END</div><div> END</div><div><br></div><div> LAYER</div><div> NAME "myindex"</div><div> STATUS ON</div><div> TYPE POLYGON</div><div> CONNECTIONTYPE POSTGIS</div><div> CONNECTION "mypostgisconnection"</div><div> DATA "geometry from (select i.geometry, <a href="http://i.id">i.id</a>, '/sources/' || i.path as location from images_image) as myindex using unique id"</div><div> CLASS</div><div> STYLE</div><div> OUTLINECOLOR 0 0 0</div><div> COLOR 0 255 0</div><div> WIDTH 1.0</div><div> ANTIALIAS true</div><div> END</div><div> END</div><div> END</div><div><br></div><div> LAYER</div><div> NAME "mylayer"</div><div> STATUS ON</div><div> TILEINDEX "myindex"</div><div> TILEITEM "location"</div><div> PROCESSING "SCALE=AUTO"</div><div> TYPE RASTER</div><div> PROJECTION</div><div> AUTO</div><div> END</div><div> METADATA</div><div> "wms_title" "My Imagery"</div><div> END</div><div> END</div><div><br></div><div>END</div></div><div><br></div><div>I'm using MapServer 7.0.1</div><div><br></div><div>Thanks!</div></div>