{"id":736,"date":"2011-03-29T09:50:57","date_gmt":"2011-03-29T01:50:57","guid":{"rendered":"http:\/\/blog.newnaw.com\/?p=736"},"modified":"2011-03-29T09:50:57","modified_gmt":"2011-03-29T01:50:57","slug":"arcgis%e7%a7%bb%e5%8a%a8%e5%ae%a2%e6%88%b7%e7%ab%af%e7%a6%bb%e7%ba%bf%e5%ba%95%e5%9b%be%e7%9a%84%e5%87%a0%e7%a7%8d%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88","status":"publish","type":"post","link":"https:\/\/blog.newnaw.com\/?p=736","title":{"rendered":"ArcGIS\u79fb\u52a8\u5ba2\u6237\u7aef\u79bb\u7ebf\u5e95\u56fe\u7684\u51e0\u79cd\u89e3\u51b3\u65b9\u6848"},"content":{"rendered":"<p>\u3000\u3000\u79fb\u52a8GIS\u4e2d\uff0c\u901a\u5e38\u5c06\u6570\u636e\u5206\u4e3a\u4e24\u5927\u7c7b\uff1abasemap layer\u548coperational layer\u3002\u524d\u8005\u662f\u6307\u6f2b\u6e38\u6216\u5bfc\u822a\u65f6\u8d77\u53c2\u8003\u4f5c\u7528\u7684\u56fe\u5c42\uff0c\u8fd9\u4e9b\u56fe\u5c42\u5185\u5bb9\u901a\u5e38\u4e0d\u4f1a\u53d8\u5316\uff0c\u53ea\u8d77\u5230\u89c6\u89c9\u8f85\u52a9\u4f5c\u7528\uff0c\u79f0\u4e3a\u5e95\u56fe\u56fe\u5c42\uff1b\u540e\u8005\u662f\u6307\u5b58\u50a8GIS\u6570\u636e\u7684\u56fe\u5c42\uff0c\u6bd4\u5982\u53ef\u901a\u8fc7\u8fd9\u4e9b\u56fe\u5c42\u6765\u63d0\u4f9b\u5c5e\u6027\/\u7a7a\u95f4\u67e5\u8be2\u64cd\u4f5c\uff0c\u6216\u8005\u5bf9\u5176\u5185\u5bb9\u8fdb\u884c\u7f16\u8f91\uff0c\u7136\u540e\u4e0e\u670d\u52a1\u5668\u7aef\u8fdb\u884c\u540c\u6b65\uff0c\u79f0\u4e3a\u4e1a\u52a1\u56fe\u5c42\u3002<br \/>\u3000\u3000\u76ee\u524dArcGIS\u79fb\u52a8\u4ea7\u54c1\u67095\u79cd\uff0c\u57fa\u4e8eWindows Mobile\u5e73\u53f0\u7684ArcPad\u548cArcGIS Mobile\uff0c\u8fd9\u4e24\u4e2a\u4ea7\u54c1\u5df2\u7ecf\u5f88\u6210\u719f\u4e86\uff0c\u90fd\u6709\u5404\u81ea\u7684\u79bb\u7ebf\u7f13\u5b58\u683c\u5f0f\uff0c\u5176\u4e2dArcGIS Mobile\u4ece10\u7248\u672c\u5f00\u59cb\uff0c\u53ef\u4ee5\u76f4\u63a5\u8bfb\u53d6ArcGIS Server\u7f13\u5b58\u5730\u56fe\u670d\u52a1\u7684\u5207\u7247\u6587\u4ef6\u505a\u4e3abasemap layer\uff0c\u652f\u6301exploded\u548ccompact\u4e24\u79cd\u683c\u5f0f\u3002<br \/>\u3000\u3000\u76f8\u5bf9\u4e8e\u4ee5\u4e0a\u4e24\u4e2a\u8001\u724c\u79fb\u52a8\u4ea7\u54c1\uff0c\u4e09\u4e2a\u521a\u51fa\u9053\u7684\u5c0f\u5f1fArcGIS for iOS\uff0cArcGIS for Android\u548cArcGIS for Windows Phone\u5c31\u8d70\u4e86\u4e0d\u540c\u8def\u7ebf\uff1a\u4f9d\u8d56\u4e8eArcGIS Server\u7684REST\u670d\u52a1\u3002\u56e0\u6b64\u51e0\u4e4e\u6240\u6709\u64cd\u4f5c\uff0c\u5305\u62ec\u663e\u793a\u5730\u56fe\uff0c\u90fd\u9700\u8981\u7528\u5230ArcGIS Server\u53d1\u5e03\u7684\u5404\u79cd\u670d\u52a1\u3002\u8fd9\u4e09\u4e2a\u4ea7\u54c1\u7684\u79bb\u7ebf\u529f\u80fd\u5c06\u6765\u80af\u5b9a\u662f\u4f1a\u6709\u7684\uff0c\u4f46\u5177\u4f53\u7684\u65f6\u95f4\u8868\u8fd8\u65e0\u6cd5\u786e\u5b9a\u3002<br \/>\u3000\u3000\u9488\u5bf9ArcGIS for iOS\/Android\/Windows Phone\uff0c\u672c\u6587\u63d0\u51fa3\u79cd\u53ef\u884c\u7684\u79bb\u7ebf\u5e95\u56fe\uff08basemap layer\uff09\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u4f9b\u5404\u4f4d\u53c2\u8003\u3002\u4ee5ArcGIS for Windows Phone\u4e3a\u4f8b\u3002<\/p>\n<p><strong><font size=\"3\">1\u3001ArcGIS Server\u5730\u56fe\u670d\u52a1\u7684Exploded\u683c\u5f0f\u7f13\u5b58\u6587\u4ef6<\/font><\/strong><\/p>\n<p>\u3000\u3000ArcGIS API for Windows Phone\u4e2d\uff0c\u63d0\u4f9b\u4e86<a href=\"http:\/\/help.arcgis.com\/en\/webapi\/silverlight\/apiref\/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.ArcGISTiledMapServiceLayer.html\">ArcGISTiledMapServiceLayer<\/a>\u7528\u6765\u52a0\u8f7dArcGIS Server\u53d1\u5e03\u7684\u7f13\u5b58\u5730\u56fe\u670d\u52a1\uff0c\u5b83\u7684\u539f\u7406\u662fMap\u63a7\u4ef6\u8ba1\u7b97\u597d\u9700\u8981\u52a0\u8f7d\u7684\u5207\u7247\u7684row\uff0ccol\uff0clevel\u53c2\u6570\uff0c\u5229\u7528ArcGISTiledMapServiceLayer\u91cc\u7684<a href=\"http:\/\/help.arcgis.com\/en\/webapi\/silverlight\/apiref\/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.ArcGISTiledMapServiceLayer~GetTileUrl.html\">GetTileUrl<\/a>\u65b9\u6cd5\u63d0\u4f9b\u5982\u4f55\u83b7\u5f97\u6307\u5b9a\u53c2\u6570\u7684\u5207\u7247\u6587\u4ef6\uff0c\u6700\u540e\u62fc\u63a5\u6210\u5b8c\u6574\u7684\u5730\u56fe\u3002<br \/>\u3000\u3000\u56e0\u6b64\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u7ee7\u627fArcGISTiledMapServiceLayer\u7684\u7236\u7c7b\uff0c<a href=\"http:\/\/help.arcgis.com\/en\/webapi\/silverlight\/apiref\/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.TiledMapServiceLayer.html\">TiledMapServiceLayer<\/a>\u6216<a href=\"http:\/\/help.arcgis.com\/en\/webapi\/silverlight\/apiref\/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.TiledLayer.html\">TiledLayer<\/a>\uff0c\u6765\u5b9e\u73b0\u81ea\u5df1\u7684\u81ea\u5b9a\u4e49\u56fe\u5c42\uff0c\u6bd4\u5982\u7528\u5b83\u6765\u52a0\u8f7d<a href=\"http:\/\/bbs.esrichina-bj.cn\/ESRI\/thread-45582-1-1.html\">Google Maps<\/a>\uff0c<a href=\"http:\/\/www.giser.net\/?p=119\">\u5929\u5730\u56fe<\/a>\u7b49\u5404\u79cd\u5730\u56fe\u3002\u52a0\u8f7d\u8fd9\u4e9b\u5728\u7ebf\u5730\u56fe\u90fd\u662f\u901a\u8fc7\u91cd\u5199GetTileUrl()\u65b9\u6cd5\u6765\u5b9e\u73b0\u7684\u3002<br \/>\u3000\u3000\u5bf9\u4e8e\u5df2\u7ecf\u5b58\u653e\u5728\u786c\u76d8\u4e0a\u7684\u7f13\u5b58\u6587\u4ef6\uff0c\u8be5\u5982\u4f55\u52a0\u8f7d\u5462\uff1f\u8fd9\u51e0\u4e2a\u56fe\u5c42\u8fd8\u6709\u4e00\u4e2a\u65b9\u6cd5\uff0c<a href=\"http:\/\/help.arcgis.com\/en\/webapi\/silverlight\/apiref\/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.TiledLayer~GetTileSource.html\">GetTileSource<\/a>\u3002\u8fd9\u4e2a\u65b9\u6cd5\u6709\u4e00\u4e2aonComplete action\uff0c\u53ef\u4ee5\u4f20\u5165ImageSource\u7c7b\u578b\u7684\u53c2\u6570\uff0c\u5b83\u6bd4GetTileUrl\u6765\u7684\u66f4\u76f4\u63a5\u3002\u5176\u5b9eGetTileSource\u65b9\u6cd5\u4e2d\u8c03\u7528\u4e86GetTileUrl\u65b9\u6cd5\u7684\u7ed3\u679c\uff08\u4e00\u4e2a\u83b7\u5f97tile\u7684url\u5b57\u7b26\u4e32\uff09\uff0c\u5229\u7528\u8fd9\u4e2a\u5b57\u7b26\u4e32\u5411\u670d\u52a1\u5668\u7aef\u53d1\u9001\u8bf7\u6c42\uff0c\u8bf7\u6c42\u56de\u6765\u7684\u7ed3\u679c\u5c31\u662f\u5207\u7247\u56fe\u7247\u7684\u4e8c\u8fdb\u5236\u6d41\uff0c\u518d\u5c06\u8fd9\u4e2a\u4e8c\u8fdb\u5236\u6d41\u5f62\u6210ImageSource\uff0c\u901a\u8fc7onComplete\u65b9\u6cd5\u8fd4\u56de\u3002<br \/>\u3000\u3000\u6240\u4ee5\u6211\u4eec\u53ef\u4ee5\u629b\u5f00GetTileUrl\uff0c\u76f4\u63a5\u91cd\u5199GetTileSource\u65b9\u6cd5\uff0c\u6765\u6839\u636erow\uff0ccol\uff0clevel\u53c2\u6570\uff0c\u8bfb\u53d6\u5730\u56fe\u670d\u52a1\u7684\u7f13\u5b58\u6587\u4ef6\u3002\u9996\u5148\u5c06Exploded\u683c\u5f0f\u7684\u5730\u56fe\u670d\u52a1\u7f13\u5b58\u6587\u4ef6\u62f7\u8d1d\u5230\u624b\u673a\u4e2d\uff1a<\/p>\n<p><a href=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image5.png\"><img decoding=\"async\" loading=\"lazy\" style=\"background-image: none; border-right-width: 0px; margin: 0px auto 5px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image_thumb5.png\" width=\"191\" height=\"506\"><\/a>  <\/p>\n<p>\u3000\u3000\u5305\u542bconf.cdi\uff08ArcGIS Server 10\u7248\u672c\u4e2d\u624d\u6709\uff0c\u8bb0\u5f55\u4e86\u7f13\u5b58\u7684\u5168\u56fe\u8303\u56f4\uff09\u548cconf.xml\u6587\u4ef6\u7684\u597d\u5904\u662f\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u4ee3\u7801\u4e2d\u8bfb\u53d6\u8fd9\u4e24\u4e2a\u6587\u4ef6\u6765\u52a8\u6001\u751f\u6210\u6211\u4eec\u7684<a href=\"http:\/\/bbs.esrichina-bj.cn\/ESRI\/viewthread.php?tid=45480\">Tiling Scheme<\/a>\uff0c\u4ee5\u5b8c\u6210\u56fe\u5c42\u521d\u59cb\u5316\u7684\u5de5\u4f5c\u3002\u4ece\u914d\u7f6e\u6587\u4ef6\u4e2d\u8bfb\u53d6\u53c2\u6570\u540e\uff0c\u5c31\u53ef\u4ee5\u91cd\u5199GetTileSource\u65b9\u6cd5\u4e86\u3002\u90e8\u5206\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<div style=\"border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px\" id=\"codeSnippetWrapper\">\n<div style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\" id=\"codeSnippet\">\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum1\">   1:<\/span> <span style=\"color: #0000ff\">protected<\/span> <span style=\"color: #0000ff\">override<\/span> <span style=\"color: #0000ff\">void<\/span> GetTileSource(<span style=\"color: #0000ff\">int<\/span> level, <span style=\"color: #0000ff\">int<\/span> row, <span style=\"color: #0000ff\">int<\/span> col, Action&lt;System.Windows.Media.ImageSource&gt; onComplete)<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum2\">   2:<\/span>         {<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum3\">   3:<\/span>             <span style=\"color: #0000ff\">string<\/span> f = <span style=\"color: #0000ff\">string<\/span>.Empty;<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum4\">   4:<\/span>             <span style=\"color: #0000ff\">if<\/span> (_cacheTileFormat.ToLower().Contains(<span style=\"color: #006080\">\"png\"<\/span>))<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum5\">   5:<\/span>                 f = <span style=\"color: #006080\">\".png\"<\/span>;<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum6\">   6:<\/span>             <span style=\"color: #0000ff\">else<\/span> <span style=\"color: #0000ff\">if<\/span> (_cacheTileFormat.ToLower().Contains(<span style=\"color: #006080\">\"jpeg\"<\/span>) || _cacheTileFormat.ToLower().Contains(<span style=\"color: #006080\">\"jpg\"<\/span>))<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum7\">   7:<\/span>                 f = <span style=\"color: #006080\">\".jpg\"<\/span>;<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum8\">   8:<\/span>             <span style=\"color: #0000ff\">else<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum9\">   9:<\/span>                 <span style=\"color: #0000ff\">throw<\/span> <span style=\"color: #0000ff\">new<\/span> Exception(<span style=\"color: #006080\">\"\u5207\u7247\u683c\u5f0f\u4e0d\u660e:\"<\/span> + _cacheTileFormat);<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum10\">  10:<\/span>             <span style=\"color: #cc6633\">#region<\/span> Exploded\u8bfb\u53d6<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum11\">  11:<\/span>             <span style=\"color: #0000ff\">if<\/span> (_storageFormat == StorageFormat.esriMapCacheStorageModeExploded)<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum12\">  12:<\/span>             {<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum13\">  13:<\/span>                 <span style=\"color: #0000ff\">string<\/span> baseUrl = _path;<span style=\"color: #008000\">\/\/ \"\/WP_LocalCacheReader;component\/Assets\/usa_exploded\/\"<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum14\">  14:<\/span>                 baseUrl += <span style=\"color: #006080\">@\"\/_alllayers\"<\/span>;<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum15\">  15:<\/span>                 <span style=\"color: #0000ff\">string<\/span> l = <span style=\"color: #006080\">\"L\"<\/span>;<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum16\">  16:<\/span>                 l = level.ToString().PadLeft(2, <span style=\"color: #006080\">'0'<\/span>);<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum17\">  17:<\/span>                 <span style=\"color: #0000ff\">string<\/span> r = <span style=\"color: #006080\">\"R\"<\/span>;<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum18\">  18:<\/span>                 r = String.Format(<span style=\"color: #006080\">\"{0:X}\"<\/span>, row).PadLeft(8, <span style=\"color: #006080\">'0'<\/span>);<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum19\">  19:<\/span>                 <span style=\"color: #0000ff\">string<\/span> c = <span style=\"color: #006080\">\"C\"<\/span>;<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum20\">  20:<\/span>                 c = String.Format(<span style=\"color: #006080\">\"{0:X}\"<\/span>, col).PadLeft(8, <span style=\"color: #006080\">'0'<\/span>);<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum21\">  21:<\/span>                 <span style=\"color: #0000ff\">string<\/span> str = baseUrl<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum22\">  22:<\/span>                     + <span style=\"color: #006080\">@\"\/L\"<\/span> + l<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum23\">  23:<\/span>                     + <span style=\"color: #006080\">@\"\/R\"<\/span> + r<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum24\">  24:<\/span>                     + <span style=\"color: #006080\">@\"\/C\"<\/span> + c + f;<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum25\">  25:<\/span>                 BitmapImage img = <span style=\"color: #0000ff\">new<\/span> BitmapImage(<span style=\"color: #0000ff\">new<\/span> Uri(str,UriKind.RelativeOrAbsolute))<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum26\">  26:<\/span>                 {<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum27\">  27:<\/span>                     CreateOptions = BitmapCreateOptions.DelayCreation<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum28\">  28:<\/span>                 };<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum29\">  29:<\/span>                 img.ImageFailed += (s, a) =&gt;<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum30\">  30:<\/span>                 {<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum31\">  31:<\/span>                     <span style=\"color: #0000ff\">string<\/span> uri = _path + <span style=\"color: #006080\">\"\/missing\"<\/span> + _tileRows.ToString() + f;<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum32\">  32:<\/span>                     BitmapImage image = <span style=\"color: #0000ff\">new<\/span> BitmapImage(<span style=\"color: #0000ff\">new<\/span> Uri(uri, UriKind.RelativeOrAbsolute))<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum33\">  33:<\/span>                     {<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum34\">  34:<\/span>                         CreateOptions = BitmapCreateOptions.DelayCreation<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum35\">  35:<\/span>                     };<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum36\">  36:<\/span>                     onComplete(image);<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum37\">  37:<\/span>                     <span style=\"color: #0000ff\">return<\/span>;<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum38\">  38:<\/span>                 };<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum39\">  39:<\/span>                 onComplete(img);<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum40\">  40:<\/span>             }<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum41\">  41:<\/span>             <span style=\"color: #cc6633\">#endregion<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum42\">  42:<\/span>         }<\/pre>\n<p><!--CRLF--><\/div>\n<\/div>\n<p>\u3000\u3000\u5f53\u6307\u5b9a\u7684\u5207\u7247\u6587\u4ef6\u4e0d\u5b58\u5728\uff08\u4e5f\u8bb8\u8fd8\u672a\u521b\u5efa\uff09\u65f6\uff0c\u53ef\u4ee5\u52a0\u8f7d\u4e8b\u5148\u51c6\u5907\u597d\u7684missing\u56fe\u7247\u6765\u66ff\u6362\u3002<\/p>\n<p><strong><font size=\"3\">2\u3001ArcGIS Server\u5730\u56fe\u670d\u52a1\u7684Compact\u683c\u5f0f\u7f13\u5b58\u6587\u4ef6<\/font><\/strong><\/p>\n<p>\u3000\u3000\u8fd9\u662fArcGIS Server 10\u63a8\u51fa\u7684\u65b0\u7684\u7f13\u5b58\u683c\u5f0f\uff0c\u7f13\u5b58\u56fe\u7247\u90fd\u4fdd\u5b58\u5728.bundle\u6587\u4ef6\u4e2d\uff0c\u4e00\u4e2abundle\u76ee\u524d\u53ef\u5b58\u50a8128*128\u5f20\u5207\u7247\u3002\u5207\u7247\u6587\u4ef6\u66f4\u5c11\uff0c\u4e3b\u8981\u76ee\u7684\u662f\u4e3a\u4e86\u8fc1\u79fb\u65b9\u4fbf\u3002\u6587\u6863\u4e2d\u5e76\u672a\u7ed9\u51fa\u8bfb\u53d6\u8fd9\u79cd\u683c\u5f0f\u6587\u4ef6\u7684\u65b9\u6cd5\uff0c\u4e0d\u8fc7<a href=\"http:\/\/blog.csdn.net\/warrenwyf\/archive\/2010\/12\/11\/6069711.aspx\">\u725b\u9b54\u738b\u5df2\u7ecf\u51ed\u7a7a\u63a8\u65ad\u51fa\u4e86\u8fd9\u79cd\u683c\u5f0f\u7684\u5185\u5bb9<\/a>\uff0c\u8fd9\u91cc\u5c31\u501f\u9274\u4e86\u4ed6\u7684\u65b9\u6cd5\u3002\u8fd8\u662f\u5148\u5c06\u7f13\u5b58\u6587\u4ef6\u62f7\u8d1d\u5230\u624b\u673a\u4e2d\uff1a<br \/><a href=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image6.png\"><img decoding=\"async\" loading=\"lazy\" style=\"background-image: none; border-right-width: 0px; margin: 0px auto 5px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image_thumb6.png\" width=\"204\" height=\"456\"><\/a><\/p>\n<p>\u3000\u3000\u5229\u7528conf.cdi\u548cconf.xml\u83b7\u5f97tiling scheme\uff0c\u4e4b\u540e\u91cd\u5199GetTileSource\u65b9\u6cd5\u3002\u5177\u4f53\u601d\u8def\u725b\u9b54\u738b\u6587\u4e2d\u5df2\u7ecf\u7ed9\u51fa\uff0c\u611f\u5174\u8da3\u7684\u540c\u5b66\u8fd8\u662f\u770b\u539f\u6587\uff0c\u5b66\u4e60\u725b\u725b\u7684\u601d\u8def\u6bd4\u8f83\u597d\u3002<br \/>\u3000\u3000\u4e0b\u9762\u662f\u8bfb\u53d6\u4e24\u79cd\u7f13\u5b58\u6587\u4ef6\u7684\u6548\u679c\uff1a<br \/><a href=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image7.png\"><img decoding=\"async\" loading=\"lazy\" style=\"background-image: none; border-right-width: 0px; margin: 0px auto 5px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image_thumb7.png\" width=\"525\" height=\"323\"><\/a><\/p>\n<p><a href=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image8.png\"><img decoding=\"async\" loading=\"lazy\" style=\"background-image: none; border-right-width: 0px; margin: 0px auto 5px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image_thumb8.png\" width=\"455\" height=\"262\"><\/a><\/p>\n<p><a href=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image9.png\"><img decoding=\"async\" loading=\"lazy\" style=\"background-image: none; border-right-width: 0px; margin: 0px auto 5px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image_thumb9.png\" width=\"453\" height=\"256\"><\/a><\/p>\n<p><strong><font size=\"3\">3\u3001\u7b2c\u4e09\u65b9\u79bb\u7ebf\u5730\u56fe\u6587\u4ef6<\/font><\/strong><\/p>\n<p>\u3000\u3000\u9664\u4e86ArcGIS Server\u7684\u7f13\u5b58\u5207\u7247\u4e4b\u5916\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u8bfb\u53d6\u7b2c\u4e09\u65b9\u7684\u79bb\u7ebf\u5730\u56fe\u6587\u4ef6\u6765\u505a\u4e3a\u6211\u4eec\u7684\u5e95\u56fe\u3002\u6bd4\u5982\u4ee5<a href=\"http:\/\/blog.newnaw.com\/?p=719\">\u524d\u9762\u4ecb\u7ecd\u8fc7\u7684Mobile Atlas Creator<\/a>\u4e3a\u4f8b\uff0c\u6211\u73b0\u5728\u5df2\u7ecf\u6709\u4e86\u5f88\u591a\u81ea\u5df1\u4e0b\u8f7d\u597d\u7684\u79bb\u7ebf\u5730\u56fe\uff0c\u5982\u679c\u80fd\u5728ArcGIS\u79fb\u52a8\u5ba2\u6237\u7aef\u4f7f\u7528\u8d77\u6b65\u4e24\u5168\u5176\u7f8e\uff1f\u5176\u5b9e\u5728\u76ee\u524d\u7684\u79bb\u7ebf\u5bfc\u822a\u8f6f\u4ef6\u4e2d\uff0c\u5f88\u591a\u90fd\u7528sqlite\u6570\u636e\u5e93\u505a\u4e3a\u5730\u56fe\u5b58\u50a8\u683c\u5f0f\uff0c\u56e0\u4e3a\u5b83\u5e94\u7528\u5e7f\u6cdb\uff0c\u8f7b\u5de7\uff0c\u7d27\u51d1\uff0cAndroid\uff0ciOS\uff0cSymbian\u7b49\u7cfb\u7edf\u5bf9\u5b83\u90fd\u6709\u539f\u751f\u7684\u652f\u6301\u3002Mobile Atlas Creator\u4e2d\uff0cRMaps\u548cOruxMaps\u90fd\u7528Sqlite\u4fdd\u5b58\u79bb\u7ebf\u5730\u56fe\u3002\u8fd9\u91cc\u4ee5\u5e94\u7528\u8f83\u4e3a\u5e7f\u6cdb\u7684RMaps\u683c\u5f0f\u4e3a\u4f8b\uff0c\u8fdb\u884c\u8bd5\u9a8c\u3002<br \/>\u521b\u5efa\u597d\u7684RMaps\u5730\u56fe\u6587\u4ef6\u5982\u4e0b\uff1a<br \/><a href=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image10.png\"><img decoding=\"async\" loading=\"lazy\" style=\"background-image: none; border-right-width: 0px; margin: 0px auto 5px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image_thumb10.png\" width=\"424\" height=\"111\"><\/a><\/p>\n<p>\u3000\u3000\u6211\u4eec\u5229\u7528FireFox\u91cc\u7684<a href=\"https:\/\/addons.mozilla.org\/en-us\/firefox\/addon\/sqlite-manager\/\">Sqlite Manager<\/a>\u63d2\u4ef6\u5148\u6765\u67e5\u770b\u4e00\u4e0b\u6570\u636e\u5e93\u7684\u5185\u5bb9\uff1a<br \/><a href=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image11.png\"><img decoding=\"async\" loading=\"lazy\" style=\"background-image: none; border-right-width: 0px; margin: 0px auto 5px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image_thumb11.png\" width=\"495\" height=\"331\"><\/a><\/p>\n<p>\u3000\u3000\u53ef\u4ee5\u770b\u51fa\uff0c\u6211\u4eec\u6240\u9700\u7684\u5185\u5bb9\u90fd\u4fdd\u5b58\u5728tiles\u8fd9\u5f20\u8868\u4e2d\uff0c\u800cx\uff0cy\uff0cz\u4e09\u4e2a\u53c2\u6570\u4e0e\u6211\u4eec\u6240\u9700\u7684row\uff0ccol\uff0clevel\u5f88\u50cf\u3002\u7ecf\u8fc7\u8bd5\u9a8c\uff08\u4fdd\u5b58\u4e00\u4e2a\u5168\u7403\u8303\u56f4\u7684\u5730\u56fe\uff09\uff0c\u5f88\u5feb\u9a8c\u8bc1\u51falevel=17-z\u3002<br \/>\u3000\u3000\u53c2\u6570\u6709\u4e86\uff0c\u8981\u5982\u4f55\u8bfb\u53d6\u5207\u7247\u5462\uff1f\u5bf9\u4e8eSqlite\uff0c\u867d\u7136\u76ee\u524dWindows Phone\u8fd8\u6ca1\u6709\u63d0\u4f9b\u539f\u751f\u7684\u652f\u6301\uff0c\u4e0d\u8fc7codeplex\u4e0a\u5df2\u7ecf\u6709\u4e0d\u5c11\u9879\u76ee\u90fd\u63d0\u4f9b\u4e86\u89e3\u51b3\u529e\u6cd5\u3002\u6211\u9009\u62e9<a href=\"http:\/\/sqlitewindowsphone.codeplex.com\/\">Sqlite Client for Windows Phone<\/a>\u6765\u8bfb\u53d6RMaps\u7684\u5730\u56fe\u6587\u4ef6\u3002\u4e0b\u9762\u662fRMaps\u79bb\u7ebf\u5730\u56fe\uff08Bing Maps\uff09\u548cArcGIS Online\u4e0aStreetMap\u53e0\u52a0\u7684\u6548\u679c\uff1a<br \/><a href=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image12.png\"><img decoding=\"async\" loading=\"lazy\" style=\"background-image: none; border-right-width: 0px; margin: 0px auto 5px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image_thumb12.png\" width=\"566\" height=\"319\"><\/a><br \/>\u3000\u3000\u9700\u8981\u8bf4\u660e\u7684\u662f\uff0c\u4e0d\u8bba\u662fRMaps\u8fd8\u662fOruxMaps\uff0c\u90fd\u6ca1\u6709\u5728\u6570\u636e\u5e93\u4e2d\u4fdd\u5b58tiling scheme\u7684\u76f8\u5173\u53c2\u6570\uff0c\u6240\u4ee5\u6211\u4eec\u4e0d\u80fd\u4e3a\u56fe\u5c42\u63d0\u4f9b\u8bf8\u5982FullExtent\u4e4b\u7c7b\u7684\u53c2\u6570\u3002\u4f46\u8fd9\u4e1d\u6beb\u4e0d\u5f71\u54cd\u6211\u4eec\u7684\u4f7f\u7528\uff0c\u6211\u4eec\u53ef\u4ee5\u4e3aMap\u63a7\u4ef6\u663e\u793a\u6307\u5b9aExtent\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u76f4\u63a5\u663e\u793a\u6211\u4eec\u7684\u79bb\u7ebf\u5730\u56fe\u4e86\u3002\u9664\u4e86\u81ea\u5df1\u7684\u5730\u56fe\u6570\u636e\u4e4b\u5916\uff0c\u57fa\u672c\u4e0a\u6240\u6709\u6570\u636e\u6e90\u90fd\u4f7f\u7528\u4e00\u79cd\u7a7a\u95f4\u53c2\u8003\uff0c102100\u6216\u80053857\uff0c\u4f60\u61c2\u7684\u3002<br \/>\u3000\u3000\u8fd9\u6837\u5373\u4f7f\u6211\u4eec\u6ca1\u6709ArcGIS Server\u8f6f\u4ef6\uff0c\u4e5f\u80fd\u5236\u4f5c\u81ea\u5df1\u7684\u5e95\u56fe\u4e86\u3002<a href=\"http:\/\/www.hiapk.com\/bbs\/viewthread.php?tid=147574\">\u8fd9\u91cc\u6709\u7f51\u53cb\u4eec\u5df2\u7ecf\u4e0b\u8f7d\u597d\u7684\u5404\u4e2a\u57ce\u5e02\u7684RMaps\u683c\u5f0f\u6587\u4ef6<\/a>\u3002<br \/>\u3000\u3000\u76f8\u5bf9\u4e8eRMaps\u4e4b\u7c7b\u7684\u79bb\u7ebf\u5730\u56fe\u8f6f\u4ef6\uff0cArcGIS\u7684\u79fb\u52a8\u4ea7\u54c1\u7684\u4f18\u52bf\u9664\u4e86\u4e0d\u4ec5\u80fd\u591f\u4efb\u610f\u53e0\u52a0\u5730\u56fe\u6570\u636e\uff0c\u8fd8\u6709GraphicsLayer\u548c\u670d\u52a1\u5668\u7aef\u5f3a\u5927\u7684\u529f\u80fd\u652f\u6301\uff0c\u5728\u914d\u5408Windows Phone\u672c\u8eab\u7684SDK\u529f\u80fd\uff0c\u4f60\u4e5f\u53ef\u4ee5\u505a\u51fa\u4e00\u4e2a\u529f\u80fd\u5168\u9762\u7684\u5bfc\u822a\u8f6f\u4ef6\u6765\u3002<\/p>\n<p>\u3000\u3000\u5173\u4e8e\u79bb\u7ebf\u5730\u56fe\u6587\u4ef6\u7684\u6253\u5305\u30021\u3001\u5728Silverlight\u7a0b\u5e8f\u4e2d\uff0cBuild Action\u7684\u9009\u62e9\u51b3\u5b9a\u4e86\u6587\u4ef6\u6700\u540e\u7684\u4fdd\u5b58\u4f4d\u7f6e\uff0c\u6bd4\u5982\u4f60\u9009\u62e9Resource\uff0c\u5219\u4f1a\u5d4c\u5165\u5230\u5de5\u7a0b\u7684dll\u4e2d\uff0c\u5982\u679c\u9009\u62e9Content\uff0c\u5219\u4f1a\u4fdd\u5b58\u5728dll\u4e4b\u5916\uff0cxap\u6587\u4ef6\u4e4b\u5185\u3002\u4ee5\u4e0a\u4e09\u79cd\u89e3\u51b3\u65b9\u6848\u91cc\uff0c\u6211\u4eec\u53ef\u4ee5\u9009\u62e9\u4efb\u610f\u7684Build Action\uff0c\u8fd9\u6837\u5730\u56fe\u90fd\u4f1a\u901a\u8fc7xap\u90e8\u7f72\u5230\u624b\u673a\u91cc\uff1b\u5982\u679c\u6709\u9700\u8981\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5<a href=\"http:\/\/www.cnblogs.com\/magicboy110\/archive\/2010\/12\/08\/1899734.html\">\u5c06\u6587\u4ef6\u62f7\u8d1d\u5230\u7a0b\u5e8f\u7684IsolatedStorage\u4e2d\u53bb<\/a>\u30022\u3001\u5bf9\u4e8eExploded\u683c\u5f0f\u7684\u7f13\u5b58\uff0cWP\u7684\u7f16\u7a0b\u5efa\u8bae\u4e2d\u63d0\u5230\uff0c<a href=\"http:\/\/www.windowsphonegeek.com\/tips\/wp7-working-with-images-content-vs-resource-build-action\">\u5a92\u4f53\u6587\u4ef6Build Action\u8bbe\u4e3aContent\u6548\u7387\u4f1a\u66f4\u9ad8<\/a>\u30023\u3001\u5bf9\u4e8eExploded\u683c\u5f0f\u7684\u7f13\u5b58\uff0c\u5982\u679c\u4e3a\u4e86\u62f7\u8d1d\u65b9\u4fbf\uff0c\u6211\u4eec\u4e5f\u53ef\u4ee5\u5c06\u5176\u6253\u5305\u4e3a.zip\u6587\u4ef6\uff0c\u90e8\u7f72\u5230\u624b\u673a\u4e2d\uff0c\u5728\u7a0b\u5e8f\u52a0\u8f7d\u7684\u65f6\u5019\u518d\u5c06\u5176\u89e3\u538b\u7f29\u6765\u8bfb\u53d6\u3002<br \/>\u3000\u3000\u672c\u6587\u4ee5ArcGIS for Windows Phone\u4e3a\u4f8b\uff0c\u8ba8\u8bba\u4e863\u79cd\u79bb\u7ebf\u5e95\u56fe\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u6587\u4e2d\u6240\u6d89\u53ca\u7684\u6240\u6709\u529f\u80fd\uff0c<a href=\"http:\/\/blogs.esri.com\/Dev\/blogs\/mobilecentral\/archive\/2010\/12\/13\/Developing-a-custom-tiled-layer.aspx\">ArcGIS for iOS<\/a>\u548cArcGIS for Android\u540c\u6837\u9002\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u3000\u79fb\u52a8GIS\u4e2d\uff0c\u901a\u5e38\u5c06\u6570\u636e\u5206\u4e3a\u4e24\u5927\u7c7b\uff1abasemap layer\u548coperational layer\u3002\u524d\u8005\u662f\u6307\u6f2b\u6e38\u6216\u5bfc\u822a\u65f6\u8d77\u53c2\u8003\u4f5c\u7528\u7684\u56fe\u5c42\uff0c\u8fd9\u4e9b\u56fe\u5c42\u5185\u5bb9\u901a\u5e38\u4e0d\u4f1a\u53d8\u5316\uff0c\u53ea\u8d77\u5230\u89c6\u89c9\u8f85\u52a9\u4f5c\u7528\uff0c\u79f0\u4e3a\u5e95\u56fe\u56fe\u5c42\uff1b\u540e\u8005\u662f\u6307\u5b58\u50a8GIS\u6570\u636e\u7684\u56fe\u5c42\uff0c\u6bd4\u5982\u53ef\u901a\u8fc7\u8fd9\u4e9b\u56fe\u5c42\u6765\u63d0\u4f9b\u5c5e\u6027\/\u7a7a\u95f4\u67e5\u8be2\u64cd\u4f5c\uff0c\u6216\u8005\u5bf9\u5176\u5185\u5bb9\u8fdb\u884c\u7f16\u8f91\uff0c\u7136\u540e\u4e0e\u670d\u52a1\u5668\u7aef\u8fdb\u884c\u540c\u6b65\uff0c\u79f0\u4e3a\u4e1a\u52a1\u56fe\u5c42\u3002\u3000\u3000\u76ee\u524dArcGIS\u79fb\u52a8\u4ea7\u54c1\u67095\u79cd\uff0c\u57fa\u4e8eWindows Mobile\u5e73\u53f0\u7684ArcPad\u548cArcGIS Mobile\uff0c\u8fd9\u4e24\u4e2a\u4ea7\u54c1\u5df2\u7ecf\u5f88\u6210\u719f\u4e86\uff0c\u90fd\u6709\u5404\u81ea\u7684\u79bb\u7ebf\u7f13\u5b58\u683c\u5f0f\uff0c\u5176\u4e2dArcGIS Mobile\u4ece10\u7248\u672c\u5f00\u59cb\uff0c\u53ef\u4ee5\u76f4\u63a5\u8bfb\u53d6ArcGIS Server\u7f13\u5b58\u5730\u56fe\u670d\u52a1\u7684\u5207\u7247\u6587\u4ef6\u505a\u4e3abasemap layer\uff0c\u652f\u6301exploded\u548ccompact\u4e24\u79cd\u683c\u5f0f\u3002\u3000\u3000\u76f8\u5bf9\u4e8e\u4ee5\u4e0a\u4e24\u4e2a\u8001\u724c\u79fb\u52a8\u4ea7\u54c1\uff0c\u4e09\u4e2a\u521a\u51fa\u9053\u7684\u5c0f\u5f1fArcGIS for iOS\uff0cArcGIS for Android\u548cArcGIS for Windows Phone\u5c31\u8d70\u4e86\u4e0d\u540c\u8def\u7ebf\uff1a\u4f9d\u8d56\u4e8eArcGIS Server\u7684REST\u670d\u52a1\u3002\u56e0\u6b64\u51e0\u4e4e\u6240\u6709\u64cd\u4f5c\uff0c\u5305\u62ec\u663e\u793a\u5730\u56fe\uff0c\u90fd\u9700\u8981\u7528\u5230ArcGIS Server\u53d1\u5e03\u7684\u5404\u79cd\u670d\u52a1\u3002\u8fd9\u4e09\u4e2a\u4ea7\u54c1\u7684\u79bb\u7ebf\u529f\u80fd\u5c06\u6765\u80af\u5b9a\u662f\u4f1a\u6709\u7684\uff0c\u4f46\u5177\u4f53\u7684\u65f6\u95f4\u8868\u8fd8\u65e0\u6cd5\u786e\u5b9a\u3002\u3000\u3000\u9488\u5bf9ArcGIS for iOS\/Android\/Windows Phone\uff0c\u672c\u6587\u63d0\u51fa3\u79cd\u53ef\u884c\u7684\u79bb\u7ebf\u5e95\u56fe\uff08basemap layer\uff09\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u4f9b\u5404\u4f4d\u53c2\u8003\u3002\u4ee5ArcGIS for Windows Phone\u4e3a\u4f8b\u3002 1\u3001ArcGIS Server\u5730\u56fe\u670d\u52a1\u7684Exploded\u683c\u5f0f\u7f13\u5b58\u6587\u4ef6 \u3000\u3000ArcGIS API for Windows Phone\u4e2d\uff0c\u63d0\u4f9b\u4e86ArcGISTiledMapServiceLayer\u7528\u6765\u52a0\u8f7dArcGIS Server\u53d1\u5e03\u7684\u7f13\u5b58\u5730\u56fe\u670d\u52a1\uff0c\u5b83\u7684\u539f\u7406\u662fMap\u63a7\u4ef6\u8ba1\u7b97\u597d\u9700\u8981\u52a0\u8f7d\u7684\u5207\u7247\u7684row\uff0ccol\uff0clevel\u53c2\u6570\uff0c\u5229\u7528ArcGISTiledMapServiceLayer\u91cc\u7684GetTileUrl\u65b9\u6cd5\u63d0\u4f9b\u5982\u4f55\u83b7\u5f97\u6307\u5b9a\u53c2\u6570\u7684\u5207\u7247\u6587\u4ef6\uff0c\u6700\u540e\u62fc\u63a5\u6210\u5b8c\u6574\u7684\u5730\u56fe\u3002\u3000\u3000\u56e0\u6b64\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u7ee7\u627fArcGISTiledMapServiceLayer\u7684\u7236\u7c7b\uff0cTiledMapServiceLayer\u6216TiledLayer\uff0c\u6765\u5b9e\u73b0\u81ea\u5df1\u7684\u81ea\u5b9a\u4e49\u56fe\u5c42\uff0c\u6bd4\u5982\u7528\u5b83\u6765\u52a0\u8f7dGoogle Maps\uff0c\u5929\u5730\u56fe\u7b49\u5404\u79cd\u5730\u56fe\u3002\u52a0\u8f7d\u8fd9\u4e9b\u5728\u7ebf\u5730\u56fe\u90fd\u662f\u901a\u8fc7\u91cd\u5199GetTileUrl()\u65b9\u6cd5\u6765\u5b9e\u73b0\u7684\u3002\u3000\u3000\u5bf9\u4e8e\u5df2\u7ecf\u5b58\u653e\u5728\u786c\u76d8\u4e0a\u7684\u7f13\u5b58\u6587\u4ef6\uff0c\u8be5\u5982\u4f55\u52a0\u8f7d\u5462\uff1f\u8fd9\u51e0\u4e2a\u56fe\u5c42\u8fd8\u6709\u4e00\u4e2a\u65b9\u6cd5\uff0cGetTileSource\u3002\u8fd9\u4e2a\u65b9\u6cd5\u6709\u4e00\u4e2aonComplete action\uff0c\u53ef\u4ee5\u4f20\u5165ImageSource\u7c7b\u578b\u7684\u53c2\u6570\uff0c\u5b83\u6bd4GetTileUrl\u6765\u7684\u66f4\u76f4\u63a5\u3002\u5176\u5b9eGetTileSource\u65b9\u6cd5\u4e2d\u8c03\u7528\u4e86GetTileUrl\u65b9\u6cd5\u7684\u7ed3\u679c\uff08\u4e00\u4e2a\u83b7\u5f97tile\u7684url\u5b57\u7b26\u4e32\uff09\uff0c\u5229\u7528\u8fd9\u4e2a\u5b57\u7b26\u4e32\u5411\u670d\u52a1\u5668\u7aef\u53d1\u9001\u8bf7\u6c42\uff0c\u8bf7\u6c42\u56de\u6765\u7684\u7ed3\u679c\u5c31\u662f\u5207\u7247\u56fe\u7247\u7684\u4e8c\u8fdb\u5236\u6d41\uff0c\u518d\u5c06\u8fd9\u4e2a\u4e8c\u8fdb\u5236\u6d41\u5f62\u6210ImageSource\uff0c\u901a\u8fc7onComplete\u65b9\u6cd5\u8fd4\u56de\u3002\u3000\u3000\u6240\u4ee5\u6211\u4eec\u53ef\u4ee5\u629b\u5f00GetTileUrl\uff0c\u76f4\u63a5\u91cd\u5199GetTileSource\u65b9\u6cd5\uff0c\u6765\u6839\u636erow\uff0ccol\uff0clevel\u53c2\u6570\uff0c\u8bfb\u53d6\u5730\u56fe\u670d\u52a1\u7684\u7f13\u5b58\u6587\u4ef6\u3002\u9996\u5148\u5c06Exploded\u683c\u5f0f\u7684\u5730\u56fe\u670d\u52a1\u7f13\u5b58\u6587\u4ef6\u62f7\u8d1d\u5230\u624b\u673a\u4e2d\uff1a \u3000\u3000\u5305\u542bconf.cdi\uff08ArcGIS Server 10\u7248\u672c\u4e2d\u624d\u6709\uff0c\u8bb0\u5f55\u4e86\u7f13\u5b58\u7684\u5168\u56fe\u8303\u56f4\uff09\u548cconf.xml\u6587\u4ef6\u7684\u597d\u5904\u662f\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u4ee3\u7801\u4e2d\u8bfb\u53d6\u8fd9\u4e24\u4e2a\u6587\u4ef6\u6765\u52a8\u6001\u751f\u6210\u6211\u4eec\u7684Tiling Scheme\uff0c\u4ee5\u5b8c\u6210\u56fe\u5c42\u521d\u59cb\u5316\u7684\u5de5\u4f5c\u3002\u4ece\u914d\u7f6e\u6587\u4ef6\u4e2d\u8bfb\u53d6\u53c2\u6570\u540e\uff0c\u5c31\u53ef\u4ee5\u91cd\u5199GetTileSource\u65b9\u6cd5\u4e86\u3002\u90e8\u5206\u4ee3\u7801\u5982\u4e0b\uff1a 1: protected override void GetTileSource(int level, int row, int col, Action&lt;System.Windows.Media.ImageSource&gt; onComplete) 2: { 3: string f = string.Empty; 4: if (_cacheTileFormat.ToLower().Contains(&#8220;png&#8221;)) 5: f = &#8220;.png&#8221;; 6: &hellip; <a href=\"https:\/\/blog.newnaw.com\/?p=736\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">ArcGIS\u79fb\u52a8\u5ba2\u6237\u7aef\u79bb\u7ebf\u5e95\u56fe\u7684\u51e0\u79cd\u89e3\u51b3\u65b9\u6848<\/span> <span class=\"meta-nav\">&raquo;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[18,25],"_links":{"self":[{"href":"https:\/\/blog.newnaw.com\/index.php?rest_route=\/wp\/v2\/posts\/736"}],"collection":[{"href":"https:\/\/blog.newnaw.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.newnaw.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.newnaw.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.newnaw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=736"}],"version-history":[{"count":0,"href":"https:\/\/blog.newnaw.com\/index.php?rest_route=\/wp\/v2\/posts\/736\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.newnaw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.newnaw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.newnaw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}