地理空间数据如何存储在 Oracle DB 中

发布于 2024-12-29 01:27:56 字数 236 浏览 4 评论 0原文

我想知道地理空间数据(例如shapefile)如何存储在Orcle DB中? Oracle DB 中 shapefile 以什么格式存储?

shapefile 是否存储在任何物理位置(例如 c:\folder),然后在 Oracle DB 中我们使用对此 c:\folder 路径的一些引用。是这样的吗?

请解释一下。

其次,我们如何从 Oracle DB 中检索 shapefile?

问候

I want to know how the geospatial data (e.g shapefile) stored in Orcle DB? In which format shapefile stored in Oracle DB ?

Is the shapefile is stored at any physical location let say c:\folder and then in Oracle DB we use some reference to this c:\folder path. is it like that ?

plz explain.

secondly, how we can retrieve shapefile from Oracle DB ?

regards

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

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

发布评论

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

评论(1

疯狂的代价 2025-01-05 01:27:56

Oracle Spatial 用户指南和参考是一个不错的起点(位于 http://docs.oracle.com/cd/B19306_01/appdev.102/b14255/toc.htm 10g 版本 2)。

空间数据的“内置”功能涉及像其他类型的数据一样使用行和列将空间数据存储在数据库本身中。例如,您可能有一个 CITIES 表,其中包含“常规”列(如 CITY_NAME)和“空间”列(可能名为 LOCATION),其中包含每个城市的空间表示(可能是一个点或多边形)。 Oracle 提供了一种名为 SDO_GEOMETRY 的特殊数据类型,用于以这种方式存储空间数据,以及索引、搜索、转换等功能。Oracle 还提供了将 shapefile 转换为这种格式的实用程序。

空间功能有两个“级别”——“基本”级别 (Oracle Locator),它是每个版本(XE、标准、企业等)的一部分,以及“扩展”级别 (Oracle Spatial),它是额外费用选项仅适用于企业版。

A good place to start is the Oracle Spatial User's Guide and Reference (at http://docs.oracle.com/cd/B19306_01/appdev.102/b14255/toc.htm for 10g Release 2).

The "built-in" functionality for spatial data involves storing the spatial data in the database itself using rows and columns like other kinds of data. For example, you might have a CITIES table with "regular" columns like CITY_NAME and a "spatial" column (maybe named LOCATION) that contains the spatial representation of each city (maybe a point or polygon). Oracle provides a special data type named SDO_GEOMETRY for storing spatial data in this way, along with functionality for indexing, searching, transforming, etc. Oracle also provides utilities for converting shapefiles into this format.

There are two "levels" of spatial functionality -- the "basic" level (Oracle Locator) which is part of every edition (XE, Standard, Enterprise, etc.), and the "extended" level (Oracle Spatial) which is an additional cost option for the Enterprise Edition only.

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