f1ana / Nominatim.API

Library for utilizing geocoding (forward and reverse), in addition to address lookups, with the Nominatim HTTP API. Targets .NET 6 and .NET Standard 2.0.
https://www.nuget.org/packages/Nominatim.API
MIT License
51 stars 28 forks source link

DotNetCore pull request #16

Closed TheGuern closed 2 years ago

TheGuern commented 4 years ago

Hi, I am trying to submit a pull request for my DotNetCore branch, but it fails with Http 403. I am new to GitHub. Do you have to add me as a contributor, or something? Description: Added .NetCore projects, removing dependency on Newtonsoft.Json Paul

f1ana commented 4 years ago

Hi @TheGuern - you can fork my code and submit a pull request that way.

TheGuern commented 4 years ago

Hi Chris, Thank you for pointing me to the Fork operation. I am a seasoned developer, but new to git and GitHub.

I submitted a pull request, including your original projects (unchanged) and adding a .sln containing 2 new .net core 3.1 projects.

I have another project in progress. Let me know if this sounds like something you would like to add:

A .net core 3.1 worker service, easily published to Azure. Each geocoder provider would implement an IGeocoder interface, so the service can be configured to use either the GoogleMaps or Nominatim api. The worker service would:

SELECT TOP (1) [Id] ,[CompanyName] ,[Street] ,[City] ,[StateCode] ,[Zip] FROM [SpatialData] WHERE ([Longitude] IS NULL OR [Latitude] IS NULL) AND [GeoCodeStatus] <> 'FAILED' ORDER BY [GeoCodeUpdatedDate]

A Question you might ask: Why not just add an IGeoCoder to a web page, and call it from the UI whenever an address column is altered? Answer: Because the free GeoCoding APIs have usage restrictions, like these:

My service attempts to address these restrictions.

Paul Guernsey Guernsey55@outlook.com

From: Chris notifications@github.com Sent: Thursday, September 3, 2020 9:16 PM To: f1ana/Nominatim.API Nominatim.API@noreply.github.com Cc: TheGuern Guernsey55@outlook.com; Mention mention@noreply.github.com Subject: Re: [f1ana/Nominatim.API] DotNetCore pull request (#16)

Hi @TheGuernhttps://github.com/TheGuern - you can fork my code and submit a pull request that way.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/f1ana/Nominatim.API/issues/16#issuecomment-686843459, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADJTWQSWR2J7OGKOLQEKZZ3SEA5WVANCNFSM4P55DBOQ.

f1ana commented 2 years ago

Closing because PR https://github.com/f1ana/Nominatim.API/pull/26 supersedes this effort.