aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2014-07-13 21:12:32 +0100
committerChristopher Baines <mail@cbaines.net>2014-07-13 21:12:32 +0100
commit1cc530df2db890a55ff6e77c644873d483ddf7ad (patch)
treee9efbf50b03b8ab70f97ddf9403212346f56241a /README
downloadosm-examples-1cc530df2db890a55ff6e77c644873d483ddf7ad.tar
osm-examples-1cc530df2db890a55ff6e77c644873d483ddf7ad.tar.gz
Initial commit
Diffstat (limited to 'README')
-rw-r--r--README37
1 files changed, 37 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..5eb92bb
--- /dev/null
+++ b/README
@@ -0,0 +1,37 @@
+# OSM examples for ikiwiki
+
+This repository contains a number of examples for the ikiwiki osm
+(OpenStreetMap) plugin.
+
+The osm plugin is included in Ikiwiki, but at the time of writing this README,
+none of the included examples will work without patching the plugin. The
+Makefile will build the examples using a patched version of Ikiwiki, that will
+get most of them working.
+
+## Known Issues
+
+ - The icon on the map for the icon-kml is distorted (compare with the
+ icon-geojson example)
+ - The simple-csv example does not work
+ - There are no map icons in the tags-geojson example
+ - The (non square) map icon is distorted in the tags-kml example
+
+## Build Details
+
+Unless each example is viewed at the root of the webserver, the example will
+not work. You must set the url option in each of the setup files to the correct
+url. For example, if you symlink the dest directory to osm-examples in the
+public_html of "username", then this would be the valid url for the
+osm-icon-geojson.setup file.
+
+ url: 'http://localhost/~username/osm-examples/icon-geojson/'
+
+The included makefile will download ikiwiki, build it, and then use it to
+build all of the examples.
+
+The examples will end up in dest.
+
+You may need some packages to build ikiwiki, running the following will
+probably work:
+
+ apt-get build-dep ikiwiki