家
论坛
新职位
搜索论坛
什么 's new
新职位
新的个人资料帖子
最新活动
会员
目前的访客
新的个人资料帖子
搜索个人资料帖子
VB.NET社区
登录
登记
什么 's new
搜索
搜索
仅搜索标题
经过:
新职位
搜索论坛
Menu
Log in
Register
安装应用
安装
家
论坛
C#
部署方式
创建自动更新地图应用程序的想法
您正在使用过期的浏览器。它可能无法正确显示此网站或其他网站。
您应该升级或使用
替代浏览器
.
回复主题
信息
[QUOTE ="user750855,帖子:6888,成员:10339"] 正在为消防部门和其他第一响应者构建地图应用程序... GUI部分是WPF应用程序,并使用ESRI'■ArcGIS Runtime地理数据库,用于存储应用程序使用的实际地图数据。这篇文章的目的是了解如何构建一个"auto update"更新映射数据福彩12选5走势图的程序中的功能(不一定是实际的可执行程序福彩12选5走势图...) 该程序将设计为通用的,这意味着俄亥俄州的消防部门将使用与佛罗里达州的消防部门相同的可执行福彩12选5走势图。每个消防部门之间的区别是程序启动时加载的映射数据福彩12选5走势图。 映射数据福彩12选5走势图存储在主程序目录的子目录中(例如C:\ Program Files \ MyMappingProgram \ MappingFiles)。映射数据按县分类,每个县有5个福彩12选5走势图。这是福彩12选5走势图外观的一个示例 .. \ MappingFiles \ US-OH = HolmesCounty-AddressPoints.geodatabase .. \ MappingFiles \ US-OH = HolmesCounty-Centerlines.geodatabase .. \ MappingFiles \ US-OH = HolmesCounty-Buildings.geodatabase .. \ MappingFiles \ US-OH = HolmesCounty-Parcels.geodatabase .. \ MappingFiles \ US-OH = HolmesCounty-Other.geodatabase 每个消防部门都希望拥有不同的"set"映射福彩12选5走势图。例如,一个部门可能只想要一个县的数据,而另一个部门可能想要来自3个不同县的数据。此外,他们可能需要来自多个县的所有5个数据福彩12选5走势图,也许只需要第三个县的AddressPoints和Centerlines ...因此,这是其MappingFiles \目录外观的示例(同样,各行应分开使用...) : .. \ MappingFiles \ US-OH = HolmesCounty-AddressPoints.geodatabase .. \ MappingFiles \ US-OH = HolmesCounty-Centerlines.geodatabase .. \ MappingFiles \ US-OH = HolmesCounty-Buildings.geodatabase .. \ MappingFiles \ US-OH = HolmesCounty-Parcels.geodatabase .. \ MappingFiles \ US-OH = HolmesCounty-Other.geodatabase .. \ MappingFiles \ US-OH = WayneCounty-AddressPoints.geodatabase .. \ MappingFiles \ US-OH = WayneCounty-Centerlines.geodatabase .. \ MappingFiles \ US-OH = WayneCounty-Buildings.geodatabase .. \ MappingFiles \ US-OH = WayneCounty-Parcels.geodatabase .. \ MappingFiles \ US-OH = WayneCounty-Other.geodatabase .. \ MappingFiles \ US-OH = AshlandCounty-AddressPoints.geodatabase .. \ MappingFiles \ US-OH = AshlandCounty-Centerlines.geodatabase 我的猜测是,我将构建某种Web服务,WPF程序将调用该Web服务来检索每个部门的设置。因此,程序将启动,调用Web服务并检索所需的映射福彩12选5走势图列表,并将这些福彩12选5走势图加载到GUI中。因此,我需要进行2件事... 1是如果缺少任何福彩12选5走势图,请从Azure Blob存储帐户下载它们... ... 2,如果有任何较新版本的映射福彩12选5走势图,也请下载它们也。 需要注意的是,如果缺少映射福彩12选5走势图或有新福彩12选5走势图可用,则程序应继续使用现有福彩12选5走势图"old"福彩12选5走势图,直到下载新福彩12选5走势图为止。换句话说,我不'希望程序成为"disabled"在等待新福彩12选5走势图下载时。但是,.geodatabase福彩12选5走势图被锁定,并且在主可执行福彩12选5走势图运行时无法替换,因此,使用(手动)重启程序将是必要的。"new" files. The mapping files will be updated probably about once a month and stored in an Azure Blob Storage account. Ideally I would like to store them in zip files to reduce the file size. However, if need be, I could store them in the "original" format, which would make it a little bit easier to compare MD5 hashes (to see if new versions of the files are available). When a new version of mapping data is compiled and uploaded to Azure, it will have the same file name as before.... So for address points for Holmes County, Ohio, the filename/URL will always be http://myprogram.blob.core.windows.net/mycontainer/US-OH-HolmesCounty-AddressPoints.zip (or .geodatabase if not zipped...) To determine whether a new version of data is available, you would need to compare the MD5 hash of the Azure version with the MD5 hash of the local file. What I'我正在寻找制作我的地图应用程序的想法/策略"self updating"...理想情况是"file-sync"可以在后台运行的服务(仅同步特定的福彩12选5走势图名列表),并通知主程序必须重新启动才能替换更新的福彩12选5走势图...任何建议将不胜感激...谢谢! [/QUOTE]
Insert quotes…
确认
发表回复
家
论坛
C#
部署方式
创建自动更新地图应用程序的想法
本网站使用Cookie来帮助个性化内容,调整您的体验并在注册时保持登录状态。
继续使用本网站,即表示您同意我们使用cookie。
接受
了解更多…
最佳
底部