Load vehicle charging stations and their associated sockets #1933
iboates
started this conversation in
Flex Recipes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This flex recipe loads points with
amenity=charging_station
into a table calledcharging_station
, and loads any associated information about their sockets into another table calledsocket
. The tables can be joined vianode_id
It came from the OSM hackathon on 26.02.2023 at Geofabrik.
Sorry, but the Lua script uses the older
add_row
commands instead ofinsert()
, because my version of osm2pgsql is currently out of date.It works best if you pre-filter the .pbf file with osmium:
Beta Was this translation helpful? Give feedback.
All reactions