Changes between Version 13 and Version 14 of Help/Menu/Imagery
- Timestamp:
- 2010-12-12T14:20:06+01:00 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Menu/Imagery
v13 v14 2 2 = Main menu > Imagery = 3 3 4 Th e wmspluginallows you to use various sources as a background layer in the main window. Clicking on a green imagery menu item will automatically download the image from the server. Servers can be added and edited using the preference tab in the [wiki:/Help/Action/Preferences preferences]. Any new servers or changes would then displayed on the main imagery menu. By default, the major image providers are added.4 This menu allows you to use various sources as a background layer in the main window. Clicking on a green imagery menu item will automatically download the image from the server. Servers can be added and edited using the preference tab in the [wiki:/Help/Action/Preferences preferences]. Any new servers or changes would then displayed on the main imagery menu. By default, the major image providers are added. 5 5 6 6 At present, the menu has following sections: … … 100 100 101 101 ===== Troubleshooting: if you see white stripes ===== 102 * download [http://svn.openstreetmap.org/applications/editors/josm/ plugins/wmsplugin/gnome-web-photo-fixed gnome-web-photo-fixed] from OSM SVN repository102 * download [http://svn.openstreetmap.org/applications/editors/josm/webgrabber/gnome-web-photo-fixed gnome-web-photo-fixed] from OSM SVN repository 103 103 sudo cp gnome-web-photo-fixed /usr/local/bin 104 104 sudo chmod a+x /usr/local/bin/gnome-web-photo-fixed … … 130 130 * Install the following packages: build-essential libqt4-dev (>= 4.4.3) libqt4-webkit pkg-config 131 131 * Download and compile (you may have to replace moc with moc-qt4, or /usr/include/qt4 with /usr/lib/qt4/include): 132 wget http://svn.openstreetmap.org/applications/editors/josm/ plugins/wmsplugin/webkit-image.cpp132 wget http://svn.openstreetmap.org/applications/editors/josm/webgrabber/webkit-image.cpp 133 133 moc webkit-image.cpp > webkit-image.h 134 134 g++ -I /usr/include/qt4/ -I /usr/include/qt4/QtGui -I /usr/include/qt4/QtNetwork/ webkit-image.cpp -o webkit-image -lQtCore -lQtWebKit -lQtGui -s -O2 135 135 * instead of the previous step, you can use the packaged Makefile: 136 svn co http://svn.openstreetmap.org/applications/editors/josm/ plugins/wmsplugin137 cd w msplugin136 svn co http://svn.openstreetmap.org/applications/editors/josm/webgrabber 137 cd webgrabber 138 138 make webkit-image 139 139 * Copy it to somewhere in your path: … … 172 172 173 173 * Get the sources and compile 174 svn co http://svn.openstreetmap.org/applications/editors/josm/ plugins/wmsplugin175 cd w msplugin174 svn co http://svn.openstreetmap.org/applications/editors/josm/webgrabber 175 cd webgrabber 176 176 make webkit-image 177 177 … … 191 191 192 192 DESCRIPTION="JOSM tool to interface with Yahoo! imagery" 193 ESVN_REPO_URI="http://svn.openstreetmap.org/applications/editors/josm/ plugins/wmsplugin"193 ESVN_REPO_URI="http://svn.openstreetmap.org/applications/editors/josm/webgrabber" 194 194 SRC_URI="" 195 195 … … 220 220 ==== webkit-image (GTK+) ==== 221 221 It requires GTK+ 2.20+ and WebKitGtk+. Compile and install 222 [http://svn.openstreetmap.org/applications/editors/josm/ plugins/wmsplugin/webkit-image-gtk.c webkit-image-gtk.c].222 [http://svn.openstreetmap.org/applications/editors/josm/webgrabber/webkit-image-gtk.c webkit-image-gtk.c]. 223 223 224 224 Libraries required: libgtk2.0-dev libwebkit-dev. … … 231 231 232 232 '''comments:''' 233 Ubuntu 10.04: Compiling http://svn.openstreetmap.org/applications/editors/josm/ plugins/wmsplugin/webkit-image-gtk.c a success! Putting the resulting webkit-image(made executable) in the directory /usr/local/bin/ . Doesn't load any yahoo tiles and just says "Exception occured". Once it showed some tiles but they covered tiny rectangles while everything else was "Exception occured".233 Ubuntu 10.04: Compiling http://svn.openstreetmap.org/applications/editors/josm/webgrabber/webkit-image-gtk.c a success! Putting the resulting webkit-image(made executable) in the directory /usr/local/bin/ . Doesn't load any yahoo tiles and just says "Exception occured". Once it showed some tiles but they covered tiny rectangles while everything else was "Exception occured". 234 234 235 235 === Mac OS X === … … 247 247 Or compile from source: 248 248 249 1. Use svn to check out the wmspluginfrom http://svn.openstreetmap.org/applications/editors/josm/plugins/wmsplugin250 '''$''' svn co http://svn.openstreetmap.org/applications/editors/josm/ plugins/wmsplugin249 1. Use svn to check out the grabber from http://svn.openstreetmap.org/applications/editors/josm/webgrabber 250 '''$''' svn co http://svn.openstreetmap.org/applications/editors/josm/webgrabber 251 251 2. In the Makefile, change the LDFLAGS line to read: 252 252 LDFLAGS=-framework QtCore -framework QtGui -framework QtWebKit -framework QtNetwork … … 260 260 '''$''' sudo cp webkit-image /usr/local/bin 261 261 262 : Unix programs (and Mac OS X) look for programs to execute in a list of directories. This search list is kept in the PATH environment variable. By default, PATH is set to ''/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin''. To check the current value of the PATH environment variable, use ''echo $PATH''. You can copy the ''webkit-image'' program to any of the directories listed in PATH, and JOSM and the wmspluginwill automatically find them.262 : Unix programs (and Mac OS X) look for programs to execute in a list of directories. This search list is kept in the PATH environment variable. By default, PATH is set to ''/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin''. To check the current value of the PATH environment variable, use ''echo $PATH''. You can copy the ''webkit-image'' program to any of the directories listed in PATH, and JOSM will automatically find them. 263 263 264 264 ==== Configuration ==== … … 273 273 You can get source of the WMS plugin from Subversion: 274 274 275 <pre>svn co http://svn.openstreetmap.org/applications/editors/josm/plugins/wmsplugin/</pre>275 {{{svn co http://svn.openstreetmap.org/applications/editors/josm/webgrabber/}}} 276 276 277 277 = Using the WMS plugin =
