<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
   <title>CHGIS Blog</title>
   <link rel="alternate" type="text/html" href="http://www.iq.harvard.edu/blog/chgis/" />
   <link rel="self" type="application/atom+xml" href="http://www.iq.harvard.edu/blog/chgis/atom.xml" />
   <id>tag:www.iq.harvard.edu,2008:/blog/chgis/15</id>
   <updated>2008-09-04T21:12:37Z</updated>
   
   <generator uri="http://www.sixapart.com/movabletype/">Movable Type Personal 4.12</generator>


<entry>
   <title>Visualization Archives</title>
   <link rel="alternate" type="text/html" href="http://www.iq.harvard.edu/blog/chgis/2007/12/visualization_archives.html" />
   <id>tag:www.iq.harvard.edu,2007:/blog/chgis//15.987</id>
   
   <published>2007-12-10T22:09:42Z</published>
   <updated>2008-09-04T21:12:37Z</updated>
   
   <summary>Here&apos;s a fun blog about the aesthetics and techniques of visualizing data. Eric Blue&apos;s Blog - Visualization Archive...</summary>
   <author>
      <name>Lex Berman</name>
      
   </author>
   
      <category term="Visualization" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="en" xml:base="http://www.iq.harvard.edu/blog/chgis/">
      <![CDATA[Here's a fun blog about the aesthetics and techniques of visualizing data.<br /><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="dataesthetics.gif" src="http://www.iq.harvard.edu/blog/chgis/dataesthetics.gif" class="mt-image-none" style="" width="300" height="231" /></span><br /><br /> <div><a href="http://eric-blue.com/blog/infoviz/visualization/">Eric Blue's Blog - Visualization Archive</a></div>]]>
      
   </content>
</entry>

<entry>
   <title>Saving Chinese Characters with Export to KML</title>
   <link rel="alternate" type="text/html" href="http://www.iq.harvard.edu/blog/chgis/2007/08/saving_chinese_characters_with.html" />
   <id>tag:www.iq.harvard.edu,2008:/blog/chgis//15.988</id>
   
   <published>2007-08-07T21:13:25Z</published>
   <updated>2008-09-04T21:18:47Z</updated>
   
   <summary>A cool extension for ArcMap is Export to KML, which allows you to select a label field and which fields you want to appear as descriptions in the output KML file. This extension works really well and preserves the original...</summary>
   <author>
      <name>Lex Berman</name>
      
   </author>
   
      <category term="Charset Encoding" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="47" label="Chinese Characters" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="49" label="KML" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://www.iq.harvard.edu/blog/chgis/">
      <![CDATA[<p>A cool extension for ArcMap is <a href="http://arcscripts.esri.com/details.asp?dbid=14273">Export to KML</a>, which allows you to select a label field and which fields you want to appear as descriptions in the output KML file.</p>
<p>This extension works really well and preserves the original encoding
of the attributes. If you export from one of the UTF-8 CHGIS
shapefiles, your characters should be fine. However, if you do any
preprocessing with other ArcTools, the characters will seem to be
destroyed.</p>
<p>I encountered this problem when exporting CHGIS Time Series data to
KML. It turns out that the Time Series POINT layers have the data type
set to MULTIPOINT. If you want to use Export to KML, you will have to <a href="http://gist.fas.harvard.edu/chgis/?p=4">convert the MULTIPOINT to POINT</a> first, using ArcToolbox.</p>
<p>After using ArcToolbox to convert to POINT data type, the Chinese
Characters in the attribute table will appear to have been destroyed.
Nonetheless, if you continue to use the Export to KML extension, you
can correct this problem with another freeware tool, <a href="http://www.babelstone.co.uk/Software/BabelPad.html">BabelPad</a>  - and then by editing in <a href="http://en.wikipedia.org/wiki/MS-DOS_Editor">DOS EDIT</a>.</p>
<p>Let us assume you have a file called export.kml, which has been
converted to POINT in ArcToolbox, then exported to KML. In BabelPad,
browse to the file export.kml, and before opening, be sure to set the
Encoding value to the last item on the drop-down list:</p>
<p>CESU-8: Compatibility Encoding Scheme for UTF-16</p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><a href="http://www.iq.harvard.edu/blog/sss/fig.TIF" onclick="window.open('http://www.iq.harvard.edu/blog/sss/fig.TIF','popup','width=1000,height=664,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false">View image</a></span><br /><br /><p>Open the file and the Chinese Characters should be okay.</p>
<p>Finally save the file as</p>
<p>UTF-8: Unicode 8 bit transformation format</p>
<p>Once you have saved the file with BabelPad, the UTF-8 characters
should be fine for viewing in GoogleEarth, however, the BabelPad
application often introduces a small double-byte header that you need
to DELETE using MS DOS Edit.</p>
<p>To accomplish this, place the saved UTF-8 KML file in a folder that
you can easily navigate to in DOS Edit. Open up the Command Prompt and
change directory to the folder in question. Now fire up DOS EDIT. If
there exists any double-byte string at the beginning of the file
(before the opening of the XML bracket &lt;?xml ) DELETE it!</p>
<p>Make sure the first line calls for [ encoding="UTF-8″ ].  Now save the file.</p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><a href="http://www.iq.harvard.edu/blog/sss/fig.TIF" onclick="window.open('http://www.iq.harvard.edu/blog/sss/fig.TIF','popup','width=724,height=378,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false">View image</a></span><p><br /></p><p>Your KML file should be good to go!</p>
<p>Open it in GoogleEarth and the Chinese should be okay.</p><br /> ]]>
      
   </content>
</entry>

</feed>
