Select to view content in your preferred language

Election Polling Place application - Ballot attachment

3945
6
Jump to solution
05-08-2014 05:33 AM
JosephRathvon
Regular Contributor
We stood up the Election Polling Place Map.  I want to add the sample ballots but cannot figure out how to make that happen.  I can't find any place in the documentation that tells me where to put them and what to add. I assume that I use the polling place Attachment table that is related to the Polling place locations but the Sample map definition doesn't include that.  In the code I can't find a place to add it either.  I am new to this please help me get it up and running.

Thanks

Joe Rathvon
0 Kudos
1 Solution

Accepted Solutions
JosephRathvon
Regular Contributor
Ok I was right. Just add the ballots as attachments to the features and publish. I added the attach table to the published service. I am not sure if I needed to but it works so I will keep it.

View solution in original post

0 Kudos
6 Replies
JosephRathvon
Regular Contributor
Ok I was right. Just add the ballots as attachments to the features and publish. I added the attach table to the published service. I am not sure if I needed to but it works so I will keep it.
0 Kudos
deleted-user-o0qo22IL6bb6
Deactivated User
Ok I was right. Just add the ballots as attachments to the features and publish. I added the attach table to the published service. I am not sure if I needed to but it works so I will keep it.


Joe,
Just to clarify for myself and others, you added the attachments to the polling locations point features.  I think I might be thinking myself in circles based on the fact that the number of polling locations doesn't match the number of voting districts based on the one to many relationship.  As such, I'm trying to decipher how the correct sample ballot will display by attaching to the polling locations as opposed to the districts themselves. 

Jason
0 Kudos
JosephRathvon
Regular Contributor
for us we have multiple voting districts (each with different ballots) and they are divided into polling precincts. polling precincts boundaries do not cross voting districts. there is also only one polling place for each polling precinct.  For us each polling place will have a ballot for democrats, republicans, and unaffiliated (school board).   I could only get one ballot to show up so we combined the three samples into one pdf and attached it to the polling place point. incoming queries interact with polling precincts which have a one to one relationship with polling place. The attachment and other info time,contact ect.. come from that feature class.  The attachments are stored in a related attachment table in a blob field, so each polling place gets its own copy of the sample.  It makes for time consuming updating.  Hope that helps.
0 Kudos
deleted-user-o0qo22IL6bb6
Deactivated User
for us we have multiple voting districts (each with different ballots) and they are divided into polling precincts. polling precincts boundaries do not cross voting districts. there is also only one polling place for each polling precinct.  For us each polling place will have a ballot for democrats, republicans, and unaffiliated (school board).   I could only get one ballot to show up so we combined the three samples into one pdf and attached it to the polling place point. incoming queries interact with polling precincts which have a one to one relationship with polling place. The attachment and other info time,contact ect.. come from that feature class.  The attachments are stored in a related attachment table in a blob field, so each polling place gets its own copy of the sample.  It makes for time consuming updating.  Hope that helps.


That's what I was worried about.  I say voting districts but that would be the same as your precincts.  Our county doesn't use that terminology but that is neither here nor there. 

Many of our polling places service numerous voting districts and I'm working on figuring out the best way to get the correct ballot to populate depending on the district.  My best thought is to create a new relationship with the district/precinct polling place standalone table for the purpose of attachments and make any necessary adjustments in the .js if necessary.  I haven't examined the .js to see how the attachments are processed yet so we'll see what happens. 

Thanks for the insight.
0 Kudos
JosephRathvon
Regular Contributor
I think we might have had one of those situations where two precincts voted at the same polling location.  Since the query first interacts with the polygon then finds the related point, we just added another point. Looks the same but acts different ( i.e. separate ballot)
0 Kudos
deleted-user-o0qo22IL6bb6
Deactivated User
I think we might have had one of those situations where two precincts voted at the same polling location.  Since the query first interacts with the polygon then finds the related point, we just added another point. Looks the same but acts different ( i.e. separate ballot)


That's what I was trying to avoid; having duplicate polling location features.  I'm just surprised that the application wasn't designed so that the attachments are associated with the polling place table as opposed to the feature class.  It seems to me that there was a lack of forethought regarding the associated of one polling place with multiple districts.  Unless I am simply failing to wrap my mind around the workflow correctly.
0 Kudos