Posts Tagged ‘symbol’

Chinese Evade U.S. Sanctions on Iran (Wall Street Journal)

Wednesday, January 6th, 2010

no-trade-zone-us-china-iran-sanctions

[Editor’s note: This world map from the Wall Street Journal uses map symbols that reinforce the thematic color coding of countries. The symbols all feature a hand (common gesture for “stop”), and shape and color differences further differentiate the symbols. This graphic overloading of visual variables (using more than just shape, or just color, or just size) ensures a larger number of readers will comprehend the map’s visual message. In this case, color between the symbols and the choropleth map colors links the symbols with the countries. All countries are directly labeled with their name and explanation. I like this map for a second reason: the Wall Street Journal is using a new CMS (content management system) that the Washington Post is also working to adopt and it shows how graphics can be flowed inside the article text instead of getting lost in a tab, link, or thumbnail. Many eye tracking studies show that readers spend more time on graphics than on article text but online, graphics are often hard to find (if they are found at all). This new CMS puts graphics back in the natural flow of reading.]

Republished from the Wall Street Journal.
By PETER FRITSCH

Chinese companies banned from doing business in the U.S. for allegedly selling missile technology to Iran continue to do a brisk trade with American companies, according to an analysis of shipping records.

A unit of state-owned China Precision Machinery Import-Export Corp., for example, has made nearly 300 illegal shipments to U.S. firms since a ban was imposed on CPMIEC and its affiliates in mid-2006, according to an analysis of shipping records by the Wisconsin Project on Nuclear Arms Control, a nonprofit proliferation watchdog.

A Wall Street Journal review of the records and interviews with officials at some of the American companies indicate that the U.S. firms likely were unaware they were doing business with banned entities, and in many cases were tripped up by altered company names.

The CPMIEC shipments, worth millions of dollars, include everything from anchors and drilling equipment to automobile parts and toys. In many cases, CPMIEC acted as a shipping intermediary — activity also banned under a 2006 presidential order.

The ability of CPMIEC and other foreign companies to continue doing business in the U.S. despite the sanctions comes as the Obama administration considers fresh economic sanctions against Iran. The illegal shipments suggest that U.S. sanctions have become so numerous and complex that they have become difficult to enforce.

Continue reading at the Wall Street Journal . . .

Finding Duplicate Points in a Shapefile

Wednesday, September 2nd, 2009

[Editor’s note: When building the 6,600 cities for Natural Earth vector, we had 6 extra townspots than town labels. Bound to happen on larger projects. One could take the halving approach and select half, see if the number of symbols matches the number of text objects, if so skip, if not subdivide in 1/2 again and reevaluate. Or if you use MaPublisher with Illustrator and/or Vectorworks to export out as a SHP file, we can open the DBF up in Excel and use the “countif” function and “conditional formatting” to quickly identify the exact features to resolve. By sorting the resulting “true” and “false” columns on lat, long, and feature name, we can quickly evaluate if there are multiple features at the same geographic location and compare their names. If they are the same name, assume 1 is a duplicate and remove it.]

Republished from Microsoft.

You can locate duplicates in a range of data by using conditional formatting and the COUNTIF function. Here are the details on how to make that work.

Set up the first conditional formatting formula

I’ll start by setting up a conditional format for the first data cell. Later, I’ll copy that conditional format for the whole range.

In my example, cell A1 contains a column heading (Invoice), so I will select cell A2, and then click Conditional Formatting on the Format menu. The Conditional Formatting dialog box opens. The first box contains the text, Cell Value Is. If you click the arrow next to this box, you can choose Formula Is.

Example

After you click Formula Is, the dialog box changes appearance. Instead of boxes for between x and y, there is now a single formula box. This formula box is incredibly powerful. You can use it to enter any formula that you can dream up, as long as that formula will evaluate to TRUE or FALSE.

In this case, we need to use a COUNTIF formula. The formula to type in the box is:


=COUNTIF(A:A,A2)>1

This formula says: Look through the entire range of column A. Count how many cells in that range have the same value as cell A2. Then, compare to see if that count is greater than 1.

When there are no duplicates, the count will always be 1; because cell A2 is in the range, we should find exactly one cell in column A that contains the same value as A2.

Note In this formula, A2 represents the current cell — that is, the cell for which you are setting up the conditional format. So, if your data is in column E and you are setting up the first conditional format in cell E5, the formula would be =COUNTIF(E:E,E5)>1.

Choose a color to highlight duplicated entries

Now it is time to select an obnoxious (that is, obvious) format to identify any duplicates that are found. In the Conditional Formatting dialog box, click the Format button.

Example

Click the Patterns tab and click a bright color swatch, like red or yellow. Then click OK to close the Format Cells dialog box.

Example

You will see the selected format in the preview box. Click OK to close the Conditional Formatting dialog box, and…

Example

Nothing happens. Wow. If this is your first time setting up conditional formatting, it would be really nice to get some feedback here that it worked. But, unless you are lucky enough that the data in cell A2 is a duplicate of the data in some other cell, the condition is FALSE and no formatting is applied.

Continue reading at Microsoft . . .