arcbrutile-80132
所属分类:GIS/地图编程
开发工具:C#
文件大小:526KB
下载次数:50
上传日期:2013-04-22 10:01:41
上 传 者:
langxiaoh
说明: 在ArcMap中显示瓦片地图,实现了OpenStreet Map、bing 地图等瓦片地图的显示
(Show Tile Map In ArcMap)
文件列表:
BuildProcessTemplates (0, 2013-04-16)
BuildProcessTemplates\DefaultTemplate.11.1.xaml (59198, 2013-04-16)
BuildProcessTemplates\DefaultTemplate.xaml (65836, 2013-04-16)
BuildProcessTemplates\LabDefaultTemplate.11.xaml (22647, 2013-04-16)
BuildProcessTemplates\UpgradeTemplate.xaml (6878, 2013-04-16)
tags (0, 2013-04-16)
trunk (0, 2013-04-16)
trunk\ArcBruTile (0, 2013-04-16)
trunk\ArcBruTile\app (0, 2013-04-16)
trunk\ArcBruTile\app\App.config (2235, 2013-04-16)
trunk\ArcBruTile\app\ArcBruTile.csproj (17232, 2013-04-16)
trunk\ArcBruTile\app\ArcBruTileInstaller.cs (5836, 2013-04-16)
trunk\ArcBruTile\app\ArcBruTileInstaller.Designer.cs (1071, 2013-04-16)
trunk\ArcBruTile\app\ArcBruTileToolbar.cs (4826, 2013-04-16)
trunk\ArcBruTile\app\bin (0, 2013-04-16)
trunk\ArcBruTile\app\bin\ArcBruTile.dll.config (2235, 2013-04-16)
trunk\ArcBruTile\app\BruTileAboutBox.cs (3539, 2013-04-16)
trunk\ArcBruTile\app\BruTileAboutBox.Designer.cs (9151, 2013-04-16)
trunk\ArcBruTile\app\BruTileAboutBox.resx (5817, 2013-04-16)
trunk\ArcBruTile\app\BruTileMenuDef.cs (2053, 2013-04-16)
trunk\ArcBruTile\app\commands (0, 2013-04-16)
trunk\ArcBruTile\app\commands\AboutBruTileCommand.cs (4032, 2013-04-16)
trunk\ArcBruTile\app\commands\AddBingAerialLayerCommand.cs (4782, 2013-04-16)
trunk\ArcBruTile\app\commands\AddBingHybridLayerCommand.cs (4940, 2013-04-16)
trunk\ArcBruTile\app\commands\AddBingRoadLayerCommand.cs (4783, 2013-04-16)
trunk\ArcBruTile\app\commands\AddFusionLayerCommand.cs (9609, 2013-04-16)
trunk\ArcBruTile\app\commands\AddGeoserverLayerCommand.cs (4677, 2013-04-16)
trunk\ArcBruTile\app\commands\AddOsmCycleLayerCommand.cs (4830, 2013-04-16)
trunk\ArcBruTile\app\commands\AddOsmLayerCommand.cs (4796, 2013-04-16)
trunk\ArcBruTile\app\commands\AddOsmTilesAtHomeLayerCommand.cs (4870, 2013-04-16)
trunk\ArcBruTile\app\commands\AddServicesCommand.cs (5548, 2013-04-16)
trunk\ArcBruTile\app\commands\AddSpatialCloudLayerCommand.cs (4859, 2013-04-16)
trunk\ArcBruTile\app\commands\AddWmsCLayerCommand.cs (5215, 2013-04-16)
trunk\ArcBruTile\app\commands\BingMenuDef.cs (1777, 2013-04-16)
trunk\ArcBruTile\app\commands\OsmMenuDef.cs (1939, 2013-04-16)
trunk\ArcBruTile\app\commands\PreCacheBruTileCommand.cs (8984, 2013-04-16)
trunk\ArcBruTile\app\controls (0, 2013-04-16)
trunk\ArcBruTile\app\controls\BruTilePropertyPageUserControl.cs (6894, 2013-04-16)
trunk\ArcBruTile\app\controls\BruTilePropertyPageUserControl.Designer.cs (2803, 2013-04-16)
trunk\ArcBruTile\app\controls\BruTilePropertyPageUserControl.resx (5814, 2013-04-16)
... ...
BruTile dll customizations for version 0.4 (changeset 42178)
http://brutile.codeplex.com/SourceControl/changeset/changes/42178
Author: BT
Date: 26/4/2010
Update: 13 december 2010: ArcBruTile code is now using BruTile changeset 59016
Some customizations i've made to the BruTile dll:
1] method BruTile.PreDefined.SphericalMercatorWorldSchema.SphericalMercatorWorldSchema()
Old code:
this.Srs = "EPSG:3785";
New code:
this.Srs = "EPSG:900913";
Reason: EPSG 3785 doesn't seem to work in ArcMap?!?
2] method BruTile.Cache.FileCache.GetFileName(TileIndex index)
Old code:
private string GetFileName(TileIndex index)
New code:
public string GetFileName(TileIndex index)
Reason: We need to know the name of the file to save it to disk
3] method BruTile.Cache.FileCache.Exists(TileIndex index)
Old code:
private string Exists(TileIndex index)
New code:
public string Exists(TileIndex index)
Reason: We need to know if the file already exists on disk
4] Method BruTile.Web.RequestHelper.FetchImage(Uri uri, string userAgent, string referer, bool keepAlive)
Added:
webRequest.AllowAutoRedirect=true;
Reason: The SpatialCloud service uses redirection to retrieve an image
5] added setter for tileschema
set { _tileSchema = value; }
6] Added timeout to RequestHelper.Fetchimage
webRequest.Timeout = 5000;
NB: I didn't use the Silverlight version of BruTile, because of errors with System.dll. Maybe this
is because the ArcBruTile extension or ArcMap already uses
===========================================================================================
old
4] property BruTile.Web.WebTileProvider.requestBuilder
Old code:
IRequest requestBuilder;
New code:
public IRequest requestBuilder;
Reason: We need to know the url's of the tiles to fetch tiles in a threadpool
近期下载者:
相关文件:
收藏者: