Re: [OSM-dev] Synchronizing Charge Station Data
On 14/02/2019 14:42, Wolfgang Fahl wrote: Indeed I intend to create my own website with a database that "synchronizes" with other sites. So the bulk operations will be limited to initially filling the database and synchronize changes that might arise e.g. from checking records against user databases. For the edit operations i intend to link directly to the source of the data so if someone needs to modify info on a charging station he can do so directly e.g. in openchargemap or openstreetmap. Right, but you shouldn't do the initial population using the API but rather you should start from a planet dump and then use the replication feed for changes. When it comes to feeding back a change the API is of course the right thing to use - note that we prefer edits to be made under the account of the person making the change rather then batching them altogether under one account. Tom -- Tom Hughes (t...@compton.nu) http://compton.nu/ ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Synchronizing Charge Station Data
Tom Hughes wrote: Am 14.02.19 um 15:37 schrieb Tom Hughes: > On 14/02/2019 11:41, Wolfgang Fahl wrote: > >> For the "where" part I need access to a list of vehicle charging >> stations. I tried the following options: > > ... > >> For integration openstreetmap I'd need some input and advice. >> >> Currently I am looking for a java library to be useable and I found: >> >> https://github.com/westnordost/osmapi >> >> as well as >> >> https://github.com/osmapi/osmapi-java >> >> The second library seems to be much simpler but not as well maintained. >> I have already forked it and would like to know whether it >> makes sense to base my efforts on that library. > > I'm not sure what you mean by "integration" exactly but please > don't try and use the openstreetmap.org API to fetch lists of > charging points in real time - that is most definitely not an > appropriate use. > > The API is for editing and consumers of the data should either > maintain their own database updated using the replication feeds > or use a query orientated service like overpass. Indeed I intend to create my own website with a database that "synchronizes" with other sites. So the bulk operations will be limited to initially filling the database and synchronize changes that might arise e.g. from checking records against user databases. For the edit operations i intend to link directly to the source of the data so if someone needs to modify info on a charging station he can do so directly e.g. in openchargemap or openstreetmap. I just wonder if cross checking has ever been attempted? At https://help.openstreetmap.org/tags/charging_station/ is see only seven questions from the last two years so far while the amenity charging_station tag seems to be some 7 years old. Wolfgang > Tom > -- BITPlan - smart solutions Wolfgang Fahl Pater-Delp-Str. 1, D-47877 Willich Schiefbahn Tel. +49 2154 811-480, Fax +49 2154 811-481 Web: http://www.bitplan.de BITPlan GmbH, Willich - HRB 6820 Krefeld, Steuer-Nr.: 10258040548, Geschäftsführer: Wolfgang Fahl ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Synchronizing Charge Station Data
On 14/02/2019 11:41, Wolfgang Fahl wrote: For the "where" part I need access to a list of vehicle charging stations. I tried the following options: ... For integration openstreetmap I'd need some input and advice. Currently I am looking for a java library to be useable and I found: https://github.com/westnordost/osmapi as well as https://github.com/osmapi/osmapi-java The second library seems to be much simpler but not as well maintained. I have already forked it and would like to know whether it makes sense to base my efforts on that library. I'm not sure what you mean by "integration" exactly but please don't try and use the openstreetmap.org API to fetch lists of charging points in real time - that is most definitely not an appropriate use. The API is for editing and consumers of the data should either maintain their own database updated using the replication feeds or use a query orientated service like overpass. Tom -- Tom Hughes (t...@compton.nu) http://compton.nu/ ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Synchronizing Charge Station Data
Hi Wolfgang, concerning Java integration, you can also have a look at osm4j[1]. It's a library I maintain for processing OSM data in Java. Here's a tutorial[2]. You can use it to retrieve and process data from various sources and file formats, including Overpass API, which might be the most useful thing for retrieving data for you. If you want to create the Overpass queries using Java as well you might want to integrate it with overpasser[3]. Best, Sebastian [1] https://wiki.openstreetmap.org/wiki/Osm4j [2] https://jaryard.com/projects/osm4j/tutorial/index.html [3] https://github.com/zsoltk/overpasser On Thu, 14 Feb 2019 12:41:09 +0100 Wolfgang Fahl wrote: > Dear openstreetmap developers, > > a few days ago I started making a software project open source that I > created about a year ago. > > The goal is to be able to track the charging of electrical vehicles > with info like > > - where > > - when > > - with how much energy > > the EV was charged. > > For the "where" part I need access to a list of vehicle charging > stations. I tried the following options: > > - wikidata > > - openchargemap > > - openstreetmap > > https://wiki.openstreetmap.org/wiki/Talk:Tag:amenity=charging_station > > - Bundesnetzagentur (germany) only > > You'll find the current state of affairs described at > http://wiki.bitplan.com/index.php/EVChargeLog > > For integration openstreetmap I'd need some input and advice. > > Currently I am looking for a java library to be useable and I found: > > https://github.com/westnordost/osmapi > > as well as > > https://github.com/osmapi/osmapi-java > > The second library seems to be much simpler but not as well > maintained. I have already forked it and would like to know whether it > makes sense to base my efforts on that library. > > Also I would like to know how much "synchronization" has been going on > in the past between openstreetmap/openchargemap. > > With the current state of affairs i could help "bulk-importing" or > "bulk-synchronizing" since I integrated with my SimpleGraph OpenSource > project which makes such API synchronizations much simpler - see > http://www.bitplan.com/index.php/SimpleGraph#Module_Hub_and_Spoke. > > I am looking forward for your feedback. > > > Cheers > > Wolfgang > ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Synchronizing Charge Station Data
... that is westnordost/osmapi. Nick From: Nick Whitelegg Sent: 14 February 2019 14:05:06 To: Wolfgang Fahl; dev@openstreetmap.org Subject: Re: [OSM-dev] Synchronizing Charge Station Data Hello Wolfgang, I can tell you osmapi is very good - I've used it in my own editing project. Let me know if you need any help with it. Nick From: Wolfgang Fahl Sent: 14 February 2019 11:41:09 To: dev@openstreetmap.org Subject: [OSM-dev] Synchronizing Charge Station Data Dear openstreetmap developers, a few days ago I started making a software project open source that I created about a year ago. The goal is to be able to track the charging of electrical vehicles with info like - where - when - with how much energy the EV was charged. For the "where" part I need access to a list of vehicle charging stations. I tried the following options: - wikidata - openchargemap - openstreetmap https://wiki.openstreetmap.org/wiki/Talk:Tag:amenity=charging_station - Bundesnetzagentur (germany) only You'll find the current state of affairs described at http://wiki.bitplan.com/index.php/EVChargeLog For integration openstreetmap I'd need some input and advice. Currently I am looking for a java library to be useable and I found: https://github.com/westnordost/osmapi as well as https://github.com/osmapi/osmapi-java The second library seems to be much simpler but not as well maintained. I have already forked it and would like to know whether it makes sense to base my efforts on that library. Also I would like to know how much "synchronization" has been going on in the past between openstreetmap/openchargemap. With the current state of affairs i could help "bulk-importing" or "bulk-synchronizing" since I integrated with my SimpleGraph OpenSource project which makes such API synchronizations much simpler - see http://www.bitplan.com/index.php/SimpleGraph#Module_Hub_and_Spoke. I am looking forward for your feedback. Cheers Wolfgang -- BITPlan - smart solutions Wolfgang Fahl Pater-Delp-Str. 1, D-47877 Willich Schiefbahn Tel. +49 2154 811-480, Fax +49 2154 811-481 Web: http://www.bitplan.de BITPlan GmbH, Willich - HRB 6820 Krefeld, Steuer-Nr.: 10258040548, Geschäftsführer: Wolfgang Fahl ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Synchronizing Charge Station Data
Hello Wolfgang, I can tell you osmapi is very good - I've used it in my own editing project. Let me know if you need any help with it. Nick From: Wolfgang Fahl Sent: 14 February 2019 11:41:09 To: dev@openstreetmap.org Subject: [OSM-dev] Synchronizing Charge Station Data Dear openstreetmap developers, a few days ago I started making a software project open source that I created about a year ago. The goal is to be able to track the charging of electrical vehicles with info like - where - when - with how much energy the EV was charged. For the "where" part I need access to a list of vehicle charging stations. I tried the following options: - wikidata - openchargemap - openstreetmap https://wiki.openstreetmap.org/wiki/Talk:Tag:amenity=charging_station - Bundesnetzagentur (germany) only You'll find the current state of affairs described at http://wiki.bitplan.com/index.php/EVChargeLog For integration openstreetmap I'd need some input and advice. Currently I am looking for a java library to be useable and I found: https://github.com/westnordost/osmapi as well as https://github.com/osmapi/osmapi-java The second library seems to be much simpler but not as well maintained. I have already forked it and would like to know whether it makes sense to base my efforts on that library. Also I would like to know how much "synchronization" has been going on in the past between openstreetmap/openchargemap. With the current state of affairs i could help "bulk-importing" or "bulk-synchronizing" since I integrated with my SimpleGraph OpenSource project which makes such API synchronizations much simpler - see http://www.bitplan.com/index.php/SimpleGraph#Module_Hub_and_Spoke. I am looking forward for your feedback. Cheers Wolfgang -- BITPlan - smart solutions Wolfgang Fahl Pater-Delp-Str. 1, D-47877 Willich Schiefbahn Tel. +49 2154 811-480, Fax +49 2154 811-481 Web: http://www.bitplan.de BITPlan GmbH, Willich - HRB 6820 Krefeld, Steuer-Nr.: 10258040548, Geschäftsführer: Wolfgang Fahl ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Synchronizing Charge Station Data
Dear openstreetmap developers, a few days ago I started making a software project open source that I created about a year ago. The goal is to be able to track the charging of electrical vehicles with info like - where - when - with how much energy the EV was charged. For the "where" part I need access to a list of vehicle charging stations. I tried the following options: - wikidata - openchargemap - openstreetmap https://wiki.openstreetmap.org/wiki/Talk:Tag:amenity=charging_station - Bundesnetzagentur (germany) only You'll find the current state of affairs described at http://wiki.bitplan.com/index.php/EVChargeLog For integration openstreetmap I'd need some input and advice. Currently I am looking for a java library to be useable and I found: https://github.com/westnordost/osmapi as well as https://github.com/osmapi/osmapi-java The second library seems to be much simpler but not as well maintained. I have already forked it and would like to know whether it makes sense to base my efforts on that library. Also I would like to know how much "synchronization" has been going on in the past between openstreetmap/openchargemap. With the current state of affairs i could help "bulk-importing" or "bulk-synchronizing" since I integrated with my SimpleGraph OpenSource project which makes such API synchronizations much simpler - see http://www.bitplan.com/index.php/SimpleGraph#Module_Hub_and_Spoke. I am looking forward for your feedback. Cheers Wolfgang -- BITPlan - smart solutions Wolfgang Fahl Pater-Delp-Str. 1, D-47877 Willich Schiefbahn Tel. +49 2154 811-480, Fax +49 2154 811-481 Web: http://www.bitplan.de BITPlan GmbH, Willich - HRB 6820 Krefeld, Steuer-Nr.: 10258040548, Geschäftsführer: Wolfgang Fahl ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev