Select to view content in your preferred language

1st time using python

557
0
10-12-2012 09:08 AM
ToniBrugués
Deactivated User
I've been using excel to calculate this but now I have too many data and I need to look for something better.
I've been skimming a python tutorial but I'm such a disaster for this.

I have 2 shapefiles; one with all the municipalities and another with only the municipalities with a value.
I need to calculate this:

X(u,v)=???xiwi(u,v)/ ???wi (u,v)

The value is xi, wi=exp(-di²/h²), where d is distance and h a constant.

I know the coordinates so I calculate the distance using  ???((xi ??? x0)² + (yi - y0)²)

anyone can help me?
Thank you.
Tags (2)
0 Kudos
0 Replies