首页 > 解决方案 > 不显示在 MarkLogic 上创建的集合以在 Geoserver 中创建图层

问题描述

我们看不到在 Geoserver 中创建新图层的任何选项。在 mongo DB 中,我们用于查看具有索引 coord_2dsphere 的集合列表。

同样,我们是否需要在 Geom 数据上创建任何索引。任何人都可以指向文档。

注意:我们可以通过 Geoserver 连接 MarkLogic DB。


com.marklogic.client.FailedRequestException: Local message: failed to apply resource at resources/geoQueryService: Internal Server Error. Server Message: RESTAPI-INVALIDREQ: (err:FOER0000) Invalid request:  reason: Extension geoQueryService or a dependency does not exist: XDMP-MODNOTFOUND: (err:XQST0059) Module /marklogic.rest.resource/geoQueryService/assets/resource.xqy not found . See the MarkLogic server error log for further detail.
        at com.marklogic.client.impl.OkHttpServices.checkStatus(OkHttpServices.java:4293)
        at com.marklogic.client.impl.OkHttpServices.postResource(OkHttpServices.java:3290)
        at com.marklogic.client.impl.OkHttpServices.postResource(OkHttpServices.java:3236)
        at com.marklogic.client.impl.OkHttpServices.postResource(OkHttpServices.java:3227)
        at com.marklogic.client.impl.ResourceServicesImpl.post(ResourceServicesImpl.java:90)
        at com.marklogic.client.impl.ResourceServicesImpl.post(ResourceServicesImpl.java:86)
        at com.marklogic.geotools.basic.GeoQueryServiceManager.getLayerNames(GeoQueryServiceManager.java:40)
        at com.marklogic.geotools.basic.MarkLogicDataStore.createTypeNames(MarkLogicDataStore.java:178)```

标签: marklogicgeoserver

解决方案


推荐阅读