Skip to content

Instantly share code, notes, and snippets.

@wboykinm
Created September 6, 2012 19:43
Show Gist options
  • Save wboykinm/3659843 to your computer and use it in GitHub Desktop.
Save wboykinm/3659843 to your computer and use it in GitHub Desktop.
config-philly-demo
<DistrictBuilder>
<LegislativeBodies>
<LegislativeBody id="council" name="Philadelphia City Council" member="District %s" maxdistricts="10" sort_key="1"/>
<LegislativeBody id="community" name="Community Map" member="Community %s" maxdistricts="999" is_community="true" sort_key="2"/>
</LegislativeBodies>
<Subjects>
<Subject id="popbeo" field="P0040006" name="Total Black 18 and Over" short_name="Black VAP" displayed="false" sortkey="1"/>
<Subject id="popheo" field="P0040002" name="Total Hispanic or Latino 18 and Over" short_name="Hispanic or Latino VAP" displayed="false" sortkey="2"/>
<Subject id="popaeo" field="P0040008" name="Total Asian 18 and Over" short_name="Asian VAP" displayed="false" sortkey="3"/>
<Subject id="poptot" field="P0020001" name="Total Population" short_name="Total Population" displayed="true" sortkey="17" default="true"/>
<Subject id="pophis" field="P0020002" name="Total Hispanic or Latino" short_name="Hispanic or Latino" displayed="false" sortkey="13"/>
<Subject id="popnot" field="P0020003" name="Total Not Hispanic or Latino" short_name="Not Hispanic or Latino" displayed="false" sortkey="3"/>
<Subject id="popone" field="P0020004" name="Total Population of One Race" short_name="One Race" displayed="false" sortkey="4"/>
<Subject id="popwht" field="P0020005" name="Total White" short_name="Only White" displayed="false" sortkey="5"/>
<Subject id="popblk" field="P0020006" name="Total Black or African American " short_name="Only Black or Af. Amer." displayed="false" sortkey="6"/>
<Subject id="popami" field="P0020007" name="Total American Indian and Alaska Native " short_name="Only Amer. Ind. and Alas. Na." displayed="false" sortkey="7"/>
<Subject id="popasn" field="P0020008" name="Total Asian" short_name="Only Asian" displayed="false" sortkey="8"/>
<Subject id="popnah" field="P0020009" name="Total Native Hawaiian and Other Pacific Islander " short_name="Only Nat. Haw. and Oth. Pac. Is. " displayed="false" sortkey="9"/>
<Subject id="popoth" field="P0020010" name="Total Other" short_name="Total Other" displayed="false" sortkey="10"/>
<Subject id="poptwo" field="P0020011" name="Total Two or More" short_name="Total Two or More" displayed="false" sortkey="11"/>
<Subject id="popovr" field="P0040001" name="Total Age 18 and Over" short_name="Total Age 18+" displayed="false" sortkey="12"/>
<Subject id="popneo" field="P0040003" name="Total Not Hispanic or Latino 18 and Over" short_name="Total Not Hisp. or Lat. 18+" displayed="false" sortkey="14"/>
<Subject id="popreo" field="P0040004" name="Population of One Race" short_name="Population of One Race" displayed="false" sortkey="15"/>
<Subject id="popweo" field="P0040005" name="Total White 18 and Over" short_name="Total White 18+" displayed="false" sortkey="16"/>
<Subject id="popieo" field="P0040007" name="Total American Indian and Alaska Native 18 and Over" short_name="Total Amer. Ind. and Alas. Na. 18+" displayed="false" sortkey="18"/>
<Subject id="poppeo" field="P0040009" name="Total Native Hawaiian and Other Pacific Islander 18 and Over" short_name="Total Na. Haw. and Oth. Pac. Is. 18+" displayed="false" sortkey="20"/>
<Subject id="popoeo" field="P0040010" name="Total Other 18 and Over" short_name="Total Other 18+" displayed="false" sortkey="21"/>
<Subject id="popteo" field="P0040011" name="Total Two or More 18 and Over" short_name="Total Two or More 18+" displayed="false" sortkey="22"/>
</Subjects>
<Scoring>
<ScoreFunctions>
<!-- A district score that returns a percentage -->
<ScoreFunction id="district_blkvap_percent" type="district" calculator="publicmapping.redistricting.calculators.Percent" label="Black VAP">
<SubjectArgument name="numerator" ref="popbeo"/>
<SubjectArgument name="denominator" ref="popovr"/>
<LegislativeBody ref="council"/>
<LegislativeBody ref="community"/>
</ScoreFunction>
<ScoreFunction id="district_blkvap_thresh" type="district" calculator="publicmapping.redistricting.calculators.Threshold" label="Black VAP Threshold">
<ScoreArgument name="value" ref="district_blkvap_percent"/>
<Argument name="threshold" value="0.5"/>
</ScoreFunction>
<ScoreFunction id="district_hispvap_percent" type="district" calculator="publicmapping.redistricting.calculators.Percent" label="His. VAP">
<SubjectArgument name="numerator" ref="popheo"/>
<SubjectArgument name="denominator" ref="popovr"/>
<LegislativeBody ref="council"/>
<LegislativeBody ref="community"/>
</ScoreFunction>
<ScoreFunction id="district_hispvap_thresh" type="district" calculator="publicmapping.redistricting.calculators.Threshold" label="His. VAP Threshold">
<ScoreArgument name="value" ref="district_hispvap_percent"/>
<Argument name="threshold" value="0.5"/>
</ScoreFunction>
<ScoreFunction id="district_asianvap_percent" type="district" calculator="publicmapping.redistricting.calculators.Percent" label="Asian VAP">
<SubjectArgument name="numerator" ref="popaeo"/>
<SubjectArgument name="denominator" ref="popovr"/>
<LegislativeBody ref="council"/>
<LegislativeBody ref="community"/>
</ScoreFunction>
<ScoreFunction id="district_asianvap_thresh" type="district" calculator="publicmapping.redistricting.calculators.Threshold" label="Asian VAP Threshold">
<ScoreArgument name="value" ref="district_asianvap_percent"/>
<Argument name="threshold" value="0.5"/>
</ScoreFunction>
<!-- extras for stats panel -->
<ScoreFunction id="district_whitevap_percent" type="district" calculator="publicmapping.redistricting.calculators.Percent" label="White VAP">
<SubjectArgument name="numerator" ref="popweo"/>
<SubjectArgument name="denominator" ref="popovr"/>
<LegislativeBody ref="council"/>
<LegislativeBody ref="community"/>
</ScoreFunction>
<ScoreFunction id="district_nothispanicvap_percent" type="district" calculator="publicmapping.redistricting.calculators.Percent" label="Not hispanic or latino VAP">
<SubjectArgument name="numerator" ref="popneo"/>
<SubjectArgument name="denominator" ref="popovr"/>
<LegislativeBody ref="council"/>
<LegislativeBody ref="community"/>
</ScoreFunction>
<ScoreFunction id="district_amerindvap_percent" type="district" calculator="publicmapping.redistricting.calculators.Percent" label="AIAN VAP">
<SubjectArgument name="numerator" ref="popieo"/>
<SubjectArgument name="denominator" ref="popovr"/>
<LegislativeBody ref="council"/>
<LegislativeBody ref="community"/>
</ScoreFunction>
<ScoreFunction id="district_nathawaiianvap_percent" type="district" calculator="publicmapping.redistricting.calculators.Percent" label="NHPI VAP">
<SubjectArgument name="numerator" ref="poppeo"/>
<SubjectArgument name="denominator" ref="popovr"/>
<LegislativeBody ref="council"/>
<LegislativeBody ref="community"/>
</ScoreFunction>
<ScoreFunction id="district_othervap_percent" type="district" calculator="publicmapping.redistricting.calculators.Percent" label="Other VAP">
<SubjectArgument name="numerator" ref="popoeo"/>
<SubjectArgument name="denominator" ref="popovr"/>
<LegislativeBody ref="council"/>
<LegislativeBody ref="community"/>
</ScoreFunction>
<ScoreFunction id="district_twoormorevap_percent" type="district" calculator="publicmapping.redistricting.calculators.Percent" label="Two or More VAP">
<SubjectArgument name="numerator" ref="popteo"/>
<SubjectArgument name="denominator" ref="popovr"/>
<LegislativeBody ref="council"/>
<LegislativeBody ref="community"/>
</ScoreFunction>
<!-- A district score that generates classes based on a couple
ranges around a mean value. -->
<ScoreFunction id="district_poptot_uitarget_council" type="district" calculator="publicmapping.redistricting.calculators.Target">
<SubjectArgument name="value" ref="poptot"/>
<Argument name="target" value="152601"/>
<Argument name="range1" value="0.025"/>
<Argument name="range2" value="0.050"/>
</ScoreFunction>
<!-- A district score that returns 1(T) if the subject value
is between the ranges, otherwise returns 0(F). -->
<ScoreFunction id="district_poptot_range" type="district" calculator="publicmapping.redistricting.calculators.Range" label="Tot Pop Range">
<SubjectArgument name="value" ref="poptot"/>
<Argument name="min" value="148785"/>
<Argument name="max" value="156416"/>
</ScoreFunction>
<!-- A district score that is threshold dependent, and returns
T/F; this example uses 2 score functions: 1 to combine a
set of subjects, and 2 to divide the sum over another
subject. -->
<ScoreFunction id="district_mintot" type="district" calculator="publicmapping.redistricting.calculators.SumValues">
<SubjectArgument name="value1" ref="popblk"/>
<SubjectArgument name="value2" ref="pophis"/>
</ScoreFunction>
<ScoreFunction id="district_majmin" type="district" calculator="publicmapping.redistricting.calculators.DivideAndThreshold">
<ScoreArgument name="numerator" ref="district_mintot"/>
<SubjectArgument name="denominator" ref="poptot"/>
<Argument name="threshold" value="0.5"/>
</ScoreFunction>
<!-- A custom calculator to calculate compactness, and return
the raw compactness score. -->
<ScoreFunction id="district_schwartzberg" type="district" calculator="publicmapping.redistricting.calculators.Schwartzberg" label="Compactness" user_selectable="true">
<LegislativeBody ref="council"/>
</ScoreFunction>
<!-- A custom calculator to do contiguity, and is boolean. -->
<ScoreFunction id="district_contiguous" type="district" calculator="publicmapping.redistricting.calculators.Contiguity" label="Contiguous" user_selectable="true">
<Argument name="allow_single_point" value="1"/>
<LegislativeBody ref="council"/>
</ScoreFunction>
<!-- A plan score that aggregates all literal values -->
<ScoreFunction id="plan_sum_equipop" type="plan" calculator="publicmapping.redistricting.calculators.SumValues" label="Equal Population">
<ScoreArgument name="value1" ref="district_poptot_range"/>
</ScoreFunction>
<ScoreFunction id="plan_all_equipop" type="plan" calculator="publicmapping.redistricting.calculators.Threshold">
<ScoreArgument name="value" ref="plan_sum_equipop"/>
<Argument name="threshold" value="0"/>
</ScoreFunction>
<!-- A plan score that aggregates all districts over a threshold -->
<ScoreFunction id="plan_count_majmin" type="plan" calculator="publicmapping.redistricting.calculators.SumValues">
<ScoreArgument name="value1" ref="district_majmin"/>
</ScoreFunction>
<ScoreFunction id="plan_blkvap_thresh" type="plan" calculator="publicmapping.redistricting.calculators.SumValues">
<ScoreArgument name="value1" ref="district_blkvap_thresh"/>
</ScoreFunction>
<ScoreFunction id="plan_hispvap_thresh" type="plan" calculator="publicmapping.redistricting.calculators.SumValues">
<ScoreArgument name="value1" ref="district_hispvap_thresh"/>
</ScoreFunction>
<ScoreFunction id="plan_asianvap_thresh" type="plan" calculator="publicmapping.redistricting.calculators.SumValues">
<ScoreArgument name="value1" ref="district_asianvap_thresh"/>
</ScoreFunction>
<!-- A plan score that evaluates a threshold, and returns T/F.
This plan score checks that all districts are within the
population limits. -->
<ScoreFunction id="plan_poptot_inrange" type="plan" calculator="publicmapping.redistricting.calculators.Threshold">
<ScoreArgument name="value" ref="district_poptot_range"/>
<Argument name="threshold" value="0"/>
</ScoreFunction>
<!-- A plan score that evaluates all districts, and returns
1(T) if there is more than 0 districts that have a minority
majority. -->
<ScoreFunction id="plan_major_minor" type="plan" calculator="publicmapping.redistricting.calculators.Threshold" label="Majority-Minority">
<ScoreArgument name="value" ref="district_majmin"/>
<Argument name="threshold" value="0"/>
</ScoreFunction>
<ScoreFunction id="plan_contiguous" type="plan" calculator="publicmapping.redistricting.calculators.SumValues" label="Contiguous">
<ScoreArgument name="value1" ref="district_contiguous"/>
</ScoreFunction>
<ScoreFunction id="plan_council_noncontiguous" type="plan" calculator="publicmapping.redistricting.calculators.Contiguity" label="Contiguous">
<Argument name="target" value="10"/>
<Argument name="allow_single_point" value="1"/>
</ScoreFunction>
<!-- interval score function for population -->
<ScoreFunction id="council_population" type="district" label="Tot Pop" user_selectable="true" description="Population interval calculator for council." calculator="publicmapping.redistricting.calculators.Interval">
<SubjectArgument name="subject" ref="poptot"/>
<Argument name="target" value="152601"/>
<Argument name="bound1" value=".025"/>
<Argument name="bound2" value=".050"/>
</ScoreFunction>
<ScoreFunction id="district_vap" type="district" calculator="publicmapping.redistricting.calculators.SumValues" user_selectable="true" label="Voting Age Pop.">
<SubjectArgument name="value1" ref="popovr"/>
<LegislativeBody ref="council"/>
<LegislativeBody ref="community"/>
</ScoreFunction>
<ScoreFunction id="district_poptot" type="district" calculator="publicmapping.redistricting.calculators.SumValues" user_selectable="true" label="Total Population">
<SubjectArgument name="value1" ref="poptot"/>
<LegislativeBody ref="community"/>
</ScoreFunction>
<ScoreFunction id="district_comments" type="district" calculator="publicmapping.redistricting.calculators.Comments" user_selectable="false" label="Comments">
<LegislativeBody ref="community"/>
</ScoreFunction>
<ScoreFunction id="plan_majority_minority_hisp" type="plan" calculator="publicmapping.redistricting.calculators.MajorityMinority" label="Hisp. VAP Majority (&gt;50%)" description="Compliance with the Voting Rights Act will be assumed if maps include a minority-majority district in any area where a minority group is (as described in Thornburg V. Gingles, 478 U.S. 30, 49 (1986)) 'sufficiently large and geographically compact to constitute a majority in a single-member district'.">
<SubjectArgument name="population" ref="popovr"/>
<SubjectArgument name="minority1" ref="popheo"/>
<Argument name="target" value="10"/>
</ScoreFunction>
<ScoreFunction id="plan_majority_minority_blk_council" type="plan" calculator="publicmapping.redistricting.calculators.MajorityMinority" label="Black VAP Majority (&gt;50%)" description="Compliance with the Voting Rights Act will be assumed if maps include a minority-majority district in any area where a minority group is (as described in Thornburg V. Gingles, 478 U.S. 30, 49 (1986)) 'sufficiently large and geographically compact to constitute a majority in a single-member district'.">
<SubjectArgument name="population" ref="popovr"/>
<SubjectArgument name="minority1" ref="popbeo"/>
<Argument name="target" value="10"/>
</ScoreFunction>
<ScoreFunction id="council_plan_equipopulation_summary" type="plan" calculator="publicmapping.redistricting.calculators.Equipopulation" label="Target Pop. (152,601)" description="The population of each Council district must be 152,601 +/- 2.5%.">
<Argument name="min" value="148785"/>
<Argument name="max" value="156416"/>
<SubjectArgument name="value" ref="poptot"/>
<Argument name="target" value="10"/>
</ScoreFunction>
<!-- Validation -->
<ScoreFunction id="council_plan_equipopulation_validation" type="plan" calculator="publicmapping.redistricting.calculators.Equipopulation" label="Target Pop. (152,601)" description="The population of each Council district must be 152,601 +/- 2.5%.">
<Argument name="min" value="148785"/>
<Argument name="max" value="156416"/>
<SubjectArgument name="value" ref="poptot"/>
<Argument name="validation" value="1"/>
</ScoreFunction>
<ScoreFunction id="plan_all_blocks_assigned" type="plan" calculator="publicmapping.redistricting.calculators.AllBlocksAssigned" label="All Blocks Assigned" description="All blocks in the plan must be assigned.">
</ScoreFunction>
<ScoreFunction id="plan_all_contiguous" type="plan" calculator="publicmapping.redistricting.calculators.AllContiguous" label="All Contiguous" description="Contiguity means that every part of a district must be reachable from every other part without crossing the district's borders. All districts within a plan must be contiguous. 'Point contiguity' or 'touch-point contiguity' where two sections of a district are connected at a single point is permitted.">
<Argument name="allow_single_point" value="1"/>
</ScoreFunction>
<ScoreFunction id="council_plan_count_districts" type="plan" calculator="publicmapping.redistricting.calculators.CountDistricts" label="Count Districts" description="The number of districts in a Congressional redistricting plan must be 10.">
<Argument name="target" value="10"/>
</ScoreFunction>
<!-- Leaderboard -->
<ScoreFunction id="plan_equivalence" type="plan" calculator="publicmapping.redistricting.calculators.Equivalence" label="Equal Population" description="The Equipopulation score is the difference between the district with the highest population and the district with the lowest population.">
<SubjectArgument name="value" ref="poptot"/>
</ScoreFunction>
<ScoreFunction id="plan_schwartzberg" type="plan" calculator="publicmapping.redistricting.calculators.Schwartzberg" label="Average Compactness" description="The competition is using the 'Schwartzberg' compactness measure. This measure is a ratio of the perimeter of the district to the circumference of the circle whose area is equal to the area of the district.">
</ScoreFunction>
<ScoreFunction id="plan_split_ward" type="plan" calculator="publicmapping.redistricting.calculators.SplitCounter" label="Ward Splits" description="The Ward Splits score is a calculation of the number of wards that have been split by districts in the plan.">
<Argument name="boundary_id" value="geolevel.21"/>
<Argument name="only_total" value="1"/>
</ScoreFunction>
</ScoreFunctions>
<ScorePanels>
<!-- Leaderboard -->
<ScorePanel id="panel_equipop_all" type="plan" position="1" title="Equipopulation" template="leaderboard_panel_all.html">
<Score ref="plan_equivalence"/>
</ScorePanel>
<ScorePanel id="panel_equipop_mine" type="plan" position="1" title="Equipopulation" template="leaderboard_panel_mine.html">
<Score ref="plan_equivalence"/>
</ScorePanel>
<ScorePanel id="panel_compact_all" type="plan" position="2" is_ascending="false" title="Compactness" template="leaderboard_panel_all.html">
<Score ref="plan_schwartzberg"/>
</ScorePanel>
<ScorePanel id="panel_compact_mine" type="plan" position="2" is_ascending="false" title="Compactness" template="leaderboard_panel_mine.html">
<Score ref="plan_schwartzberg"/>
</ScorePanel>
<ScorePanel id="panel_split_ward_all" type="plan" position="3" title="Ward Splits" template="leaderboard_panel_all.html">
<Score ref="plan_split_ward"/>
</ScorePanel>
<ScorePanel id="panel_split_ward_mine" type="plan" position="3" title="Ward Splits" template="leaderboard_panel_all.html">
<Score ref="plan_split_ward"/>
</ScorePanel>
<!-- Summary above all sidebar panels -->
<ScorePanel id="council_panel_summary" type="plan_summary" position="1" title="Plan Summary" cssclass="plan_summary council" template="plan_summary.html">
<Score ref="council_plan_equipopulation_summary"/>
<Score ref="plan_council_noncontiguous"/>
<Score ref="plan_majority_minority_blk_council"/>
<Score ref="plan_majority_minority_hisp"/>
</ScorePanel>
<ScorePanel id="community_panel_summary" type="plan_summary" position="1" title="Community Summary" cssclass="plan_summary community" template="community_summary.html">
<Score ref="plan_majority_minority_blk_council"/>
<Score ref="plan_majority_minority_hisp"/>
</ScorePanel>
<!-- Basic Information -->
<ScorePanel id="council_panel_info" type="district" position="2" title="Basic Information" cssclass="district_basic_info council" template="basic_information.html">
<Score ref="council_population"/>
<Score ref="district_contiguous"/>
<Score ref="district_schwartzberg"/>
</ScorePanel>
<!-- Community Comments -->
<ScorePanel id="community_panel_comments" type="district" position="2" title="Plan Comments" cssclass="district_comments community" template="plan_comments.html">
<Score ref="district_comments"/>
</ScorePanel>
<!-- Demographics -->
<ScorePanel id="council_panel_demo" type="district" position="2" title="Demographics" cssclass="district_demographics council" template="demographics.html">
<Score ref="district_blkvap_percent"/>
<Score ref="district_hispvap_percent"/>
<Score ref="district_asianvap_percent"/>
</ScorePanel>
<ScorePanel id="community_panel_demo" type="district" position="2" title="Demographics" cssclass="district_demographics community" template="communities.html">
<Score ref="district_poptot"/>
<Score ref="district_vap"/>
</ScorePanel>
</ScorePanels>
<ScoreDisplays>
<!-- Leaderboard -->
<ScoreDisplay legislativebodyref="council" type="leaderboard" title="Philadelphia City Council Leaderboard - All" cssclass="leaderboard council">
<ScorePanel ref="panel_equipop_all"/>
<ScorePanel ref="panel_compact_all"/>
<ScorePanel ref="panel_split_ward_all"/>
</ScoreDisplay>
<ScoreDisplay legislativebodyref="council" type="leaderboard" title="Philadelphia City Council Leaderboard - Mine" cssclass="leaderboard council">
<ScorePanel ref="panel_equipop_mine"/>
<ScorePanel ref="panel_compact_mine"/>
<ScorePanel ref="panel_split_ward_mine"/>
</ScoreDisplay>
<!-- Sidebar configuration -->
<ScoreDisplay legislativebodyref="council" type="sidebar" title="Basic Information" cssclass="basic_information">
<ScorePanel ref="council_panel_summary"/>
<ScorePanel ref="council_panel_info"/>
</ScoreDisplay>
<ScoreDisplay legislativebodyref="council" type="sidebar" title="Demographics" cssclass="demographics">
<ScorePanel ref="council_panel_summary"/>
<ScorePanel ref="council_panel_demo"/>
</ScoreDisplay>
<ScoreDisplay legislativebodyref="community" type="sidebar" title="Demographics" cssclass="demographics">
<ScorePanel ref="community_panel_summary"/>
<ScorePanel ref="community_panel_demo"/>
</ScoreDisplay>
<ScoreDisplay legislativebodyref="community" type="sidebar" title="Community Mapping" cssclass="demographics">
<ScorePanel ref="community_panel_summary"/>
<ScorePanel ref="community_panel_comments"/>
</ScoreDisplay>
</ScoreDisplays>
</Scoring>
<Validation>
<Criteria legislativebodyref="council">
<Criterion name="Equipopulation - Council" description="&lt;p&gt;Your plan does not meet the competition criteria for Equipopulation:&lt;/p&gt;&lt;p&gt;The population of each council district must be 152,601 +/- 2.5%.&lt;/p&gt;">
<Score ref="council_plan_equipopulation_validation"/>
</Criterion>
<Criterion name="AllContiguous - Council" description="&lt;p&gt;Your plan does not meet the competition criteria for Contiguity&lt;/p&gt;&lt;p&gt;Every part of a district must be reachable from every other part without crossing the district's borders. All districts within a plan must be contiguous. 'Point contiguity' or 'touch-point contiguity' where two sections of a district are connected at a single point is permitted.&lt;/p&gt;">
<Score ref="plan_all_contiguous"/>
</Criterion>
<Criterion name="CountDistricts - Council" description="">
<Score ref="council_plan_count_districts"/>
</Criterion>
<Criterion name="AllBlocksAssigned - Council" description="">
<Score ref="plan_all_blocks_assigned"/>
</Criterion>
</Criteria>
</Validation>
<GeoLevels>
<GeoLevel id="division" name="division" min_zoom="2" sort_key="1" tolerance="10">
<Shapefile path="/projects/PublicMapping/local/data/FINAL/new_wards_divs_with_redistricting_data_WM.shp">
<Fields>
<Field name="DIV" type="name"/>
<Field name="WARD_DIV" type="portable"/>
<Field name="WARD" type="tree" pos="0" width="2"/>
<Field name="DIV" type="tree" pos="1" width="2"/>
</Fields>
</Shapefile>
<LegislativeBodies>
<LegislativeBody ref="council"/>
<LegislativeBody ref="community"/>
</LegislativeBodies>
</GeoLevel>
<GeoLevel id="ward" name="ward" min_zoom="0" sort_key="2" tolerance="25">
<Shapefile path="/projects/PublicMapping/local/data/FINAL/new_wards_with_redistricting_data_WM.shp">
<Fields>
<Field name="WARD" type="name"/>
<Field name="WARD" type="portable"/>
<Field name="WARD" type="tree" pos="0" width="2"/>
</Fields>
</Shapefile>
<LegislativeBodies>
<LegislativeBody ref="council">
<Parent ref="division"/>
</LegislativeBody>
<LegislativeBody ref="community">
<Parent ref="division"/>
</LegislativeBody>
</LegislativeBodies>
</GeoLevel>
</GeoLevels>
<Templates>
<Template name="Current City Council Districts">
<LegislativeBody ref="council"/>
<Blockfile path="/projects/PublicMapping/local/data/FINAL/ward_div_council_district.csv"/>
</Template>
</Templates>
<Project root="/projects/PublicMapping/DistrictBuilder" sessionquota="40" sessiontimeout="15">
<Database name="" user="" password="" host=""/>
<Admin user="" email="" password=""/>
<Redistricting>
<MapServer hostname="" ns="ph" nshref="http://districtbuilder.azavea.com/" adminuser="" adminpass="" maxfeatures="100" styles="/projects/PublicMapping/DistrictBuilder/sld"/>
<GoogleAnalytics account="" domain=""/>
<Upload maxsize=""/>
<FixUnassigned minpercent="99" comparatorsubject="poptot"/>
<MaxUndos duringedit="50" afteredit="5"/>
</Redistricting>
<Reporting>
<!-- TODO: configure BARD replacement -->
</Reporting>
<Mailer server="" port="" use_tls="" submission_email="" username="" password=""/>
</Project>
</DistrictBuilder>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment