On Wednesday 24 September 2008 18:56, you wrote:
> 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-
>
I was sure that MAPfile EXTENT is matching my data, but I have newer looked at
ogrinfo's information about extent, because it is running from the screen very
quickly. :)
That is the problem. But why it is corrupted ?
ogrinfo -ro -al test.ovf
INFO: Open of `test.ovf'
using driver `VRT' successful.
Layer name: ku2
Geometry: Polygon
Feature Count: 3550
Extent: (0.000000,
-179441753791143469094582348050368606076769230976979143232596333732447718749484086013883159597108285162399003906607672013838798107945428976738835963963233366067456373325182194301163139111338691906684738825653288761055373466181297667973352185310923583498447210294222491698471297629594914501155102277295675539456.000000)
- (0.000000,
175734419613493915284908111527587685566285205239442963467256452943608984986725857350577088162863653468103413582900903009085827916464724144589133044259082766497414963423479118268465870571875835035017193992561074143650124470293091261615552841201430022775661034285205338433980355154804186847502850450881261862912.000000)
Layer SRS WKT:
(unknown)
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users