ogr - Losing CRS when writing to GPKG with OGR2OGGDAL - Stack Overflow

CRS is getting set as undefined, no matter what I run. Not a biggy, but throws a warning when I import

CRS is getting set as undefined, no matter what I run. Not a biggy, but throws a warning when I import to QGIS. Am I doing something wrong, or is it a bug?

My codes:

ogr2ogr -f "GPKG" -nlt POINT -a_srs EPSG:20355 'C:\Test.gpkg' "MSSQL:DSN=dsn;database=DBASE;tables=UV_FI;driver={SQL Server}"

ogrinfo 'C:\Test.gpkg' gpkg_contents -sql "SELECT * FROM gpkg_contents"

OGRFeature(SELECT):0
  table_name (String) = UV_FI
  data_type (String) = features
  identifier (String) = UV_FI
  description (String) =
  last_change (DateTime) = 2024/11/16 20:56:31.966+00
  min_x (Real) = 604072
  min_y (Real) = 7569720
  max_x (Real) = 611630
  max_y (Real) = 7584990
  srs_id (Integer64) = 99999

Possible related to

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745642640a4637784.html

相关推荐

  • ogr - Losing CRS when writing to GPKG with OGR2OGGDAL - Stack Overflow

    CRS is getting set as undefined, no matter what I run. Not a biggy, but throws a warning when I import

    22天前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信