____  ___    _  _     _   _ _____     _______
 / ___|/ _ \  | || |   | | | |_ _\ \   / / ____|
| |  _| | | | | || |_  | |_| || | \ \ / /|  _|
| |_| | |_| | |__   _| |  _  || |  \ V / | |___
 \____|\___/     |_|   |_| |_|___|  \_/  |_____|

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

C# ESRI REST Services example

BY: @randomlyjames | CREATED: March 25, 2018, 4:30 a.m. | VOTES: 1 | PAYOUT: $0.02 | [ VOTE ]

[IMAGE: https://i.imgur.com/Jp5htz7.jpg]
This is code I worked on for my job. We had purchased a GIS system that for some reason did not have a built in street search program. In this example I use REST services with ESRI to grab the latitude and longitude from various inputs.

[IMAGE: https://i.imgur.com/o3ULQfD.png]

The most common input our users were going to input were intersections. So the input would look like
Street 1 St @ Street 2 St, Altanta, GA

Or they would simply want to enter a street address.
[IMAGE: https://i.imgur.com/HCJkAhC.png]

But I took it much further than that. Users could also enter just a street name and it would zoom them to the center of that street, they could enter just the city, or the user could enter a Point of Interest.

[IMAGE: https://i.imgur.com/iMiSZm1.jpg]

Once the list of POIs came up the user could click one and it would zoom to that location.

[IMAGE: https://i.imgur.com/kiiIzkv.png]

[IMAGE: https://i.imgur.com/o3ULQfD.png]

To download the code visit my site here

Check out my other Recent Posts!
My Intro to Steemit
Songbirds Guitar Museum presents 10,000 Days A Tribute to Tool

TAGS: [ #csharp ] [ #coding ] [ #programming ] [ #technology ] [ #esri ]

Replies

NO REPLIES FOUND.

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>