road (line) problems
imap at chesapeake.net
imap at chesapeake.net
Tue Jan 25 18:31:29 PST 2000
I dont know about the mapscript stuff... Are you attempting to use it
on WinNT? I have been meaning to play with it, but not free time to
play with it.
I will take a shot at your first problem....
In maputil.c, msDrawShapefile() change:
if(msOpenSHPFile(&shpfile, map->shapepath, map->tile, filename) == -1)
return(-1);
to:
if(msOpenSHPFile(&shpfile, map->shapepath, map->tile, filename) == -1)
continue;
See if that fixes your problem rendering roads. I am guessing it may be
related to
TILEINDEX, if you are using it. In the later versions (> 3.3_003), Steve
added a
compile time option if you define IGNORE_MISSING_DATA in the project settings
or
Makefile to get the behavior or the previous mapserv3.2 code. I got bitten
by
that one about a week ago. Try it and let me know if that does the trick,
otherwise
I dunno the answer. I am rendering roads with MapServ3.3_003, and no issues
other than the one I describe above. If you get the roads to render, I would
like
to compare notes about another possible bug which may or may not exist in
3.3_001,
so please sent me email when you succeed.
Hey Steve, How bout that 3.3_006? I am all snowed in (over 12" in DC, yeah!)
and would like to try the new labelcache changes ;)
Regards,
Chris Stuber (mapsurfer)
Silicon Mapping Solutions, Inc.
410-257-3187
"Paul G. Allen" wrote:
>
> First off, I'm using v.3.3-001. I've finally got my perl script working well
> enough (a few minor details to work out), but I'm having a problem with roads.
> Whenever I enable ANY of the road layers, mapserv seg. faults. This never
> happened with previous versions. I'm wondering if there is a bug in version
> 3.3-001 or what?
>
> I'm also having difficulting creating the reference map using Mapscript. I
> basically get an empty (transparent?) image.
>
> PGA
--
Chris Stuber (mapsurfer)
287 Southland Ct
Dunkirk, MD 20754
More information about the MapServer-users
mailing list