[Tilesathome] Strange svg code for areas
Frederik Ramm
frederik at remote.org
Thu Sep 18 19:48:01 BST 2008
Hi,
> Is there a reason why code generated for areas looks like this?
Yes ;-)
> <path id="area_24063746" d="..."/>
> <use xlink:href="#area_24063746" class="amenity-school"/>
>
> The <use> seems to be redundant, following code is doing the same thing:
>
> <path id="area_24063746" d="..." class="amenity-school"/>
Some objects have multiple styles, for example: highways (with their
cores and casings). Using the mechanism above, you can define the
geometry once and then paint them many times with different styling.
Of course this mechanism would not be required for your area example,
but I guess it is too complicated to make the distinction.
Bye
Frederik
--
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the Tilesathome
mailing list