I am not subscribed to "imports", please CC me directly.

I now have the software and the data to do a complete import of every global 
Tesla Supercharger station.

My software is capable of recurring up-to-datenings based on a new tag: 
"tesla:ref" which is based on the name Tesla uses in their Javascript on this 
page: http://www.teslamotors.com/en_GB/findus . In the page source, search for 
"nid" and it's the big long JSON dump. I parse that and merge it with an OSM 
file I extract with Overpass Turbo.

I have already taken the liberty of manually identifying the tesla:ref for 
nodes in North America and the UK. I have missed a few, though, such as 
Node 3225936795 because it doesn't have an operator tag which is how I've been 
searching for the nodes so far.

Right now, if a tag doesn't match with what Tesla publishes on their web site, 
I overwrite OSM's.

I have not yet asked Tesla Motors for their permission, I have a hard time 
believing it'd be refused.

This is what the imported node looks like when there's nothing in OSM already:

        <node version='1' id='-61' lat='36.2541430000' lon='-120.2379200000'>
                <tag k='amenity' v='charging_station' />
                <tag k='operator' v='Tesla Motors Inc.' />
                <tag k='capacity' v='6' />
                <tag k='socket:tesla_supercharger' v='6' />
                <tag k='name' v='Tesla Supercharger Harris Ranch' />
                <tag k='addr:city' v='Coalinga' />
                <tag k='tesla:ref' v='harrisranchsupercharger' />
                <tag k='opening_hours' v='24/7' />
        </node>

This is what the imported node looks like when merged with a present node:

        <node version='5' id='2327799782' lat='37.0244500000' 
lon='-121.5653500000'>
                <tag k='website' 
v='http://www.teslamotors.com/supercharger/Gilroy' />
                <tag k='operator' v='Tesla Motors Inc.' />
                <tag k='tesla:ref' v='gilroysupercharger' />
                <tag k='opening_hours' v='24/7' />
                <tag k='name' v='Tesla Supercharger Gilroy' />
                <tag k='car' v='yes' />
                <tag k='bicycle' v='no' />
                <tag k='amenity' v='charging_station' />
                <tag k='capacity' v='10' />
                <tag k='addr:state' v='CA' />
                <tag k='addr:postcode' v='95020' />
                <tag k='addr:housenumber' v='681' />
                <tag k='addr:city' v='Gilroy' />
                <tag k='socket:tesla_supercharger' v='10' />
                <tag k='addr:street' v='Leavesley Road' />
                <tag k='access' v='customers' />
        </node>

I am not subscribed to "imports", please CC me directly.

Charles
Santa Cruz County, CA, USA

_______________________________________________
Talk-us mailing list
Talk-us@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-us

Reply via email to