Customer Service | Training | Contact Us
You are here: Home > Downloads > ArcScripts > Search Results > Script Details Login | Feedback | Help

Data Partitioner (Census, Demographics or other general purpose etc)



contact author | download help | add bookmark | view bookmarks
Author David .
File Name DataPart.zip
Language Avenue
Last Modified Aug 8 2002
Status of work Public Domain
Software ArcView GIS
File Size 99.64 kb
Downloads 4922

ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.


Summary
Data Partitioning based on polygon area
(May,2002, Ver2.0)

Search Key: Data Partitioner, demographic, census, aggregate, polygon, Calculate, area, transfer, compute

Extension interface:
===================
dataPart.gif: http://personal.bgsu.edu/~jdou/

EXAMPLE: ( included in the zip file )
=====================================
to calculate the population for a designed polygon in a boundary theme.

* boundary theme: designed polygon.
fields: shape, ID
* data theme: polygon theme, population field showing the population in each polygon.
fields: shape, ID, pop2000

* want to know the population of every polygon in boundary theme based on area

* output theme fields:
shape : copied from the boundary theme.
ID : copied from the boundary theme.
w_pop2000: population calculated,weighted based on area
s_pop2000: sum of all population of the polygons intersected with the bounday polygon.

NOTES:
======
(1) also works for multiple fields.
(2) for checking overlapping polgyons, need a unique ID for each polygon. to check if there is some polygons overlapped by others.
(3) one potential problem is : if the field width is not long enought for the sum number, you may get an empty result. this problem occurs because I just copy the field defination of the field calculated to the output table. when the result number is too long, it overflows.
to avoid this problem, make the field to be calculated long enough for the sum result.

=========================================
Jianwei Dou - jdou@bgnet.bgsu.edu
Norman S. Levine - levinen@bgnet.bgsu.edu
Dept. of Geology
Bowling Green state Univ.