[Openstreetmap-dev] CSV transport encoding scheme

Thomas Walraet thomas at walraet.com
Tue Jan 24 16:39:57 GMT 2006

I think it's better to use tabulation instead of coma as separation 
character. So we can use coma in properties values without escaping, and 
coma can be use as separator for element list.

Next, it's a bad idea to have a variable number of arguments in the 
middle of a line (segments list for streets in your example). The parser 
don't have to guess when to change reading segment ids and start to read 
properties. We can keep the system for properties at the end of lines.

Immanuel Scholz a écrit :
> Example:
> 0.3, "created on Friday, 13th", JOSM V1.1
> node,1234,51.2232,11.4232,0
> node,1235,51.2121,10.9996,2,oneway,,name,"Baker Street Corner"
> segment, 1236, 1234, 1235, 1, name, Baker Street

0.3	"created on Friday, 13th"	JOSM V1.1
node	1234	51.2232,11.4232
node	1235	51.2121,10.9996	oneway	name:Baker Street Corner
segment	1236	1234,1235	name:Baker Street
street  2345	1236,1237,1238	arg2	arg3:value3	arg4:value4

More information about the dev mailing list