简体   繁体   English

我可以在C#或C ++中使用反向地理编码服务器端吗?

[英]Can I use the reverse geocoding server side, e.g. with C# or C++?

Can I use the reverse geocoding server side, eg with a C# or C++? 是否可以将反向地理编码服务器端与C#或C ++一起使用?

EDIT: I get some list of longititudes and latitudes from GPS Mouse, And I need to find all the corresponds addresses and save it to database. 编辑:我从GPS鼠标中获得了一些经度和纬度列表,并且我需要找到所有对应的地址并将其保存到数据库中。 I am not interested to show on a map. 我没有兴趣在地图上显示。

As long as you display the results on a google map and stay within 2,500 requests per day, sure (100,000 if you have Google Maps API Premier). 只要您将结果显示在Google地图上,并且每天都在2500个请求之内,就可以确定(如果您拥有Google Maps API Premier,则为100,000个)。 Note, though, and I quote from here : 注意,不过,我从这里引用:

Note: the Geocoding API may only be used in conjunction with a Google map; 注意:地理编码API只能与Google地图结合使用; geocoding results without displaying them on a map is prohibited. 禁止对结果进行地理编码而不在地图上显示结果。 For complete details on allowed usage, consult the Maps API Terms of Service License Restrictions . 有关允许的用法的完整详细信息,请参阅Maps API服务条款许可限制

If you satisfy the restrictions, reverse geocoding is easy from anywhere -- eg, and again I quote: 如果您满足这些限制,则可以在任何地方轻松进行反向地理编码 -例如,我再次引用:

the following query contains the latitude/longitude value for a location in Brooklyn: http://maps.google.com/maps/api/geocode/json?latlng=40.714224,-73.961452&sensor=true_or_false Note: Ensure that no space exists between the latitude and longitude values when passed in the latlng parameter. 以下查询包含布鲁克林某个位置的纬度/经度值: http ://maps.google.com/maps/api/geocode/json?latlng= 40.714224 ,-73.961452& sensor=true_or_false注意:确保之间没有空格在latlng参数中传递时的纬度和经度值。

If you can't abide by the Google Maps geocoding API restrictions, why not get such services eg from geonames.org instead? 如果您不能遵守Google Maps地理编码API的限制,为什么不从geonames.org获得此类服务呢?

是的,请尝试使用此Google Geo工具包

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 c# - 我应该使用“ref”通过引用方法传递集合(例如List)吗? - c# - should I use “ref” to pass a collection (e.g. List) by reference to a method? C#:如何在单个图像(例如* .png)中保存图表和文本框? - c#: how can i save a chart and a textbox in a single image (e.g. *.png)? 在 C# 中创建可重用的代码模块(例如 C++ 样式类、头文件) - Creating reusable code modules (e.g. C++ style classes, headers) in C# 我如何公开我的C#脚本(例如VBScript)与之交互? (当前使用SendKeys,但这会引起一些问题) - How can I expose my C# for scripts (e.g. VBScript) to interact with it? (Currently using SendKeys but this is causing some issues) 如何在c#中解析JSON字符串获取错误无法反序列化当前的JSON对象(例如{“name”:“value”}) - How can i parse JSON string in c# Get error Cannot deserialize the current JSON object (e.g. {“name”:“value”}) C#-过滤表单对象(例如文本框) - C# - Filtering form objects (e.g. textbox) for times C#和只读引用类型(例如,DataTable) - C# and readonly reference types (e.g., DataTable) C#检索数据,例如在jQuery - c# retrieve data like e.g. in jquery 在C#中使用枚举进行数学运算(例如DayOfWeek) - Math with Enums (e.g. DayOfWeek) in C# C# - 可以隐藏公开继承的方法(例如,对派生类设为私有) - C# - Can publicly inherited methods be hidden (e.g. made private to derived class)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM