Hi again.
I found problems with virtual layers in Mapserver 5 beta 3.
One thread will not exit. The map udates but the following text is written
in the bottom of the browser window and the browser continue to update 10
seconds after the map is displayed:
"Error in my_thread_global_end(): 1 threads didn't exit "
In the map file I'm using:
.
.
LAYER
metadata
WMS_TITLE "BMN diar"
end
group "BMN"
NAME "Arendepkt"
TYPE POINT
CONNECTIONTYPE OGR
connection "C:/Iis-Webbplatser/BoM/Byggmiljo/kartor/skikt/diarie/egen.ovf"
work?
DATA "Arendepkt" STATUS ON
maxscale 60000
minscale 0
Labelitem "Ärendetext"
labelmaxscale 10000
labelminscale 0
CLASS
SYMBOL "star"
SIZE 16
COLOR 255 255 0
TEXT ([Förvaltning][Dnrlöp]/[År] [Ärendetext])
label
angle AUTO
antialias true
backgroundcolor 255 255 0
color 0 0 0
font "arial"
minsize 8
maxsize 12
mindistance 800
partials TRUE
position AUTO
size 10
type TRUETYPE
end
END
end
.
.
and the egen.ovf-file:
<OGRVRTDataSource>
<OGRVRTLayer name="Arendepkt">
<SrcDataSource>ODBC:bom/[EMAIL PROTECTED]</SrcDataSource>
<SrcLayer>Arendepkt</SrcLayer>
<GeometryType>wkbPoint</GeometryType>
<GeometryField encoding="PointFromColumns" x="Arendekox" y="Arendekoy"/>
</OGRVRTLayer>
Lars-Göran Edholm
_________________________________________________________________
Allt om mäktiga Live Earth http://liveearth.se.msn.com/