arex388 / arex388.geocodio Goto Github PK
View Code? Open in Web Editor NEWGeocod.io API Implementation in C#
License: MIT License
Geocod.io API Implementation in C#
License: MIT License
I need to submit a batch of points that each have a key (https://www.geocod.io/docs/#batch-reverse-geocoding doesn't specify a format, but I was able to make it work by adapting the example at https://www.geocod.io/docs/#batch-geocoding):
{"11N 49417 364605":"32.952829,-117.062303","11N 49421 364608":"32.953046,-117.06191",...
For ReverseGeocodeBatchAsync, I created a List like this:
""11N 49417 364605":"32.952829,-117.062303""
But it returns results where the ResponseStatus = Success and Results is empty.
I wasn't able to find a way to pass a keyed list so that the results would be keyed as well.
Any chance this can be modified to optionally accept a Dictionary<string, string> or similar construct and return the appropriately keyed list?
Thanks!
Hello,
Could you please update for API V1.5 for capturing the zip+4 data?
Thank you!
I noticed this line in the code
public async Task<GeocodeBatchResponse> GetGeocodeBatchAsync(
IList<string> addresses,
params string[] fields) => await GetGeocodeBatchAsync(new GeocodeBatchRequest {
Addresses = addresses,
Fields = fields
});
But I am unable to have the field options work when I try something like this:
var geocodeBatch = await _geocodio.GetGeocodeBatchAsync(
geocodeFormatCollection, "census");
And like these:
var geocodeBatch = await _geocodio.GetGeocodeBatchAsync(geocodeFormatCollection, fields:
"census");
var geocodeBatch = await _geocodio.GetGeocodeBatchAsync(geocodeFormatCollection, new[]
{"census"});
var geocodeBatch = await _geocodio.GetGeocodeBatchAsync(geocodeFormatCollection, fields: new[]
{"census"});
string[] fields = new string[] {"census"};
var geocodeBatch = await _geocodio.GetGeocodeBatchAsync(geocodeFormatCollection, fields );
It still runs but nothing is appended? Curious if there was a way to explain this in the ReadMe or if I am missing something. I have tried other fields like acs-demographics and still no result.
First, thank you for this library. Saved me some time, and looks nice and clean.
I did notice something while I was trying to use it. I was looking for where I set the endpoint value, and noticed you can't (it is hard coded). It would be great if there was a way to configure this so I could load from a configuration file. Just feels better than having a hard coded endpoint somewhere. This is probably something that changes rarely, but still feels like a best practice. Thank you!
Hi, Geocodio has Census2020 as a choice now. Will you add this as a fieldtype for census? Thanks.
This is a really nice wrapper around Geocod.io's APIs, thank you for sharing! I was wondering, do you have any intention of add a license (like MIT or Apache 2)? Just want to make sure I wouldn't be running afoul of any licensing requirements by using the library. Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.