I need to get the lat lon for a specific postal code.
What I do now is get the nearby postalcode for the specific postal code and get then get their lat/lon values.
In Java:
Code:
PostalCodeSearchCriteria postalCodeSearchCriteria = new PostalCodeSearchCriteria();
postalCodeSearchCriteria.setPostalCode(postcode);
java.util.List<PostalCode> postalCodes = WebService.findNearbyPostalCodes(postalCodeSearchCriteria);
for(PostalCode p : postalCodes){
if(p.getPostalCode().equals(postcode)){
system.out.println("Match!:" + p.getLatitude() + " " + p.getLongitude());
}
}
There has to be a way to get Lat Lon directly from one specific postalcode!
Thanks in advance!