Closed TheGuern closed 2 years ago
Hi @TheGuern - you can fork my code and submit a pull request that way.
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:
No heavy uses (an absolute maximum of 1 request per second) (the service processes just the top (1) row at a time; in the case of bulk inserts or updates, the service's sleep interval enforces compliance with this rule).
limit your requests to a single thread
limited to 1 machine only, no distributed scripts (including multiple Amazon EC2 instances or similar)
Results must be cached on your side. Clients sending repeatedly the same query may be classified as faulty and blocked.
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.
Closing because PR https://github.com/f1ana/Nominatim.API/pull/26 supersedes this effort.
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