Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Style Editor: "is not _NULL_" does not work #1181

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 6 comments
Closed

Style Editor: "is not _NULL_" does not work #1181

openstreetmap-trac opened this issue Jul 23, 2021 · 6 comments

Comments

@openstreetmap-trac
Copy link

Reporter: ColinMarquardt
[Submitted to the original trac issue database at 3.55pm, Wednesday, 17th September 2008]

The newly changed "is not NULL" for [addr:housenumber] does not seem to work, I do not get any house numbers to display. What was the problem with "[addr:housenumber] is *" by the way? I did not see the bug report you appear to have gotten.

I changed my style locally to "[addr:housenumber] is [0-9a-Z]" for now. I initially wanted "[addr:housenumber] is [0-9][0-9a-Z]" (to force starting with a number) which according to http://doc.trolltech.com/4.4/qregexp.html#wildcard-matching should work, but doesn't.

@openstreetmap-trac
Copy link
Author

Author: cmarqu
[Added to the original trac issue at 7.36pm, Wednesday, 17th September 2008]

(In [10765]) Nicer sizes for house numbers. They do not render right now though, see #1181.

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 8.23am, Thursday, 18th September 2008]

Could I have a link to a place with house numbers, please.

My second guess (after a plain bug) would be that a style matches before this one (e.g. "building=yes").

As you know, tag selector are supposed to be mutually exclusive. If not, the first match is taken as a whole, ignoring the others.

Re the "is *", it matches really everything, including non-existing tags (which returns "" by default). The result was that everything after that one was ignored, including the hardcoded fallback styles, like a black line for roads without tags.
The result was that newly drawn roads were invisible...

@openstreetmap-trac
Copy link
Author

Author: ColinMarquardt
[Added to the original trac issue at 8.29pm, Thursday, 18th September 2008]

Ah, thanks for the explanation. An area with house numbers is here:
http://openstreetmap.org/?lat=51.11164&lon=13.776&zoom=17&layers=0B00FTF

@openstreetmap-trac
Copy link
Author

Author: ColinMarquardt
[Added to the original trac issue at 8.30pm, Thursday, 18th September 2008]

I should add that the "NULL" doesn't show up in the style editor, I just see it with a text editor in the mas file.

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 10.58pm, Thursday, 18th September 2008]

My mistake...

Proper syntax is:
"not [addr:housenumber] is NULL"

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 11.00pm, Thursday, 18th September 2008]

(In [10790]) FIX : invalid synatx for "not NULL" (fixes #1181)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant