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

有帮助吗?

解决方案

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

其他提示

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?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top