Browsable HTML form of Data #850
Comments
Author: crschmidt[at]crschmidt.net Attached patch creates a BrowseController, which has two views: way_view and node_view. ("view" included because in the future I think an 'edit' or 'history' mode is also possible.) You can see the code in action on: http://66.92.66.26:3000/node/300 http://66.92.66.26:3000/way/12 (So long as my internet connection stays up.) Tested in IE6, FF2, FF3, Safari, and Opera. |
Author: crschmidt[at]crschmidt.net Oh, right, and javascripts/map.js has a minor change so that you can tell it which controls to use as an option: this allows for the small map on that page to use the default osm createMap. |
Author: crschmidt[at]crschmidt.net Latest patch integrates updates to the maxResolution/maxExtent, which (so far as I can tell) shouldn't affect anything: This fixes a .5M offset from vector overlays to OSM tiles. |
Author: tom[at]compton.nu I've created a branch for this work (http://svn.openstreetmap.org/sites/rails_port_branches/data_browser) and committed your patch to it . |
Author: crschmidt[at]crschmidt.net TomH: So what's the process from here? Is there testing or something else that needs to be written? Should I work on importing a larger subset of OSM data and testing it? What are the 'next steps' to take it from living in a branch to living on the main site? |
Author: crschmidt[at]crschmidt.net http://66.92.66.26:3000/relation/1/history http://66.92.66.26:3000/way/5 http://66.92.66.26:3000/node/400 |
Author: crschmidt[at]crschmidt.net Pages now have links back and forth between nodes, and ways, and also have 'navigation' links to go back and forth between next/prev items. |
Author: crschmidt[at]crschmidt.net Updated URLs: |
Author: crschmidt Latest patch also adds a 'data' layer to the main map, and allows users to browse OSM data using the main map through that mechanism. |
Author: crschmidt TomH: I made one minor change to the code (removing the nodes from the start action) that I can upload a new patch if you like: it's checked into svn. At this point, I have no plans to do further work on this: I've tested it in IE6 under wine, FF2, FF3, and Safari 3, with no obvious problems. |
Author: tom[at]compton.nu This was merged some time ago. |
Reporter: crschmidt[at]crschmidt.net
[Submitted to the original trac issue database at 3.01pm, Saturday, 19th April 2008]
In order to make it easier to point people to a specific OSM object, it would be nice to have a page which displayed a user-oriented visualization of the OSM objects based on their IDs. (This heads towards making links from editors like Potlatch a standard feature).
The text was updated successfully, but these errors were encountered: