﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-芃芃其柳</title><link>http://www.cppblog.com/willowir/</link><description>柔韧若柳 坚固如铱</description><language>zh-cn</language><lastBuildDate>Wed, 15 Apr 2026 21:20:26 GMT</lastBuildDate><pubDate>Wed, 15 Apr 2026 21:20:26 GMT</pubDate><ttl>60</ttl><item><title>使用gdal正确写出三维点云，设置z值</title><link>http://www.cppblog.com/willowir/archive/2011/11/22/160690.html</link><dc:creator>柳铱</dc:creator><author>柳铱</author><pubDate>Tue, 22 Nov 2011 02:23:00 GMT</pubDate><guid>http://www.cppblog.com/willowir/archive/2011/11/22/160690.html</guid><wfw:comment>http://www.cppblog.com/willowir/comments/160690.html</wfw:comment><comments>http://www.cppblog.com/willowir/archive/2011/11/22/160690.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/willowir/comments/commentRss/160690.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/willowir/services/trackbacks/160690.html</trackback:ping><description><![CDATA[<div>在写出三维点图层的过程中，即使设置了z值，也会显示为0.<br />改了两个地方，使得可以成功设置z值<br />有两点要注意的地方：<br />&nbsp;poLayer = poDS-&gt;CreateLayer( "point_out", NULL, wkbPoint25D, NULL );<br />创建图层时，要创建wkbPoint25D类型<br />&nbsp;pt.setCoordinateDimension(3);<br />创建点时，指定为三维<br /><br />即可设置z值</div><img src ="http://www.cppblog.com/willowir/aggbug/160690.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/willowir/" target="_blank">柳铱</a> 2011-11-22 10:23 <a href="http://www.cppblog.com/willowir/archive/2011/11/22/160690.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>