Страница 1 из 1

Geoserver. Мелкая проблемма

Добавлено: 13 июн 2020, 12:20
xtxskif
Привет Всем.
Я только начинаю разбираться с Geoserver. Скачал, установил, запустил.
У меня маленькое задание:

Go to the demo pages and find the url WMS_getMap_fidFilter.url. You should get only one specific state on the map. 16. In order to find out what states are available, request http://localhost:8080/geoserver/wfs?req ... ame=topp:s tates&outputFormat=GML2 in your browser.
Now, you can change the filter part in the previous request so that you call another state to the map.
Question 1. Paste here your request that makes Oklahoma state appear.
Do necessary changes to the WMS_getMap_fid.url request, so that only one specific county in Swedish data is returned. Note! Modify the link in previous instruction to find out what features are present in your sweden:SWE_adm1 data, which is storede in the Geoserver.

Мои действия:
1. Зашел в Geoserver --> вкладка Demo Requests --> вибираю WMS_getMap_fidFilter.url (см. рис.1)
2. Копирую URL что появился снизу (см. рис.1) и вставляю его в браузере.
3. Результат (см. рис.2) - штат Іллінойс, США.

Как написать запрос чтоб получить штат Оклахома?

Как написать запрос чтоб получить регион Швеции?

Re: Geoserver. Мелкая проблемма

Добавлено: 13 июн 2020, 12:28
Vadim
Насколько я помню, нужно использовать CQL-фильтр. Посмотрите здесь:
https://docs.geoserver.org/stable/en/us ... orial.html

Re: Geoserver. Мелкая проблемма

Добавлено: 13 июн 2020, 21:30
xtxskif
Что то у меня не получаеться ничего. Если кто то может поподробнее описать как что сделать буду очень благодарен