ArcGIS:仅以 10,000,000 比例渲染标签

发布于 2024-07-22 18:22:33 字数 732 浏览 4 评论 0原文

我使用的是 ArcGIS Server 9.3 和 Oracle 10.2g 数据库。 我创建了一个包含要素类的 MXD,并将其配置为将其中一个属性显示为标签 - 要素类和标签都设置为在所有比例下都可见。

在 ArcMap 中,标签仅以 1:10,000,000 的比例显示 - 一旦我放大,它们就会消失。

我正在以“非标准”方式做两件事:

  1. 要素类是通过 ArcCatalog 的地理数据库设计器插件导入架构来创建的 - 导入后,我将其注册为版本,并将编辑移动到基础

  2. 我使用 sql 插入数据 - 如下所示:

    INSERT
   INTO MYTABLE
  (
    OBJECTID,
    LABEL   ,
    SHAPE
  )
  VALUES
  (
    sde.version_user_ddl.next_row_id('MYSCHEMA',2712)  ,
    'SHOWME'                                           ,
    sde.st_geometry('POINT  ( 9689097.37142934 4423553.842365312)', 4)
  );

因此,当在 ArcMap 中对其进行可视化时,我可以看到这些点,但仅当我缩放到最大范围时才会呈现标签。 图层和标签设置为以所有比例显示。

有人在做类似的事情吗,或者你能提出任何修复建议吗?

I'm using ArcGIS Server 9.3 with an Oracle 10.2g database. I've created an MXD which contains my feature class and I've configured it to show one of the attributes as a label - both the feature class and the label are set to be visible at all scales.

In ArcMap, the labels only show at a scale of 1:10,000,000 - as soon as I zoom in they disappear.

I'm doing 2 things in an 'non-standard' way:

  1. The feature class is created by importing a schema via the geodatabase designer plugin for ArcCatalog - after the import I register as versioned with move edits to base

  2. I'm inserting my data using sql - as shown here:

    INSERT
   INTO MYTABLE
  (
    OBJECTID,
    LABEL   ,
    SHAPE
  )
  VALUES
  (
    sde.version_user_ddl.next_row_id('MYSCHEMA',2712)  ,
    'SHOWME'                                           ,
    sde.st_geometry('POINT  ( 9689097.37142934 4423553.842365312)', 4)
  );

So, when visualising this in ArcMap, I see the points okay, but the labels are only rendered when I zoom to full extent. Layer and labels are set to show at all scales.

Is anyone doing anything similar, or can you suggest any fixes?

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

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

发布评论

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

评论(1

寻梦旅人 2024-07-29 18:22:33

我似乎能够通过设置图层的范围来解决这个问题 - 我预先知道我的应用程序的全部范围,因此这很简单且合适:

sdelayer -o alter -l MYTABLE,SHAPE -E 8714580.0881,4024165.7422 ,9950152.555,5045059.3021 -s 服务器名 -i 5151:MYSCHEMA_sde -u MYSCHEMA -p 密码

I seem to have been able to work around this problem by setting the extent of the layer - I know the full extent that my application up front so this is easy and appropriate:

sdelayer -o alter -l MYTABLE,SHAPE -E 8714580.0881,4024165.7422,9950152.555,5045059.3021 -s SERVERNAME -i 5151:MYSCHEMA_sde -u MYSCHEMA -p PASSWORD

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