Storing large geojson polygon information about a place in database

Viewed 16

For implementing a feature which allows user to select places, I was planning to store the boundary information in Geo JSON format in mongo db. and later when user search for a particular location (a latitude, longitude) point, If the point includes in one of the boundaries, user needs to be displayed that previously stored place.

But I found the boundary information can be quite large if user selected a country eg: USA (approximately 2mb of boundary information I received from open street maps).

Is it ideal to store this information in the DB as the data will grow eventually.?

0 Answers
Related