Re: [OSM-dev] API threw unexpected NoMethodError exception

2013-04-06 Thread Martin Schafran
On Friday 05 April 2013 22:43:45 you wrote: That said, it sounds like this can only happen when the database has been placed in an inconsistent state by importing data - the rails code would never allow such data to be created. this guys in forum also tried to import data partially. how can

Re: [OSM-dev] Osmosis API

2013-04-06 Thread Brett Henderson
Hi Sadeer, On 4 April 2013 18:53, Sadeer Nasser sad...@hotmail.co.uk wrote: Hi guys, I'm trying to use the Osmosis API (the Jar file not the command-line tool) in my Java application but not sure how to get started as there doesn't seem to be enough stuff on the web to help people with

Re: [OSM-dev] API threw unexpected NoMethodError exception

2013-04-06 Thread Shaun McDonald
On 6 Apr 2013, at 11:35, Martin Schafran mar...@ampelmeter.com wrote: On Saturday 06 April 2013 11:28:28 Tom Hughes wrote: Well you almost certainly don't want to use an API database to start with. You want to use a database whose schema is optimised for routing rather than for editing.

Re: [OSM-dev] GPX Planet Dump

2013-04-06 Thread Peter Gervai
On Fri, Apr 5, 2013 at 5:37 PM, Ian Dees ian.d...@gmail.com wrote: - This dump only includes the data inserted into the database (lat, lon, Risking to sound way too negative I have to ask what is the point of creating gpx dumps with the same data content as API queryable data? My original

Re: [OSM-dev] API threw unexpected NoMethodError exception

2013-04-06 Thread Martin Schafran
On Saturday 06 April 2013 13:48:35 Shaun McDonald wrote: Are you sure you wouldn't be better making the edits directly in OSM instead of just locally? I would like to, but I couldn't convince the (german) community to have features like green light optimal speed adivsory (glosa) and red light

Re: [OSM-dev] GPX Planet Dump

2013-04-06 Thread Gregory Williams
-Original Message- From: Peter Gervai [mailto:grin...@gmail.com] Sent: 06 April 2013 13:50 On Fri, Apr 5, 2013 at 5:37 PM, Ian Dees ian.d...@gmail.com wrote: - This dump only includes the data inserted into the database (lat, lon, Risking to sound way too negative I have to

Re: [OSM-dev] GPX Planet Dump

2013-04-06 Thread Tom MacWright
Risking to sound way too negative I have to ask what is the point of creating gpx dumps with the same data content as API queryable data? For the same reason a planet file is published. My use case here is generating a worldwide tile layer of GPX data, and that would not be viable via querying

[OSM-dev] Changeset metadata replication stream not working

2013-04-06 Thread Paweł Paprota
Since April 1st it's not been updated: http://planet.openstreetmap.org/replication/changesets/ Any plans to get it back up and running? ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] API threw unexpected NoMethodError exception

2013-04-06 Thread Martin Schafran
routing is not enough martin ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] API threw unexpected NoMethodError exception

2013-04-06 Thread Peter K
Martin, routing is not enough Why not? I don't see your problem. Do you have an example? how can i import data partially and consistent? Regarding routing: IMO this is possible when you just import the ways in your current boundary (and all of the involved nodes). one junction = one

[OSM-dev] Release process for the tile rendering tool chain?

2013-04-06 Thread Kai Krueger
Hello everyone, In the past the support for OSM software in the various package repositories have not been great. Either the software has not been included at all, or it has been rather out of date, making installing things like OSM tileservers unnecessarily complex. One key complaint I have

Re: [OSM-dev] API threw unexpected NoMethodError exception

2013-04-06 Thread Martin Schafran
On Saturday 06 April 2013 23:55:19 Peter K wrote: Martin, routing is not enough Why not? I don't see your problem. Do you have an example? i need a different routing namely: give me the next traffic signals in my driving direction and a radius of 2 km. this is already implemented. its

Re: [OSM-dev] [Tile-serving] Release process for the tile rendering tool chain?

2013-04-06 Thread Jeffrey Ollie
On Sat, Apr 6, 2013 at 5:31 PM, Kai Krueger kakrue...@gmail.com wrote: Therefore I would suggest the following process: In a period of relatively quite development, after some important / larger features have landed, to dedicate a git snapshot as a potential candidate for a stable release.

[josm-dev] MapCSS: Substitute characters in a text

2013-04-06 Thread Martin Vonwald
Hi! Within a MapCSS style I have to replace some characters in an arbitrary text by others. Example: Roma - Napoli should be changed to Roma -#x3E; Napoli. The text comes from a tag so I don't have any knowledge of its content in advance, but I have to get rid of some characters. Any ideas how

Re: [josm-dev] MapCSS: Substitute characters in a text

2013-04-06 Thread Jo
Recently support for regular expressions was added to the JOSM implementation of MapCSS. http://josm.openstreetmap.de/wiki/Help/Styles/MapCSSImplementation#Evalexpressions Maybe you can accomplish what you need with regexp_match(regexp, string, flags) It will return a list of matching groups,

Re: [josm-dev] MapCSS: Substitute characters in a text

2013-04-06 Thread Martin Vonwald
Hi! I already tried that before asking on this list. But maybe I didn't use it correct, so I hoped that someone here could give me a hint. Martin 2013/4/6 Jo winfi...@gmail.com Recently support for regular expressions was added to the JOSM implementation of MapCSS.

Re: [josm-dev] MapCSS: Substitute characters in a text

2013-04-06 Thread Paul Hartmann
Hi, this should work: *[name=~/-/]{ _match: regexp_match((.*?)-(.*), tag(name)); text: concat(get(prop(_match), 1), -#x3E;, get(prop(_match), 2)); } Paul On 04/06/2013 12:21 PM, Martin Vonwald wrote: Hi! I already tried that before asking on this list. But maybe I didn't use it correct, so

Re: [josm-dev] MapCSS: Substitute characters in a text

2013-04-06 Thread Martin Vonwald
Hi! Thanks, but you missed that part: The text comes from a tag so I don't have any knowledge of its content in advance, but I have to get rid of some characters. The Roma - Napoli was just an example. I don't know how many characters I have to replace. I just need to get rid of all , , [