Announcement

Collapse
No announcement yet.

Google POI Search

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Google POI Search

    Google POI Search Mod - Search tool for Google Points of Interest based on current location.

    This is an update on an existing mod. I simply rewrote sections to make it work with the new layout of Google search pages. This mod IS NOT 100% complete, but the main functionality does work. I would rather release something 80-90% done than not at all... Version 2.0 will use Yahoo Live search or Google XML feeds instead of a parsed html file.

    Version 1.99a
    • Fixed the 2 and 3 digit values for Longitude so they now apply correctly.
    • Fixed the names so if the search keyword is in the title of the result it removes the extra characters around it.
    • Disabled the "Previous" and "More" results buttons since the mod will only pull 10 results in total.

    Version 1.99
    • Updated code and rewrote several sections to read the search page properly
    • Tested on 1.1.6 however this should still work on earlier versions as before. The primary reason the first version failed was due to an update in the source.
    Known Bugs w/1.99
    • The icons are not downloading properly on new search terms however the main functionality of the app is working properly
    • When searching on generic terms such as "Pizza" the titles of the results have extra characters around them. Easily fixable...but haven't done it yet.
    • If your Longitude is less than 100 it breaks...
    • Only 10 results are returned. The list on page 1 has room for 6 values, if you click "More Results" it shifts the results up so page 2 shows 5-10. Page 1 shows 1-6. Until this is rewritten to use XML only 10 results will ever be returned.
    Version 1.0
    • Initial Release.
    Attached Files
    My old Worklog

  • #2
    lol, I've spent the past few hours combing through old posts researching the status of importing new POI (among other SD & G4 related issues) only to find this! (thanks daniel) Can't wait to make POI usable again
    _______________________________________________
    All installed, and ready for visitors. Infill G4 in a 2007 Saturn VUE

    Comment


    • #3
      Originally posted by danielkh
      Your timing really is, interesting. We've spent the last few days discussing changes to current digital mods and you ask right before it's release. Surprised meth68 isn't here waiting too. lol
      Yeah, well after needing to quickly find a place to grab dinner last night during a narrow window of time and getting NO help from my outdated POI (on top of visiting the OBX and running into countless dead ends last month) I figured today that I had to do something. And the preferred "something" would be to update the SD POI database.
      _______________________________________________
      All installed, and ready for visitors. Infill G4 in a 2007 Saturn VUE

      Comment


      • #4
        froalskiner IheartYOU

        Dan I would have been in here first but I finally had to go watch Dark Night...(heath ledger was freaking amazing in it btw!)

        Because of this digimod (can we get a working link by 7am est PLEASE!!) I am taking betsy to work, I normally take my truck for weekdays but no way I can pass trying this out (hopefully it works on 1.1.0.0 because I was to lazy to update lol)

        Comment


        • #5
          Originally posted by danielkh
          2 issues.....

          1. The 3 digit problem you already know about. POI's download fine, but when I try to navigate, it fails to find the location because of the 3 digit.
          2. Only the first 10 poi's download. When you hit more results, it says it's attempting, but after like 20 seconds, it is still waiting. I'm on high speed in the driveway, so it shoudn't take that long.

          Other than that? Works GREAT! Excellent work.
          The number of results return have to do with the results page that is returned by google. Google only shows 10 results per page so to get more than 10, it would have to parse and download muyltiple pages. When I flip this over to XML I'll be able to grab more than 10 results.
          My old Worklog

          Comment


          • #6
            Perfect! shows mileage, routes, everything. Touch it and we find where you live and kick your dog.

            you need a paypal button now. I know that was a lot of work. Well done!!!
            My opinion is my own.

            Comment


            • #7
              Awesome! Thanks...I appreciate it...
              My old Worklog

              Comment


              • #8
                I gave it a quick shot, and it found local businesses but whenever i clicked on any i received an error like can not read from database with a bunch of numbers. tomorrow i could reply with more details.

                Comment


                • #9
                  I made an update to it this morning to fix a bug that I found with the Longitude values. Grab the new one and test it out again.
                  My old Worklog

                  Comment


                  • #10
                    Retried with the new updated version and works

                    Is there a way to download all of the POI's somehow to use while offline? I do not have constant internet with my carpc.

                    Comment


                    • #11
                      Originally posted by meth68 View Post
                      Retried with the new updated version and works

                      Is there a way to download all of the POI's somehow to use while offline? I do not have constant internet with my carpc.
                      There's just no making you happy!

                      Would you say it works as advertised in your Streetdeck? No slowing down or crashing?

                      You know, if you hook up a wireless adapter, you can get close to probably 50% of all hotels and get free internet.
                      My opinion is my own.

                      Comment


                      • #12
                        I didn't have enough time to mess with it again and I didnt click on any of the results to add to navi. But from clicking POI > Pizza > The results were quick and accurate, i clicked on a local spot and it showed up 1.2 miles away and all that good stuff. So it seems it works fine, hopefully I can mess with it more tomorrow.

                        I know about the free inet thing and I use it but more often then not in my area there is no connections as I am driving so the POI's are kind of pointless at that point. So I take it there is no way of saving your results for offline use?

                        Comment


                        • #13
                          Originally posted by meth68 View Post
                          I didn't have enough time to mess with it again and I didnt click on any of the results to add to navi. But from clicking POI > Pizza > The results were quick and accurate, i clicked on a local spot and it showed up 1.2 miles away and all that good stuff. So it seems it works fine, hopefully I can mess with it more tomorrow.

                          I know about the free inet thing and I use it but more often then not in my area there is no connections as I am driving so the POI's are kind of pointless at that point. So I take it there is no way of saving your results for offline use?
                          You're asking the wrong person. Froalskiner would have to answer that. I just wanted to give you a hard time.
                          My opinion is my own.

                          Comment


                          • #14
                            Thanks for that

                            Comment


                            • #15
                              Well, short answer no... This is the way it works essentially...

                              1. Enter in a search term
                              2. Mod does a search on Google for search term near current coordinates
                              3. Results are pulled down and saved to a html file
                              4. mod scans through saved html file and pulls the individual fields out of each result
                              5. mod puts each result into an item in the list and assigns the Name and coordinates

                              Each time you put in a new search term it overwrites the downloaded file.

                              In the next version I'll use an xml feed...or other local source to store the results to make it work when not connected to the network.

                              For now it's an online only mod.
                              My old Worklog

                              Comment

                              Working...
                              X