Coder Social home page Coder Social logo

gisgraphy-client's Introduction

gisgraphy-client

C# client for Gisgraphy.com

files

  • GisgraphyClient.cs: encapsulates the communication with Gisgraphy server
  • Address.cs: encapsulates an address, used as input and output for GisgraphyClient
  • Program.cs: sample file showing the usage

usage

  1. create the source address
Address moma = new Address();
moma.Street = "West 53 Street";
moma.Number = "11";
moma.ZIP = "10019";
moma.City = "New York";
moma.State = "NY";
moma.Country = "US";
  1. instantiate the GisgraphyClient
GisgraphyClient gc = new GisgraphyClient();

If you have a Gisgraphy Premium account (if not, it's time to subscribe!), just use the provided url as parameter 1 and the api key as 2nd parameter.

  1. geocode the address
var momaLocations = gc.CodeAddress(moma);

You will receive a list of addresses with latitude and longitue, along with additional data provided by Gisgraphy.

See Program.cs for a working sample.

license

MIT license, you are allowed to use this code in open source and commercial projects. Please credit www.geocoderpro.com e.g. using a link from your website.

gisgraphy-client's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.