2021年1月29日星期五

ogrinfo SQL

 C:\aka\只保留高路基>ogrinfo  水位比较.dbf -dialect SQLite  -sql "SELECT id, Y_W_100 FROM  \"水位比较\" limit 2"

INFO: Open of `水位比较.dbf'
      using driver `ESRI Shapefile' successful.

Layer name: SELECT
Geometry: None
Feature Count: 2
Layer SRS WKT:
(unknown)
id: Integer (0.0)
Y_W_100: Real (0.0)
OGRFeature(SELECT):0
  id (Integer) = 0
  Y_W_100 (Real) = 0

OGRFeature(SELECT):1
  id (Integer) = 1
  Y_W_100 (Real) = 0

------------------------------------------------------------------------------------------

 

没有评论: