Ignore:
Timestamp:
2009-11-28T15:51:11+01:00 (15 years ago)
Author:
guggis
Message:

Improved README

Location:
applications/editors/josm/wmsadapter/orthofotos-bern
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/wmsadapter/orthofotos-bern/README.txt

    r16752 r18836  
    55
    66This adapter translates JOSMs tile requests for orthofotos of Bern to tile
    7 requests which can be handled by the WMS server of  Bern.
     7requests which can be handled by the WMS server of Bern.
    88
    99The adapter is a small web application which runs on your local computer. 
     
    2424o although I tried to mimic the behaviour of a standard browser like Firefox as
    2525  closely as possible I wasn't able to automatically retrieve a valid session
    26   ID from the WMS server of Bern. Session IDs retrieved automatically
    27   timed out immediately.
     26  ID from the WMS server of Bern. They timed out immediately.
    2827 
    2928  You therefore have to configure the WMS adapter with a valid session ID which
     
    4039o  Unzip orthofoto-bern-wms-adapter-<version>.zip
    4140
    42    
    4341
    4442CONFIGURING JOSM
     
    4947  - add an entry with
    5048       menu name = Orthofotos Bern
    51        WMS-URL   = http://localhost:8787/orthofotos-bern?    !!! Note the trailing '?' !!!
    52 
     49       WMS-URL   = http://localhost:<port>/orthofotos-bern?    !!! Note the trailing '?' !!!
     50       (replace <port> with the port number is listing on, see below)
    5351             
    54 
    5552USAGE
    5653------------
    5754o Start the WMS adapter
    5855
    59    c:\> java -jar winstone-0.9.10.jar --warfile=orthofoto-bern-wms-adapter.war
     56  c:\> java -jar winstone-0.9.10.jar --warfile=orthofoto-bern-wms-adapter.war
    6057
    61    Use --httpPort=<port> to set another port the adapter is listening too.
     58  Use --httpPort=<port> to set another port the adapter is listening on.
     59   
     60  Example for port 8787: 
     61  c:\> java -jar winstone-0.9.10.jar --warfile=orthofoto-bern-wms-adapter.war --httpPort=8787
     62     
     63o The port number   
     64  The adapter runs on your computer and listens to requests on a specific port.
     65  The default port is 8080.
     66  If you use the commmand line option --httpPort=<port>, then the port number is
     67  the number you entered instead of <port>.
    6268 
    6369o Get a valid session ID
    6470
    65    - Launch your browser and point it at
    66      http://www.stadtplan.bern.ch/TBInternet/default.aspx?User=1
     71  - Launch your browser and point it at
     72    http://www.stadtplan.bern.ch/TBInternet/default.aspx?User=1
    6773   
    68    - View the current set of cookies in your browser and copy the cookie
     74  - View the current set of cookies in your browser and copy the cookie
    6975        for domain  stadtplan.bern.ch
    7076        with name   ASP.NET_SessionId
    71      to the clipboard
     77    to the clipboard
    7278     
    7379o Configure WMS adapter with the session ID
    74    - Point your browser at
    75         http://localhost:8787/orthofotos-bern
    76    - Enter the Session ID retrieved in the previous step
    77      and click on "Submit"
     80  - Point your browser at
     81        http://localhost:<port-number>/orthofotos-bern
     82    for instance
     83        http://localhost:8080/orthofotos-bern
     84  - Enter the Session ID retrieved in the previous step and click on "Submit"
    7885     
    7986o Use JOSM
    8087  - You may now use JOSM to retrieve orthofotos of Bern
    8188     
    82    
    83    
     89 
  • applications/editors/josm/wmsadapter/orthofotos-bern/RELEASE-NOTES.txt

    r18620 r18836  
     1Release 25 - 2009-11-28
     2* fix: improved README
     3
    14Release 25 - 2009-11-15
    25* new: select whether orthofotos of the city of Bern or the region of Bern are displayed
  • applications/editors/josm/wmsadapter/orthofotos-bern/VERSION.txt

    r18620 r18836  
    11
    2 Built-On: 2009-11-15 13:54:18
    3 Build-ID: 25                   
     2Built-On: 2009-11-28 15:50:53
     3Build-ID: 26                   
    44               
  • applications/editors/josm/wmsadapter/orthofotos-bern/build.xml

    r18620 r18836  
    1111        <property name="build.dir.lib" value="${build.dir}/lib"/>
    1212       
    13         <property name="build.number" value="25"/>
     13        <property name="build.number" value="26"/>
    1414
    1515        <path id="javax.servlet.classpath">
Note: See TracChangeset for help on using the changeset viewer.