|
From: Dan H. <dan...@gm...> - 2020-06-05 14:24:07
|
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 |