<div dir="ltr"><div>Thanks for your help.</div><div>1. the mapserv cgi command line gave me a proper png (<span class="gmail-n">./mapserv</span> <span class="gmail-o">-</span><span class="gmail-n">nh</span> <span class="gmail-s2">"QUERY_STRING=map=/var/www/html/osm-transp-en-default.map&mode=map"</span> <span class="gmail-o">></span> <span class="gmail-n">/tmp/test</span><span class="gmail-o">.</span><span class="gmail-n">png)</span></div><div>2. i turned on CPL_DEBUG in my mapfile but it doesn't help</div><div>3. i ran : <span class="gmail-im">shp2img -m /var/www/html/osm-transp-en-default.map -o /tmp/test.png -all_debug 5 -e -9.1433 38.7460 -9.1406 38.7487 &> /tmp/shp2img_log.txt</span></div><div><span class="gmail-im">and it looks fine to me...</span></div><div><br><span class="gmail-im"><span class="gmail-pl-s"></span></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 22 Jan 2020 at 15:28, Jeff McKenna <<a href="mailto:jmckenna@gatewaygeomatics.com">jmckenna@gatewaygeomatics.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The more tests the better :)<br>
<br>
-jeff<br>
<br>
<br>
<br>
On 2020-01-22 10:21 a.m., Jörg Thomsen (WhereGroup) wrote:<br>
> Hello Jeff,<br>
> <br>
> is shp2img exactly the same as mapserv? (My thought was to use the same<br>
> executable the webserver calls)<br>
> <br>
> Jo,<br>
> did you get a proper result (image) from your command line request? the<br>
> 'error'-messages look quite OK.<br>
> <br>
> Jörg<br>
> <br>
> <br>
> Am 22.01.20 um 15:12 schrieb Jeff McKenna:<br>
>> Hi Jo,<br>
>><br>
>> Are you passing the problem extents to the shp2img utility? Such as:<br>
>><br>
>> shp2img -m osm-transp-en-default.map -e -9.1433 38.7460 -9.1406<br>
>> 38.7487 -o ttt.png -all_debug 5<br>
>><br>
>> If that doesn't help, then I would start from the beginning: execute a<br>
>> GetCapabilities request and make sure you remove all "WARNING" messages.<br>
>><br>
>> -jeff<br>
>><br>
>><br>
>><br>
> <br>
> <br>
> Viele Grüße,<br>
> Jörg Thomsen<br>
> <br>
<br>
<br>
-- <br>
Jeff McKenna<br>
MapServer Consulting and Training Services<br>
<a href="https://gatewaygeomatics.com/" rel="noreferrer" target="_blank">https://gatewaygeomatics.com/</a><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a></blockquote></div>