[mapserver-commits] r11946 - trunk/docs/zh_cn

svn at osgeo.org svn at osgeo.org
Fri Jul 15 21:22:57 EDT 2011


Author: wbprime
Date: 2011-07-15 18:22:57 -0700 (Fri, 15 Jul 2011)
New Revision: 11946

Modified:
   trunk/docs/zh_cn/MIGRATION_GUIDE.txt
Log:
Addition Chinese translation for MIGRATION_GUIDE

Modified: trunk/docs/zh_cn/MIGRATION_GUIDE.txt
===================================================================
--- trunk/docs/zh_cn/MIGRATION_GUIDE.txt	2011-07-15 21:29:29 UTC (rev 11945)
+++ trunk/docs/zh_cn/MIGRATION_GUIDE.txt	2011-07-16 01:22:57 UTC (rev 11946)
@@ -230,10 +230,7 @@
 MapScript所有特性
 -----------------------
 
-The layer query result handing has been re-worked (again) to address some issues introduced in
-the 5.4/5.6 versions. Gone are resultsGetShape and getFeature methods. You should now use a 
-refactored getShape method to access layer shapes. That method takes a resultObj and returns
-a shapeObj. Typical use would be (in Perl):
+图层的查询结果处理机制已经重新生效了,在5.4和5.6版本中引进的一些问题也得以解决。resultsGetShape和getFeatures方法已被移除。如今你得使用重新设计的getShape方法来操作图层上的图元。该方法将一个resultObj对象作参数,并返回一个shapeObj对象。典型用法(以Perl为例):
 
 ::
 
@@ -247,18 +244,18 @@
   $layer->close();
 
 
-A resultObj encapsulates the data used to manage a result set.
+resultObj对象是对管理结果集数据的封装。
 
-To access shapes independently of a query use the new resultObj class:
+请使用新的resultObj对象来单独地操作查询的图元:
 
   $layer->open();
   $shape = $layer->getShape(new mapscript::resultObj(1));  
   $layer->close();
 
-See http://mapserver.org/development/rfc/ms-rfc-65.html for more information.
+详情参见http://mapserver.org/development/rfc/ms-rfc-65.html。
 
 ------------
-OUTPUTFORMAT
+OUTPUTFORMAT参数
 ------------
 
 The OUTPUTFORMAT parameter validation when reading from the mapfile 



More information about the mapserver-commits mailing list