All Questions
Tagged with google-geocoding-api c#
16
questions
-1
votes
2
answers
370
views
System.Text.Json.JsonException: 'The JSON value could not be converted to System.Collections.Generic.List`1
I am attempting to build a WPF Application to store Holiday Details in a SQL Server database. I request an address from end user and attempt to GeoCode the address. To do this I make a web request ...
7
votes
2
answers
29k
views
HttpClient GetAsync with query string
I am using Google's GeoCoding API. I have two methods where one works and the other doesn't and I can't seem to figure out why:
string address = "1400,Copenhagen,DK";
string GoogleMapsAPIurl ...
-1
votes
1
answer
2k
views
Get latitude and Longitude from Google Geo Code JSON in MVC(C#)
I am having trouble to retrieve values from JSON results received from google geo code API
Function
public static async Task GetLatLogFromAddress()
{
using (var client = ...
0
votes
1
answer
2k
views
C# Getting lat and long from Google GeoCoding API
In my C# project, I'm trying to get the lat and long location of a building. I used this thread as a base Distance between addresses and tried to adapt it to get the lat and long of a location. At the ...
-1
votes
1
answer
4k
views
ASP.NET: Select a location on Google maps, then get the latitude and longitude to store them in the Database
In our BackOffice, we must add google map and allow user to select an specific location, then add location icon.
After user select location and its icon, we must get the selected position and save it ...
0
votes
1
answer
437
views
Why is Google Geocoding taking so long using DownloadStringAsync(Uri, Object) C#
We have a data table with addresses which I am attempting to Geocode.
Then we cycle through the datatable rows to send api requests to Google Geocoding using WebClient.downloadStringAsync(Uri, Object)...
0
votes
1
answer
897
views
Object Reference not set to an instance of an object (Google Geo-fencing API) [duplicate]
I am trying to get the latitude and longitude from the Google Geofencing API when using an address. I want to get the results in a JSON form and using the latitude and longitude from that. I have ...
1
vote
1
answer
334
views
Is the GeoCoding Maps API only valid for websites?
I have a Windows Forms (WinForm) billing product that currently running .Net Framework 4.6.1 and is being maintained in Visual Studio 2015.
We have been asked to modify the mapping tool that takes a ...
0
votes
0
answers
61
views
google geocoding xml to SQLms
i use google API
simple class
public static string result;
static async Task adres(string gps)
{
var client = new HttpClient();
result = await client....
0
votes
1
answer
465
views
Google Geocode null reference exception
I have made a program that takes the longitude and latitude from several properties on a london property portal.
What I am to do next is send those long+lat to geocode and return the full formatted ...
0
votes
2
answers
563
views
Google Geocoding API Licensing
I'm building an application and I need to get the coordinates based on address, so I'm planning to use the Google Geocoding API. As I read in the Geocoding reference https://developers.google.com/maps/...
1
vote
1
answer
3k
views
How to store geocoded address information into the database
I have a geocode request that loops through multiple addresses in my data base and returns latitude and longitude as well as other information.
foreach(var row in data){
<script type="...
0
votes
1
answer
173
views
Replacing spacing in http request with "+" character
I am doing a project in which i have to geocode addresses on the data base and then return the results to a separate table.
I have a request like this
@foreach(var row in data){
https://maps....
1
vote
0
answers
622
views
Is Google Maps API key needed if the map is simply a local HTML file?
Our customer needs an application that allows them to input an address and be returned a Google Map HTML file that the user will save to the local file system. The desktop application is written in C# ...
0
votes
2
answers
2k
views
Cannot find file : xml version=1.0 encoding=UTF-8 when geocoding
I got this error msg
Cannot find file <?xml version="1.0" encoding="UTF-8"?>
Below is the code. How to resolve this issue? Appreciate your help.
rivate void button1_Click(object sender, ...