[OSM-dev] osmlab osm-auth
Hello folks, So we've been working on the iD editor ( http://ideditor.com/ ) and one of the big goals is to make a lot of it modular to make more cool OSM hacks possible. I've been moving some of these parts to osmlab: https://github.com/osmlab The idea here is pretty simple: it's an organization for osm-related modules, code, and data. There are simple guidelines - https://gist.github.com/tmcw/5157262 - which equate to try to be approachable and open to contributors. As such, anyone who wants to pull request / get commit to a project and has cool ideas, just ask. Also, it's going to be all liberally-licensed projects - BSD, MIT, and PD. So far it's been small modules, and one that might be pertinent is osm-auth. The OAuth implementation in iD has already been open modular as 'ohauth' but the steps between that no-assumptions implementation and a working integration were too much. Thus, osm-auth: https://github.com/osmlab/osm-auth It has a simple API, focused on logging in, out, and doing api calls. There's a quick demo of integration: http://osmlab.github.com/osm-auth/ which should be a great starting block for other projects. It's PD code, and uses ohauth behind the scenes. This is not to say it's perfect - right now it'll need a little work in the rails port to make it not conflict with other OAuth applications https://github.com/openstreetmap/openstreetmap-website/issues/220 thanks to browser server caching. But it's a start, and I think it'll eliminate one major reason why js-only OSM API applications haven't taken off yet - this encapsulates a big stumbling block. Report issues if you run into anything https://github.com/osmlab/osm-auth/issues or even better (so much better) fork, clone, pull request, and make this thing better. Tom -- View this message in context: http://gis.19327.n5.nabble.com/osmlab-osm-auth-tp5754648.html Sent from the Developer Discussion mailing list archive at Nabble.com. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] mod_tile in other projections?
On 03/07/2013 08:36 AM, Jason Lee wrote: Hi all, It might seem an odd question but I'll give it a shot - would mod_tile/renderd support the dynamic generation of map tiles in a map projection other than web mercator? If not, then would it be possible/how difficult would it be to modify the code to support it? In case you are still interested, I have now refactored the code a bit to make it easier to support different projections. Supporting new projections now should be as simple as adding 6 numbers, (the boundaries in projected coordinates and the map aspect ratio). For the moment you still need to recompile renderd after changing / adding those numbers, but in the future that might change. At the moment it supports spherical mercator and plate carree out of the box and they can be mixed in the same rendering server. You configure those by changing the srs of the mapnik style sheet to the appropriate values. Also it is now possible to configure the size of the tiles in renderd.conf and it is no longer hard coded to be 256 px. (You still need to change the mapnik stylesheet for the appropriate PPI though). Kai The only other thing I can think of is using MapProxy with Mapnik backend but I'm not sure the scalabilty/performance compared to mod_tile. Thanks and regards, Jason ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Imagery Offset Database beta-testing
Hi! I have been working on the imagery offset database JOSM plugin, and now it seems to be finished. The same could be said for the server. The documentation is here: http://wiki.openstreetmap.org/wiki/Imagery_Offset_Database (my English seems to have degraded, so please fix any grammar mistakes you find). Until Sunday, 31th of March the project is in beta-testing. I invite you to check out the plugin and populate the database with imagery offsets and calibration objects for your regions. I have just begun working on a web-interface, but I plan to finish it by the end of the week: http://offsets.textual.ru/ The database is published hourly under PDDL license in XML and JSON formats. API also supports those two formats, and I hope to see IODB support in more editors. Please don't announce IODB before the release, there are only 6 days to go :) I'm ready to answer any questions and fix any bugs and inconveniences you may encounter. IZ ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev