Solved

Google maps Issues

Posted on 2013-01-07
5
350 Views
Last Modified: 2013-03-16
My Situation is here bit different, I need the following items to be searched in the Google Map:

Address,City,State,Zipcode,County,SubDivision, Lat, Lon

I checked all CFC's of google geocode at riaforge and others but none is providing county and subdivision
0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 36

Expert Comment

by:SidFishes
ID: 38755138
You can get county by parsing the json for administrative_area_level_2

https://developers.google.com/maps/documentation/geocoding/#GeocodingResponses

although I've found this to be not very reliable

There is no returned data for subdivision
0
 
LVL 16

Author Comment

by:Gurpreet Singh Randhawa
ID: 38755804
so is there any CFC which extracts this all and if cfmap can do can you please provide guidance here
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 38760014
"so is there any CFC which extracts this all "

as noted, subdivision isn't something you can get from google.

County you can but you'll probably have to parse the json yourself.  

cfmap won't do it.
0
 
LVL 16

Accepted Solution

by:
Gurpreet Singh Randhawa earned 0 total points
ID: 38762186
Looking at my Old CFC, i do get this Kind of Error in the File. How to Overcome this, any Idea.

Element ADDRESSDETAILS.COUNTRY.ADMINISTRATIVEAREA.SUBADMINISTRATIVEAREA.LOCALITY.THOROUGHFARE.THOROUGHFARENAME.XMLTEXT is undefined in XMLRESULT.

Due to this, i was trying to change the previous code to new cfc, but i am facing too much issues as it ha been used multiple places and donno as it reflects multiple places

Thanks
0
 
LVL 16

Author Closing Comment

by:Gurpreet Singh Randhawa
ID: 38991398
solved by using the condition code to handle the request using google map version 3
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
This is an updated version of a post made on my blog over 3 years ago. It is unfortunately, still very relevant as we continue to see both SQLi (SQL injection) and XSS (cross site scripting) attacks hitting some of the most recognizable website and …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question