<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>lizongbo at 618119.com &#187; 行政区划</title>
	<atom:link href="http://618119.com/tag/%e8%a1%8c%e6%94%bf%e5%8c%ba%e5%88%92/feed" rel="self" type="application/rss+xml" />
	<link>http://618119.com</link>
	<description>工作,生活,Android,前端,Linode,Ubuntu,nginx,java,apache,tomcat,Resin,mina,Hessian,XMPP,RPC</description>
	<lastBuildDate>Tue, 31 Jan 2012 14:25:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>省级行政区划代码整理</title>
		<link>http://618119.com/archives/2008/05/31/91.html</link>
		<comments>http://618119.com/archives/2008/05/31/91.html#comments</comments>
		<pubDate>Sat, 31 May 2008 08:04:01 +0000</pubDate>
		<dc:creator>lizongbo</dc:creator>
				<category><![CDATA[未分类]]></category>
		<category><![CDATA[gis]]></category>
		<category><![CDATA[行政区划]]></category>

		<guid isPermaLink="false">http://618119.com/archives/2008/05/31/91.html</guid>
		<description><![CDATA[所在地省级行政区划代码表 数据来源： http://www.zhongguancun.com.cn/egov/docs/notice/20040102/attach/1073033759774_8.doc 我整理加上了香港和澳门。 代码 名称 代码 名称 代码 名称 11 北京市 34 安徽省 52 贵州省 12 天津市 35 福建省 53 云南省 13 河北省 36 江西省 54 西藏自治区 14 山西省 37 山东省 61 陕西省 15 内蒙古自治区 41 河南省 62 甘肃省 21 辽宁省 42 湖北省 63 青海省 22 吉林省 43 湖南省 64 宁夏回族自治区 23 黑龙江省 44 [...]]]></description>
		<wfw:commentRss>http://618119.com/archives/2008/05/31/91.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>整理行政区划数据的几个操作步骤</title>
		<link>http://618119.com/archives/2008/05/31/90.html</link>
		<comments>http://618119.com/archives/2008/05/31/90.html#comments</comments>
		<pubDate>Fri, 30 May 2008 17:58:40 +0000</pubDate>
		<dc:creator>lizongbo</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[gis]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[行政区划]]></category>

		<guid isPermaLink="false">http://618119.com/archives/2008/05/31/90.html</guid>
		<description><![CDATA[1.数据来源： 中华人民共和国统计局官方网站： 最新县及县以上行政区划代码（截止2007年12月31日） http://www.stats.gov.cn/tjbz/xzqhdm/t20080215_402462675.htm 2.保存为文本文件。 3.使用EditPlus进行排序，再删除冗余信息 4.替换掉星号去掉 (*)和 (**) 5.替换空格，规整成javascript数组的形式. 需要替换的有&#8221; 县&#8221; ,空格个数从多到少的进行替换. 6.进行名称补全。 xxyyzz的，前面补上 xx0000和xxyy00的名字 然后xxyy00的，前面再补上xx0000的名字 这样每个行政区划代码对应的名称都是完整的了。 7.使用js进行控制，以生成各种想要的数据格式。 JavaScript代码在： http://618119.com/docs/gis/xzqh.html 整理好的数据文本在： http://618119.com/docs/gis/xzqh.txt 代码片段: [code] function getName(code){ var name=xzqh[code]; //如果不是00结尾的，则补上市名称，659000例外 429000,469000 if(code%100 != 0 &#38;&#38; (code-code%100)!=659000 &#38;&#38; (code-code%100)!=429000 &#38;&#38; (code-code%100)!=469000){ var cityName=xzqh[(code-code%100)]; if(cityName.length&#62;1){//过滤掉只有一个字的“县” name=cityName+name; } } //如果不是0000结尾的，再补上省名称 if(code%10000 != 0){ name=xzqh[(code-code%10000)]+name; } return name; } [...]]]></description>
		<wfw:commentRss>http://618119.com/archives/2008/05/31/90.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

