crosshatch

Arnulf Christl arnulf.christl at CCGIS.DE
Fri Dec 17 05:12:15 EST 2004


Steve Lime wrote:

> At the moment you can't change the thickness of the lines. It's not that it's impossible, it's just that the styleObj doesn't have enough specificity to support it. What's needed is a second size related parameter. I would propose 'THICKNESS' which would control the thickness of what are now single pixel width lines: lines with no symbol, hatch lines, vector symbol renderings and so on. This would remove the requirement of defining a circle symbol to draw 'fat' lines (although that would still work). You'd just need something like:
>
> STYLE
>   COLOR 255 0 0
>   THICKNESS 4
> END
>
> Note that the new hatching work Arnulf and I did allows for arbitrary hatch angles and does not allow for thick lines. SIZE controls the spacing. This is not a particularly difficult addition for GD, not sure about PDF and SWF output.
>
> Steve
>
>

Hi,
what we first needed was arbitrary hatch angles as Steve already pointed
out. Beeing able to change the line thickness would be a great addition.
There is a lot more to it though, I believe we should spend some
discussion on that when we meet at the Geospatial '05. Should we plan
workshop?

The mentioned cartography documentation by Peter Freimuth has been
translated and is currently beeing docbooked by Jeff. Should be availabe
soon. You can have a look at the HTML here:
http://www.mapbender.org/umn_cartography/cartographic_symbols.html
This link will be reomved as soon as it is availabe in the UMN MapServer
docs to keep versions clean.

Cheers, Arnulf

>>>>Peter Freimuth <pf at MAPMEDIA.DE> 12/16/04 5:37 PM >>>
>
> John Bolster schrieb:
>
>
>>Hello,
>>
>>I've figured out how to fill polygons with a crosshatch by using a vector
>>symbol with points of 0 0 1 1 and this gives a nice diagonal line. But how
>>can I make the crosshatch line thicker so it is more bold? I can vary the
>>spacing with the size attribute in the class, but this doesn't change the
>>thickness of the crosshatch line itself.
>>
>>I've experimented with trying to make a filled vector symbol that's thicker
>>but I haven't been able to make one that lines up to form continuous hatch
>>lines. Anyone have any suggestions on how to do this?
>>
>>Thanks,
>>
>>John Bolster
>>
>>
>
> Hey John,
> send a request for this to arnulf.christl at ccgis.de or to steve lime.
> They develloped this graphic feature just a short time ago and normally
> it should be allredy integrated in the current code of relese 4.4.
> Kind regards,
> Peter
>
> --
> Mit freundlichem Gruß
>
> Peter Freimuth
> MapMedia
> Kartographie und raumbezogene Informationssysteme
>
> Heilbronner Straße 10
> D-10711 Berlin Charlottenburg
>
> fon:  +49.(0)30.89 06 82 70
> fax:  +49.(0)30.89 06 82 73
> mail: pf at mapmedia.de
> net:  www.mapmedia.de
> pgp:  on demand
> _________________________________________________
>


--
------------------------
Arnulf B. Christl
------------------------
http://www.ccgis.de
http://www.mapbender.org
------------------------



More information about the mapserver-users mailing list