Changeset 18836 in osm for applications/editors/josm
- Timestamp:
- 2009-11-28T15:51:11+01:00 (15 years ago)
- Location:
- applications/editors/josm/wmsadapter/orthofotos-bern
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/wmsadapter/orthofotos-bern/README.txt
r16752 r18836 5 5 6 6 This adapter translates JOSMs tile requests for orthofotos of Bern to tile 7 requests which can be handled by the WMS server of 7 requests which can be handled by the WMS server of Bern. 8 8 9 9 The adapter is a small web application which runs on your local computer. … … 24 24 o although I tried to mimic the behaviour of a standard browser like Firefox as 25 25 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. 28 27 29 28 You therefore have to configure the WMS adapter with a valid session ID which … … 40 39 o Unzip orthofoto-bern-wms-adapter-<version>.zip 41 40 42 43 41 44 42 CONFIGURING JOSM … … 49 47 - add an entry with 50 48 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) 53 51 54 55 52 USAGE 56 53 ------------ 57 54 o Start the WMS adapter 58 55 59 56 c:\> java -jar winstone-0.9.10.jar --warfile=orthofoto-bern-wms-adapter.war 60 57 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 63 o 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>. 62 68 63 69 o Get a valid session ID 64 70 65 66 71 - Launch your browser and point it at 72 http://www.stadtplan.bern.ch/TBInternet/default.aspx?User=1 67 73 68 74 - View the current set of cookies in your browser and copy the cookie 69 75 for domain stadtplan.bern.ch 70 76 with name ASP.NET_SessionId 71 77 to the clipboard 72 78 73 79 o 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" 78 85 79 86 o Use JOSM 80 87 - You may now use JOSM to retrieve orthofotos of Bern 81 88 82 83 89 -
applications/editors/josm/wmsadapter/orthofotos-bern/RELEASE-NOTES.txt
r18620 r18836 1 Release 25 - 2009-11-28 2 * fix: improved README 3 1 4 Release 25 - 2009-11-15 2 5 * 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 1 1 2 Built-On: 2009-11- 15 13:54:183 Build-ID: 2 52 Built-On: 2009-11-28 15:50:53 3 Build-ID: 26 4 4 -
applications/editors/josm/wmsadapter/orthofotos-bern/build.xml
r18620 r18836 11 11 <property name="build.dir.lib" value="${build.dir}/lib"/> 12 12 13 <property name="build.number" value="2 5"/>13 <property name="build.number" value="26"/> 14 14 15 15 <path id="javax.servlet.classpath">
Note:
See TracChangeset
for help on using the changeset viewer.