Changes between Version 13 and Version 14 of Help/Menu/Imagery


Ignore:
Timestamp:
2010-12-12T14:20:06+01:00 (15 years ago)
Author:
stoecker
Comment:

Fix URLs

Legend:

Unmodified
Added
Removed
Modified
  • Help/Menu/Imagery

    v13 v14  
    22= Main menu > Imagery =
    33
    4 The wmsplugin 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.
     4This 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.
    55
    66At present, the menu has following sections:
     
    100100
    101101=====  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 repository
     102* download [http://svn.openstreetmap.org/applications/editors/josm/webgrabber/gnome-web-photo-fixed gnome-web-photo-fixed] from OSM SVN repository
    103103 sudo cp gnome-web-photo-fixed /usr/local/bin
    104104 sudo chmod a+x /usr/local/bin/gnome-web-photo-fixed
     
    130130* Install the following packages: build-essential libqt4-dev (>= 4.4.3) libqt4-webkit pkg-config
    131131* 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.cpp
     132 wget http://svn.openstreetmap.org/applications/editors/josm/webgrabber/webkit-image.cpp
    133133 moc webkit-image.cpp > webkit-image.h
    134134 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
    135135* instead of the previous step, you can use the packaged Makefile:
    136  svn co http://svn.openstreetmap.org/applications/editors/josm/plugins/wmsplugin
    137  cd wmsplugin
     136 svn co http://svn.openstreetmap.org/applications/editors/josm/webgrabber
     137 cd webgrabber
    138138 make webkit-image
    139139* Copy it to somewhere in your path:
     
    172172
    173173* Get the sources and compile
    174  svn co http://svn.openstreetmap.org/applications/editors/josm/plugins/wmsplugin
    175  cd wmsplugin
     174 svn co http://svn.openstreetmap.org/applications/editors/josm/webgrabber
     175 cd webgrabber
    176176 make webkit-image
    177177
     
    191191
    192192DESCRIPTION="JOSM tool to interface with Yahoo! imagery"
    193 ESVN_REPO_URI="http://svn.openstreetmap.org/applications/editors/josm/plugins/wmsplugin"
     193ESVN_REPO_URI="http://svn.openstreetmap.org/applications/editors/josm/webgrabber"
    194194SRC_URI=""
    195195
     
    220220==== webkit-image (GTK+) ====
    221221It 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].
    223223
    224224Libraries required: libgtk2.0-dev libwebkit-dev.
     
    231231
    232232'''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".
     233Ubuntu 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".
    234234
    235235=== Mac OS X ===
     
    247247Or compile from source:
    248248
    249 1. Use svn to check out the wmsplugin from http://svn.openstreetmap.org/applications/editors/josm/plugins/wmsplugin
    250  '''$''' svn co http://svn.openstreetmap.org/applications/editors/josm/plugins/wmsplugin
     2491. 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
    2512512. In the Makefile, change the LDFLAGS line to read:
    252252 LDFLAGS=-framework QtCore -framework QtGui -framework QtWebKit -framework QtNetwork
     
    260260 '''$''' sudo cp webkit-image /usr/local/bin
    261261
    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 wmsplugin will 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.
    263263
    264264==== Configuration ====
     
    273273You can get source of the WMS plugin from Subversion:
    274274
    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/}}}
    276276
    277277= Using the WMS plugin =