| | |
| | | import org.gdal.ogr.*; |
| | | import org.gdal.osr.SpatialReference; |
| | | |
| | | import javax.swing.plaf.synth.SynthTextAreaUI; |
| | | import java.io.File; |
| | | import java.sql.Time; |
| | | import java.sql.Timestamp; |
| | |
| | | if (!StringHelper.isEmpty(gdalPath)) { |
| | | gdal.SetConfigOption("GDAL_DATA", gdalPath + File.separator + "gdal-data"); |
| | | gdal.SetConfigOption("PROJ_LIB", gdalPath + File.separator + "proj7\\share"); |
| | | // System.setProperty("PROJ_LIB", gdalPath + File.separator + "proj7\\share") |
| | | gdal.SetConfigOption("GDAL_DRIVER_PATH", gdalPath + File.separator + "gdalplugins"); |
| | | |
| | | String path = System.getenv("PATH"); |