<?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>Geoinformatics &#187; PostGIS</title>
	<atom:link href="http://www.geoinformatics.cn/tag/postgis/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geoinformatics.cn</link>
	<description>Arts and Sciences move me on ...</description>
	<lastBuildDate>Sat, 28 Aug 2010 18:31:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>PostGIS 1.5.0 Release</title>
		<link>http://www.geoinformatics.cn/2010/02/postgis-1-5-0-release/</link>
		<comments>http://www.geoinformatics.cn/2010/02/postgis-1-5-0-release/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 21:48:44 +0000</pubDate>
		<dc:creator>musicman</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[GIS]]></category>
		<category><![CDATA[PostGIS]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=3160</guid>
		<description><![CDATA[半年前才发布1.4.0, 今天又发布了1.5.0. Paul Ramsey你也太快了。The 1.5.0 release of PostGIS is now available. This is a major release adding a significant number of new features including: New &#8220;geography&#8221; type for managing geodetic (lat/lon) data Performance-enhanced distance calculations GML and KML format readers Improved shape loading GUI And more! RELEASE NOTES Important Changes =~ operator now indicates bounding [...]]]></description>
			<content:encoded><![CDATA[<p>半年前才发布1.4.0, 今天又发布了1.5.0. Paul Ramsey你也太快了。The 1.5.0 release of PostGIS is now available. This is a major release adding a significant number of new features including:</p>
<ul>
<li>New &#8220;geography&#8221; type for managing geodetic (lat/lon) data</li>
<li>Performance-enhanced distance calculations</li>
<li>GML and KML format readers</li>
<li>Improved shape loading GUI</li>
<li>And more!<span id="more-3160"></span></li>
</ul>
<p><strong> RELEASE NOTES</strong><br />
Important Changes</p>
<ul>
<li><strong>=~ operator now indicates bounding box equality, not feature equality</strong></li>
<li>GEOS 3.1 is now the minimum accepted version of GEOS</li>
<li>GEOS 3.2 is needed if you want to use enhanced buffering features and ST_HausdorffDistance</li>
<li><strong>GEOS, LibXML2, and Proj4 are now mandatory dependencies</strong></li>
<li>New Features</li>
<li>Added Hausdorff distance calculations (#209) (Vincent Picavet)</li>
<li>Added parameters argument to ST_Buffer operation to support one-sided buffering and other buffering styles (Sandro Santilli)</li>
<li>Performance improvements to ST_Distance (Nicklas AvÃ©n)</li>
<li>Addition of other Distance related visualization and analysis functions (Nicklas AvÃ©n)</li>
<li>ST_ClosestPoint</li>
<li>ST_DFullyWithin</li>
<li>ST_LongestLine</li>
<li>ST_MaxDistance</li>
<li>ST_ShortestLine</li>
<li><strong>KML, GML input via ST_GeomFromGML and ST_GeomFromKML (Olivier Courtin)</strong></li>
<li>Extract homogeneous collection with ST_CollectionExtract (Paul Ramsey)</li>
<li>Add measure values to existing linestring with ST_AddMeasure (Paul Ramsey)</li>
<li>History table implementation in utils (George Silva)</li>
<li><strong>Win32 support and improvement of core shp2pgsql-gui (Mark Cave-Ayland)</strong></li>
<li>In place &#8216;make check&#8217; support (Paul Ramsey)</li>
<li>Geography type and supporting functions</li>
<li>Spherical algorithms from Dave Skea</li>
<li>Object/index implementation from Paul Ramsey</li>
<li>Selectivitiy implementation from Mark Cave-Ayland</li>
<li>Serializations (KML, GML, JSON) from Olivier Courtin</li>
<li>ST_Area, ST_Distance, ST_DWithin, ST_GeogFromText, ST_GeogFromWKB, ST_Intersects, ST_Covers, ST_Buffer</li>
<li>Documentation updates and improvements (Regina Obe, Kevin Neufeld)</li>
<li>Testing and quality control (Regina Obe)</li>
<li><strong>PostGIS 1.5 support PostgreSQL 8.5 trunk (Guillaume Lelarge)</strong></li>
<li>Many, many other changes</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2010/02/postgis-1-5-0-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GeoDjango中文教程</title>
		<link>http://www.geoinformatics.cn/2009/07/geodjango%e4%b8%ad%e6%96%87%e6%95%99%e7%a8%8b/</link>
		<comments>http://www.geoinformatics.cn/2009/07/geodjango%e4%b8%ad%e6%96%87%e6%95%99%e7%a8%8b/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 08:53:53 +0000</pubDate>
		<dc:creator>musicman</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[OGC]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[OSGeo]]></category>
		<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[PROJ4]]></category>
		<category><![CDATA[Sphinx]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=1078</guid>
		<description><![CDATA[最近接触最多的就是GeoDjango，上周三在Wendy老师的举荐下，在哈佛做了一次GIS presentation，内容就是关于GeoDjango实例的，大家都比较感兴趣，也认识了同样对GeoDjango感兴趣的brett。不过国内对于GeoDjango的介绍比较少，为了方便大家学习，做了份中文版本的GeoDjango教程，其一是自己学习Sphinx的使用，其二也希望对大家有一定帮助。中文教程请点击 http://geoinformatics.cn/lab/geodjango/tutorial.html]]></description>
			<content:encoded><![CDATA[<p>最近接触最多的就是GeoDjango，上周三在Wendy老师的举荐下，在哈佛做了一次GIS presentation，内容就是关于GeoDjango实例的，大家都比较感兴趣，也认识了同样对GeoDjango感兴趣的brett。不过国内对于GeoDjango的介绍比较少，为了方便大家学习，做了份中文版本的GeoDjango教程，其一是自己学习Sphinx的使用，其二也希望对大家有一定帮助。中文教程请点击 <a href="http://geoinformatics.cn/lab/geodjango/tutorial.html">http://geoinformatics.cn/lab/geodjango/tutorial.html</a></p>
<p><a href="http://geoinformatics.cn/lab/geodjango/tutorial.html" title="20090719_geodjangodoc"><img class="aligncenter size-medium wp-image-1079" title="20090719_geodjangodoc" src="/wp-content/uploads//20090719_geodjangodoc-300x276.jpg" alt="20090719_geodjangodoc" width="450" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/07/geodjango%e4%b8%ad%e6%96%87%e6%95%99%e7%a8%8b/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PostGIS 1.3.4 支持GeoJSON格式输出</title>
		<link>http://www.geoinformatics.cn/2008/12/postgis-134-%e6%94%af%e6%8c%81geojson%e6%a0%bc%e5%bc%8f%e8%be%93%e5%87%ba/</link>
		<comments>http://www.geoinformatics.cn/2008/12/postgis-134-%e6%94%af%e6%8c%81geojson%e6%a0%bc%e5%bc%8f%e8%be%93%e5%87%ba/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 10:38:54 +0000</pubDate>
		<dc:creator>musicman</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=866</guid>
		<description><![CDATA[好久没有看refractions上关于PostGIS的更新，发现最近两个月PostGIS，频繁更新了1.3.4 和1.3.5，同时 1.4.0也on this way. 关于1.3.4令人振奋的消息是关于GeoJSON的支持，我现在还在陶醉于1.3.0呵呵，而且习惯于在服务器端先AsText()然后在自己根据字符串进行解析。。有了GeoJSON的支持可以省去这个步骤，在客户端可以用Jquery直接$.getJSON，不过我觉得可能在服务器端得到GeoJSON数据后仍需要进一步解析，因为PostGIS是以对象组织空间数据的，而不是以整个文件，所以要输出整个查询结果，仍需要将结果再次组织。 同往常的更新一样，1.3.4增加了一些新的功能并fix了不少错误，Paul Ramsey依然出了不少力。Sol Katz  GFOSS被你拿到真是实至名归。1.3.5 主要是是fixmapserver配合的一个严重问题。 PS：我真的不能不佩服Paul Ramsey了。。改日我要去加拿大拜会你。。。。 References: Well organized quick tutorial of PostGIS PostGIS 1.3.4 released Postgres Journal]]></description>
			<content:encoded><![CDATA[<p>好久没有看refractions上关于PostGIS的更新，发现最近两个月PostGIS，频繁更新了1.3.4 和1.3.5，同时 1.4.0也on this way.</p>
<p>关于1.3.4令人振奋的消息是关于GeoJSON的支持，我现在还在陶醉于1.3.0呵呵，而且习惯于在服务器端先AsText()然后在自己根据字符串进行解析。。有了GeoJSON的支持可以省去这个步骤，在客户端可以用Jquery直接$.getJSON，不过我觉得可能在服务器端得到GeoJSON数据后仍需要进一步解析，因为PostGIS是以对象组织空间数据的，而不是以整个文件，所以要输出整个查询结果，仍需要将结果再次组织。</p>
<p>同往常的更新一样，1.3.4增加了一些新的功能并fix了不少错误，Paul Ramsey依然出了不少力。Sol Katz  GFOSS被你拿到真是实至名归。1.3.5 主要是是fixmapserver配合的一个严重问题。</p>
<p>PS：我真的不能不佩服Paul Ramsey了。。改日我要去加拿大拜会你。。。。</p>
<p><strong>References:</strong></p>
<p><a href="http://www.bostongis.com/postgis_quickguide.bqg" target="_blank">Well organized quick tutorial of PostGIS</a></p>
<p><a href="http://postgis.refractions.net/news/20081124/" target="_blank">PostGIS 1.3.4 released</a></p>
<p><a href="http://www.postgresonline.com/journal/index.php?/archives/7-PostGIS-for-geospatial-analysis-and-mapping.html">Postgres Journal</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2008/12/postgis-134-%e6%94%af%e6%8c%81geojson%e6%a0%bc%e5%bc%8f%e8%be%93%e5%87%ba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pgRouting</title>
		<link>http://www.geoinformatics.cn/2008/06/pgrouting/</link>
		<comments>http://www.geoinformatics.cn/2008/06/pgrouting/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 15:04:36 +0000</pubDate>
		<dc:creator>musicman</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[pgRouting]]></category>
		<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=618</guid>
		<description><![CDATA[安装与配置可以参见两篇帖子： routing (来自Cartoweb) pgRouting示例 (来自GeoSalon的stinjia) 相关代码： 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 -- 构建拓扑关系-- ALTER TABLE road ADD COLUMN source_id int; ALTER TABLE road ADD [...]]]></description>
			<content:encoded><![CDATA[<p>安装与配置可以参见两篇帖子：</p>
<h4><font color="#0000ff"><a href="http://www.cartoweb.org/doc_head/docbook/xhtml/user.routing.html#user.routing.installation" target="_blank">routing (来自Cartoweb)</a></font></h4>
<h4><font color="#0000ff"><a href="http://www.cnblogs.com/StinJia/archive/2008/04/22/1165788.html" target="_blank">pgRouting示例 (来自GeoSalon的stinjia)</a></font></h4>
<p>相关代码：</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
</pre></td><td class="code"><pre class="plsql" style="font-family:monospace;"><span style="color: #080; font-style: italic;">-- 构建拓扑关系--</span>
<span style="color: #00F;">ALTER</span> <span style="color: #00F;">TABLE</span> road ADD COLUMN source_id int<span style="color: #00F;">;</span>
<span style="color: #00F;">ALTER</span> <span style="color: #00F;">TABLE</span> road ADD COLUMN target_id int<span style="color: #00F;">;</span>
<span style="color: #00F;">ALTER</span> <span style="color: #00F;">TABLE</span> road ADD COLUMN edge_id int<span style="color: #00F;">;</span>
<span style="color: #080; font-style: italic;">-- next line is to work around a pgRouting bug in update_cost_from_distance (fixed in latest CVS)</span>
<span style="color: #00F;">ALTER</span> <span style="color: #00F;">TABLE</span> road RENAME id <span style="color: #00F;">TO</span> id_old<span style="color: #00F;">;</span>
&nbsp;
<span style="color: #00F;">SELECT</span> assign_vertex_id<span style="color: #00F;">&#40;</span><span style="color: #F00;">'road'</span><span style="color: #00F;">,</span> <span style="color: #800;">0.001</span><span style="color: #00F;">&#41;</span><span style="color: #00F;">;</span>
&nbsp;
<span style="color: #080; font-style: italic;">-- 重复检查--</span>
<span style="color: #00F;">SELECT</span> <span style="color: #00F;">*</span> <span style="color: #00F;">FROM</span> <span style="color: #00F;">&#40;</span><span style="color: #00F;">SELECT</span> source_id<span style="color: #00F;">,</span> target_id<span style="color: #00F;">,</span> <span style="color: #000;">COUNT</span><span style="color: #00F;">&#40;</span><span style="color: #00F;">*</span><span style="color: #00F;">&#41;</span> <span style="color: #00F;">AS</span> c <span style="color: #00F;">FROM</span> road <span style="color: #00F;">GROUP</span> <span style="color: #00F;">BY</span>
source_id<span style="color: #00F;">,</span> target_id <span style="color: #00F;">ORDER</span> <span style="color: #00F;">BY</span> c<span style="color: #00F;">&#41;</span>
<span style="color: #00F;">AS</span> foo <span style="color: #00F;">WHERE</span> foo<span style="color: #00F;">.</span>c <span style="color: #00F;">=</span> <span style="color: #800;">2</span><span style="color: #00F;">;</span>
&nbsp;
<span style="color: #080; font-style: italic;">-- 删除重复的列--</span>
<span style="color: #00F;">CREATE</span> <span style="color: #00F;">TABLE</span> doublons <span style="color: #00F;">AS</span> <span style="color: #00F;">SELECT</span> <span style="color: #00F;">*</span> <span style="color: #00F;">FROM</span> road <span style="color: #00F;">WHERE</span> gid  <span style="color: #00F;">IN</span>
<span style="color: #00F;">&#40;</span><span style="color: #00F;">SELECT</span> gid <span style="color: #00F;">FROM</span> <span style="color: #00F;">&#40;</span><span style="color: #00F;">SELECT</span> <span style="color: #00F;">DISTINCT</span> <span style="color: #00F;">ON</span> <span style="color: #00F;">&#40;</span>source_id<span style="color: #00F;">,</span> target_id<span style="color: #00F;">&#41;</span> source_id<span style="color: #00F;">,</span> gid
<span style="color: #00F;">FROM</span> road<span style="color: #00F;">&#41;</span> <span style="color: #00F;">AS</span> doublon<span style="color: #00F;">&#41;</span><span style="color: #00F;">;</span>
<span style="color: #00F;">DELETE</span> <span style="color: #00F;">FROM</span> road<span style="color: #00F;">;</span>
<span style="color: #00F;">INSERT</span> <span style="color: #00F;">INTO</span> road <span style="color: #00F;">&#40;</span><span style="color: #00F;">SELECT</span> <span style="color: #00F;">*</span> <span style="color: #00F;">FROM</span> doublons<span style="color: #00F;">&#41;</span><span style="color: #00F;">;</span>
<span style="color: #00F;">DROP</span> <span style="color: #00F;">TABLE</span> doublons<span style="color: #00F;">;</span>
&nbsp;
<span style="color: #080; font-style: italic;">-- 构建视图--</span>
<span style="color: #00F;">SELECT</span> create_graph_tables<span style="color: #00F;">&#40;</span><span style="color: #F00;">'road'</span><span style="color: #00F;">,</span> <span style="color: #F00;">'int4'</span><span style="color: #00F;">&#41;</span><span style="color: #00F;">;</span>
&nbsp;
<span style="color: #080; font-style: italic;">--用距离赋予权重 --</span>
<span style="color: #00F;">SELECT</span> update_cost_from_distance<span style="color: #00F;">&#40;</span><span style="color: #F00;">'road'</span><span style="color: #00F;">&#41;</span><span style="color: #00F;">;</span>
&nbsp;
<span style="color: #080; font-style: italic;">-- 执行shortest_path命令--</span>
<span style="color: #00F;">SELECT</span> <span style="color: #00F;">*</span> <span style="color: #00F;">FROM</span> shortest_path<span style="color: #00F;">&#40;</span><span style="color: #F00;">'
SELECT gid as id,
source_id::integer as source,
target_id::integer as target,
length(the_geom) as cost
FROM road'</span><span style="color: #00F;">,</span>
<span style="color: #800;">1</span><span style="color: #00F;">,</span> <span style="color: #800;">15</span><span style="color: #00F;">,</span> <span style="color: #00F;">TRUE</span><span style="color: #00F;">,</span> <span style="color: #00F;">FALSE</span><span style="color: #00F;">&#41;</span><span style="color: #00F;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2008/06/pgrouting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>关于时空结合零散的思路</title>
		<link>http://www.geoinformatics.cn/2007/12/%e5%85%b3%e4%ba%8e%e6%97%b6%e7%a9%ba%e7%bb%93%e5%90%88%e9%9b%b6%e6%95%a3%e7%9a%84%e6%80%9d%e8%b7%af/</link>
		<comments>http://www.geoinformatics.cn/2007/12/%e5%85%b3%e4%ba%8e%e6%97%b6%e7%a9%ba%e7%bb%93%e5%90%88%e9%9b%b6%e6%95%a3%e7%9a%84%e6%80%9d%e8%b7%af/#comments</comments>
		<pubDate>Thu, 13 Dec 2007 11:17:26 +0000</pubDate>
		<dc:creator>musicman</dc:creator>
				<category><![CDATA[历史研究]]></category>
		<category><![CDATA[Historical Geography]]></category>
		<category><![CDATA[MapServer]]></category>
		<category><![CDATA[PostGIS]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/index.php/category/postgresql/20071213555.html</guid>
		<description><![CDATA[准备对中国古代佛寺进行一些研究。因为中国的佛寺自从兴建始到损毁，总有一段时间。可以对中国寺庙的持续时间和空间进行一些对应和参照，将两者结合起来。第一部我先做了空间地图，不过好像还有以下缺陷1）虽然把数据已经转换到了wgs84的地理坐标下，但是感觉变形还是很严重，可能自己处理的有些问题，2）需要减少冗余，充分利用LOD技术。3）和Google Map结合，记得以前有一份全球DEM的数据，不过找不到了，如果谁有，可以给我个链接。]]></description>
			<content:encoded><![CDATA[<p>准备对中国古代佛寺进行一些研究。因为中国的佛寺自从兴建始到损毁，总有一段时间。可以对中国寺庙的持续时间和空间进行一些对应和参照，将两者结合起来。第一部我先做了空间地图，不过好像还有以下缺陷1）虽然把数据已经转换到了wgs84的地理坐标下，但是感觉变形还是很严重，可能自己处理的有些问题，2）需要减少冗余，充分利用LOD技术。3）和Google Map结合，记得以前有一份全球DEM的数据，不过找不到了，如果谁有，可以给我个链接。</p>
<p><a href="/wp-content/uploads//fig20071213.JPG" title="fig20071213.JPG" rel="shadowbox[post-555];player=img;"><img src="/wp-content/uploads//fig20071213.JPG" alt="fig20071213.JPG" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2007/12/%e5%85%b3%e4%ba%8e%e6%97%b6%e7%a9%ba%e7%bb%93%e5%90%88%e9%9b%b6%e6%95%a3%e7%9a%84%e6%80%9d%e8%b7%af/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postgis, MapServer and OpenLayers</title>
		<link>http://www.geoinformatics.cn/2007/12/postgis-mapserver-and-openlayers/</link>
		<comments>http://www.geoinformatics.cn/2007/12/postgis-mapserver-and-openlayers/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 20:30:32 +0000</pubDate>
		<dc:creator>musicman</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[MapServer]]></category>
		<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/index.php/category/postgresql/20071211552.html</guid>
		<description><![CDATA[If you want to establish your own map service (PostgreSQL/Postgis as the Database, MapServer as the Map Server, and Openlayers as the Client Side), I just recommend you to get the following materials from the Mapserver offical website: 1 the first section of Mapserver Tutorials 2 the last chapter of introduction to postgis 3 Examples [...]]]></description>
			<content:encoded><![CDATA[<p>If  you want to establish your own map service (PostgreSQL/Postgis as the Database, MapServer as the Map Server, and Openlayers as the Client Side), I just recommend you to get the following materials from the Mapserver offical website:</p>
<ul>
<li>1  the first section of Mapserver Tutorials</li>
<li>2  the last chapter of introduction to postgis</li>
<li>3  Examples of Openlayers Package</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2007/12/postgis-mapserver-and-openlayers/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>OSS4G Program Preview!</title>
		<link>http://www.geoinformatics.cn/2007/05/oss4g-program-preview/</link>
		<comments>http://www.geoinformatics.cn/2007/05/oss4g-program-preview/#comments</comments>
		<pubDate>Sun, 20 May 2007 04:41:59 +0000</pubDate>
		<dc:creator>musicman</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[OpenGIS]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[OSGeo]]></category>
		<category><![CDATA[PostGIS]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/index.php/category/opensource/20070519443.html</guid>
		<description><![CDATA[from Paul Ramsey To give folks registering for FOSS4G 2007 a better idea of what to expect, we&#8217;ve accepted 10 presentations submissions ahead of the submission deadline of June 29. The accepted presentations are: * Adding Analytic Muscle to Spinning Globes: Bulking Up Google Earth and Virtual Earth With PostGIS. * Upgrade to Grid Service [...]]]></description>
			<content:encoded><![CDATA[<p>from Paul Ramsey<br />
To give folks registering for FOSS4G 2007 a better idea of what to expect, we&#8217;ve accepted 10 presentations submissions ahead of the submission deadline of June 29.<br />
The accepted presentations are:</p>
<p><strong>    * Adding Analytic Muscle to Spinning Globes: Bulking Up Google Earth and Virtual Earth With PostGIS.</strong><br />
* Upgrade to Grid Service with Web Processing Service<br />
* Pleiades: Building a RESTful, Open Source GIS for the Humanities<br />
* Geoserver and Open Standards: A Success Story<br />
* IBM DB2 Express-C: A Free Database for Open Source Spatial and XML Development<br />
<strong>    * Google Earth Powered by MapGuide</strong><br />
<strong>    * A Web-Based Open Source Image Server</strong><br />
* A year in the life of OpenStreetMap: How OSM is mapping the world.<br />
* Transitioning Low Earth Orbit Satellite Archive Data from Informix (Geodetic DataBlade) to PostgreSQL (PostGIS)<br />
<strong>    * Security Considerations for Geospatial Applications in Web 2.0 </strong></p>
<p>The final FOSS4G program will include 110 more presentations, for a grand total to 120 30-minute presentations, 16 90-minute labs, 12 3-hour workshops, one code sprint, and thousands and thousands of beers!<br />
PS：the bold tilted ones  is what i concerned. Especially the first and the last ones.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2007/05/oss4g-program-preview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mass Shape File Load into PostGIS</title>
		<link>http://www.geoinformatics.cn/2007/05/mass-shape-file-load-into-postgis/</link>
		<comments>http://www.geoinformatics.cn/2007/05/mass-shape-file-load-into-postgis/#comments</comments>
		<pubDate>Sun, 20 May 2007 04:38:10 +0000</pubDate>
		<dc:creator>musicman</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[PostGIS]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/index.php/category/postgis/20070519442.html</guid>
		<description><![CDATA[from Paul Ramsey I needed some test data to do some performance investigations, and had to load 235 shape files, all of identical schema. Here&#8217;s what I did. First, get the table schema into the database, by loading a small file, and then deleting the data. We delete the data so we can loop through [...]]]></description>
			<content:encoded><![CDATA[<p>from Paul Ramsey</p>
<p>I needed some test data to do some performance investigations, and had to load 235 shape files, all of identical schema. Here&#8217;s what I did.<br />
First, get the table schema into the database, by loading a small file, and then deleting the data. We delete the data so we can loop through all the files later without worrying about duplicating the data from the initial file.</p>
<p><em>shp2pgsql -s 3005 -i -D lwssvict.shp lwss | psql mydatabase<br />
psql -c &#8220;delete from lwss&#8221; mydatabase<br />
</em><br />
Then use the shell to loop through all the shape files and append them into the table.</p>
<p><em>foreach f (*.shp)<br />
foreach? shp2pgsql -s 3005 -i -D $f -a lwss | psql mydatabase<br />
end<br />
</em><br />
Note the &#8220;-a&#8221; switch to tell shp2pgsql we are in append mode, rather than the default create mode. Add a spatial index, and we&#8217;re done.</p>
<p><em>psql -c &#8220;create index lwss_gix on lwss using gist (the_geom)&#8221; mydatabase<br />
</em><br />
Seven hundred thousand line segments, ready to play!<br />
<em><br />
psql -c &#8220;select count(*) from lwss&#8221; mydatabase<br />
count<br />
&#8212;&#8212;&#8211;<br />
755373<br />
(1 row)<br />
</em></p>
<p>PS:前一段时间用PersonalGeodatabase比较多，现在觉得，可能postgis和ArcGIS的personalgeodatabase其实是没有太大理念上差异的，可能关键是Postgis对栅格数据没有一整套很好的处理方法。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2007/05/mass-shape-file-load-into-postgis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why aren&#8217;t PostgreSQL R-Tree indexes supported?</title>
		<link>http://www.geoinformatics.cn/2006/12/why-arent-postgresql-r-tree-indexes-supported/</link>
		<comments>http://www.geoinformatics.cn/2006/12/why-arent-postgresql-r-tree-indexes-supported/#comments</comments>
		<pubDate>Wed, 06 Dec 2006 23:58:06 +0000</pubDate>
		<dc:creator>musicman</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/index.php/category/postgresql/20061206375.html</guid>
		<description><![CDATA[From PostGIS Manual: Early versions of PostGIS used the PostgreSQL R-Tree indexes. However, PostgreSQL R-Trees have been completely discarded since version 0.6, and spatial indexing is provided with an R-Tree-over-GiST scheme. Our tests have shown search speed for native R-Tree and GiST to be comparable. Native PostgreSQL R-Trees have two limitations which make them undesirable [...]]]></description>
			<content:encoded><![CDATA[<p>From PostGIS Manual: Early versions of PostGIS used the PostgreSQL R-Tree indexes. However, PostgreSQL R-Trees have been completely discarded since version 0.6, and spatial indexing is provided with an R-Tree-over-GiST scheme.<br />
Our tests have shown search speed for native R-Tree and GiST to be comparable. Native PostgreSQL R-Trees have two limitations which make them undesirable for use with GIS features (note that these limitations are due to the current PostgreSQL native R-Tree implementation, not the R-Tree concept in general):</p>
<ol>
<li>R-Tree indexes in PostgreSQL cannot handle features which are larger than 8K in size. GiST indexes can, using the &#8220;lossy&#8221; trick of substituting the bounding box for the feature itself.</li>
<li>R-Tree indexes in PostgreSQL are not &#8220;null safe&#8221;, so building an index on a geometry column which contains null geometries will fail.</li>
</ol>
<ul></ul>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2006/12/why-arent-postgresql-r-tree-indexes-supported/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CartoWeb－an advanced framework to build WebGIS</title>
		<link>http://www.geoinformatics.cn/2006/09/cartoweb%ef%bc%8dan-advanced-framework-to-build-webgis/</link>
		<comments>http://www.geoinformatics.cn/2006/09/cartoweb%ef%bc%8dan-advanced-framework-to-build-webgis/#comments</comments>
		<pubDate>Mon, 18 Sep 2006 02:51:38 +0000</pubDate>
		<dc:creator>musicman</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[MapServer]]></category>
		<category><![CDATA[OpenGIS]]></category>
		<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[WebGIS]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/index.php/category/postgresql/20060917210.html</guid>
		<description><![CDATA[last a few days, i was attracted by ka-map. but now, a more convenient opensource software CartoWeb, which supplies an alternative to build the client of WebGIS, comes into my view. CartoWeb is a comprehensive and ready-to-use Web-GIS (Geographical Information System) as well as a convenient framework for building advanced and customized applications. Developed by [...]]]></description>
			<content:encoded><![CDATA[<p>last a few days, i was attracted by ka-map. but now, a more convenient opensource software CartoWeb, which supplies an alternative to build the client of WebGIS, comes into my view.</p>
<p><img src="/wp-content/uploads/cartowebscreens.png" align="left" /><a title="CartoWeb" href="http://www.cartoweb.org/" target="_blank">CartoWeb</a> is a comprehensive and ready-to-use Web-GIS (Geographical Information System) as well as a convenient framework for building advanced and customized applications.</p>
<p>Developed by Camptocamp SA, it is based on the UMN MapServer engine and is released under the GNU General Public License (GPL).</p>
<p>Written using innovative language PHP5, CartoWeb is highly modular and customizable thanks to its object-oriented architecture. It runs evenly on Windows or Unix-like platforms and shows its real power when associated to PostgreSQL/PostGIS.</p>
<p>Last but not least, CartoWeb may be set up as a SOAP Web Service enabling to have front-end server on one machine and data and map generation on an other.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2006/09/cartoweb%ef%bc%8dan-advanced-framework-to-build-webgis/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>开源GIS现状</title>
		<link>http://www.geoinformatics.cn/2006/08/%e5%bc%80%e6%ba%90gis%e7%8e%b0%e7%8a%b6/</link>
		<comments>http://www.geoinformatics.cn/2006/08/%e5%bc%80%e6%ba%90gis%e7%8e%b0%e7%8a%b6/#comments</comments>
		<pubDate>Mon, 14 Aug 2006 02:35:18 +0000</pubDate>
		<dc:creator>musicman</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[GRASS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenGIS]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[QGIS]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/index.php/category/linux/20060813122.html</guid>
		<description><![CDATA[转自：开源中国社区论坛 地理信息系统（Geographic Information Systems，GIS）软件依赖于覆盖整个地球的数据集。为处理大量的 GIS 数据及其格式，编程人员创建了若干开源库和 GIS 套件。本文简要介绍可用于 UNIX® 和 Linux® 的 GIS 工具和库的范围和深度。 GIS 软件以前仅限于地理学者和地质工作者使用，自从网上提供全球地图服务和移动电话公司开始提供全球定位系统（Global Positioning System，GPS）服务以来，GIS 软件已变得非常普及了。GIS 系统可获得并处理描述地球表面的空间数据。一般情况下，在空间处理软件对地理数据进行格式化、处理和显示后，这些数据就转换为地理信息。声纳、雷达、照相机和其他观测平台便可以获得这些数据。GIS 软件将这些数据存储在三维数据库中，并将其格式化，然后传输它们。有时甚至可以通过所谓的四维（三维 + 时间）转换来显示数据随时间的发展情况。 当然，我们能够对所有 GIS 数据进行编辑，而且必须经常编辑这些数据，训练有素的 GIS 专家可以处理接收到的大多数数据集格式。许多（若非全部）数据格式都遵守开放标准，GIS 空间中的所有操作都可以使用运行于 Linux、主要的 Berkeley Software Design (BSD) 和一些 UNIX 变体上的开源应用程序来执行。最重要的是，GIS 软件套件还可以在 Mac OS X 上运行。 Quantum GIS：开源 GIS 数据查看器 近年来，Linux 上运行的 GIS 应用程序迅速增加。20 世纪 80 年代，编程人员开发了地理资源分析支持系统（Geographic Resources Analysis [...]]]></description>
			<content:encoded><![CDATA[<p>转自：开源中国社区论坛<br />
地理信息系统（Geographic Information Systems，GIS）软件依赖于覆盖整个地球的数据集。为处理大量的 GIS 数据及其格式，编程人员创建了若干开源库和 GIS 套件。本文简要介绍可用于 UNIX® 和 Linux® 的 GIS 工具和库的范围和深度。<br />
GIS 软件以前仅限于地理学者和地质工作者使用，自从网上提供全球地图服务和移动电话公司开始提供全球定位系统（Global Positioning System，GPS）服务以来，GIS 软件已变得非常普及了。GIS 系统可获得并处理描述地球表面的空间数据。一般情况下，在空间处理软件对地理数据进行格式化、处理和显示后，这些数据就转换为地理信息。声纳、雷达、照相机和其他观测平台便可以获得这些数据。GIS 软件将这些数据存储在三维数据库中，并将其格式化，然后传输它们。有时甚至可以通过所谓的四维（三维 + 时间）转换来显示数据随时间的发展情况。</p>
<p>当然，我们能够对所有 GIS 数据进行编辑，而且必须经常编辑这些数据，训练有素的 GIS 专家可以处理接收到的大多数数据集格式。许多（若非全部）数据格式都遵守开放标准，GIS 空间中的所有操作都可以使用运行于 Linux、主要的 Berkeley Software Design (BSD) 和一些 UNIX 变体上的开源应用程序来执行。最重要的是，GIS 软件套件还可以在 Mac OS X 上运行。</p>
<p>Quantum GIS：开源 GIS 数据查看器<br />
近年来，Linux 上运行的 GIS 应用程序迅速增加。20 世纪 80 年代，编程人员开发了地理资源分析支持系统（Geographic Resources Analysis Support System，GRASS）。在 20 世纪 90 年代后期经过修改后，任何具有 GIS 知识和一些 Linux 专业知识的人员都可以利用 GRASS 从 Linux 命令行或图形用户界面 (GUI) 运行完整的 GIS 系统。遗憾的是，GRASS 极其复杂，为在 Linux 上运行 GIS 的初学者造成了一些不便。GUI 显示大量的功能和命令行标识，其目标用户是 GIS 专家，而非尝试创建网络地图的新手。</p>
<p>2002 年 5 月，开发人员开发了 GPLed Quantum GIS (QGIS)，该项目面向需要访问、显示和可能编辑 GIS 数据集的初学者和中间用户。GIS 用户可以将 QGIS 部署为单独的 GIS 数据查看器和编辑器，或者部署为 GIS 工具链的一部分。GIS 工具链可包括 QGIS、GRASS 软件套件、一个三维 PostGIS 数据库和一个向通过 Internet 访问地图网站的用户提供数据集和地图的地图服务器。</p>
<p>QGIS 开发人员决定使用基于 C++ 的 Qt 工具包来构建 QGIS 界面，这是不同于以前实践的主要方案（编程人员主要使用 Tcl/Tk 创建了 GRASS，Tcl/Tk 建立于 20 世纪 80 年代后期）。尽管 QGIS 是在 GPLed Qt 工具包的基础上开发的，但它可以在多数 Linux 和 UNIX 变体、Microsoft® Windows® 和 Mac OS X 上运行。</p>
<p>栅格数据<br />
应用程序使用两种不同的数据结构存储 GIS 数据：栅格数据 和矢量数据。您可以添加三维数据格式的数据库存储，该格式针对 PostgreSQL 处理而优化 —— 即 PostGIS 数据格式。我们将 PostGIS 数据归类为矢量数据，其原因将在下文介绍。</p>
<p>QGIS 处理所有三种数据 —— 栅格数据、矢量数据和数据库，这也是编写 GIS 数据编程库的程序员的重要努力方向。通过想像正方形网格或六边形单元，可以方便地可视化数据结构（实践中，应用程序在多数情况下采用正方形网格）。这些网格覆盖一个像矩阵一样的地理区域，并在一个名为 map algebra 的字段中使用数学表示形式。GIS 专家可以向每个网格中添加数据，如降水量值或经济数据，但描述复杂的不规则地理形状较为困难。该软件通常必须依赖于相似性和网格中值的位置来对特征分类（如街道或海岸），而非基于封装在元数据中的特征描述。另一种可能的解释依赖于使用与个别网格相关联的颜色值将栅格网格组归类为某些特征。</p>
<p>网格按行或按列排列，它反映硬盘存储数据的方式。许多基于栅格的格式都有基本的图像格式：常见的基于栅格的图像格式是位图 (.bmp)。带标记的图像文件格式 (.tiff) 是另一种常用的基于栅格的图像格式，GIS 专家为适应地理学者的需要将其重命名为 GeoTIFF。基于栅格的数据格式更类似于图像。其准确性依赖于描述尽可能少的特征的网格数量。</p>
<p>在栅格数据模型中，地图的准确性还依赖于地图的比例。因此，地图的分辨率和准确性依赖于每个网格代表的实际区域。该数据模型可比较的简单性有助于对 GPS 设备和卫星成像捕获的数据进行建模。有些数据格式可以很好地适用于栅格模型。例如，数字高程模型（Digital Elevation Model，DEM）数据点在网格图形中均匀排列。DEM 格式编码高程数据来创建高清晰地形。前几年，美国地质调查局 (USGS) 向公共领域发布了一个非常受欢迎的全球 DEM 数据集。</p>
<p>矢量数据<br />
基于矢量的数据格式的出现改变了 GIS 专家的生活。新数据查看器和编辑器，如 Thuban 和 QGIS 不必再费力地表示复杂的基于矢量的格式，因为它一开始就内置了编辑和添加基于矢量的数据层的能力。GRASS 已有 20 多年的历史，但最近才获得此能力。</p>
<p>简言之，矢量数据利用最简单的拓扑实体 — 点、线和多边形，并在二维笛卡尔坐标系统中固定它们来描述地理特征。连接线称为弧，笛卡尔坐标系统中的点称为节点。数据结构与图形关联，并以图形理论做为其数学基础。所谓的弧节点列表 包含弧和节点。列表定义多边形，并可以相互层叠，来表示方向完全相反但描述相同地理区域的数据集，从而形成数据详细的地图。</p>
<p>QGIS 和其他较为简单的数据查看器用于探测各种数据格式和覆盖此行星系统的所有数据集。与某些商业产品、甚至 GRASS 不同，您可以容易地安装这些查看器，并且几乎可以在所有主要操作系统上使用。里程可能稍有偏差，但几乎可以始终保证成功。</p>
<p>数据格式<br />
QGIS 支持许多矢量数据格式，如 Shapefile、MapInfo 图层和 ArcInfo coverage。矢量数据要求的存储要比栅格数据少得多，因为弧节点列表简化并减少了表示地图中包含的特征所需的数据。这些数据还非常便于搜索地图或用矢量表示的各种图层。在 20 世纪 90 年代初，商业软件套件 ArcInfo GIS 进入市场以后，促进了对 Shapefile 的使用。后来出现了其他文件和数据格式，但是，没有免费的开源编程社区，这些成果仍局限于地理学者的理论研究和军事规划。</p>
<p>GRASS<br />
最近推出了 GRASS 6.01 版，该版本支持大约 40 种数据格式。它突破了二维栅格格式，可包括体元（voxel） 或三维栅格格式。大量的成像和成图模块大大方便了 GIS 专家以新的方法分析数据。这使得长期模拟和完善的地图制作成为可能。</p>
<p>不过，用户仍需要解决的问题是，由于该版本针对的是 UNIX 和 Linux 专家，其界面相当杂乱而且安装过程也比较复杂。进一步说，导致这一复杂性的原因是随 GRASS 提供了大量的库和工具。所幸的是，各个 GIS 技术级别的学生编写了许多有关 GRASS 的文档，因此使 Linux 和 UNIX 新手能够对付 GRASS 安装时的复杂要求。</p>
<p>GDAL 和 OGR<br />
在谈到 GIS 数据格式时，必然会考虑到要支持的大量格式，以使每个数据查看器和 GIS 应用程序可以广泛适用。开源 GIS 应用程序必须包括从 ArcInfo 到 X 窗口系统的大多数开放数据格式标准。诸如 GeoTIFF 的格式是通常由多数应用程序支持的开放标准的常见示例。</p>
<p>在开源范围中，GRASS、QGIS、Thuban 和许多其他 GIS 应用程序使用基本库，即 Geospatial Data Abstraction Library (GDAL)。GDAL 用 C 和 C++ 编写，只能包括一种栅格格式。另一个库叫做 OGR Simple Features Library（以前称为 OpenGIS Simple Features Reference Implementation），尽管是为了适应 GDAL 源树中存在的矢量格式而构建的，但 OGR 依赖于 GDAL。事实上，如果没有开源许可的 GDAL，多数现代地理空间数据查看器将是不可思议的。该库为编程人员提供了通用的数据模型，包括所有栅格数据格式和矢量数据格式（通过 OGR）。GDAL 还可让编程人员在世界地理坐标（即地理参考坐标）上设计栅格数据。</p>
<p>PostGIS 和 OpenGIS<br />
在没有相当完善的数据存储机制的情况下，公共领域 GIS 数据不可能存在。然而，存储可能不像栅格数据那样重要，其空间构成可能包含相当简单的数字数据。编程人员只须知道一些较高级别的结构，但是多数编程人员认为栅格数据较为复杂并且占用大量的存储。</p>
<p>OpenGIS 标准通过生成矢量数据解决了这些问题，矢量数据也指几何对象，如点、线、多边形及其组合，可以在启用三维数据库的 PostgreSQL 中存取（PostgreSQL 的 OpenGIS 实现标准称为 PostGIS）。存储在 PostgreSQL 数据库中的 GIS 数据完全可以使用 SQL-92 搜索。</p>
<p>目前，编程人员能够访问整个开源 GIS 应用程序在很大程度上依赖于 UNIX 和 Linux 系统。这些成果得益于通常的开放标准，而且多数 Internet 地图制作领域正在趋向于依赖这些标准。以任何形式处理地理数据的所有编程人员都会遇到与 Linux 系统编程人员在 glibc 上遇到的相同的基础库问题。GIS 编程人员即使只是想利用键盘编写数据过滤器的脚本或删改工具链，也无法判断要使用哪些数据格式和基础库。</p>
<p>结束语<br />
在谈到有关开源和全球环境现象时，很难让人联想到地理数据集和 GIS 应用程序领域。但是，开源应用程序，如 GRASS 和 QGIS 在尝试使公共领域 GIS 数据集可用于编程人员和技术用户，以便他们不必使用商业产品。GDAL 和 OGR 之类的库可以将 GIS 数据放在通用开源基础上处理，而不会影响开放 GIS 数据标准的完整性。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2006/08/%e5%bc%80%e6%ba%90gis%e7%8e%b0%e7%8a%b6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
