Changeset 20872 in osm for applications
- Timestamp:
- 2010-04-09T15:29:54+02:00 (15 years ago)
- Location:
- applications/editors/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/public_transport/resources/public_transport.html
r20076 r20872 24 24 <p> 25 25 <a href="#chapter.introduction">Introduction</a><br/> 26 <a href="#section.installation">How to Install</a><br/> 27 <a href="#chapter.tutorial">Examples how to Use</a><br/> 28 <a href="#section.scratch">Map a Bus Line from Scratch</a><br/> 29 <a href="#section.parallel">Reuse a partly parallel line</a><br/> 30 <a href="#section.legacy">Reuse an Old Relation</a><br/> 31 <a href="#chapter.notions">Used Notions</a><br/> 32 <a href="#chapter.items">Reference Manual</a><br/> 26 <a href="#section.installation">How to Install</a><br/> 27 <a href="#chapter.tutorial">Examples how to Use</a><br/> 28 <a href="#section.scratch">Map a Bus Line from Scratch</a><br/> 29 <a href="#section.parallel">Reuse a partly parallel line</a><br/> 30 <a href="#section.legacy">Reuse an Old Relation</a><br/> 31 <a href="#chapter.notions">Used Notions</a><br/> <a href="#chapter.stops_from_gpx">Create Stops from GPX</a><br/> 32 <a href="#section.tracks">Tab <em>Tracks</em></a><br/> 33 <a href="#section.settings">Tab <em>Settings</em></a><br/> 34 <a href="#section.trackstops">Tab <em>Stops</em></a><br/> 35 <a href="#section.waypoints">Tab <em>Waypoints</em></a><br/> 36 <a href="#chapter.route_patterns">Route patterns</a><br/> 33 37 <a href="#section.overview">Tab <em>Overview</em></a><br/> 34 38 <a href="#section.tags">Tab <em>Tags</em></a><br/> … … 135 139 136 140 <p> 141 <a id="notion.gpx_file"/> 142 <strong>GPX file</strong> - This is a common file format supported by most GPS loggers. The data you log in the real world, in particular logged stops and stations, get feeded into this software as GPX files. 143 </p> 144 145 <p> 137 146 <a id="notion.itinerary"/> 138 147 <strong>itinerary</strong> - The way a bus service actually takes. Note that buses or other vehicles can't make jumps, thus there cannot be gaps in an itinerary. For that reason, a line <em>[gap]</em> is displayed in the <a href="#subsection.itinerary.list"/>itinerary list</a> whenever the first <a href="#notion.node">node</a> of a <a href="#notion.way">way</a> differs from the last <a href="#notion.node">node</a> of the preceeding <a href="#notion.way">way</a>. … … 181 190 182 191 <p> 192 <a id="notion.route_type"/> 193 <strong>Route type</strong> - You don't want to see an international high speed rail service and a local school bus to be mapped in the same way. For this purpose, we need some further taxonomy to classify public transport services into. As a preliminary classification, we use the following: 194 <ul> 195 <li><em>Bus</em>: Any service that operates completely or partly on ordinary streets with rubber tyred vehicles.</li> 196 <li><em>Tram</em>: A service that operates on rails, almost always on the surface and often shares space with car traffic.</li> 197 <li><em>Light rail</em>: Most newer tram-like services will go into this category. Operates on rails, has most of the time separated tracks, might go underground or overgorund or use wide area railway networks and has usually a level entrance.</li> 198 <li><em>Subway</em>: A service that has its tracks completely separated from street traffic but is also apart from wide area railway networks.</li> 199 <li><em>Railway</em>: Services that operate on wide area railway networks.</li> 200 </ul> 201 </p> 202 203 <p> 183 204 <a id="notion.select"/> 184 205 <strong>select</strong> - Unfortunately, there are different things that can be selected. You can and need to mark objects (<a href="#notion.way">ways</a> and <a href="#notion.node">nodes</a>) on the map in the JOSM main window. Or you can mark <a href="#notion.entry">entries</a> in the list in one of the tabs <a href="#section.overview">Overview</a>, <a href="#section.itinerary">Itinerary</a> or <a href="#section.stops">Stops</a>. The former is usually referred to as <em>select on the map</em>, the latter as <em>select an entry</em>. For the <a href="#notion.entry">entries</a> it is sometimes useful to know that you can mark several entries at once by clicking on the first entry, then <em>shift</em>-clicking on the last entry. You can unmark all <a href="#notion.entry">entries</a> as follows: click an entry (this marks it and unmarks all other entries) then <em>Ctrl</em>-click it again (this unmarks this entry). … … 191 212 192 213 <p> 214 <a id="notion."/> 215 <strong></strong> - 216 </p> 217 218 <p> 193 219 <a id="notion.way"/> 194 220 <strong>way</strong> - The respective OSM primitive. It is visible in the JOSM main window and a list of ways constitutes the <a href="#notion.itinerary">itinerary</a> of a <a href="#notion.bus_route">bus route</a>. A way has an orientation from its first <a href="#notion.node">node</a> to its last node. In JOSM, this is visualised by the direction of the arrows that represent the way. Thus, a vehicle can pass a way in or against its orientation. This is indicated by the role of the <a href="#notion.relation">relation</a> membership representing the <a href="#notion.itinerary">itinerary</a>: <em>forward</em> means that the vehicle passes the way in its orientation while <em>backward</em> means the opposite. 195 221 </p> 196 222 223 <p> 224 <a id="notion.track"/> 225 <strong>Track</strong> - A data structure from GPX files: GPX files are organised as a collection of waypoints and tracks. While waypoints are just points, each track is a sequence of points representing an arbitrary motion. The track contains the information when the vehicle was where. Usually, a GPS logger starts a new track each time you put its power on. 226 </p> 227 197 228 <!-- ==================================================================== //--> 198 229 199 230 <div> 200 <a id="chapter.items"/> 201 <h2>Reference Manual</h2> 231 <a id="chapter.stops_from_gpx"/> 232 <h2>Create Stops from GPX</h2> 233 </div> 234 235 If you have a <a href="#notion.gpx_file">GPX file</a> and want to create <a href="#notion.stop">bus stops or stations</a> from it, use this dialog. Each time you open this dialog, you must select from which GPX file you want to create stops. For this purpose, please choose a file in the file open dialog <em>Select GPX file</em>. After you have chosen a file, you can use the subsequently described items. If you close the dialog, the generated stops remain as ordinary <a href="#notion.node">nodes</a> in the JOSM dataset - you cannot manage them any more from this dialog. 236 237 <div> 238 <a id="section.tracks"/> 239 <h3>Tab <em>Tracks</em></h3> 240 </div> 241 242 <a id="subsection.tracks.list"/> 243 <h4>List <em>Tracks in this GPX file</em></h4> 244 The large list in the center contains all <a href="#notion.track">tracks</a> that have been found in the <a href="#notion.gpx_file">GPX file</a>. They are described by their name. The features in the tabs <a href="#section.settings">Settings</a> and <a href="#section.trackstops">Stops</a> depend on the content of the track and can only be used if you choose a track here. 245 246 <div> 247 <a id="section.settings"/> 248 <h3>Tab <em>Settings</em></h3> 249 </div> 250 251 In this tab you configure the values for the nodes you create or manage with the dialog. Depending on the method you use to create stops, different parts of this tab might be relevant: 252 <ul> 253 <li>If you map from waypoints, only the combo box <a href="#subsection.settings.type">Type of stops to add</a> is relevant to you.</li> 254 <li>If you map with a tracklog and a stopwatch, also the text fields <a href="#subsection.settings.gps">Time on your GPS device</a> and <a href="#subsection.settings.stopwatch">Time on your stopwatch</a> are relevant.</li> 255 <li>If you map with a tracklog only and want to use heuristics, every item in this dialog but the text field <em>Time on your stopwatch</em> is relevant.</li> 256 </ul> 257 258 <a id="subsection.settings.type"/> 259 <h4>Combo box <em>Type of stops to add</em></h4> 260 Choose here which kind of <a href="#notion.stop">stops</a> you want to generate. Available options are <a href="#notion.route_type">bus</a> stops, <a href="#notion.route_type">tram</a> stops, <a href="#notion.route_type">light rail</a> stations, <a href="#notion.route_type">subway</a> stations and <a href="#notion.route_type">rail</a>way stations. 261 262 <a id="subsection.settings.gps"/> 263 <h4>Text field <em>Time on your GPS device</em></h4> 264 265 <a id="subsection.settings.stopwatch"/> 266 <h4>Text field <em>Time on your stopwatch</em></h4> 267 268 <a id="subsection.settings.time_window"/> 269 <h4>Text field <em>Time window</em></h4> 270 271 <a id="subsection.settings.threshold"/> 272 <h4>Text field <em>Move Threshold</em></h4> 273 274 <a id="subsection.settings.suggest_stops"/> 275 <h4>Button <em>Suggest Stops</em></h4> 276 277 <div> 278 <a id="section.trackstops"/> 279 <h3>Tab <em>Stops</em></h3> 280 </div> 281 282 This tab is only accessible if you have selected a track from <a href="#subsection.tracks.list">Tracks in this GPX file</a> in the tab <a href="#section.tracks">Tracks</a>. 283 284 <a id="subsection.trackstops.list"/> 285 <h4>List of created stops</h4> 286 287 <div> 288 <a id="section.waypoints"/> 289 <h3>Tab <em>Waypoints</em></h3> 290 </div> 291 292 <a id="subsection.waypoints.list"/> 293 <h4>List of waypoints in the file</h4> 294 295 <!-- ==================================================================== //--> 296 297 <div> 298 <a id="chapter.route_patterns"/> 299 <h2>Route patterns</h2> 202 300 </div> 203 301 -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackSuggestStopsCommand.java
r20839 r20872 48 48 public boolean executeCommand() 49 49 { 50 if (stoplistTM == null) 51 return false; 50 52 tableDataModel = (Vector< Vector< Object > >)stoplistTM.getDataVector() 51 53 .clone(); … … 168 170 public void undoCommand() 169 171 { 172 if (stoplistTM == null) 173 return; 170 174 for (int i = 0; i < stoplistTM.getNodes().size(); ++i) 171 175 {
Note:
See TracChangeset
for help on using the changeset viewer.