开发者

Geoserver and external website hosting

开发者 https://www.devze.com 2023-01-10 17:19 出处:网络
I have set up a webpage that calls wms from geoserver operating on localhost and using openlayers as a front end.Everything works perfectly well.The next step, however, causes a few issues.My website

I have set up a webpage that calls wms from geoserver operating on localhost and using openlayers as a front end. Everything works perfectly well. The next step, however, causes a few issues. My website is hosted on an external server by another company. Therefore, when 开发者_如何学运维i upload the webpage it will not work, is there a way to solve this issue? I only have access to the website through the ftp

cheers


You should contact your service provider and ask about running GeoServer on the public webserver. If you can't run GeoServer in an Internet-accessible place, then your options are severely limited. Depending on how complicated/large your data is, you could consider generating a GeoJSON dump of your data set and using OpenLayers' vector styling to perform the rendering client-side. You could generate GeoJSON from GeoServer on your local machine and then upload it as a static file to your hosting provider. OpenLayers would allow you to overlay this data on a publicly available tileset like Google Maps or OpenStreetMap.

0

精彩评论

暂无评论...
验证码 换一张
取 消