[OSM-talk] k/v for import of list of gas stations of France?

Marcus Bauer marcus.bauer at gmail.com
Mon Jan 8 22:52:04 GMT 2007


On Mon, 2007-01-08 at 14:04 +0100, Thomas Walraet wrote:

> > <node id='-2' lat='46.20614' lon='5.2967' >
> >         <tag k='amenity' v='fuel' />
> >         <tag k='name' v="Station Elf" />
> >         <tag k='address' v="A 40 - Direction Genève/Mâcon, Aire De Bourg-Jasseron" />
> >         <tag k='postal_code' v='01250' />
> >         <tag k='is_in' v="A-40, France" />
> >         <tag k='created_by' v='stationsgpl_convert.pl'/>
> >         <tag k='info' v="Tel : 04 74 23 55 78 - du lundi au samedi de 8h30 à 20h" />
> > </node>
> 
> I think you should pre-process the data to unify road references.
> 
> I'll ask to the talk-fr list if we should use "A 40" "A-40" or "A40".

Actually most data sets look like this like the following, having the
city instead of the ref in that place (which makes more sense with the
"is_in" keyword):

<node id='-7' lat='46.2842' lon='5.6624' >
        <tag k='amenity' v='fuel' />
        <tag k='name' v="Géant Arbent" />
        <tag k='address' v="rte Dortan" />
        <tag k='postal_code' v='01100' />
        <tag k='is_in' v="ARBENT, France" />
        <tag k='created_by' v='stationsgpl_convert.pl'/>
        <tag k='info' v="Tel : 04 74 81 24 00 - du lundi au samedi de 8h30 à 20h />
</node>


As Richard Fairhurst requested in the other mail a "source" keyword:
maybe Fred can send a mail with the licence and I put a link to the
mailing list archive in it?

Other question: does JOSM eat iso-8859-1? Anybody knows this?

Marcus





More information about the talk mailing list