首页 / 浏览问题 / 云GIS / 问题详情
iportal第三方数据服务如何使用?
3月21

使用产品:SuperMap iPortal 10i  v10.2.0 操作系统:win7 x64
数据类型: 第三方api
问题详细描述:大屏图表中想使用第三方数据服务,例如aider.meizu.com/app/weather/listWeather?cityIds=101110101

该接口返回的是:

{"code":"200","message":"","redirect":"","value":[{"alarms":[],"city":"西安","cityid":101110101,"indexes":[{"abbreviation":"ct","alias":"","content":"预计今日天气凉爽,早晚较冷,请穿可以保暖的春秋装。建议着休闲装,西装,夹克衫,薄毛衣等,既舒适,又时尚。","level":"卫衣","name":"穿衣指数"},{"abbreviation":"gm","alias":"","content":"感冒高发期,尽量避免外出,外出戴口罩防护。","level":"高发","name":"感冒指数"},{"abbreviation":"xc","alias":"","content":"预计今日适宜洗车,未来持续两天无雨天气较好,适合擦洗汽车,晴日将伴您的车子连日洁净。","level":"适宜","name":"洗车指数"},{"abbreviation":"yd","alias":"","content":"预计今日整体气象条件尚可,大部分人可以外出锻炼,但敏感人群要注意天气变化,提前做好调整。","level":"适宜","name":"运动指数"},{"abbreviation":"uv","alias":"","content":"属弱紫外线辐射天气,无需特别防护。若长期在户外,建议涂擦SPF 在8-12 之间的防晒护肤品。","level":"最弱","name":"紫外线强度指数"},{"abbreviation":"pp","alias":"","content":"","level":"暂无","name":"化妆指数"}],"pm25":{"advice":"0","aqi":"89","citycount":401,"cityrank":10,"co":"0.8","color":"0","level":"0","no2":"39","o3":"14","pm10":"105","pm25":"66","quality":"良","so2":"7","timestamp":"","upDateTime":"2022-03-20 12:22:19"},"provinceName":"陕西省","realtime":{"img":"1","sD":"58","sendibleTemp":"8","temp":"9","time":"2022-03-20 12:26:18","wD":"东风","wS":"1级","weather":"多云","ziwaixian":"N/A"},"weatherDetailsInfo":{"publishTime":"2022-03-20 12:00:00","weather3HoursDetailsInfos":[{"endTime":"2022-03-20 16:00:00","highestTemperature":"10","img":"18","isRainFall":"","lowerestTemperature":"10","precipitation":"0","startTime":"2022-03-20 13:00:00","wd":"","weather":"雾","ws":""},{"endTime":"2022-03-20 19:00:00","highestTemperature":"12","img":"2","isRainFall":"","lowerestTemperature":"12","precipitation":"0","startTime":"2022-03-20 16:00:00","wd":"","weather":"阴","ws":""},{"endTime":"2022-03-20 22:00:00","highestTemperature":"12","img":"2","isRainFall":"","lowerestTemperature":"12","precipitation":"0","startTime":"2022-03-20 19:00:00","wd":"","weather":"阴","ws":""},{"endTime":"2022-03-21 01:00:00","highestTemperature":"12","img":"2","isRainFall":"","lowerestTemperature":"12","precipitation":"0","startTime":"2022-03-20 22:00:00","wd":"","weather":"阴","ws":""},{"endTime":"2022-03-21 04:00:00","highestTemperature":"10","img":"18","isRainFall":"","lowerestTemperature":"10","precipitation":"0","startTime":"2022-03-21 01:00:00","wd":"","weather":"雾","ws":""},{"endTime":"2022-03-21 07:00:00","highestTemperature":"8","img":"18","isRainFall":"","lowerestTemperature":"8","precipitation":"0","startTime":"2022-03-21 04:00:00","wd":"","weather":"雾","ws":""},{"endTime":"2022-03-21 10:00:00","highestTemperature":"8","img":"18","isRainFall":"","lowerestTemperature":"8","precipitation":"0","startTime":"2022-03-21 07:00:00","wd":"","weather":"雾","ws":""}]},"weathers":[{"date":"2022-03-20","img":"1","sun_down_time":"18:55","sun_rise_time":"06:47","temp_day_c":"16","temp_day_f":"60.8","temp_night_c":"5","temp_night_f":"41.0","wd":"","weather":"多云","week":"星期日","ws":""},{"date":"2022-03-21","img":"2","sun_down_time":"18:55","sun_rise_time":"06:47","temp_day_c":"11","temp_day_f":"51.8","temp_night_c":"7","temp_night_f":"44.6","wd":"","weather":"阴","week":"星期一","ws":""},{"date":"2022-03-22","img":"2","sun_down_time":"18:55","sun_rise_time":"06:47","temp_day_c":"14","temp_day_f":"57.2","temp_night_c":"5","temp_night_f":"41.0","wd":"","weather":"阴","week":"星期二","ws":""},{"date":"2022-03-23","img":"1","sun_down_time":"18:55","sun_rise_time":"06:47","temp_day_c":"21","temp_day_f":"69.8","temp_night_c":"5","temp_night_f":"41.0","wd":"","weather":"多云","week":"星期三","ws":""},{"date":"2022-03-24","img":"2","sun_down_time":"18:55","sun_rise_time":"06:47","temp_day_c":"24","temp_day_f":"75.2","temp_night_c":"9","temp_night_f":"48.2","wd":"","weather":"阴","week":"星期四","ws":""},{"date":"2022-03-25","img":"2","sun_down_time":"18:55","sun_rise_time":"06:47","temp_day_c":"19","temp_day_f":"66.2","temp_night_c":"9","temp_night_f":"48.2","wd":"","weather":"阴","week":"星期五","ws":""},{"date":"2022-03-19","img":"2","sun_down_time":"18:55","sun_rise_time":"06:47","temp_day_c":"11","temp_day_f":"51.8","temp_night_c":"6","temp_night_f":"42.8","wd":"","weather":"阴","week":"星期六","ws":""}]}]}

我希望使用其中"value"里面的数据,但使用后表格仅能提取"code、message、redirect、value"这几个数据,如图

请问如何实现表格使用value层级下的数据?

问题关闭原因: http://ask.supermap.com/105893
...