sevar83 / android-spatialite

Spatialite database JNI wrapper for Android
101 stars 48 forks source link

make sure spatial_ref_sys is always created while openening new database #7

Closed iceberg1369 closed 6 years ago

iceberg1369 commented 6 years ago

I used the library to make a new database. but the spatial_ref_sys table does not exists in the new created library. the spatial_ref_sys table is essential to perform Transform SQL queries

sevar83 commented 6 years ago

By default it's not created as it consumes around 4mb. You can create it yourself with SELECT InitSpatialMetadata()

On Tue, Sep 4, 2018, 00:08 fgfgfgfgfg notifications@github.com wrote:

I used the library to make a new database. but the spatial_ref_sys table does not exists in the new created library. the spatial_ref_sys table is essential to perform Transform SQL queries

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sevar83/android-spatialite/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHS1d-ykB8r8hmuYEOM12dgIwlFvch3ks5uXZpigaJpZM4WYDES .