Yes, to get coverage metadata in xml and to manage the time and elevation
dimensions in the multidimensional vector file.
*url =
f"http://localhost:8080/geoserver/rest/workspaces/{workspace_name}/datastores/{store_name}/featuretypes/{store_name}.xml
<http://localhost:8080/geoserver/rest/workspaces/{workspace_name}/datastores/{store_name}/featuretypes/{store_name}.xml>"*
coverage=cat.get_resource_by_url(url)
.................
coverage.metadata = {"dirName": f"{store_name}_{store_name}",
"time": timeInfo,"elevation":elevationInfo}
cat.save(coverage)
best regards
On Wed, Apr 27, 2022 at 4:37 PM Ian Turton <[email protected]> wrote:
>
>
> On Wed, 27 Apr 2022 at 12:38, Liyuneh Gebre <[email protected]> wrote:
>
>> Hi all,
>> I couldn't find the *get_resource_by_url* method in the
>> geoserver_restconfig while it was available in gsconfig,
>> is there any alternate method to *get_resource_by_url* in
>> geoserver_restconfig ?
>>
>>
>
> do you mean http://localhost:8080/geoserver/rest/resource ?
>
> Otherwise you can check the code of geoserver_restconfig
>
> Ian
>
>
--
*Liyuneh Gebre**, **Associate Researcher*
*Ethiopian Institute of Agricultural Research,EIAR*
*Cell Phone:+251 911858155*
*skype:liyenew_1*
*Addis Ababa, Ethioipa*
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users