Changeset 27670


Ignore:
Timestamp:
03/30/23 11:09:37 (2 years ago)
Author:
dlcheng
Message:

CHG: Geocode https update.

Location:
issm/trunk/externalpackages/geocode
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/externalpackages/geocode/geoCode.m

    r25836 r27670  
    1515
    1616% Copyright(c) 2012, Stuart P. Layton <stuart.layton@gmail.com>
    17 % http://stuartlayton.com
     17% https://stuartlayton.com
    1818%
    1919% Revision History
     
    4646switch lower(service)
    4747    case('google')
    48         SERVER_URL = 'http://maps.google.com';
     48        SERVER_URL = 'https://maps.google.com';
    4949        queryUrl = sprintf('%s/maps/geo?output=xml&q=%s',SERVER_URL, address);
    5050        parseFcn = @parseGoogleMapsXML;
     
    5252    case('yahoo')
    5353     
    54         SERVER_URL = 'http://where.yahooapis.com/geocode';
     54        SERVER_URL = 'https://where.yahooapis.com/geocode';
    5555        queryUrl = sprintf('%s?location=%s',SERVER_URL, address);
    5656       
     
    6767    case {'osm', 'openstreetmaps', 'open street maps'}
    6868       
    69                 SERVER_URL = 'https://nominatim.openstreetmap.org/search';
     69        SERVER_URL = 'https://nominatim.openstreetmap.org/search';
    7070        queryUrl = sprintf('%s?format=xml&q=%s', SERVER_URL, address);
    7171        parseFcn = @parseOpenStreetMapXML;
  • issm/trunk/externalpackages/geocode/install.sh

    r20500 r27670  
    11#/bin/bash
    22unzip geoCode.zip
     3sed -i -e 's/http:/https:/g' geoCode.m
Note: See TracChangeset for help on using the changeset viewer.