获取城市边界框 [英] Getting bounding-box of city

查看:88
本文介绍了获取城市边界框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道特定地理坐标距城市列表有多远(远"是指坐标与城市之间的欧式距离,不考虑道路).为此,我需要为每个城市(都位于以色列)找到一个边界框.

I want to know how far a specific geographic coordinate is from a list of cities ('far' meaning the euclidean distance between the coordinate and the city, not taking roads into account). For this I need to find a bounding-box for each of the cities - all located in Israel.

这篇文章讨论了国家边界框,但是我在城市一级需要它们.

This post discusses country bounding-boxes, but I need them at the city level.

除了在地图上手动绘制矩形并提取坐标之外,还有什么方法可以获取一长串城市的信息?

Is there any way to get this information for a long list of cities, other than drawing rectangles by hand on a map and extracting the coordinates?

推荐答案

您可以在 www.mapdevelopers中找到这些城市的边界框.com/geocode_bounding_box.php .进入城市将在地图上显示一个框,并给出每一侧的经度和纬度.希望可以为您提供所需的信息.

You can find the bounding box of those cities at www.mapdevelopers.com/geocode_bounding_box.php. Entering a city will display a box on a map and give the latitude and longitude of each side. Hopefully that will give you the information you need.

这篇关于获取城市边界框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆