Git Product home page Git Product logo

Comments (13)

yaozhihang avatar yaozhihang commented on June 2, 2024

Hi Abel,

could check your WMS server, if it supports WMS 1.1.1? The 3dcitydb-web-map-client uses Cesium's WebMapServiceImageryProvider with its default parameter values and can hence only support WMS version 1.1.1.

Cheers

Zhihang

from 3dcitydb-web-map.

Abelon38 avatar Abelon38 commented on June 2, 2024

from 3dcitydb-web-map.

Abelon38 avatar Abelon38 commented on June 2, 2024

from 3dcitydb-web-map.

yaozhihang avatar yaozhihang commented on June 2, 2024

Hi Abel,

it seems that your WMS is probably published over HTTP. Since your 3D map is a HTTPS page, the loading of contents over HTTP is blocked by your web browsers due to the "Mixed Content" issue.

You may find some solutions from this website:
https://developers.google.com/web/fundamentals/security/prevent-mixed-content/what-is-mixed-content

Cheers

Zhihang

from 3dcitydb-web-map.

Abelon38 avatar Abelon38 commented on June 2, 2024

from 3dcitydb-web-map.

Abelon38 avatar Abelon38 commented on June 2, 2024

Hi again Zhihang!

I just tried on tomcat 8.5 and with http://localhost:8080/xxx and the same problem continues. I do can get it working only with the server.js that comes with the client. This the error I get on Chrome tools for developers:

Request URL:https://3d.sokigo.com/proxy/?http%3A%2F%2Fqgis.nacka.se%3A8050%2Fqgis%2Fqgis_mapserv.fcgi.exe%3Fservice%3DWMS%26version%3D1.1.1%26request%3DGetMap%26styles%3D%26format%3Dimage%252Fjpeg%26layers%3DBakgrund%26srs%3DEPSG%253A4326%26bbox%3D18.1658935546875%252C59.30969238281251%252C18.17138671874999%252C59.315185546875%26width%3D256%26height%3D256
Request Method:GET
Status Code:404
Remote Address:62.181.194.207:443
Referrer Policy:no-referrer-when-downgrade
content-length:1245
content-type:text/html
date:Tue, 06 Feb 2018 19:04:06 GMT
server:Microsoft-IIS/10.0
status:404
x-powered-by:ASP.NET

Please note that content-type:text/html and it should be content-type:image/jpeg

Any idea will be appreciated !

Regards!
Abel

from 3dcitydb-web-map.

yaozhihang avatar yaozhihang commented on June 2, 2024

Hi Abel, could you check your WMS server configuration? I cannot access the server with the following WMS-GetCapabilities request
http://qgis.nacka.se:8050/qgis/qgis_mapserv.fcgi.exe?service=wms&version=1.1.1&request=GetCapabilities

from 3dcitydb-web-map.

Abelon38 avatar Abelon38 commented on June 2, 2024

from 3dcitydb-web-map.

yaozhihang avatar yaozhihang commented on June 2, 2024

sorry, the link doesn't work. Here is the error message produced on my web browser.

from 3dcitydb-web-map.

Abelon38 avatar Abelon38 commented on June 2, 2024

from 3dcitydb-web-map.

yaozhihang avatar yaozhihang commented on June 2, 2024

OK, i see the issue and make a fix. You can find and check out the new commit from this Github-Repo.
You can now deploy the 3D web map using Tomcat and Apache etc.
After launching the map, In the 'add WMS-Layer' panel, you just need to remove the ''/proxy/' text from the input field proxyUrl, keep the other WMS parameter values as it was, and load the your WMS layer again. It should work now.

from 3dcitydb-web-map.

Abelon38 avatar Abelon38 commented on June 2, 2024

from 3dcitydb-web-map.

yaozhihang avatar yaozhihang commented on June 2, 2024

Good, you're welcome.

from 3dcitydb-web-map.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.