Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
file-geocoder
Advanced tools
Geocodes a file (JSON or CSV). Requires a Google-style geocoder.
Given a CSV,
address, city, state, zip
135 Morrisey Blvd, Boston, MA, 02125
1150 15th Street NW, Washington, DC, 20071
242 West 41st Street, New York, NY, 10036
file-geocoder adds several geocoding fields (what's the deal with GeocodeAdminAreaLevel1?):
address, city, state, zip, GeocodeLat, GeocodeLng, GeocodeStatus, GeocodeLocality, GeocodeAdminAreaLevel1, GeocodeCountry, GeocodeAddress
135 Morrisey Blvd, Boston, MA, 02125, 42.293929, -71.047218, ROOFTOP, Boston, MA, United States, "135 Morrisey Blvd, Boston, MA, 02125"
1150 15th Street NW, Washington, DC, 20071, 38.904711, -77.034647, ROOFTOP, Washington, DC, United States, "1150 15th Street NW, Washington, DC, 20071"
242 West 41st Street, New York, NY, 10036, 40.755819, -73.988402, ROOFTOP, New York, NY, United States, "242 West 41st Street, New York, NY, 10036"
file-geocoder \
-f myaddresses.json \
-a address,city,state,zip # list of fields containing the address, in order
file-geocoder \
-f myaddresses.csv \
-a address,city,state,zip \ # list of fields containing the address, in order
-h maps.googleapis.com \ # geocoding host
-p 80 \ # geocoding port
-s 1 # time (in seconds) to throttle the geocoding requests
file-geocoder \
-d myaddresses.db \ # database
-a address,city,state,zip # list of fields containing the address, in order
npm install file-geocoder -g
file-geocoder imports the JSON/CSV file to a NeDB datastore before geocoding. For performance reasons, NeDB keeps a copy of the whole database in memory. In other words, file-geocoder is a memory hog. If the JSON file is 1GB, you better have at least that much RAM.
FAQs
Geocodes a file (JSON or CSV). Requires a Google-style geocoder.
We found that file-geocoder demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.