[{"data":1,"prerenderedAt":651,"buildId":652},["ShallowReactive",2],{"-docs-platforms-iserver-description":3,"docs--docs-platforms-iserver":16,"docs-navigation-zh-CN":556,"surround--docs-platforms-iserver":648},{"data":4,"body":5},{},{"type":6,"children":7},"root",[8],{"type":9,"tag":10,"props":11,"children":12},"element","p",{},[13],{"type":14,"value":15},"text","记录使用超图 iServer 地图与数据服务过程中的接口选型、常见问题排查与实用查询技巧。",{"id":17,"title":18,"body":19,"category":524,"description":15,"difficulty":524,"extension":525,"index":526,"keywords":524,"links":527,"meta":536,"navigation":524,"path":538,"requires":524,"seo":539,"sitemap":540,"stem":554,"__hash__":555},"docs\u002Fdocs\u002F3.platforms\u002F1.iserver.md","iServer 踩坑归集",{"type":20,"value":21,"toc":505},"minimark",[22,26,64,73,96,103,115,120,130,136,143,161,167,185,188,197,210,216,228,234,238,250,256,274,285,291,296,300,306,312,336,340,345,351,357,382,386,399,402,415,501],[23,24,25],"h2",{"id":25},"官方文档索引",[27,28,29,39,52],"ul",{},[30,31,32],"li",{},[33,34,38],"a",{"href":35,"rel":36},"http:\u002F\u002Fsupport.supermap.com.cn\u002FDataWarehouse\u002FWebDocHelp\u002FiServer\u002FAPI\u002FiServer_API_reference.htm",[37],"nofollow","iServer 开发指南：API 参考",[30,40,41,46,47],{},[33,42,45],{"href":43,"rel":44},"http:\u002F\u002Fsupport.supermap.com.cn\u002FDataWarehouse\u002FWebDocHelp\u002FiServer\u002FmergedProjects\u002FSuperMapiServerRESTAPI\u002Froot\u002Fmaps\u002Fmap\u002FzxyTileImage\u002FzxyTileImage.htm",[37],"iServer 地图服务：zxyTileImage 瓦片"," \u002F ",[33,48,51],{"href":49,"rel":50},"http:\u002F\u002Fsupport.supermap.com.cn\u002FDataWarehouse\u002FWebDocHelp\u002FiServer\u002FAPI\u002FWMS\u002FWMS_introduce.htm",[37],"WMS 服务",[30,53,54,46,59],{},[33,55,58],{"href":56,"rel":57},"https:\u002F\u002Fsupport.supermap.com\u002FDataWarehouse\u002FWebDocHelp\u002FiServer\u002FmergedProjects\u002FSuperMapiServerRESTAPI\u002Froot\u002Fdata\u002FfeatureResults\u002FfeatureResults.htm",[37],"iServer 数据服务：featureResults 资源",[33,60,63],{"href":61,"rel":62},"http:\u002F\u002Fsupport.supermap.com.cn\u002FDataWarehouse\u002FWebDocHelp\u002FiServer\u002FAPI\u002FWFS\u002FWFS_introduce.htm",[37],"WFS 服务",[23,65,67,68,72],{"id":66},"地图服务map","地图服务（",[69,70,71],"code",{},"map-*","）",[10,74,75,76,79,80,83,84,87,88,91,92,95],{},"地图服务通常以 ",[69,77,78],{},"map-xxx"," 命名（如 ",[69,81,82],{},"https:\u002F\u002Fiserver.supermap.io\u002Fiserver\u002Fservices\u002Fmap-world\u002F","），常用接口为 ",[69,85,86],{},"rest"," 和 ",[69,89,90],{},"wms130","（",[69,93,94],{},"wms110"," 仅用于向后兼容）。",[10,97,98],{},[99,100],"img",{"alt":101,"src":102},"Map 服务接口","\u002Fimages\u002Fguides\u002Fplatforms\u002Fiserver\u002FmapInterface.png",[27,104,105],{},[30,106,107,111,112],{},[108,109,110],"strong",{},"zxyTileImage 瓦片服务","：",[69,113,114],{},"https:\u002F\u002Fiserver.supermap.io\u002Fiserver\u002Fservices\u002Fmap-china400\u002Frest\u002Fmaps\u002FChina\u002FzxyTileImage",[10,116,117],{},[99,118],{"alt":110,"src":119},"\u002Fimages\u002Fguides\u002Fplatforms\u002Fiserver\u002FzxyTileImage.png",[27,121,122],{},[30,123,124,111,127],{},[108,125,126],{},"WMS 1.3.0 服务",[69,128,129],{},"https:\u002F\u002Fiserver.supermap.io\u002Fiserver\u002Fservices\u002Fmap-china400\u002Fwms130",[10,131,132],{},[99,133],{"alt":134,"src":135},"wms130 服务","\u002Fimages\u002Fguides\u002Fplatforms\u002Fiserver\u002Fwms130.png",[23,137,139,140,72],{"id":138},"数据服务data","数据服务（",[69,141,142],{},"data-*",[10,144,145,146,79,149,152,153,156,157,160],{},"数据服务通常以 ",[69,147,148],{},"data-xxx",[69,150,151],{},"https:\u002F\u002Fiserver.supermap.io\u002Fiserver\u002Fservices\u002Fdata-jingjin","），数据集标识格式为 ",[69,154,155],{},"数据源名称:数据集名称","（如 ",[69,158,159],{},"Jingjin:County_L","）。",[10,162,163],{},[99,164],{"alt":165,"src":166},"Data 服务接口","\u002Fimages\u002Fguides\u002Fplatforms\u002Fiserver\u002FdataInterface.png",[27,168,169,177],{},[30,170,171,111,174],{},[108,172,173],{},"REST GeoJSON 查询",[69,175,176],{},"https:\u002F\u002Fiserver.supermap.io\u002Fiserver\u002Fservices\u002Fdata-jingjin\u002Frest\u002Fdata\u002FfeatureResults.geojson",[30,178,179,111,182],{},[108,180,181],{},"WFS 2.0 服务",[69,183,184],{},"https:\u002F\u002Fiserver.supermap.io\u002Fiserver\u002Fservices\u002Fdata-world\u002Fwfs200",[23,186,187],{"id":187},"常见问题排查",[189,190,192,193,196],"h3",{"id":191},"wms-通过-sld_body-修改样式不生效","WMS 通过 ",[69,194,195],{},"SLD_BODY"," 修改样式不生效",[10,198,199,202,203,206,207,209],{},[108,200,201],{},"现象","：在 WMS ",[69,204,205],{},"GetMap"," 请求中传入 ",[69,208,195],{}," 自定义样式后，图层渲染无变化。",[10,211,212],{},[99,213],{"alt":214,"src":215},"sld_body error","\u002Fimages\u002Fguides\u002Fplatforms\u002Fiserver\u002FsldBody.png",[10,217,218,221,222,227],{},[108,219,220],{},"原因与处理","：当前 iServer WMS 服务仅支持服务端预定义的图层样式（参见 ",[33,223,226],{"href":224,"rel":225},"http:\u002F\u002Fsupport.supermap.com.cn\u002FDataWarehouse\u002FWebDocHelp\u002FiServer\u002FAPI\u002FWMS\u002FWMS130\u002FGetMap\u002FGetMap_request.htm",[37],"iServer GetMap 请求文档","），无法通过请求参数动态覆盖 SLD。",[10,229,230],{},[99,231],{"alt":232,"src":233},"sld_body reply","\u002Fimages\u002Fguides\u002Fplatforms\u002Fiserver\u002FsldBodyReply.png",[189,235,237],{"id":236},"地图服务请求-geojson-报-url-模板不匹配","地图服务请求 GeoJSON 报 URL 模板不匹配",[10,239,240,242,243,246,247,249],{},[108,241,201],{},"：请求 ",[69,244,245],{},"\u002Fiserver\u002Fservices\u002Fmap-text\u002Frest\u002FFZJZSSD@cs.geojson"," 时报错，提示与资源 ",[69,248,6],{}," 的 URL 模板不匹配。",[10,251,252],{},[99,253],{"alt":254,"src":255},"geojson error","\u002Fimages\u002Fguides\u002Fplatforms\u002Fiserver\u002Fgeojson.png",[10,257,258,260,261,263,264,267,268,270,271,273],{},[108,259,220],{},"：只有**数据服务（",[69,262,142],{},"）**的要素资源支持 ",[69,265,266],{},".geojson"," 表述格式，地图服务（",[69,269,71],{},"）不支持。需重新发布为数据服务并勾选 ",[69,272,86],{}," 接口，确认右侧服务目录出现对应格式。",[189,275,277,278,281,282],{"id":276},"报错-400msg-对象已经被释放","报错 ",[69,279,280],{},"400","，",[69,283,284],{},"msg: 对象已经被释放",[10,286,287],{},[99,288],{"alt":289,"src":290},"release error","\u002Fimages\u002Fguides\u002Fplatforms\u002Fiserver\u002FreleaseError.png",[10,292,293,295],{},[108,294,220],{},"：多为数据库型数据源与服务缓存不同步导致，可先切换文件型数据源验证接口请求参数是否正确，再排查数据源连接与服务重启。",[189,297,299],{"id":298},"wfs-20-获取描述文档成功但获取要素报错","WFS 2.0 获取描述文档成功，但获取要素报错",[10,301,302],{},[99,303],{"alt":304,"src":305},"wfs error1","\u002Fimages\u002Fguides\u002Fplatforms\u002Fiserver\u002FwfsError1.png",[10,307,308],{},[99,309],{"alt":310,"src":311},"wfs error2","\u002Fimages\u002Fguides\u002Fplatforms\u002Fiserver\u002FwfsError2.png",[10,313,314,111,316,319,320,323,324,327,328,331,332,335],{},[108,315,220],{},[69,317,318],{},"iServer 2023 11i"," 虽然在 ",[69,321,322],{},"GetFeature"," 执行时支持 ",[69,325,326],{},"outputFormat=json","，但能力描述 XML 中未声明 ",[69,329,330],{},"\u003Cows:Value>json\u003C\u002Fows:Value>","，导致 ArcGIS 等强校验客户端判定不支持该输出格式并报错。可改用默认 GML 输出或直接调用数据服务的 ",[69,333,334],{},"featureResults.geojson","。",[189,337,339],{"id":338},"wfs-20-点击事件拿不到要素全部属性","WFS 2.0 点击事件拿不到要素全部属性",[10,341,342,344],{},[108,343,201],{},"：点击地块时只能获取部分属性，无法满足详情展示。",[10,346,347],{},[99,348],{"alt":349,"src":350},"wfs error3","\u002Fimages\u002Fguides\u002Fplatforms\u002Fiserver\u002FwfsError3.png",[10,352,353],{},[99,354],{"alt":355,"src":356},"wfs error4","\u002Fimages\u002Fguides\u002Fplatforms\u002Fiserver\u002FwfsError4.png",[10,358,359,111,361,363,364,367,368,371,372,377,378,381],{},[108,360,220],{},[69,362,322],{}," 配合 ",[69,365,366],{},"FILTER","（编码语言 ",[69,369,370],{},"urn:ogc:def:query Language:OGC-FES:Filter","，参见 ",[33,373,376],{"href":374,"rel":375},"http:\u002F\u002Fsupport.supermap.com.cn\u002FDataWarehouse\u002FWebDocHelp\u002FiServer\u002FAPI\u002FWFS\u002FWFS200\u002FGetFeature\u002FFILTER.htm",[37],"FILTER 示例","）受前端\u002F服务属性裁剪限制时，可仅通过 ",[69,379,380],{},"esri_wfs_id"," 与表名传给后端，由后端直查数据库返回完整详情。",[189,383,385],{"id":384},"获取地图四至范围用于跳转定位","获取地图四至范围（用于跳转定位）",[10,387,388,389,394,395,398],{},"通过 ",[33,390,393],{"href":391,"rel":392},"http:\u002F\u002Fsupport.supermap.com.cn\u002FDataWarehouse\u002FWebDocHelp\u002FiServer\u002FmergedProjects\u002FSuperMapiServerRESTAPI\u002Froot\u002Fmaps\u002Fmap\u002Fmap.htm",[37],"iServer map 资源"," 接口读取服务元信息中的 ",[69,396,397],{},"bounds","（四至范围），即可在前端地图切换时自动缩放到服务覆盖区域。",[189,400,401],{"id":401},"按四至范围获取当前地图可见图层的图例",[10,403,404,405,407,408,411,412,111],{},"获取到服务四至范围 ",[69,406,397],{}," 后，拼接 ",[69,409,410],{},"bbox"," 参数请求 ",[69,413,414],{},"legend.rjson",[416,417,422],"pre",{"className":418,"code":419,"language":420,"meta":421,"style":421},"language-ts shiki shiki-themes github-light github-light github-dark","const bbox = `${bounds.left},${bounds.bottom},${bounds.right},${bounds.top}`\nconst url = `https:\u002F\u002Fiserver.supermap.io\u002Fiserver\u002Fservices\u002Fmap-china400\u002Frest\u002Fmaps\u002FChina\u002Flegend.rjson?returnVisibleOnly=true&bbox=${bbox}`\n","ts","",[69,423,424,484],{"__ignoreMap":421},[425,426,429,433,437,440,444,447,450,453,456,458,460,463,465,467,469,472,474,476,478,481],"span",{"class":427,"line":428},"line",1,[425,430,432],{"class":431},"s8jYJ","const",[425,434,436],{"class":435},"sBjJW"," bbox",[425,438,439],{"class":431}," =",[425,441,443],{"class":442},"sIIMD"," `${",[425,445,397],{"class":446},"sxrX7",[425,448,449],{"class":442},".",[425,451,452],{"class":446},"left",[425,454,455],{"class":442},"},${",[425,457,397],{"class":446},[425,459,449],{"class":442},[425,461,462],{"class":446},"bottom",[425,464,455],{"class":442},[425,466,397],{"class":446},[425,468,449],{"class":442},[425,470,471],{"class":446},"right",[425,473,455],{"class":442},[425,475,397],{"class":446},[425,477,449],{"class":442},[425,479,480],{"class":446},"top",[425,482,483],{"class":442},"}`\n",[425,485,487,489,492,494,497,499],{"class":427,"line":486},2,[425,488,432],{"class":431},[425,490,491],{"class":435}," url",[425,493,439],{"class":431},[425,495,496],{"class":442}," `https:\u002F\u002Fiserver.supermap.io\u002Fiserver\u002Fservices\u002Fmap-china400\u002Frest\u002Fmaps\u002FChina\u002Flegend.rjson?returnVisibleOnly=true&bbox=${",[425,498,410],{"class":446},[425,500,483],{"class":442},[502,503,504],"style",{},"html pre.shiki code .s8jYJ, html code.shiki .s8jYJ{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sBjJW, html code.shiki .sBjJW{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sIIMD, html code.shiki .sIIMD{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sxrX7, html code.shiki .sxrX7{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":421,"searchDepth":486,"depth":506,"links":507},3,[508,509,511,513],{"id":25,"depth":486,"text":25},{"id":66,"depth":486,"text":510},"地图服务（map-*）",{"id":138,"depth":486,"text":512},"数据服务（data-*）",{"id":187,"depth":486,"text":187,"children":514},[515,517,518,520,521,522,523],{"id":191,"depth":506,"text":516},"WMS 通过 SLD_BODY 修改样式不生效",{"id":236,"depth":506,"text":237},{"id":276,"depth":506,"text":519},"报错 400，msg: 对象已经被释放",{"id":298,"depth":506,"text":299},{"id":338,"depth":506,"text":339},{"id":384,"depth":506,"text":385},{"id":401,"depth":506,"text":401},null,"md",false,[528,532],{"label":529,"icon":530,"to":531},"SuperMap iClient 示例","i-lucide-map","https:\u002F\u002Ficlient.supermap.io\u002Fexamples\u002Fmapboxgl\u002Fexamples.html#iServer",{"label":533,"icon":534,"to":535},"iServer REST API 参考","i-lucide-book-open","https:\u002F\u002Fsupport.supermap.com\u002FDataWarehouse\u002FWebDocHelp\u002FiServer\u002FmergedProjects\u002FSuperMapiServerRESTAPI\u002Fresource_hierarchy.htm",{"date":537},"2026-11-30T17:42:46+08:00","\u002Fdocs\u002Fplatforms\u002Fiserver",{"title":18,"description":15},{"loc":538,"images":541},[542,543,544,545,546,547,548,549,550,551,552,553],{"loc":102},{"loc":119},{"loc":135},{"loc":166},{"loc":215},{"loc":233},{"loc":255},{"loc":290},{"loc":305},{"loc":311},{"loc":350},{"loc":356},"docs\u002F3.platforms\u002F1.iserver","jgWjuUgIIVQSpmxPv7ShiydUG4UyY_iX2iRlpralyaQ",[557],{"title":558,"path":559,"stem":560,"children":561,"page":526},"Docs","\u002Fdocs","docs",[562,584,623,636],{"title":563,"category":524,"description":564,"icon":565,"date":537,"path":566,"stem":567,"children":568,"page":526},"Nuxt 工程","Nuxt UI 样式、身份认证与 SSR 部署的排查记录","i-simple-icons-nuxt","\u002Fdocs\u002Fnuxt","docs\u002F1.nuxt",[569,574,579],{"title":570,"path":571,"stem":572,"category":524,"description":573},"Nuxt UI componentDetection 漏检","\u002Fdocs\u002Fnuxt\u002Fnuxt-ui-component-detection","docs\u002F1.nuxt\u002F1.nuxt-ui-component-detection","解决 @nuxt\u002Fui 开启 componentDetection 后，部分组件主题 CSS 未生成、样式完全缺失的问题。",{"title":575,"path":576,"stem":577,"category":524,"description":578},"自建服务器 GitHub OAuth 回调 500 排查","\u002Fdocs\u002Fnuxt\u002Fself-hosted-oauth-500","docs\u002F1.nuxt\u002F2.self-hosted-oauth-500","汇总自建 Docker + nginx 环境下 \u002Fauth\u002Fgithub 回调返回 500 的三种独立根因——出海代理超时、数据库连接串在构建期被固化、跨 Docker 网络 DNS 解析失败，提供速查表快速定位与逐一修复步骤。",{"title":580,"path":581,"stem":582,"category":524,"description":583},"Nuxt SSR + PM2 部署","\u002Fdocs\u002Fnuxt\u002Fssr-pm2-deploy","docs\u002F1.nuxt\u002F3.ssr-pm2-deploy","在宿主机用 PM2 集群运行 Nuxt SSR，并通过 Docker Nginx 反向代理与 Cloudflare 避坑要点。",{"title":585,"category":524,"description":586,"icon":587,"date":537,"path":588,"stem":589,"children":590,"page":526},"部署与运维","容器、数据库、证书与自动化发布","i-lucide-server","\u002Fdocs\u002Fdeployment","docs\u002F2.deployment",[591,597,602,607,613,618],{"title":592,"path":593,"stem":594,"category":595,"description":596},"Docker Nginx 反向代理","\u002Fdocs\u002Fdeployment\u002Fdocker","docs\u002F2.deployment\u002F1.docker","infra","用 Docker Compose 部署 Nginx，配置同网络容器或宿主机反向代理，并排查常见网络问题。",{"title":598,"path":599,"stem":600,"category":595,"description":601},"数据库部署","\u002Fdocs\u002Fdeployment\u002Fdatabase","docs\u002F2.deployment\u002F2.database","使用 Docker Compose 本地监听部署 PostgreSQL 与 Redis，配置备份恢复、PostGIS 及 Redis 持久化。",{"title":603,"path":604,"stem":605,"category":595,"description":606},"SSL 证书配置","\u002Fdocs\u002Fdeployment\u002Fssl-certificate","docs\u002F2.deployment\u002F3.ssl-certificate","Cloudflare Origin 证书与 Let's Encrypt（acme.sh）选型配置、Nginx HTTPS 片段与常见 TLS 故障排查。",{"title":608,"path":609,"stem":610,"category":611,"description":612},"GitHub Actions 发布容器镜像","\u002Fdocs\u002Fdeployment\u002Fgithub-actions","docs\u002F2.deployment\u002F4.github-actions","ci","用 GitHub Actions 发布镜像到 GHCR，解释镜像版本与容器重建后的反代行为。",{"title":614,"path":615,"stem":616,"category":611,"description":617},"GitHub CI 镜像加速","\u002Fdocs\u002Fdeployment\u002Fgithub-ci-mirror-acceleration","docs\u002F2.deployment\u002F5.github-ci-mirror-acceleration","在国内云服务器上通过同步腾讯云 TCR 或配置 Mihomo 代理，加速拉取 GitHub Actions 构建的容器镜像。",{"title":619,"path":620,"stem":621,"category":611,"description":622},"GitLab CI\u002FCD 排查","\u002Fdocs\u002Fdeployment\u002Fgitlab-ci","docs\u002F2.deployment\u002F6.gitlab-ci","记录 GitLab CI 配置加载、构建产物和部署通知之间的依赖关系。",{"title":624,"category":524,"description":625,"icon":626,"date":537,"path":627,"stem":628,"children":629,"page":526},"平台集成","地图服务与政务应用接入中的实际问题","i-lucide-plug","\u002Fdocs\u002Fplatforms","docs\u002F3.platforms",[630,631],{"title":18,"path":538,"stem":554,"category":524,"description":15},{"title":632,"path":633,"stem":634,"category":524,"description":635},"浙政钉 H5 应用埋点","\u002Fdocs\u002Fplatforms\u002Fdingtalk","docs\u002F3.platforms\u002F2.dingtalk","在浙政钉 H5 单页应用中配置 aplus_queue 手动采集，按路由发送 PV 并安全绑定异步用户信息。",{"title":637,"category":524,"description":638,"icon":639,"date":537,"path":640,"stem":641,"children":642,"page":526},"开发环境与工具","pnpm 供应链策略与版本自举等工具链排错记录","i-lucide-wrench","\u002Fdocs\u002Ftools","docs\u002F4.tools",[643],{"title":644,"path":645,"stem":646,"category":524,"description":647},"pnpm 常见故障排查","\u002Fdocs\u002Ftools\u002Fpnpm","docs\u002F4.tools\u002F1.pnpm","通过错误信息区分依赖信任降级阻断（ERR_PNPM_TRUST_DOWNGRADE）与 pnpm 自举崩溃。",[649,650],{"title":619,"path":620,"stem":621,"description":622,"children":-1},{"title":632,"path":633,"stem":634,"description":635,"children":-1},1796031846754,"fbd03a9e-6514-4b03-ba93-9f40ff4dbee5"]