{"id":21091350,"url":"https://github.com/andreasscherbaum/pg_arcgis","last_synced_at":"2025-10-18T02:41:03.486Z","repository":{"id":25833550,"uuid":"29272954","full_name":"andreasscherbaum/pg_arcgis","owner":"andreasscherbaum","description":"Reach out to ArcGIS web service from PostgreSQL or Greenplum","archived":false,"fork":false,"pushed_at":"2015-09-24T22:54:51.000Z","size":160,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T01:13:55.840Z","etag":null,"topics":["arcgis","geocoordinates","greenplum","greenplum-database","lookup","postgresql","resolve-geocoordinates","reversegeocode","sql"],"latest_commit_sha":null,"homepage":null,"language":"PLpgSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreasscherbaum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-15T00:29:58.000Z","updated_at":"2019-02-23T17:33:11.000Z","dependencies_parsed_at":"2022-08-06T08:00:37.355Z","dependency_job_id":null,"html_url":"https://github.com/andreasscherbaum/pg_arcgis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasscherbaum%2Fpg_arcgis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasscherbaum%2Fpg_arcgis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasscherbaum%2Fpg_arcgis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasscherbaum%2Fpg_arcgis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreasscherbaum","download_url":"https://codeload.github.com/andreasscherbaum/pg_arcgis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243533052,"owners_count":20306257,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arcgis","geocoordinates","greenplum","greenplum-database","lookup","postgresql","resolve-geocoordinates","reversegeocode","sql"],"created_at":"2024-11-19T21:45:16.232Z","updated_at":"2025-10-18T02:41:03.401Z","avatar_url":"https://github.com/andreasscherbaum.png","language":"PLpgSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"PostgreSQL/Greenplum \u0026 ArcGIS\n\n#######################################################################\nAbstract:\n\nThis plugin provides functionality to reach out from a PostgreSQL or\nPivotal Greenplum Database to an ArcGIS system, to request and enrich data.\n\n\n\n#######################################################################\nInstallation:\n\nmake install\n\n\n\n#######################################################################\nDeinstallation:\n\nmake remove\n\n\n\n#######################################################################\nRequirements:\n\nYou need: ArcGIS \"Client ID\" \u0026 \"Client Secret\". You can create this by\nlogging in into the ArcGIS website with your account and create an application.\nBasic lookups and reverse lookups are free and don't require account details.\n\n\n\n#######################################################################\nConfiguration:\n\n- verify configuration\n\nSELECT arcgis.check_configuration();\n\n\n- set ArcGIS client ID\n\nSELECT arcgis.set_client_id('\u003cclient id\u003e');\n\n\n- set ArcGIS client secret\n\nSELECT arcgis.set_client_secret('\u003cclient secret\u003e');\n\n\n- set ArcGIS authentication URL\n\nSELECT arcgis.set_auth_url('\u003cauth URL\u003e');\n\n\n- set ArcGIS geocode URL\n\nSELECT arcgis.set_geocode_url('\u003cgeocode base URL\u003e');\n\n\n- remove existing configuration\n\nSELECT arcgis.remove_configuration();\n\n\n\n#######################################################################\nUsage:\n\n- resolve address to geocoordinates\n\nSELECT arcgis.find('\u003caddress');\n\nExample: SELECT arcgis.find('380 New York Street Redlands CA 92373');\nExample: SELECT * FROM arcgis.find('380 New York Street Redlands CA 92373');\n\n\n- resolve address to geocoordinates, return address as one string\n\nSELECT arcgis.find_return_point('\u003caddress\u003e');\n\nExample: SELECT arcgis.find_return_point('380 New York Street Redlands CA 92373');\n\n\n- resolve address to geocoordinates, return x (longitude) and y (latitude) as array\n\nSELECT arcgis.find_xy('\u003caddress\u003e');\n\nExample: SELECT arcgis.find_xy('380 New York Street Redlands CA 92373');\n\n\n- resolve address to geocoordinates, return y and x as array, suitable for services like Google Maps\n\nSELECT arcgis.find_xy('\u003caddress\u003e');\n\nExample: SELECT arcgis.find_xy('380 New York Street Redlands CA 92373');\n\n\n- resolve geocoordinates to closest address\n\nSELECT arcgis.reverseGeocode('\u003clongitude\u003e', '\u003clatitude\u003e');\n\nExample: SELECT arcgis.reverseGeocode('-122.148659529', '37.3939849106');\nExample: SELECT * FROM arcgis.reverseGeocode('-122.148659529', '37.3939849106');\n\n\n- resolve geocoordinates to closest address, return address as string\n\nSELECT arcgis.reverseGeocode_string('\u003clongitude\u003e', '\u003clatitude\u003e');\n\nExample: SELECT arcgis.reverseGeocode_string('-122.148659529', '37.3939849106');\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasscherbaum%2Fpg_arcgis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreasscherbaum%2Fpg_arcgis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasscherbaum%2Fpg_arcgis/lists"}