生成分布式像城市随机点? [英] Generate random points distributed like cities?

查看:105
本文介绍了生成分布式像城市随机点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何才能产生说1000个随机点,这样的分布 城镇和城市中如俄亥俄州?
我怕我无法定义分布式样的城市precisely; 均匀分布的中心+小高斯云 很容易,但是临时性的。
补充:必须有一个家庭的二维分布 与该可改变一个集群参数以匹配给定的点集<?/ P>

解决方案

开始用在你的目标区域的水功能模型(或虚构一个,如果它是一个假想的地方),然后聚集近江路口的城市沿着湖岸,湖河路口。然后使这些连接主要城市的虚公路。现在,在合理的间距,preferring洒沿着这些公路中间的一些城市,靠近路口的公路。现在,通过空出的空间撒上一些小城镇。

How can one generate say 1000 random points with a distribution like that of towns and cities in e.g. Ohio ?
I'm afraid I can't define "distributed like cities" precisely; uniformly distributed centres + small Gaussian clouds are easy but ad hoc.
Added: There must be a family of 2d distributions with a clustering parameter that can be varied to match a given set of points ?

解决方案

Start with a model of the water features in your target area (or make one up, if it's for an imaginary place), then cluster the cities near river junctions, along lakeshores, lake-river junctions. Then make imaginary highways connecting those major cities. Now sprinkle some intermediate cities along those highways at reasonable spacing, preferring to be near junctions in the highways. Now sprinkle some small towns through the empty spaces.

这篇关于生成分布式像城市随机点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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