A follow up to a comment in this question;
"However, if you take a picture of a building which falls under trademark rules, then you would face problems. A very few buildings fall into this category - the tall pyramid skyscraper in California (San Francisco?) is in this category."
How can you find out if a building falls under these trademark rules?