[mapserver-users] RE:mapserver + MS SQL

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Wed Sep 24 12:56:12 EDT 2008


Hi,

>> First thing that comes into my mind is the good old STATUS ON thing.  LAYER ON in mapfile means that the layer can be requested, but not that it is automatically included in a map.  STATUS DEFAULT includes it automatic.  Try what happens if you use:
>>  
>> shp2img -m test.map -l ku2 -o test.png
>> 
>> Alternatively, change LAYER DEFAULT and use the old command.
>> 
> Thanks for reply, 
> still blank picture, with "shp2img -m test.map -l ku2 -o test.png" also blank. BTW: for other data sources layer configuration > is 
> working.


Pity, it would have been an easy fix but it was not the problem this time. Another common reason for blank image is that map extents do not suit the data extents.  To make things as simple as possible in the beginning, check that your MAP is using the same projection as your LAYER, and that map extents are the same than extents of the data as reported by ogr2org.  If this does not help either I fear I need to give up because I have never used the datasource you are using.

-Jukka Rahkonen-


More information about the mapserver-users mailing list