WMS + vector tiles plugin does produce GeoJSON tiles Cheers Andrea
On Fri, Jun 5, 2020 at 4:52 PM Vitor Fonseca <[email protected]> wrote: > > 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 > -- Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- *Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.*
_______________________________________________ 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
