交通问题背景 [英] Traffic problem background

查看:84
本文介绍了交通问题背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个txt文件,其中包含客户的经度和纬度,而且我必须创建一个坐标系统,以显示标记为小点的那些客户.有谁知道如何做到这一点? Tnx

Hi, I have a txt file that contains latitudes and longitudes of customers, and I have to make a coordinate system that shows those customers that are marked as little dots. Does anyone have any idea how to do that? Tnx

推荐答案

阅读所有客户详细信息,并记下纬度和经度的最低和最高值.读取所有数据后,您可以计算地图的范围(相对于经度和纬度),并对其进行缩放以适合您的窗口或屏幕.然后将所有客户位置映射到比例地图上,并在相交处绘制点或其他图片.
Read all your customer details keeping a note of the lowest and highest values of the latitudes and longitudes. When you have read all the data you can calculate the limits of your map (relative to lat and long), and scale it to fit your window or screen. Then map all customer locations onto the scaled map and draw a dot or other picture at the intersects.


这篇关于交通问题背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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