问题
I need to test performance of queries based on spatial data. I decided to use sql server and geometry datatype.
Now I need to have sample data (for example maps, cities etc). Do You know any resources that I can use to then load it into my database ?
Thanks for any help
回答1:
The U.S. Census Bureau makes all of their shape files available to the public. See here: http://www.census.gov/geo/www/tiger/
Once you have picked whatever shape files you want, you can import them into SQL Server using the excellent Shape2SQL tool found here: http://www.sharpgis.net/page/Shape2SQL.aspx
回答2:
You will find many good pointers, including Ordnance survey, CloudMade and Natural Earth, among answers to to this question:
Are there any free administrative boundaries available as shapefiles?
来源:https://stackoverflow.com/questions/8866269/gis-sample-data-for-testing-performance