Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    [Dev] Feathercoin Open Merchant Map

    Technical Development
    8
    34
    12078
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wrapper
      wrapper Moderators last edited by wrapper

      adyoht.jpg

      FeathercoinMap

      I have been requested by Uncle Muddy to put up a map to show the merchants accepting Feathercoin… and today I feel in the mood for writing a post to introduce you my (small) work. So, here we are, let me introduce you all FeathercoinMap!

      Source: https://github.com/v…/feathercoinmap

      This project is a fork of the popular CoinMap.org designed to only show merchants accepting FTC as a payment. The source is there to be downladed and tweaked! Especially the sloppy graphics… :o

      Temporary address: http://voingiappone…feathercoinmap/

      I put the code (albeit a static version) on my free web hosting account. It is a subdomain but it is just a temporary host waiting for UM or Bushstar to be ready for integrating that in the main Feathercoin network.

      Adding your venue: As for the time being, except for my two “test locations” only other two places are present in the map. Adding your venue is trivial. Just create an account on OpenStreetMap and start to edit! Just be sure to add the tag**payment:feathercoin=yes** to the venue you create and it will be automatically added to the map upon the next update.

      Right now there is no automated map updating as the process needs to be done either manually or by scheduled runs of the updater script but let’s fill this up before it goes “official”!!! I’ll keep it up-to-date. I swear!

      So, what do you think about the map? Let me know in the comments.

      VISIT - FeathercoinMap

      http://95.85.57.10:1…feathercoinmap/

      Thanks to Voingiappone, he has prototyped and completed a fork of the Open Merchant Map at coinmap for Feathercoin. All as a side issue to the Feathercoin, Merchant adoption thread.

      This is a very good project that has got hidden I’ll PM Ruthie for Publicity.

      This [Dev] thread, in technical development - is for any further updates or questions and make the work more available.

      Well done from me, anyway. wrapper

      **Voingiappone - Thanks for the hard work you’ve put into this ** :)

      https://github.com/voingiappone/feathercoinmap

      FeatherCoinMap is on Github! Clone it on a webserver an let me know if you like it!

      I’ll further edit the Readme file to serve as a small how-to with the instructions for updating the database (a simple task that was driving me crazy at the beginning due to lack of information).

      Couple of notes:

      • removed the multi-language support. English is enough and my language skills will only suffice for Italian, Spanish and Japanese (well, for Spanish we also have Xonar ;) )

      • maybe a glitch but sometimes the info-box at the bottom refuses to close. Don’t know why.

      • The shadow icon (the “pin” on the map) and the background are original desingns (svg files inculded). FTC logo is the official.

      • I’ve inserted a couple of dummy places on the map (guess where they are?!?). Will remove them when the testing is over. I was however very surprised to find TWO other venues with the tag properly set before we even start talking about this project. Forum members?

      Well, that’s all… for now!

      Comments please!

      Oh! A screensot!

      10con69.jpg

      1 Reply Last reply Reply Quote 0
      • wrapper
        wrapper Moderators last edited by

        Re:

        I notice you need to run a script occasionally to update the database from central registration.

        From Github readme/.

        Once the environment execute the database update script:

        cd MY_INSTALL_DIR/data
        ./refresh.py
        

        This will create the proper files to display the icons on the map. Each OSM map update will take 3 to 5 minutes to be available on the map. The refresh.py script can be executed by a properly set-up cron job to have an always up-to-date map.


        I’m just getting into scripting and cron jobs. Nice to have a set of instructions for the none initiated. Possibly a preprepared script could be a good update to make it easier to run.

        1 Reply Last reply Reply Quote 0
        • V
          voingiappone Regular Member last edited by

          wrapper, thanx for pushing my small project. Really appreciated ;)

          I actually created the DEV post some time ago… but it lost interest

          You can find it here:

          https://forum.feathercoin.com/index.php?/topic/7359-dev-let-me-introduce-you-feathercoinmap/

          it wasn’t pinned and so it got lost a little bit down there.

          As for the time being I have a couple things on the todo list:

          • updating the icons. The stock ones are simply ugly. Probably I’m going to need the help of iawgoM here…
          • creating a static page with a thorough how-to on how to update the OSM map and how to setup a working instance of the dynamic map. As you said, that involves the use of cron scheduling or (at least) an init script to have the deamon running. I will try to put pictures to make it user friendly.

          This is my las week to write the PhD thesis which I have to finish before friday. After that I will have WAAAY more time to devote to this and I will (hopefully) finalize the project.

          Now that we have two threads, what do we do? Should we merge them?

          1 Reply Last reply Reply Quote 0
          • xonar
            xonar Regular Member last edited by

            This is my last week to write the PhD thesis which I have to finish before Friday.

            Madooooo… I’m praying for you BRO, good luck

            Anyway, FTCMap is a very important project…

            Newbies: http://forum.feathercoin.com/topic/8523/faq-newbie-most-asked-questions-try-here-first

            1 Reply Last reply Reply Quote 0
            • V
              voingiappone Regular Member last edited by

              Madooooo… I’m praying for you BRO, good luck

              Anyway, FTCMap is a very important project…

              Thx mate!

              And yes… this is a very important project. I MUST get into it as soon as I can. Just on more week! Plus the “brain decompression” that will follow.

              1 Reply Last reply Reply Quote 0
              • kris_davison
                kris_davison last edited by

                Good luck. :)

                1 Reply Last reply Reply Quote 0
                • lizhi
                  lizhi last edited by

                  Nice , **FTCMap is a very important project. **I hope it can launch and run as officially web service. Google Map can not use in china.

                  1 Reply Last reply Reply Quote 0
                  • wrapper
                    wrapper Moderators last edited by

                    Merge the threads, I’ll pin this one as well, if it goes down the list again.

                    I didn’t notice the other thread, and there are a lot of pined projects at the moment.

                    Some projects have just not got any priority or other things are happening, it is part of moderating [Dev] to keep boosting a bit of interest. Especially something that is basically operational, that members could help improve or deploy. Or everyone is busy in software releases or other projects.

                    1 Reply Last reply Reply Quote 0
                    • U
                      uncle_muddy administrators last edited by

                      Right I’m going to get this of the ground this week, and get the site up and running with some of the other merchant adoption I have been working on. I need a couple of simple wins to bring back my motivation.

                      So to start with voingiappone can you send me an address please would like to get you a beer for your efforts.

                      UM

                      1 Reply Last reply Reply Quote 0
                      • wrapper
                        wrapper Moderators last edited by

                        Uncle Muddy, I know how you feel. There is so much going on and too much to do. It will be more sustainable to gradually move along and not burn ourselves out trying to do everything at once.

                        This open source is a different concept, in business you can delegate responsibility. Here we need lots of small pushes in the right direction, which doesn’t give the same motivation as when you are doing big things.

                        1 Reply Last reply Reply Quote 0
                        • lizhi
                          lizhi last edited by

                          When do launch it ?

                          1 Reply Last reply Reply Quote 0
                          • U
                            uncle_muddy administrators last edited by

                            Work has begun today ;)

                            1 Reply Last reply Reply Quote 0
                            • V
                              voingiappone Regular Member last edited by

                              Work has begun today ;)

                              Good news then!

                              As we move towards the implementation, can somebody with the super-powers combine the two existing threads? I mean, is it feasible to merge this thread at the bottom of this one? It would be nice to have it pinned to…

                              BTW I’ve made a couple of additions:

                              • ultra user friendly howto for the venue addition

                              • minor restyling to get rid of that big panel on the bottom left.

                              Already pushed the commits to Github.

                              1 Reply Last reply Reply Quote 0
                              • wrapper
                                wrapper Moderators last edited by

                                I’ll pin this thread, sorry about mixing it up. I’ll update my test version as well later.

                                1 Reply Last reply Reply Quote 0
                                • M
                                  mirrax last edited by

                                  Damm I quite don’t understand the difference between feathercoin map and feathercoin open merchant map…

                                  it is just update of previous project or completely separate one?

                                  1 Reply Last reply Reply Quote 0
                                  • wrapper
                                    wrapper Moderators last edited by

                                    Do you mean the Feathercoin Map?. This is separate project to that.

                                    https://mapsengine.google.com/map/edit?mid=zuZ9_Jqsx3-k.ktQvawTB0nVM

                                    That map is Google related, whereas this Map is open source. This is also meant just to find Merchants.

                                    Otherwise, Its my fault for any confusion on threads [Dev], (I set up an online instance.). I copied over the info from the other thread here and pinned this one.

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      mirrax last edited by

                                      Do you mean the Feathercoin Map?. This is separate project to that.

                                      https://mapsengine.google.com/map/edit?mid=zuZ9_Jqsx3-k.ktQvawTB0nVM

                                      That map is Google related, whereas this Map is open source. This is also meant just to find Merchants.

                                      Otherwise, Its my fault for any confusion on threads [Dev], (I set up an online instance.). I copied over the info from the other thread here and pinned this one.

                                      Clear now, thank you.

                                      I want to mention it in Newsletter #35 as this is another project of new team member…

                                      1 Reply Last reply Reply Quote 0
                                      • V
                                        voingiappone Regular Member last edited by

                                        Damm I quite don’t understand the difference between feathercoin map and feathercoin open merchant map…

                                        it is just update of previous project or completely separate one?

                                        Probably my ignorance about the “other” FeathercoinMap was another culprit! It lead me to carelessly duplicate the name of an already existing project. Sorry guys.

                                        Anyway, we could still “join” the two projects. With the modularity of the new code and the endless tagging capabilities of OSM it will (should) be easy stuff. There’s also Lizhi always complaining that GoogleMaps cannot be used in China so, in the end, it could be something we’ll have to think about seriously. The question is “who’s goin’ to port all that stuff??!” ;D

                                        1 Reply Last reply Reply Quote 0
                                        • wrapper
                                          wrapper Moderators last edited by

                                          Hi voingiappone, I’ve updated with my instance of Feathercoinmap with git pull and recompiled. There are 7 merchants on it now and I went through your tutorial, which also seemed to work OK for me.

                                          I thought I only had 6 merchants on before, so I checked my chron job to refresh the list - which looks fine. I haven’t tested your help on the chron job yet, tho’. Bit busy, so just I’ll have to see if it finds the next Merchant, OK.

                                          1 Reply Last reply Reply Quote 0
                                          • U
                                            uncle_muddy administrators last edited by

                                            Unfortunately work has stopped again on this :(

                                            There are now 7 merchants as I added the Oxford Blue to it the other day when I was testing the implementation I was planning to use for the production site…

                                            My plan for this was to have it for bricks and mortar merchants, where you could go and spend your coins, the other map was to stay on the forum for members to be able to see others in their location etc…

                                            I’ll try and get pen to paper with my plans over the weekend so everyone can see where I was planning on going, but RL is being a real pain in the backside at the moment :(

                                            UM

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post