A Brazilian friend from the C++ group accepted your challenge and found the
population center. It's here:
https://goo.gl/maps/uNSA95Ej4PYLzvgp7
On Saturday, December 7, 2019 at 8:12:28 PM UTC-3, Marcin Romaszewicz wrote:
>
> As a bonus challenge, try to compute the population center of Brazil
As a bonus challenge, try to compute the population center of Brazil :) One
way of finding the center is minimizing the integral of all distances to a
point, but for population, these points now have weight.
Like Michael above, I spent years working on Google Earth, and the code
running in the
Yes, I understand it is impossible to chose the "correct way" of
determining the center. This week I learnt there are at least a handful of
places claiming to be the "center" of Brazil, with monuments and whatnot.
The search for a solution is an interesting endeavor per se. Programming is
...now *this* is something that I know a great deal about (resulting in
label placement in Google Maps and Google Earth, discussions with
colleagues in USGS, the US Census Bureau, DoD, the United Nations GGIM
experts group, UK Ordnance Survey, Survey of India, etc.)
Indeed most of the issues
this is quickly becoming off-topic. however, from
https://en.wikipedia.org/wiki/Geographical_centre:
"As noted in a USGS document "There is no generally accepted
definition of geographic center, and no completely satisfactory method
for determining it."[1]
In general, there is room for debate
If one wants to improve precision she may use a bigger map.
The resulting position would be the same, only more accurate.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an
Hi, Jan.
As you can imagine, there are several ways to define "middle". So, to get
rid of the ambiguity I picked this one: "the position would divide Brazil
so that half of our country area would be to the north and half to the
south, while half would be to the west and half to the east."
On
On Sat, Dec 7, 2019 at 2:34 PM JuciÊ Andrade wrote:
> I am pretty sure there are other ways to do it, but the method I devised is
> simple and produces a good enough result. If somebody can put a hole in my
> reasoning, feel free to do so.
>
> All the info I need are in a map, OK? So I
I am pretty sure there are other ways to do it, but the method I devised is
simple and produces a good enough result. If somebody can put a hole in my
reasoning, feel free to do so.
All the info I need are in a map, OK? So I downloaded a map from the
Internet. I choose a map that shows only
OK, people. It has been nearly a week since I left the programming
challenge here, so let me show my approach.
First, let me tell you guys I sent the aforementioned challenge to a few
programming groups and it went like this:
. some very knowledgeable people in this group tried to find a
Bixo vai dormir, isso né hora pra loucura não... hehehehehe
Em sábado, 30 de novembro de 2019 21:30:33 UTC-4, JuciÊ Andrade escreveu:
>
> When I was a kid I asked my teacher why my country capital had been moved
> from Rio de Janeiro to Brasilia. She said the reason was Brasilia is right
> in
11 matches
Mail list logo