android-spatialite icon indicating copy to clipboard operation
android-spatialite copied to clipboard

export shape files

Open iceberg1369 opened this issue 7 years ago • 4 comments

Hello,

I need to export shape files in android. so does any query exists to accomplish this task?

best

iceberg1369 avatar Jul 28 '18 05:07 iceberg1369

Hi, for all available functions you could refer to: http://www.gaia-gis.it/gaia-sins/spatialite-sql-4.4.0.html There is the ExportSHP() function.

sevar83 avatar Jul 28 '18 15:07 sevar83

as docs states "Explicitly setting the environment variable SPATIALITE_SECURITY=relaxed is absolutely required in order to effectively enable this function."

so how can we set environmental variable in app?

iceberg1369 avatar Aug 30 '18 08:08 iceberg1369

Hi, try with 'System.setenv()'. https://stackoverflow.com/questions/7597058/android-setget-environmental-variables-in-java

On Thu, Aug 30, 2018, 11:12 fgfgfgfgfg [email protected] wrote:

Reopened #6 https://github.com/sevar83/android-spatialite/issues/6.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/sevar83/android-spatialite/issues/6#event-1817534744, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHS1Y7eFxxaOjlbfdA2daidR3jmnQSuks5uV55YgaJpZM4Vk6la .

sevar83 avatar Aug 30 '18 17:08 sevar83

E/SQLiteLog: (1) no such function: ExportSHP

you have mentioned spatialite 4.4 in the readme file but the actual library is 4.3a and exportShp does not exists in 4.3. I think its time to update spatialite

iceberg1369 avatar Sep 24 '19 11:09 iceberg1369