Learn GeoServer encountered questions and answers

Summary: This paper records GeoServer learning problems encountered, if you already have the answer will be attached.

1.GeoServer introduction? ,Features?

GeoServer is OpenGIS Web server to achieve J2EE specification, use GeoServer can easily publish map data, allowing users to feature data update, delete, insert, can be relatively easy to quickly share geospatial information among users through GeoServer.

It has features:
compatible WMS and WFS properties

支持PostGIS、Shapefile、ArcSDE、Oracle、VPF、MySQL、MapInfo

It supports hundreds of projection

The network map can be output as JPEG, GIF, PNG, SVG, KML and other formats

It can be based on any run J2EE / Servlet container

How 2.GeoServer deployment?

Reference blog deploy the following, GeoServer's war deployment similar to ordinary java to develop web services, but pay attention to jdk version of the problem.

https://www.cnblogs.com/kkyyhh96/p/6379515.html

3.GeoServer Property Data Sources?

  • vector data source s
     Directory of Spatial Files (of shapefiles,) -  Takes A Directory of shapefiles, and exposes of IT AS A Data Store, all shp file folder
     GeoPackage -  GeoPackage data library SQLite, file extension ".gpkg"
     the PostGIS -  Database PostGIS
     PostGIS (the JNDI) -  PostGIS Database (the JNDI)
     the Properties -  android.permission Access to the Java Property files containing the Feature Information
     Shapefile -  ESRI (tm) Shapefiles (* .shp), a single shp file
     Web the Feature Server (NG) -  the Provides Access to at The Features published a Web Feature Service, and the ability to perform transactions on the server (when supported / allowed).
  • Raster data source
     ArcGrid -  ARC / INFO ASCII the GRID Coverage the Format
     GeoPackage (Mosaic) -  GeoPackage plugin Mosaic
     GeoTIFF -  Tagged Image File the Format with Geographic Information, a single tif file
     ImageMosaic -  Image mosaicking plugin, you can select a file folder with multiple tif files , generates a file shp
     WorldImage -  a Raster file Accompanied by Spatial Data file a
  • Other data sources
     WMS -  hung a remote site map service
     WMTS -  Cascades A Remote Web the Map Tile Service

4.three.js introduction?

three.js is a 3D JavaScript library, Three.js encapsulates the underlying graphical interface that allows programmers without the need for burdensome graphics to master knowledge, but also can be a simple code for rendering three-dimensional scene.

5.cesium introduction?

Cesium is a foreign WebGL written based on the use of JavaScript engine map. Cesium support 3D, 2D, 2.5D in the form of a map display, you can draw graphics, highlight the area on their own, and provide good touch support, and supports most browsers and mobile.

6.mapbox introduction?

7. The vector and raster tile tile concept?

Shan Gewa piece is pre-fixed in the Server-side rendering good collection of PNG and JPG images.  

Vector tile vector data is organized and defined by the different profile, the client parses the data in real time and finish drawing.

8.openlayers introduction?

OpenLayers is a JavaScript library package designed for Web GIS client development offer for implementing access the published map data format standard. 2D.

9. Use openlayers call geoserver of service wms

Reference: https://www.cnblogs.com/kkyyhh96/p/6379515.html

Github article with links running instance.

Workspace Settings

image.png

 

Viewing layers again and set the url parameter in Layer Preview

image.png

 

Note the layer name and url

10.WMS Service

Raster

11.WFS Service

Vector

12.WCS Service

13.WMFS Service

Tile grid

14. How to use the data source PostgreSQL

15. How to use the Oracle data source

Data Source plug mounting oracle geoserver

https://www.jianshu.com/p/08afbdc63848

Check oracle spatial database support

oracle11g default spatial database support, refer to the following blog, use sql test

https://blog.csdn.net/wyp_666/article/details/72775714

The shp file into oracle database

https://www.cnblogs.com/naaoveGIS/p/4199006.html

16. How to use SQLite data source

17.shp2sdo use?

Reference 15

18. The Cesium have anything to do with geoserver?

geoserver service, cesium call service.

There is 19.cesium call geoserver cross-domain service problem solving?

Explanation: see below tomcat build their own blog, mounted directly using a jetty address different cross-domain transmission.

https://www.jianshu.com/p/2585d75acdd5

20. The use of oracle data sources appear?

未设置空间索引出现以下问题:ora-13226:在没有空间索引的情况下不支持此界面

按照https://blog.csdn.net/wyp_666/article/details/72775714写的内容设置oracle会报错:

ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine

ORA-13249: internal error in Spatial index: [mdidxrbd]

ORA-13249: Error in Spatial index: index build failed

ORA-13249: Error in spatial index: [mdrcrtxfergm]

ORA-13249: Error in spatial index: [mdpridxtxfergm]

ORA-13200: internal error [ROWID:AAAVwJAAEAAAAJjAAA] in spatial indexing.

ORA-13206: internal error [] while creating the spatial index

ORA-13375: the layer is of type [2003] while geometry inserted has type [2002]

ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10

意思是图层类型不一致,需要将POLYGON换成LINE如下图:

image.png

 

参考:https://docs.oracle.com/cd/E11882_01/appdev.112/e11830/sdo_index_query.htm#SPATL584

21.如何发布影像地图

https://blog.csdn.net/u010476739/article/details/78997885

Guess you like

Origin www.cnblogs.com/SmilingEye/p/11350198.html