Comments (13)
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.
from 3dcitydb-web-map.
from 3dcitydb-web-map.
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.
from 3dcitydb-web-map.
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.
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.
from 3dcitydb-web-map.
sorry, the link doesn't work. Here is the error message produced on my web browser.
from 3dcitydb-web-map.
from 3dcitydb-web-map.
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.
from 3dcitydb-web-map.
Good, you're welcome.
from 3dcitydb-web-map.
Related Issues (20)
- Issues with retireval and visualisation of attributes HOT 5
- Multiple building usages not displayed using postgREST API HOT 5
- Connect to Cesium? HOT 1
- JSON endpoint for thematic data url HOT 7
- Save as Startup file HOT 2
- Questions on knockoutjs libraries used HOT 1
- PostgREST API structure documentation HOT 1
- Directly load data without export HOT 6
- GMLID not exist on database table HOT 2
- Cannot GET /3dcitydb-web-map/3dwebclient/index.html HOT 3
- Visualization of KML file exported by ImpExp without the json files HOT 1
- 3D visualization for room HOT 23
- Building and Room color HOT 2
- Attribute can not be loaded HOT 1
- Cesium3DTileset maximumScreenSpaceError option
- Failed to add new layer via localhost HOT 5
- Settings for showing thematic data using PostgREST HOT 1
- Unable to visuliasze on 3D Web Map Client HOT 2
- Classifying Building (Surfaces) by thematic Data? HOT 4
- Using 3DCityDB WFS with Web Map HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3dcitydb-web-map.