GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Import Geonames to MongoDb  XML
Forum Index -> FAQ - frequently asked questions
Author Message

Joined: 14/10/2015 15:54:32
Messages: 1

I am trying to import a geoname db (let's say cities5000.txt) to a database in mongo. I have searched and found that in order to do so i have to convert the .txt file into .json format. The problem is that using this script: i end up with a json file which is not accepted by mongo. Do you know another way to transform this txt file to json? Or maybe an exisiting implementation of another script or ready to use .json file? Of course if there is another way to do it i'd be glad to hear about it. Thank you so much in advance,

Forum Index -> FAQ - frequently asked questions
Go to:   
Powered by JForum 2.1.5 © JForum Team