WMS won't produce geojson....only WFS

Dan Hooper <[email protected]> escreveu no dia sexta, 5/06/2020 à(s)
15:36:

> WFS works however it does not do any geometry simplification and as such
> the responses are much larger than the WMS responses.
>
> On Fri, Jun 5, 2020 at 10:33 AM Vitor Fonseca <[email protected]> wrote:
>
>>
>> shouldn't you be using WFS?
>>
>> Dan Hooper <[email protected]> escreveu no dia sexta, 5/06/2020
>> à(s) 15:25:
>>
>>> I am trying to use GeoServer to produce a world map with shapes per
>>> country using GeoJSON. In some cases the larger parts of countries are
>>> being omitted from the produced GeoJSON. I am loading the data using WMS
>>> and have the vector tiles extension installed. The data is stored in
>>> PostGIS and was produced by converging the shape files from
>>> https://www.naturalearthdata.com/downloads/50m-cultural-vectors/50m-admin-0-countries-2/
>>> and loading into PostGIS.
>>>
>>> The request looks like:
>>>
>>>
>>> https://localhost:8444/geoserver/wms?service=WMS&version=1.3.0&request=GetMap&layers=test:countries&format=geojson&width=1170&height=491&maxfeatures=15000&bbox=-136.14257812500003,18.97902595325528,-33.31054687500001,52.855864177853995
>>>
>>> This request produces a geojson like this:
>>>
>>> https://gist.github.com/danhooper/87ec68b4decece0a32ceb041e4e23ad5
>>>
>>> Notice in this case that just some parts of Canada are rendered.
>>>
>>> I am running GeoServer 2.17.0 in Docker using kartoza/geoserver
>>>
>>> Thanks,
>>> Dan
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>>
>> --
>>
>> www.vfonsecaz.pt
>>
>>

-- 

www.vfonsecaz.pt
_______________________________________________
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

Reply via email to