{"id":32259276,"url":"https://github.com/gabrielclavero/gc-geo-fields","last_synced_at":"2026-05-16T17:03:56.961Z","repository":{"id":58229243,"uuid":"121160981","full_name":"gabrielclavero/gc-geo-fields","owner":"gabrielclavero","description":"Example component and project using geographical data from geonames.org","archived":false,"fork":false,"pushed_at":"2018-02-11T20:14:23.000Z","size":13116,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-25T11:50:03.012Z","etag":null,"topics":["angularjs","example-code","geographic-data"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gabrielclavero.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":"2018-02-11T19:51:27.000Z","updated_at":"2018-02-11T19:57:55.000Z","dependencies_parsed_at":"2022-08-31T09:20:36.183Z","dependency_job_id":null,"html_url":"https://github.com/gabrielclavero/gc-geo-fields","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gabrielclavero/gc-geo-fields","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielclavero%2Fgc-geo-fields","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielclavero%2Fgc-geo-fields/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielclavero%2Fgc-geo-fields/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielclavero%2Fgc-geo-fields/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gabrielclavero","download_url":"https://codeload.github.com/gabrielclavero/gc-geo-fields/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielclavero%2Fgc-geo-fields/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33111497,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["angularjs","example-code","geographic-data"],"created_at":"2025-10-22T20:00:13.728Z","updated_at":"2026-05-16T17:03:56.944Z","avatar_url":"https://github.com/gabrielclavero.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\n## gc-geo-fields\n\nThis project is an angular module you can use to quickly add geographical location fields to your web forms.  \nIt also contains a demo you can check to see the component in action.  \n\n## About the JSON data\n\nThe geographical data provided in this project in several JSON files was extracted from www.geonames.org.  \nYou can take a look at the script that outputs the json files in the World Geo Parser project [https://github.com/gabrielclavero/world-geo-parser](https://github.com/gabrielclavero/world-geo-parser).  \nBoth the World Geo Parser project and www.geonames.org content are licensed under a Creative Commons Attribution 3.0 License [http://creativecommons.org/licenses/by/3.0/](http://creativecommons.org/licenses/by/3.0/)  \n\n## Usage\n\nYou can get it from [Bower](http://bower.io/)\n\n```sh\nbower install gc-geo-fields\n```\n\nLoad the script files in your application:\n\n```html\n\u003cscript src=\"bower_components/gc-geo-fields/dist/geofields.js\"\u003e\u003c/script\u003e\n```\n\nAdd the specific module to your dependencies:\n\n```javascript\nangular.module('myApp', ['gc.geo.fields', ...])\n```\n\nMake sure you leave the json data folder and the template.html file in the same location than the geofields.js file. \n\n## IMPORTANT\n\nKeep in mind after running the script on [https://github.com/gabrielclavero/world-geo-parser](https://github.com/gabrielclavero/world-geo-parser), some of the states will have TONS of cities on it (up to 11k maybe) Maybe what you want instead are the second-order administrative divisions of each country. To do that, use the feature class 'A' and feature code 'ADM2' to gather the data on step 3 of the script.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielclavero%2Fgc-geo-fields","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrielclavero%2Fgc-geo-fields","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielclavero%2Fgc-geo-fields/lists"}