NYCPlanning / express-geosupport

A simple express app that serves geosupport functions
0 stars 0 forks source link

Batch GeoCode #1

Open allthesignals opened 5 years ago

allthesignals commented 5 years ago

Add endpoint to batch geocode:

POST /functions/:function_name?batch=true[&{input_field}={column_name}]

This allows for a multipart form upload to the specific function, and handling for processing an incoming CSV.

Some considerations:

What is the response? A download link? Another CSV? If it's CSV, respond with CSV? How are geocoding failures handled?

allthesignals commented 5 years ago

https://pagep.net/2018/03/31/how-to-handle-large-file-upload-with-nodejs-express-server/