I think it would be nice to use search patterns in mappaint. The style information is cached in OsmPrimitive so it shouldn't have impact on overall performance. And there are probably other usecases when key=value matching is not sufficient.
Actually I was planning to do some prototype to see if performance really isn't a problem and then ask here if it is really a good idea to switch to search patterns. But when avar brought it up, we can start the discussion now. So are there any other usecases when search patterns would be usefull in mappaint or any objections agains search patterns? -- Jiri On Fri, Jan 15, 2010 at 7:54 AM, Dirk Stöcker <[email protected]> wrote: > On Thu, 14 Jan 2010, Ævar Arnfjörð Bjarmason wrote: > >> It's for an import I'll be doing in Iceland, due to how the import is >> being done I'd like to have a special rule that applies in my style if >> the element was last edited by a given user (like user:foo in the >> search engine). I can't find this in the docs or the xml comments for >> mappaint. >> >> Is it possible to write a rule like that? > > No. Mappaint only uses tags. > > Ciao > -- > http://www.dstoecker.eu/ (PGP key available) > _______________________________________________ > josm-dev mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/josm-dev > > _______________________________________________ josm-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/josm-dev
