Skip to content

Commit

Permalink
LatLng2Place library using maps API (datacommonsorg#761)
Browse files Browse the repository at this point in the history
  • Loading branch information
pradh authored Nov 11, 2022
1 parent 36a711b commit e87f59e
Show file tree
Hide file tree
Showing 5 changed files with 5,507 additions and 0 deletions.
10 changes: 10 additions & 0 deletions util/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ To date, all our util libraries cater to writing MCF.
100 lat/lngs). So prefer the `_geojson` version unless you want
fine-grained geos.

- `latlng2place_mapsapi`: This library helps map a lat/lng coordinate pair to
list of admin-area and country geos by using the Maps API to find the
place-ids, and then the DC recon API to map to DCIDs. The advantage of this
over the `latlng_recon_*` APIs is that we do not depend on the existence of
GeoJSONs for admin-areas in the KG for resolution.

NOTE: As of Oct 2022, only a small subset of countries have sub-national
geojsons. So, for resolving non-US lat/lngs to sub-national DCIDs, this is
the preferred library to use.

- `mcf_template_filler`: Much of statistical data falls nicely into
Schema.org's
[StatisticalPopulation](https://schema.org/StatisticalPopulation) and
Expand Down
Loading

0 comments on commit e87f59e

Please sign in to comment.