[Merkaartor] Patch: Style: Icon path relative to style file

Chris Browet cbro at semperpax.com
Fri Jan 9 10:34:13 GMT 2009


Yves,

Would you be so kind as to provide one unified diff (i.e. svn diff) for your
patches, rather than separate ones.

Thanks
- Chris -

On Thu, Jan 8, 2009 at 5:11 PM, Yves Goergen <nospam.list at unclassified.de>wrote:

> Am I glad that Qt also has path helper functions like .NET's
> System.IO.Path. The new version of this patch makes use of those
> functions, as it's supposed to.
>
> Also, when you save a style back into a file, all absolute icon
> filenames that have the same path as the style file to write, the path
> is cut off so that only the filename is written. This keeps filenames
> portable when saving the style. But it'll only work if the image files
> are in the very same directory as the style file to be written. More
> logic could be used here to detect subdirectories. Maybe I'll still do
> that.
>
> For now, I've collected a bunch of icons that I've assigned to more tags
> like amenity=... or leisure=... My style is not included in this patch,
> as (it's not yet complete and) I'm not sure if there are any license
> problems with it.
>
> --
> Yves Goergen "LonelyPixel" <nospam.list at unclassified.de>
> Visit my web laboratory at http://beta.unclassified.de
>
> _______________________________________________
> Merkaartor mailing list
> Merkaartor at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/merkaartor
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/merkaartor/attachments/20090109/ffb422f9/attachment.html>


More information about the Merkaartor mailing list