1
How to obtain data sets for GIS testing
2
=======================================
4
The datasets from the OpenStreetMap project can be converted into
5
LINESTRINGs compatible with MySQL and PostGIS as follows:
9
http://www.tm.kit.edu/~mayer/osm2wkt/
11
to convert an OpenStreetMap XML to WKT, or use one of the existing WKT
14
2. Pipe the WKT file through the conf/gis/wkt2sql.pl script to obtain SQL:
16
perl conf/gis/wkt2sql.pl [MySQL|PostGIS] < venice.wkt > venice.sql
19
Copyright notices on the map data
20
=================================
22
Due to licensing incompatibility, map data is not part of the RQG source
23
tree. It can be downloaded from
25
http://www.tm.kit.edu/~mayer/osm2wkt/
27
The map data is (c) OpenStreetMap contributors and has a CC-BY-SA license. See
29
http://wiki.openstreetmap.org/wiki/OpenStreetMap_License