cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
%3CLINGO-SUB%20id%3D%22lingo-sub-302525%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EA%20Geo-coding%20function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-302525%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CDIV%20class%3D%22lia-message-template-problem-zone%22%3E%0A%3CH2%20id%3D%22toc-hId-1673274781%22%20id%3D%22toc-hId-1673274785%22%20id%3D%22toc-hId-1673274785%22%3EProblem%3C%2FH2%3E%0A%3CP%3EFind%20geo-codes%20for%20locations%20through%20the%20Service%20from%20MapQuest.%20Encapsulate%20the%20whole%20REST%20API%20functionality%20that%20is%20needed%20to%20get%20the%20location%20information%20from%20MapQuest.%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22lia-message-template-diagnosis-zone%22%3E%0A%3CH2%20id%3D%22toc-hId--878882180%22%20id%3D%22toc-hId--878882176%22%20id%3D%22toc-hId--878882176%22%3ESolution%3C%2FH2%3E%0A%3CP%3EThis%20script%20can%20be%20included%20in%20JSL%20programs%20to%20get%20geo%20codes%20and%20supplemental%20information%20for%20locations.%20It%20is%20invoked%20through%20a%20function%20call%20and%20JSL%20variables%20and%20lists%20are%20needed%20to%20provide%20the%20necessary%20information.%20See%20my%20%3CA%20title%3D%22The%20MapQuest%20call%20for%20geo-coding%22%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2FJMP-blog-authoring%2FA-geocoding-function%2Fba-p%2F284801%22%20target%3D%22_blank%22%3Eblog%20post%3C%2FA%3E%20for%20more%20detailed%20information.%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22lia-message-template-solution-zone%22%3E%0A%3CH2%20id%3D%22toc-hId-863928155%22%20id%3D%22toc-hId-863928159%22%20id%3D%22toc-hId-863928159%22%3ESee%20Also%3C%2FH2%3E%0A%3CP%3E%3CA%20title%3D%22Geocoding%20Blog%22%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2FJMP-blog-authoring%2FA-geocoding-function%2Fba-p%2F284801%22%20target%3D%22_self%22%3EGeocoding%202020%3C%2FA%3E%3C%2FP%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-302525%22%20slang%3D%22en-US%22%3E%3CP%3EGet%20geo-codes%20from%20MapQuest%20without%20the%20need%20to%20care%20about%20details%20of%20the%20interface.%3C%2FP%3E%3C%2FLINGO-TEASER%3E
Choose Language Hide Translation Bar
A Geo-coding function

Problem

Find geo-codes for locations through the Service from MapQuest. Encapsulate the whole REST API functionality that is needed to get the location information from MapQuest.

Solution

This script can be included in JSL programs to get geo codes and supplemental information for locations. It is invoked through a function call and JSL variables and lists are needed to provide the necessary information. See my blog post for more detailed information.

See Also

Geocoding 2020

JSL Cookbook

If you’re looking for a code snippet or design pattern that performs a common task for your JSL project, the JSL Cookbook is for you.

This knowledge base contains building blocks of JSL code that you can use to reduce the amount of coding you have to do yourself.

It's also a great place to learn from the experts how to use JSL in new ways, with best practices.