简体   繁体   English

在世界地图上绘制纬度/经度对的简单易用的API是什么?

[英]What's an easy to use API for plotting latitude/longitude pairs on a world map?

I have a list of 50000 latitude/longitude pairs and want to plot them on a map. 我有50000个纬度/经度对的列表,并希望将它们绘制在地图上。 I tried http://gsl-nagoya-u.net/appendix/software/worldmap/ . 我尝试了http://gsl-nagoya-u.net/appendix/software/worldmap/ It works but it seems to ignore the data after a certain point (less than 100). 它可以工作,但是似乎在某个点(小于100)之后会忽略数据。 What else can I use to generate a static image? 我还能用来生成静态图像吗? I'd rather not use Javascript. 我宁愿不使用Javascript。

Perl has GD::Map in CPAN which looks about right. Perl在CPAN中有GD :: Map ,看起来不错。 I haven't used it myself to say for sure, but its the closest thing I could find based on your requirements. 我自己并没有肯定地说过它,但是根据您的要求我可以找到最接近的东西。

You can use the google maps static image api , it has a 1000 images/day limit, but you could get it in 5 50 days. 您可以使用Google Maps静态图像api ,它的每日限制为1000张图像,但您可以在5到 50天内获得它。 Script the creation of the links and save the resulting image. 使用脚本编写链接的创建并保存生成的图像。

Edit: Looks like I misread your total number of pairs. 编辑:看起来我误读了您的总对数。 50 days is quite a long time, perhaps there is some way to avoid this, otherwise maybe this won't be preferred. 50天是很长的时间,也许有某种方法可以避免这种情况,否则可能不会被首选。

You could look at MapServer . 您可以看看MapServer It's more of a complete GIS platform, so if you only need to do this one time, it is a bit of an overkill. 它更像是一个完整的GIS平台,因此,如果您只需要这样做一次,那就太过分了。

其他人将不得不告诉您在哪里获得基本图层,但是您可以使用QGIS渲染合理的地图。

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

相关问题 如何在世界地图中显示连接纬度和经度点的线? - How to show lines connecting latitude and longitude points in world map? 用指定半径的圆点填充经度/纬度图的最有效方法是什么? - What's the most efficient way to fill a longitude / latitude map with circular points of specified radius? 在散点图 plot 上绘制经纬度 - Plotting latitude and longitude on scatter plot 世界地图的开源数据,包括经度和纬度信息以及陆地和海洋指标 - Open source data of the world map that includes longitude and latitude information along with land and sea indicator 在 map 上绘制经度和纬度并为每个子集创建线(DataFarame 中的每一行) - Plotting longitude and latitude on a map and create line for each subset (every row in DataFarame) 使用纬度和经度而不是提供的 xy 坐标绘制地图时避免数据插值 - Avoid interpolation of data when plotting map using latitude and longitude instead of provided x-y coordinates 读取和绘制 HDF5(.h5) 文件并显示特定纬度和经度的 map - Reading and plotting HDF5(.h5) file and showing map for a specific latitude and longitude 如何反转纬度和经度坐标对列表? - How to reverse a list of latitude and longitude coordinate pairs? 从 csv 文件中绘制经纬度 - Plotting latitude and longitude from csv file 纽约 BBL 到纬度/经度 API - Newyork BBL to Latitude/Longitude API
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM