博客
关于我
Openlayers实战:个性化比例尺
阅读量:797 次
发布时间:2023-02-24

本文共 1744 字,大约阅读时间需要 5 分钟。

Openlayers ?????

1. ??

Openlayers ?????????????????GIS?????????????????????????????? GIS ??????????????????????Openlayers ??????????????????????????????????? Openlayers?

2. ?? Openlayers

2.1 ?? Openlayers

????????????? Openlayers ???????????????????

  • ???????? Openlayers ???????????????????
  • ?????????? Linux ????????????? Openlayers????Ubuntu ???????? sudo apt-get install openlayers?
  • ???????????? Openlayers ?????? Git ?????????? git clone https://github.com/openlayers/openlayers.git?

2.2 ????

?? Openlayers ??????????????????????????????

  • ??????? Git?Make ? Build-Essentials?
  • ??????? Node.js ? npm?
  • ????????????????? Openlayers??????? Postgres ???????????

3. ????

3.1 ??????

????????????? openlayers ???????? Git ???

mkdir openlayers
cd openlayers
git init

3.2 ?? Openlayers ??

? Openlayers ???????????

git clone https://github.com/openlayers/openlayers.git

3.3 ????

?? Openlayers ??????????

make install

3.4 ?? Web ???

??????????? Openlayers ??? Web ????

make server

?????????? http://localhost:8080?????? Openlayers ??????

4. ?????

4.1 ????

Openlayers ???????????????????????????????????????????? GeoJSON ??????

4.2 ?? Openlayers API

???????? Openlayers?????? REST API ???????????? API ???

  • ???????GET /api/data
  • ??????POST /api/layer
  • ??????PUT /api/layer/{id}
  • ??????DELETE /api/layer/{id}

4.3 ????

Openlayers ??????????????????????????????????????????????

4.4 ??????

? Openlayers ????? Web ?????????????

  • ? HTML ????? Openlayers CSS ? JS ???
  • ??? Openlayers ???????????
  • ?????????????????????
  • 5. ????

    ??????????????????

    • ????????????????????????????????
    • ?????????????????????????????????
    • ????????????????? Openlayers ??????

    6. ??

    Openlayers ???????? GIS ???????????????????????????????????????? Openlayers?????????????????????????????????????????

    转载地址:http://aypfk.baihongyu.com/

    你可能感兴趣的文章
    Openlayers Select的用法、属性、方法、事件介绍
    查看>>
    Openlayers Source基础及重点内容讲解
    查看>>
    Openlayers view三要素(zoom,center,projection)及其他参数属性方法介绍
    查看>>
    OpenLayers 入门使用
    查看>>
    Openlayers 入门教程(一):应该如何学习 Openlayers
    查看>>
    openlayers 入门教程(七):Interactions 篇
    查看>>
    openlayers 入门教程(三):view 篇
    查看>>
    openlayers 入门教程(九):overlay 篇
    查看>>
    openlayers 入门教程(二):map 篇
    查看>>
    openlayers 入门教程(五):sources 篇
    查看>>
    openlayers 入门教程(八):Geoms 篇
    查看>>
    openlayers 入门教程(六):controls 篇
    查看>>
    openlayers 入门教程(十一):Formats 篇
    查看>>
    openlayers 入门教程(十三):动画
    查看>>
    openlayers 入门教程(十二):定位与轨迹
    查看>>
    openlayers 入门教程(十五):与 canvas、echart,turf 等交互
    查看>>
    openlayers 入门教程(十四):第三方插件
    查看>>
    openlayers 入门教程(四):layers 篇
    查看>>
    OpenLayers 项目分析(三)-OpenLayers中定制JavaScript内置类
    查看>>
    Openlayers下载与加载geoserver的wms服务显示地图
    查看>>