Solved

Google maps Issues

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

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

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

PROBLEM: How to add your own buttons to the bottom toolbar with paging info ( result count ). While creating a cfgrid, I ran into an issue where I wanted to embed my own custom buttons where the default ones ( insert / delete / etc… ) are for aes…
Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

688 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