multiple join {Scanned}

Steve Lime steve.lime at DNR.STATE.MN.US
Wed Dec 14 07:28:33 PST 2005


I believe there have been some bug fixes along this line applied to both the pending 4.8 release and the 4.6.2 release. If you can get a win32 version of either of those I think you should be fine.

Steve

>>> Siki Zoltan <siki at AGT.BME.HU> 12/14/05 4:38 AM >>>
Hi, 

I get in trouble with multiple join.
It works on linux but fails several times on win32, but not always.
I get unhandled exception 0x7c911e58 in mapserv.exe 0xc0000005
Access violation reading location 0x2f3c3534 using ms4w.

On linux I use
MapServer version 4.6.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
 OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
 SUPPORTS=WFS_SERVER INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL
 INPUT=SHAPEFILE

On win32 I use (ms4w)
MapServer version 4.6.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
 OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE
 SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
 SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER INPUT=JPEG INPUT=POSTGIS
 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG


-- my layer definition in map file ---
LAYER
	NAME "kafold"
	DATA "alapterkep/kafold"
	STATUS ON
	GROUP "telkek"
	TYPE POLYGON
	MAXSCALE 15000
	CLASS
		COLOR -1 -1 -1
		OUTLINECOLOR 0 0 0
	END
	TOLERANCE 0
# template is set though URL 
#	TEMPLATE "telek_cim.html"
#	HEADER "telek_cim_header.html"
#	FOOTER "telek_cim_footer.html"
	JOIN
		NAME cim
		TABLE "cimek/ujcimek1.dbf"
		FROM HRSZ
		TO HRSZ
		TYPE multiple
		TEMPLATE "cim_template.html"
	END
END

-- telek_cim.html ---
[join_cim]

-- cim_template.html --
<tr>
	<td valign="top">[HRSZ]</td>
	<td valign="top" align="right">[JOGTER]</td>
	<td valign="top">[F_TIP]</td>
	<td valign="top">[VALTSZ]</td>
	<td valign="top">[cim_IRSZAM]</td>
	<td valign="top">[cim_CIM]</td>
	<td valign="top">[cim_HATSZAM]</td>
</tr>

Any idea?

Thanks 
Zoltan



More information about the MapServer-users mailing list