dabruehl commented on issue #1987:
URL: https://github.com/apache/sedona/issues/1987#issuecomment-2965804124

   I can read with sqlite3 directly the table from the same file
   
   ```
   import sqlite3
   import pandas as pd
   
   def read_gpkg_metadata(gpkg_path):
       conn = sqlite3.connect(gpkg_path)
       query = "SELECT * FROM gpkg_contents"
       metadata_df = pd.read_sql_query(query, conn)
       conn.close()
       return metadata_df
   
   metadata_df = read_gpkg_metadata("/tmp/my_file.gpkg")
   print(metadata_df)
   
     table_name data_type identifier description  ... min_y  max_x  max_y  
srs_id
   0   my_layer  features   my_layer              ...   0.0    7.0    6.0   
99999
   
   [1 rows x 10 columns]
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to