c#-mapscript, Rasterlayer in Map?
Christian Wilmes
C.Wilmes at GMX.DE
Tue Oct 17 07:54:07 PDT 2006
Hi All,
I found a solution. Just using the class pointObj or rectObj and there method transform(projObj, projObj).
Best Regards
Christian
-------- Original-Nachricht --------
Datum: Tue, 17 Oct 2006 11:56:23 +0200
Von: Christian Wilmes <C.Wilmes at GMX.DE>
An: MAPSERVER-USERS at LISTS.UMN.EDU
Betreff: [UMN_MAPSERVER-USERS] c#-mapscript, Rasterlayer in Map?
> Hi All,
>
> ist there any possibility to find out, if a Rasterlayer is in the Extent
> of a Map. There is just one Layer in my Map and I want to know if the map
> will be blank or the Layer is visible. A possibility is to test each pixel if
> it is transparent or not, but that is not very effectiv. I thought about
> first drawing a map with just one 1x1 Pixel, but if the Extent of the Layer
> is much smaller than the extent of the map the result will be a transparent
> pixel even the Layer is in the extent of the map.
>
> I tried out the method layerObj.isVisible(), but it doesn't have a look on
> the extent of the map.
>
> Is there any possibility to find out if a Layer is really visible or just
> getting the extent of the raster-layer in the Reference-System of the map?
>
> Best Regards
> Christian
>
> --
> GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
> NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
More information about the MapServer-users
mailing list