~ubuntu-branches/ubuntu/vivid/drizzle/vivid-proposed

« back to all changes in this revision

Viewing changes to tests/kewpie/randgen/conf/gis/README

  • Committer: Package Import Robot
  • Author(s): Tobias Frost
  • Date: 2013-08-22 20:18:31 UTC
  • mto: (20.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: package-import@ubuntu.com-20130822201831-gn3ozsh7o7wmc5tk
Tags: upstream-7.2.3
ImportĀ upstreamĀ versionĀ 7.2.3

Show diffs side-by-side

added added

removed removed

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