| | |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.se.simu.helper.GdalHelper; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import org.gdal.osr.SpatialReference; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 仿真数据实体类 |
| | | * |
| | | * @author WWW |
| | | * @date 2024-09-18 |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | public class DataPo { |
| | | @ApiModelProperty("父ID") |
| | | private Integer pid; |
| | |
| | | public void setEpsg(Integer epsg) { |
| | | this.epsg = epsg; |
| | | } |
| | | |
| | | public SpatialReference getSpatialReference() { |
| | | return GdalHelper.createSpatialReference(this.getEpsg()); |
| | | } |
| | | } |