Advertisement
Guest User

Untitled

a guest
May 26th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. >>60604166 (You)#
  2. >We need to convert them to sqlite format as well.
  3.  
  4. I used to worked with GIS applications and we used something called ogr2ogr to dump our database to sqlite
  5.  
  6. ogr2ogr -f SQLite -dsco SPATIALITE=false myfile.sqlite PG:"dbname=mydb user=myuser password=mypass" myschema.mytable
  7.  
  8.  
  9.  
  10. spatialite is set to false because the nyaa db won't have geospatial data type in it
  11.  
  12. although there are other alternatives using python or other scripting languages.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement