I have a large CSV file containing a list of stores in which one of the fields is ZipCode. I have a separate MongoDB database called ZipCodes, which stores the latitude and longitude for any given zip code.
In SQL Server, I would execute a stored procedure called InsertStore, which would search the ZipCodes table to get the appropriate latitude and longitude and paste the data into the store table.
Something similar to the concept of stored procedures in MongoDB for this? Basically, for each insert I need to find the latitude and longitude for this store and save it as well.
I'm not too familiar with the Map / Reduce concept, but will it make a difference here? Thank!
stored-procedures mongodb mapreduce geolocation
Abe 06 Oct '10 at 19:09 2010-10-06 19:09
source share