1
13693261870
2024-09-14 c07a4aa6ecabddb15e0e4ca2a8c3524bf05d3e7a
src/main/java/com/se/simu/domain/SeDb.java
@@ -1,5 +1,8 @@
package com.se.simu.domain;
import org.gdal.osr.SpatialReference;
import org.gdal.osr.osr;
/**
 * SE数据库实体类
 *
@@ -16,6 +19,21 @@
    private String bbox;
    private SpatialReference sr;
    public SeDb() {
    }
    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;
    }