dcb
2025-06-18 4c4d0f591f94428ed7e5d2f4ae5df5c5087d8c26
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package com.se.nsl.domain.dto;
 
import org.gdal.osr.SpatialReference;
import org.gdal.osr.osr;
 
@SuppressWarnings("ALL")
public class GeDb {
    private String dbid;
 
    private String name;
 
    private Integer epsg;
 
    private String bbox;
 
    private SpatialReference sr;
 
    public GeDb() {
    }
 
    public SpatialReference getSpatialReference() {
        if (null == sr) {
            sr = new SpatialReference();
            sr.ImportFromEPSG(epsg);
            sr.SetAxisMappingStrategy(osr.OAMS_TRADITIONAL_GIS_ORDER);
        }
 
        return sr;
    }
 
    public String getDbid() {
        return dbid;
    }
 
    public void setDbid(String dbid) {
        this.dbid = dbid;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public Integer getEpsg() {
        return epsg;
    }
 
    public void setEpsg(Integer epsg) {
        this.epsg = epsg;
    }
 
    public String getBbox() {
        return bbox;
    }
 
    public void setBbox(String bbox) {
        this.bbox = bbox;
    }
}