初始化
This commit is contained in:
parent
08475d2f40
commit
8505a79dd9
46
src/main/java/com/gis3c/ol/entity/Source.java
Normal file
46
src/main/java/com/gis3c/ol/entity/Source.java
Normal file
@ -0,0 +1,46 @@
|
||||
package com.gis3c.ol.entity;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Created by hukekuan on 2018/1/23.
|
||||
*/
|
||||
public class Source {
|
||||
private String sourceId;
|
||||
private String sourceName;
|
||||
private java.util.Map<String,Object> params;
|
||||
private String description;
|
||||
|
||||
public String getSourceId() {
|
||||
return sourceId;
|
||||
}
|
||||
|
||||
public void setSourceId(String sourceId) {
|
||||
this.sourceId = sourceId;
|
||||
}
|
||||
|
||||
public String getSourceName() {
|
||||
return sourceName;
|
||||
}
|
||||
|
||||
public void setSourceName(String sourceName) {
|
||||
this.sourceName = sourceName;
|
||||
}
|
||||
|
||||
public java.util.Map<String, Object> getParams() {
|
||||
return params;
|
||||
}
|
||||
|
||||
public void setParams(Map<String, Object> params) {
|
||||
this.params = params;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
}
|
||||
@ -110,6 +110,15 @@ create table c3gis_ol_source_wmts(
|
||||
description varchar(50)
|
||||
);
|
||||
|
||||
create table c3gis_ol_source(
|
||||
sourceid varchar(50) not null PRIMARY KEY,
|
||||
sourcename varchar(50) not null,
|
||||
url varchar(50) not null,
|
||||
params jsonb,
|
||||
description varchar(50)
|
||||
);
|
||||
|
||||
|
||||
--样式表
|
||||
create table c3gis_ol_style_style(
|
||||
styleid varchar(50) not null,
|
||||
|
||||
@ -47,9 +47,11 @@
|
||||
<typeAliases>
|
||||
<typeAlias type="com.vividsolutions.jts.geom.Geometry" alias="Geometry" />
|
||||
<typeAlias type="java.lang.Object" alias="ObjectArray" />
|
||||
<typeAlias type="java.lang.Object" alias="ObjectJSON" />
|
||||
</typeAliases>
|
||||
<typeHandlers>
|
||||
<typeHandler handler="com.gis3c.spatial.postgis.PostGISHandler" javaType="Geometry" />
|
||||
<typeHandler handler="com.gis3c.spatial.postgis.ArrayTypeHandler" javaType="ObjectArray" />
|
||||
<typeHandler handler="com.gis3c.spatial.postgis.JsonTypeHandler" javaType="ObjectJSON" />
|
||||
</typeHandlers>
|
||||
</configuration>
|
||||
Loading…
Reference in New Issue
Block a user