self overlaped linestring not drawed

Frank Warmerdam warmerdam at POBOX.COM
Thu Mar 8 17:55:54 EST 2007


Rodrigo Martín LÓPEZ GREGORIO wrote:
> Hi everybody.
> 
> I have a linestring layer with bus routes. Some buses pass two times 
> over the same zone, so two different segments of the linestring overlaps 
> (same start and end point). The strange thing is that mapserver 
> sometimes dont show this segments even for the same zoom level ( i.e. 
> when i pan the map sometimes the segments shows and somtimes no). The 
> rest of the linestring are draw perfectly.
> 
> Obviously an easy workaround is move the segments so its don't overlaps 
> one each other. But I think that it is quite strange. May be it could be 
> a bug (I'm using ms4w). I dont think it could be a problem with my 
> mapfile cause sometimes this segments are drawed an somtimes not.

Rodrigo,

If you can boil this down to a simple mapfile, and a simple shapefile
and a command to render the map with shp2img that demonstrates the problem,
then I think you should submit this as a bug report.  I can't think of any
reason self-intersection should be a problem for a linestring.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the mapserver-users mailing list