如何从压缩的 ESRI shapefile 数据源中提取地址信息?

发布于 2024-07-06 04:44:47 字数 239 浏览 7 评论 0原文

当我从网站下载 zip 文件时,它包含具有以下扩展名的文件:

.dbf .prj .sbn .sbx .shp .shp.xml .shx

这是我下载或购买转换器的常见数据文件格式吗? 我认为这是某种映射数据文件,但我需要的是它包含的地址以推送到我们现有的数据库中。

具体而言,与编程相关。 如何为这组文件或仅实际包含信息的 .dbf 文件设置 .NET 数据源?

When I download the zip file from the website it contains files with the following extensions:

.dbf
.prj
.sbn
.sbx
.shp
.shp.xml
.shx

Is this is a common data file format that I download or purchase a converter?
I think this is some kind of mapping data file but I all need are the addresses it contains to push into our existing database.

Specifically and related to programming. How can I setup a .NET Datasource to this group of files or just the .dbf file that actually contains the information?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

最舍不得你 2024-07-13 04:44:48

这是一个 shapefile

页面底部的链接可能会对您有所帮助。 我处理这些类型文件的唯一经验是使用其他专有(且昂贵)的软件。

It's a shapefile

There are links at the bottom of the page that may help you. My only experience with these type of files was using other proprietary (and expensive) software.

小梨窩很甜 2024-07-13 04:44:48

dbf 文件的格式类似于旧的 DBase III 格式。 shp 文件包含形状,shx 是某种索引。

The format for the dbf files is like the old DBase III format. The shp files contains the shapes and the shx are some kind of indices.

握住你手 2024-07-13 04:44:48

您可以使用 DBase IV 驱动程序在 MS Access 中打开 shapefile .dbf 文件,或直接在 MS Excel 中打开(以 *.dbf 形式打开)

:o)

You can open shapefile .dbf files in MS Access using DBase IV driver or directly in MS Excel (open as *.dbf)

:o)

芸娘子的小脾气 2024-07-13 04:44:47

我猜您要查找的地址信息存储在 dbf 文件中。 您可以从此处下载 ESRI dBase 驱动程序。

http 上有显示此驱动程序使用情况的示例代码://forums.esri.com/Thread.asp?c=9&f=85&t=141422

I'm guessing the address information you are looking for is stored in the dbf file. You can download the ESRI dBase driver from here.

There is sample code that shows this driver in use at http://forums.esri.com/Thread.asp?c=9&f=85&t=141422.

同尘 2024-07-13 04:44:47

非常感谢所有提供信息的人。 我找到了一个 CodePlex C# 项目,它正是我所需要的。 我确实必须进行一个小的修改,我将其发布回项目讨论板上,该修改是针对未知的列类型“F”。 但命令行程序 DBF2CSV 可以完美地从 dbf 文件创建格式良好的 csv。 使用 Excel 几分钟后,我已准备好将其导入到我们的 MySQL 数据库中。

以下项目有一个命令行程序,可以将 DBF 文件转换为 CSV
http://www.codeplex.com/fastdbf

Much thanks to everyone who provided information. I found a CodePlex C# project that was exactly what I needed. I did have to make one small modification which I posted back on the project discussion board which was for an unknown column type of "F". But the command line program DBF2CSV worked beautifully to create a well formated csv from the dbf file. After a few minutes with Excel I had it ready to import to our MySQL database.

The following project has a command line program that will convert a DBF file to CSV
http://www.codeplex.com/fastdbf

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文