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
Solved

Google maps Issues

Posted on 2013-01-07
5
349 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
  • 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

The technique is by far very Simple! How we can export the ColdFusion query results to DOC file?  Well before writing this I researched a lot in Internet but did not found a good Answer anyways!  So i thought now i should share my small snippet w…
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 …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 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