TILEINDEX EXPRESSION = Seg Fault
Shannon Scott
sscott at GWI.NET
Thu Oct 6 08:31:26 PDT 2005
Hello,
I am reposting this message because no one responded. Has anyone else
experienced this issue?
Recently we reorganized some data for map performance, and started using
the TILEINDEX Layer parameter. I have noticed an issue with the
EXPRESSION parameter when used with TILEINDEX.
Here is the output from gdb ( debug enabled ):
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1218562784 (LWP 4589)]
0x08065822 in msEvalExpression (expression=0x99f5b08, itemindex=0,
items=0x0, numitems=161833360)
at maputil.c:106
106 tmpstr = gsub(tmpstr, expression->items[i],
items[expression->indexes[i]]);
I'm not sure the best way to proceed from here.
I have noticed when I switch the map file back to using a shapefile with
the DATA Layer parameter, the problem goes away.
Any help or pointers are greatly appreciated.
Thank you for your time.
Take Care.
Shannon
Linux RedHat ES
Mapserver 4.6.1
Apache CGI
<mapfile snip>
LAYER
NAME cities1
TILEINDEX cities
TYPE POINT
STATUS default
MAXSCALE 500000
GROUP "cities"
CLASS
NAME "Villages"
EXPRESSION ('[CNTYSEAT]' != 'Y' AND '[CAPITAL]'
!= 'Y')
STYLE
SYMBOL "circle"
SIZE 3
color 255 255 255
END
END # CLASS
PROJECTION
"proj=latlong"
END
END # cities1 LAYER
LAYER
NAME County1
TILEINDEX cities
TYPE POINT
STATUS default
MAXSCALE 1000000
GROUP "cities"
CLASS
NAME "Counties"
EXPRESSION ('[CNTYSEAT]' = 'Y' AND '[CAPITAL]' != 'Y')
STYLE
SYMBOL "circle"
SIZE 7
COLOR 0 0 0
END
END # CLASS
PROJECTION
"proj=latlong"
END
END # County1 LAYER
LAYER
NAME Capitals1
TILEINDEX cities
TYPE POINT
STATUS default
MAXSCALE 20000000
GROUP "cities"
CLASS
NAME "Capitals"
EXPRESSION ('[CAPITAL]' = 'Y')
SYMBOL pntcapital
SIZE 13
COLOR 168 0 132
END # CLASS
PROJECTION
"proj=latlong"
END
END # Capitals1 LAYER
</mapfile snip>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051006/a96cad99/attachment.htm>
More information about the MapServer-users
mailing list