Re: [OSM-dev] Has anyone got a cheat sheet for forking OSM at all?
On Tue, Jul 20, 2010 at 8:11 AM, John Smith deltafoxtrot...@gmail.com wrote: I'm up to trying to import data, I'm using a region extract rather than the entire planet database but I'm hitting the following error: org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to insert user with id -1 into the database. Is this because the user table isn't populated? If so is there an easy way to populate the user table based on information from an osm file? As per instructions on the rails port wiki page I ran the increment queries and then tried to run this command: osmosis --read-xml-0.6 file=planet.osm.bz2 --write-apidb-0.6 populateCurrentTables=yes host=localhost database=openstreetmap user=openstreetmap password=openstreetmap validateSchemaVersion=no If you haven't got mail setup for this box you won't have confirmed that user / email address. Turn the user active in the database by hand and it should work. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Has anyone got a cheat sheet for forking OSM at all?
On 22 July 2010 00:16, Richard Weait rich...@weait.com wrote: If you haven't got mail setup for this box you won't have confirmed that user / email address. Turn the user active in the database by hand and it should work. That wasn't the problem, the link on the OSM wiki links to 0.35 but to do this you need 0.36.3 and it didn't click for some reason yesterday... ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Has anyone got a cheat sheet for forking OSM at all?
On Tue, Jul 20, 2010 at 5:32 AM, John Smith deltafoxtrot...@gmail.comwrote: I've seen schema and such on the wiki, but nothing putting it all together like some of the mapnik/mod_tile/etc tutorials. If nothing exists I'll start documenting it as I go... Please do. As I've told you on chat, I have a bunch of C and perl (Twig) migration stuff, but if you can get Osmosis to work for you, that much the better. Last I checked, I couldn't get Osmosis to support history, so I wound up building my own. I haven't had rails port running in a while, but when I set it up about a year ago it only took a few days. Unfortunately, I didn't take any notes. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Has anyone got a cheat sheet for forking OSM at all?
I've seen schema and such on the wiki, but nothing putting it all together like some of the mapnik/mod_tile/etc tutorials. If nothing exists I'll start documenting it as I go... ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Has anyone got a cheat sheet for forking OSM at all?
On Tue, 20 Jul 2010, John Smith wrote: I've seen schema and such on the wiki, but nothing putting it all together like some of the mapnik/mod_tile/etc tutorials. If nothing exists I'll start documenting it as I go... I wrote a complete read/write API in C. http://wiki.openstreetmap.org/wiki/Cherokee/MonetDB_Handler_OSM Currently working on getting it 'more' compatible with 0.6, but the implementation is fully 0.5 compatible and includes XAPI. Because I'm mentoring Mitja that is trying to create a 'better' XAPI I'll do some efforts to get this 'old code' to work with the newer editors. The code what you see is basically a drop in placement for the Cherokee Webserver. Such as mod_tile is for apache. Stefan ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Has anyone got a cheat sheet for forking OSM at all?
On 20/07/10 10:32, John Smith wrote: I've seen schema and such on the wiki, but nothing putting it all together like some of the mapnik/mod_tile/etc tutorials. If nothing exists I'll start documenting it as I go... http://wiki.openstreetmap.org/wiki/Mapnik http://wiki.openstreetmap.org/wiki/Rails_port Those two cover most of it. -- Chris Jones, SUCS Admin http://sucs.org ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Has anyone got a cheat sheet for forking OSM at all?
On 20 July 2010 19:41, Chris Jones roller...@sucs.org wrote: http://wiki.openstreetmap.org/wiki/Rails_port Thanks for that, I just started looking into the rails stuff on the github, but this will save me some time... ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Has anyone got a cheat sheet for forking OSM at all?
JohnSmitty wrote: I've seen schema and such on the wiki, but nothing putting it all together like some of the mapnik/mod_tile/etc tutorials. If nothing exists I'll start documenting it as I go... If there's anything I can do to help (particularly wrt Potlatch) let me know. cheers Richard -- View this message in context: http://gis.638310.n2.nabble.com/Has-anyone-got-a-cheat-sheet-for-forking-OSM-at-all-tp5315907p5315942.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] Has anyone got a cheat sheet for forking OSM at all?
On 20 July 2010 19:47, Richard Fairhurst rich...@systemed.net wrote: If there's anything I can do to help (particularly wrt Potlatch) let me know. I didn't see anything on the rail port wiki page specifically about potlatch, does it need anything special? ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Has anyone got a cheat sheet for forking OSM at all?
On 20 July 2010 19:47, Richard Fairhurst rich...@systemed.net wrote: If there's anything I can do to help (particularly wrt Potlatch) let me know. Also the debian rails page seems to be out of date, it still references SVN + MySQL... http://wiki.openstreetmap.org/wiki/Rails_on_Debian ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Has anyone got a cheat sheet for forking OSM at all?
JohnSmitty wrote: I didn't see anything on the rail port wiki page specifically about potlatch, does it need anything special? Depends entirely what you want to do. If you just want to rehost the exact same OSM code somewhere else, as people do with their own rails_port installs, then no, you don't need to know anything else. If, say, you want to change Potlatch's Welcome to OpenStreetMap message to something else, you'll need to know where the config files are. If you want it to behave differently in any way, you'll need to know how to change and recompile. And so on. cheers Richard -- View this message in context: http://gis.638310.n2.nabble.com/Has-anyone-got-a-cheat-sheet-for-forking-OSM-at-all-tp5315907p5315975.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] Has anyone got a cheat sheet for forking OSM at all?
On 20 July 2010 20:01, Richard Fairhurst rich...@systemed.net wrote: to change Potlatch's Welcome to OpenStreetMap message to something else, you'll need to know where the config files are. If you want it to behave I'm guessing that would be useful to document on the wiki under the rails port so people don't confuse websites. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Has anyone got a cheat sheet for forking OSM at all?
I'm up to trying to import data, I'm using a region extract rather than the entire planet database but I'm hitting the following error: org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to insert user with id -1 into the database. Is this because the user table isn't populated? If so is there an easy way to populate the user table based on information from an osm file? As per instructions on the rails port wiki page I ran the increment queries and then tried to run this command: osmosis --read-xml-0.6 file=planet.osm.bz2 --write-apidb-0.6 populateCurrentTables=yes host=localhost database=openstreetmap user=openstreetmap password=openstreetmap validateSchemaVersion=no ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev