Google Ads


Site Stats

Daves Redistricting 2.0 [Updated 2]

by: dgb

Sat Nov 13, 2010 at 1:26 AM EST


Daves Redistricting 2.0 is now ready.

There are many changes from 1.0. It uses a Bing map, so you can see roads and aerial view, and pan and zoom normally. You can load and save files normally, too. You can save a view directly to a JPEG. And there are more features to help do the job of assigning districts to CDs.

I am very excited to be releasing this. You are the first to know! I hope you like it.

dgb :: Daves Redistricting 2.0 [Updated 2]
Fire it up and check the "How To" for a brief idea of what's different. And the help file explains it all. You can load 1.0 files, too.

Please let me know of any bugs. I'm sure there are some in there. I've only tested on Windows, so Mac users, please let me know if it's ok on the Mac.

Update: Here's some more info and explanation of the big changes:
1) The background is a bing map instead of a canvas. The advantages are you can see the roads and you get pan/zoom in a way you are use to (using the pan and zoom controls or the hold-mouse-and-drag that are common to bing and google maps). The disadvantages are that rendering is slower necessitating showing only a subset of the voting districts at a time, and that hold-mouse-and-drag no longer colors (because it pans) so you have to double-click to change the mode to coloring and back. I've tried to mitigate the performance disadvantage by giving you control over showing those districts (All, None, Auto with control over Auto). Another disadvantage is that the colors are paler in order to show the roads thru. I plan to give you a little more control over that.
2) File Save/Load is improved. I hope you all find this to be a big win. I always disliked the necessity of saving your work in the obfuscated files.
3) Area views. Saving the 1.0 area maps in some XML that required another tool was a real hack. And I had really broken the look of those, too, with all of the crossing lines. All of that is gone and now you can save directly to JPEG. The only issue is that Bing does not allow its road map or aerial map backgrounds to be saved -- proprietary. (I'm prevented from rendering the background into the bitmap that is translated into the JPEG.)
4) Labels: This may be harder to notice, but all of the labels (CDs, Counties, etc.) can be moved and resized. Hover over them to get the tool tip. Hold mouse and drag to move; Hold mouse and hit 's' to make it smaller or 'l' to make it larger. You can even delete some of the labels.
5) The Cur CD check box is new. It lets you focus on the currently selected new CD, hiding all the others. If you switch CDs when this is checked, it will pan and zoom to the newly selected CD.
5) Find CD Parts is a new feature that helps find little pieces of a CD that you may have left behind when changing CDs around. It uses only the bounding rectangle, so it won't catch non-contiguous pieces that are really close to the main CD or in especially snake-like situations, but it can help. I may try to implement a real contiguity check someday, but that is much harder.
6) There still is Auto Assign according to Old CDs. I've also added Auto Assign by quadrants -- something I came up with. It does not balance the CDs, but starts you out with rectangular districts that you can then modify to balance properly. I've made a map for Texas using this and it's reasonably compact. In the future, I hope to add additional algorithms that others have developed or will develop.
7) I didn't include city shapes this time, because the road map helps you see where the cities are. However, the road map doesn't show the actual boundaries, which can of course, be useful. I will look into adding those back. But remember that adding more shapes slows down Bing's rendering, so I need to think about how to limit the city shapes to the ones that are really useful.

And keep sending feedback. I will try to make improvements over the next couple of months and then work on all the new data when it comes out, so the app is ready for really helping you and others next year.

[Update 2]
From the feedback it seems you all are facing two major issues:
1) It's too slow, even with the "only show some districts" mitigation. And that mitigation is a pain because you can't see as much as you need.
2) The Bing pan control seems to go wild.

For (1) I am trying a change that looks promising and, I hope, will get the speed to be close to 1.0 speed. I thought about this all day (while doing other stuff), tried a couple of things. I need to work on it more and it will be at least a few days, possibly after T-day before I would have this ready. So stay tuned.
On (2), I was finally able to sort of duplicate the behavior. I can see that if I hold the mouse in the pan control and then quickly (really fast) move it out of the control, the map does speed away in that direction. My guess is that on the Mac at least, the pan control is not calibrated to the mouse as well and is too sensitive, so you all hardly have to move the mouse to get the map winging away. Since I don't do anything for that control (the Bing object does) I don't have a good solution, other than using the drag on the map method of panning.

Thanks!

Tags: , , (All Tags)
Print Friendly View Send As Email

how do you access it?
I just see 1.0

21, Male, Democrat, MD-02 (home/registered), MD-05 (college)

nm, i see it now


21, Male, Democrat, MD-02 (home/registered), MD-05 (college)

[ Parent ]
Hey, thanks for putting this up
I'm playing around with it now on my Mac, and everything seems to be working as expected. I just have a couple of quick usability notes:

1. Because you can only see so little of your map at a time, it seems really difficult to visualize an overall scheme;

2. The "double click to color" function is great if you want to cover lots of ground at once, but it's basically impossible to "hunt and grab" individual precincts. It would be good to have back a click to select mode (perhaps by toggling the click to pan function).

Looks like real progress, though!  


Mac/Firefox user
The interface looks great, but I am having difficulties.

1) Selecting color on - not sure what key combination works to toggle on. Since it is more difficult to see city boundaries, I want to know whether I am selecting a city precinct or a county precinct, so I am going back and forth to see the underlying precinct name (as it is the only way to tell) (true for Washington state).

2) saved files work nicely, but it is not defaultly saved to "/Users/username/Library/Application Support/Silverlight/" as it did in version 1.0. Instead, it goes to the last used folder.

More later as I keep testing.


[ Parent ]
On Mac Safari I can only "save as"
There's no plain "save."

[ Parent ]
Intentional
Because Silverlight does not allow the app to Save without selecting a file. So there's no way around having to say you want to overwrite the file if you want to save to the same file. Security thing.

[ Parent ]
It's a kind of forced versioning
Not the worst thing in the world, but it makes it hard to make one quick change and walk away.  

[ Parent ]
Coloring On
Double click on the map to toggle Coloring On.

I opted not to include city polygons because the map already shows generally where the cities are. And more shapes slows the app down, too. But you are correct that the Bing map doesn't show the exact city boundaries. I'll think about what could be done.

Save: you can browse to any directory you want. It will remember the last directory automatically.


[ Parent ]
Understood
As explained in the How To screen, I don't display all of the districts all the time because it makes it too slow especially for zooming. The problem is that Bing is slow to render all of the shapes, and as you know there can be thousands of those shapes. You can control this using the Show Vote Districts panel on the left. You can Show All if you want.

For coloring, can you find the district you want and double-click on it and double-click again to color just that district?


[ Parent ]
I tried showing
all of the districts at once, and it was pretty slow. But it doesn't seem like the default is that much faster, especially because it creates a kind of tunnel vision effect where you can only see parts of districts.

For coloring the quadruple click method does work, but it would be easier to be able to have a single click mode.

One other point is that the new backgrounds (and the way VTDs are shown) can make for a really busy display. Displaying partisan data is now somewhat worse because the colors aren't as distinct. Meanwhile, you still can't see partisan coloring beneath already-drawn districts (that would be a really useful feature for V 3.0!) What would be really cool is if there were an algorithm to draw n districts within a range of partisanship (i.e., 9 districts at least 65% McCain).


[ Parent ]
Slowness
The slow performance with a lot of shapes was one of the biggest issues as I was working on this. I have the default at about 1200 district shapes. You can adjust down if it's still too slow. With large states showing all the districts makes even a really fast machine crawl. I searched on MSDN (Microsoft's Developer site) and found other poeple who had run into these performance problems, but no one had a solution. One guy said "there's no reason you should ever need more than 1000 shapes." Right.

I may be able to use the right mouse button. It was not supported until Silverlight 4, which I wasn't using until recently. (I was working with 3.)

The problem with the background is that you want it to show thru, so you can see roads, etc., but it makes the colors paler. What would you think of a some color controls? It would probably be pretty straight-forward to let you control the opacity (1 is opaque, 0 transparent), and also to change colors for districts.

It would be nice to see the partisan coloring while coloring districts, but talk about busy.... and I will be able to entertain automatic algorithms, if someone else writes them...


[ Parent ]
Controlling the opacity would be cool
But another option is to just show the outline of the districts that we draw, and to not color-in the whole thing. The border could be color-shaded. That would enable a cool feature that I've had on my mind for a while: the ability to shift the border between two districts just by dragging the edge (that way you don't run into the "oops, I missed a piece!")

To tell you the truth, I think it was actually easier to see what was going on with your old system of display!

As for the right click option, that's not a terrible idea. However, Mac users still get by with one mouse button (the horror!), so our "right click" is typically a control-click.

I hear you on the performance problems; think it's human nature to assume "I don't need X" means the same thing as "no one needs X."

And if I knew how to write the algorithms, I would love to help. But I don't!  


[ Parent ]
Nice ideas
I like your ideas about border shading and dragging the edge. I'll look into that. Silverlight still is limited compared to WPF (on Windows) or some of the UI framework for Mac or Linux, so I'll have to see what facilities are there for me to use.

For the "missed a piece" problem, I do have the Find CD Parts feature. It's coarse, but helped me when I was doing test redistricting with Texas.

Thanks.


[ Parent ]
Just one question--
not directly related to your app, but you're the expert on this.

All major forecasters are worried about redistricting a LOT for the reason that all of us work with historical election data. But if redistricting makes the old districts obsolete our data is gone too.

Is there any way you know of to reconstruct how the new districts voted in statewide or national elections?

Precinct boundaries and Census Tracts are changing too, so it's not as easy as just plugging the new districts into your app.  

18- Hamburg, Germany (non-US-citizen)


Partisan data?
For partisan data this is already a problem, because the 2008 districts didn't always match the 2000 districts. The latter are what the app uses because that is what's available from the census bureau. Jeffmd did custom district shapes for NY, CA and TX to solve the problem. I have partisan data for a few other states, which have been contributed by other users. Generally, they tried to map the 2008 data back to the 2000 districts by merging or splitting.

When the new census data comes out, my intention is to upload all of that new data (shapes and numbers) into the app. How we map the 2008 partisan to that, I don't know. Could be a real pain. The census bureau does provide a mapping for census tracts, etc., but I don't think for voting districts and certainly not the 2008 voting districts.


[ Parent ]
Can't save statewide maps correctly
They come out like they look onscreen, with some of the precincts missing.

Yes
You can click "All" in Show Vote Districts to view all precincts and then save.

But you raise a good point: is there any reason a user would not want to display all precincts in a JPEG if Show Vote Districts Auto is on?

Thanks.


[ Parent ]
Curious
Before you've hinted at uploading current district lines for state legislatures. I understand its a massive undertaking, so I was curious if you had a timeframe for that.

No
I have not really been considering doing this. It would be a bunch of work, although not prohibitive. But there will be a lot of work coming up when all the new census data and voting districts are released.

[ Parent ]
I was just wondering
It's a great new look, I like the idea of being able to see a nationwide rendering of my mapping. But anyway, is there anyway to darken these colors? I'm sorry but particularly with the new graphics some of these are very faint.

I think so
andgarden was making this point to. I will look into giving users the ability to change the opacity (opaqueness).

[ Parent ]
Fantastic work as usual
You should start trying to improve the data collection and then selling it to states; the mapquest or whatever software is thousands of dollars, you could drive them out of business. It would be interesting, I think, to be a redistricting consultant, haha.  

[ Parent ]
looks great
Just one question - could you add an option to hide voting district lines so we can just see the districts without any clutter?

Also, what program do you use to edit the shapefiles? If it's not anything ultra-sophisticated, I may want to do it for Maryland to get rid of all the rivers.  

21, Male, Democrat, MD-02 (home/registered), MD-05 (college)


I'll look at that
I'll look into your suggestion. You mean to still show the voting districts themselves and their colors, but remove the borders of those district shapes. Right?

To reduce the size of the shapefiles I wrote a Perl script. It expects as input the kind of shapefile from the census bureau for districts, old CDs, counties -- all polygons, not other types. Although you could look for other types. In normal shapefile format, all of the points of the polygons are pairs of doubles (16 bytes total for (x,y)). I replace most of them with 4 bytes total for (x,y). Essentially taking advantage of the domain knowledge that all are between +180 and -180 and we can do without the extra precision. If your comfortable with Perl I would be happy to send you the script.


[ Parent ]
At the least, it would be useful
to narrow the borders of district shapes. Right now, major cities are obscured by them

[ Parent ]
Municipal Lines...
Let me first say thanks this application is amazing.

My question involves the Block/Voting district Breakdowns...Do you have any option to simplify the map with simple municipal (town and city) boundaries?  In NJ, for example, our LDs must stay within the township/borough/city lines unless said area is too big (Newark, Jersey City).  Towns that have 30-40 voting districts take a lot of time to "move" them all between districts, and it's hard to tell what town they are in without hovering over every single one (and there are thousands!)  Every square inch of NJ is within a municipality.  It would be neat if the NJ map gave the option to switch to a "assign all of this town" mode or something.  Just a suggestion.  Again, this app is a lot of fun...thanks again!


NE and NJ
Town boundaries. This has been brought up before. I'll look into this. Thanks.

[ Parent ]
thanks!
Thanks for the response.  You did so much work to make something that's incredibly useful, and I kind of felt guilty to ask for more.  

[ Parent ]
Just Thinking of MA.
It's relatively easy to find results for everything from Massachusetts by city/town. By precinct...not so easy.

I have a map of MA I where I plugged in a bunch of different stuff for elections. But all the data I had was by town. (Which, really, in most cases is good enough. With a few exceptions, there's not a ton of political variation between neighborhoods within a town for high-level races. That's obviously not true for Boston or Worcester or Springfield or any other places with high demographic variation.)

Someone pointed me to a source of data for Boston at least, by far the most useful place to have the breakdowns. (When I draw CDs for the Bay State, I'm usually loath to split up any city other than Boston.)

36, M, Democrat, MD-03


[ Parent ]
Let me be brutally honest...
This app has a whole lot of problems that need to be fixed.

- Why aren't there any 2010 population estimates?

- Why no partisan breakdowns?

- Why is it so hard to just start drawing the districts?

- Why can't I get the program to stop moving all over the place? (It won't stand still now.)

Sorry if it seems like I'm whining. That's not my intent. It just seems like there are some kinks that need to be fixed. And I think with the right fixes, this may actually be a good glimpse into how actual Congressional Districts are made.

Yes, Virginia, there ARE progressives in Nevada!
24, gay male, Democrat, NV-03 (or 04?)


It does have partisan data for some states
CA, TX, NY, NM, NC, MD.

21, dude, RI-01 (registered) IL-01 (college)
please help Japan. click "donate funds" in upper right and then "Japan Earthquake and Pacific Tsunami." http://www.redcross.org/


[ Parent ]
Oh and PA, forgot about that


21, dude, RI-01 (registered) IL-01 (college)
please help Japan. click "donate funds" in upper right and then "Japan Earthquake and Pacific Tsunami." http://www.redcross.org/


[ Parent ]
To answer a few...
2010 population estimates - not out yet.

No partisan breakdowns - matching political and population data is no trivial exercise.

Voting districts change significantly over time; the solutions involve either estimation, combining existing (2000) census voting districts into "super precincts" until they coincide with present-day precincts, or assigning individual census blocks to match present-day precincts (I did this for parts of New York - NYC has 36,880 census blocks; Nassau County has 20,304; Monroe County upstate has 9,345. I'm starting on Illinois - Cook County has 64,341...it takes time!)


[ Parent ]
Thank you for starting Illinois!
Although I have some issues with the new redistricting app (which have more or less already been brought up by others), I think the fact that there is a street map to overlay the districts on is great for Chicago, since I like to know where my districts are within the city. And partisan data for IL would be awesome since I know more about IL than about any of the six states that currently have partisan data, lol.

21, dude, RI-01 (registered) IL-01 (college)
please help Japan. click "donate funds" in upper right and then "Japan Earthquake and Pacific Tsunami." http://www.redcross.org/


[ Parent ]
It's ok to whine
I appreciate your feedback. The first 2 questions are already answered.

Hard to draw districts: Is it the double-click? Or another issue?

Moving all over the place: I got email from someone today who had that problem. (I'm assuming that's not you.) Could you be more specific as to how you get in that situation. I tried (Windows 7 using IE) and could not repro it. It could be a bug. In general, I'm letting the Bing map pan and zoom and my code doesn't get involved. When "coloring on" I disable the panning where you hold down the mouse and drag. Also a couple of actions do pan and zoom themselves, but otherwise I stand clear.

Also, make sure to read the How To. It's the screen that comes up when you first launch and you can get from the How To button. It attempts to very briefly explain the basics.

Thanks.


[ Parent ]
Everytime I change districts on the left
It zooms out and partway back in.

[ Parent ]
Sorry. I was frustrated...
And I just started venting uncontrollably.

Here's what happened. I was using Google Chrome. And while I was about to double click to restart drawing, the map started wandering off into Arizona. Then when I tried to stop so I could drag it back to Nevada on my own, it turned direction then went off to California then fell into The Pacific Ocean on its own.

Maybe this is a bug? At one point, I completely lost control of the app.

And do you need any help in updating it when the new Census data are released? I can give you the new precincts. (The 2010 Nevada precincts differ greatly from what's currently in DRA.)

Yes, Virginia, there ARE progressives in Nevada!
24, gay male, Democrat, NV-03 (or 04?)


[ Parent ]
I don't know
I've tried Chrome now on Windows 7 and can't get the exact behavior. If I click and hold in the compass-like pan control on the bing map (upper left of the map) and then drag the mouse out of that control, the map will move fast in that direction. But when I release the mouse button it stops.

Regarding the 2010 data, let me see what the census puts out. The key thing is to have the demographic data broken down by precincts. I think the states give the census bureau their precincts and the bureau maps their blocks into the precincts and then published that.

Thanks.  


[ Parent ]
I must be dense or it's IE 8 broken
   I cannot get it to color in a district. If I select unassigned on the left, double click and swipe the mouse changes from assigned to unassigned. But, if I select and actual CD, the color on just has no effect at all.
 I'm interested in Washington.

Windows 7 64bit and Vista 32bit


You have Cur CD checked
You must have Cur CD checked. This displays only the districts for the currently selected CD. When you switch to a different CD it pans and zooms over to that CD.

When you change the current CD to "Un", the app doesn't change the display (which I would consider a bug -- it should turn off Cur CD, since there is none and then show districts for all CDs. I'll put that on my list to fix.) That is why you can unassign districts, at least the ones in the last real CD you were on before switching to CD "Un".

Thanks.


[ Parent ]
Thanks that helped.


[ Parent ]
my congratulations dgb

My little basis about do things like this and write algorithms is enough for understand what here is a lot of good work. Then I only can give you my congratulations.

Sure I will use your application for fine redistricting finding the limits. Since my point, the new maps are better than the olds and this will help me a lot in my way for use the application, what requires look to very little details, and is not fast (for the biggest states).

I'm sure you will continue working hard for include new data, and I will wait with all the patience (as example for Illinois data), of course, while you can include more data. You are doing more than enough.

As user I must appreciate the good way what your application gives for redistricting, and the lot of my time saved by your application:

- Because I need not to find all these data. To find the necessary data and work it until have a useful format is a lot of work what save a lot of my time.

- Because since now I will need not to compare different maps. Until now I was using maps like this for find the basis of many congressman in the biggest cities. The old maps was so hard for compare with real maps finding fine locations.  

- Because the new way for save the maps makes easier it and I think this will help me very much. As you tell I use habitually in the majority of applications the way of "save as" cause of the security. You can not lose a previous good work saving by accident or without thing enough, something worse.

To move the maps requires some time, but I can assume it, if I wish do a decent work. Now all the people what work with the first version is more fluent with the old version, but I see good advantages in the new application.


Thank you
Yes. It's a lot of work. Jeffmd is working on partisan data for IL. And when the new census data comes out I will incorporate that as well.

Thanks!


[ Parent ]
Thanks for all your work on this
it really is a great tool. I've done a lot of playing with it on the states that have partisan data and a little with some of those that do not.

I noticed the new release last night and will give it a test drive today. One thing I've been meaning to mention to you is that in New York there are about 30 very small districts that I can never manage to get assigned. They tend to hide in the black lines. At the end of a drawing session I always have a few hundred or up to a couple thousand votes left unassigned. Many of them I can assign (even ones hiding inside the black dividing lines) but roughly 30 of them accounting for 194 votes I can never get assigned. Obviously 194 votes doesn't matter but clicking through the 30 continually to get to the ones I can assign can be a bit tedious. Most of them are in the city. It starts with one in Yonkers and then works its way down and out to Nassau.

Great, GREAT work on this app! Thank you.

Peace,

Andrew


[ Parent ]
The thick lines are fixed
in 2.0. As you zoom in now, the lines scale down.

[ Parent ]
Yup! Got'm all
Thanks for all your work on this.

I see you are crowd sourcing the partisan numbers too which is great. My one worry about this is reliance on just the 2008 presidential numbers which may be a bit misleading since it was such a banner year for us.

For instance, we just lost a bunch of the congressional seats in New York that went for Obama. No big surprise for the ones we won with 51% but we just lost them with 55% for the other guys and one seat that Obama won at 56% is still in recount land.

Using the previous version I cut all of New York's districts fairly easily into 54% or higher from one end of the state to the other with very little gerrymandering. If I settled for 53% in a couple districts then I could do it while staying completely compact.

I realize it is vastly more work and would take a dedicated team but I am wondering if some sort of averaging of the last few elections would provide more accurate numbers and smooth out the waves that went our way with the ones that went their way.


[ Parent ]
54% Obama
A link was provided in one of the comments at Swing State.  Nationwide survey of Congressional district.  Conclusion was that a CE of 55% or less had more of a chance than not of losing to the Republican in 2010. Sp all of your districts at 54% had a more than likely chance of being won by the Republican in an election like 2010.

Joe Cooper

[ Parent ]
A good point but...
I don't think people use the off year elections that much. Thinking about DailyKos and SwingState when rating districts over the decade, seems they were using Kerry/Bush and Gore/Bush. But, I could be wrong.

Anyway, I'm dependent on others getting that data; it's just too time consuming.

Thanks.  


[ Parent ]
Finding "hidden" districts
I found that you can open up the raw file with your basic (raw) text editor (i.e. not Word) you can search for the hidden precincts. This approach will work in 2.0, but the find unassigned precinct button is better in version 2.0.

If anyone has a better way, please let me know.

My approach:
1) Open up your file using Dave's Redistricting

2) Open up the raw .drf file

3) In Dave's redistricting, find the next unassigned precinct

4) In your text file, search for "0" - this corresponds with the next unassigned (except that the first "0" is "numAreaMaps="0"" and cannot be changed or the map will subsequently fail to load).

5) Based on where the unassigned precinct is on the map (visually on the application), enter in the correct CD number in the text file.

You will change something that looks like this:
voteDist geoID2="5306379    " cd="0" /
to something that looks like this:
voteDist geoID2="5306379    " cd="7" /

While the surrounding "voteDist" in the file may be similar to the CD that you want to enter, do not assume that while the preceding and subsequent lines all say cd="7" that the unassigned block (cd="0") should also be in your cd="7".

6) repeat steps 5 - 7 as needed

7) save the text file

8) Open the newly saved file in the application (DO NOT save the map on Dave's Redistricting [except perhaps as a new name]. Otherwise you will save over your work).

9) the check to your work in v. 2.0 is the box that checks for contiguity.
__________________________

The other way to avoid this problem is to start with the old CDs and modify the existing lines. This process means that all of the voting blocks are assigned from the beginning, but you may have more difficulty finding the "hidden" voting blocks if they are not contiguous with your modifications.


[ Parent ]
Thanks for the suggestion
but version 2.0 solved the problem completely. It'll take a little getting used to the new map. I like having the real map behind it but it is a little clunky in zooming and panning.  

[ Parent ]
Enhancement request
One of the things I'd really like to see is a print feature to be used once one is done redistricting a state. It would be nice to be able to print to a summary report of each district created, it's partisan, population and racial make-up. Secondarily a detailed spreadsheet of the various districts assigned.

Peace,

Andrew


[ Parent ]
Good idea.
I'll add it to my list. Thanks.

[ Parent ]
By the way
my mouse wheel allowed me to zoom out while in coloring mode (though it turned it off) but I was unable to zoom in using the wheel. Weird. I didn't do any real testing of it so maybe something else was going on but I did it twice without thinking.

[ Parent ]
OK, I've been playing with CA...
And it seems to be working better. I like having the 2008 Presidential numbers right there. Perhaps a little later, I'll have to show everyone my new SoCal CDs.

Thanks for your help, Dave. :-)

Yes, Virginia, there ARE progressives in Nevada!
24, gay male, Democrat, NV-03 (or 04?)


I really appreciate the tons of work you put into this.
It's really cool to see how my neighborhood voted, or finding out how certain groups voted in California (turns out majority-Asian areas, for instance, have 70% Obama support in the Bay Area, 60% Obama support in Los Angeles County, and 45% Obama support in Orange County).

Some notes, concerns, and questions:

1) How up-to-date is the racial and population data when using partisan stuff? Is everything still using 2000 Census stuff? I know there's the option of using new population estimates in California, but I don't think you can do that with partisan data.

I think that stuff is important in following the VRA and district populations. I know that under the new estimates you probably would create another district in the Inland Empire in California.

2) As others have commented, it would be nice to have the boundaries of towns. In Los Angeles, for instance, the road map is pretty much useless in distinguishing one city from another. I resorted to looking at racial demographics for a clue.

3) Making the partisan and racial data darker would also be appreciated, as others have also stated.

4) Seeing districts without voting block lines would also be nice, as others have also mentioned. In California, for instance, at a certain point when you zoom out it's impossible to see the metropolitan districts because they're completely covered by lines.

Thanks for this amazing application!

http://mypolitikal.com/


Comments
1) For the "special data" that JeffMD did (NY, CA, TX), the population estimates from 2008 are already factored into the districts.

2) I'm going to look into the city boundaries. I won't make any changes in this area, though, for at least 2 weeks. (Got some real work to do this week and then I'm taking T-day week off!)

3-4) On my list to figure out how to enable.

Thanks.


[ Parent ]
Are racial estimates also factored in for the "special data"?
[ Parent ]
Thank you, Thank you
After figuring out a few things earlier in the thread, I have to say that version 2.0 is a great application - and thank you for all your hard work.

Once I go back and resize the CD labels, I should be able to post a new 10 district Washington map.  


Looking forward to it
I live in Washington and have played around with the potential 10 CD map. At least 1 CD has to be split almost down the middle across the mountains, it seems. (Or more could be split to a lesser degree.) I'll be interested to see what you come up with.

[ Parent ]
It's kind of annoying that if I'm doing the Pittsburgh area I can't see the precincts a few counties away.
Also when I load PA after loading the app, I only see Central PA precincts. Then I go way in, and I pan the state and only THEN can I see the precincts.

I also have to say that I am not happy that I can't see the city boundaries. I'm looking at PA right now, and it will be redistricted by Corbett, but for example, in CA, they will be trying to keep cities compact. Pressing show cities/towns does nothing in this regard.

Otherwise, thanks, and good work!

28, Liberal Democrat, CA-26


I really want to stress upon this last thing;
if only half of PA-12 is showing, there is no way I can efficiently redistrict it.

Maybe this is just my own computer... but this seems like a problem.

28, Liberal Democrat, CA-26


[ Parent ]
Oh nvm, I see what I forgot to turn on.


28, Liberal Democrat, CA-26

[ Parent ]
?
Is the app down for maintenance? because I can't access it. Also, when I go to 1.0 it won't load any states.

21, Male, Democrat, MD-02 (home/registered), MD-05 (college)

Yeah, I'm having this problem too
It's not working in Chrome 7.0 or IE 7.0 for me. 2.0 doesn't load, and 1.0 loads the app but no state data.

I had finished a map of IL in 1.0 and was trying to access the App Data in Vista to convert the map to JPEG. I unhid the folder and opened the XML file which slowed down windows considerably. Now I can't get into Outlook on top of my problems with the Redistricting App...what did I do to fuck up?


[ Parent ]
Wish?
  I was experimenting with LD possiblities. I'm in Washington.
 I set the count to 49 and let it assign by quad.
 Then, I tried to use the renumber function to match closer to current reality. I swaped 9th and 49th for example. The problem is that the desc. msg. when you mouse over a precint still says 49th, not the new 9th. This will be confusing.

 I know a guy who has shapefiles for WA LDs, how much trouble is it to load new shapes? Perhaps another copy of Washington, but with the 49 LDs?


That's a bug
I think I need to walk thru and update the tool tips with each of the districts when the number changes. I will get that fixed. Thanks.

Adding LD shapes is a chunk of work, but I could consider it sometime.


[ Parent ]
I'm not happy.
I have 1,140 unassigned in PA, and there's no quick scroll in to see the precincts I missed. It takes forever to load the maps (Why'd you change the maps?)

28, Liberal Democrat, CA-26

Answer
I changed the map so you could see where you are -- the actual streets. Forever to load? After you zoom? Are you using Show Districts Auto? Did you try decreasing the auto? What kind of machine do you have?

No quick scroll? I don't know what you mean. You can use the Next Unassigned button to cycle thru the unassigneds.  


[ Parent ]
I think the problem is that compared to V. 1
panning and zooming is just drastically slower.

My judgement after some experimentation is that v. 2 looks cool and has some great new features, but in practice it's much harder to use.  


[ Parent ]
An experiment
I am trying an experiment to see if I can drastically improve the slowness. I'll keep you all posted.

[ Parent ]
Thanks
I think it's really important to at least get usability back to where it was in v.1.

From my Mac perspective, I am reminded of ~10 years ago when Mac OS X was new, the 2D graphics weren't hardware accelerated yet, and most Macs had Power PC processors without SIMD. Most of us had thought that watching your windows redraw slowly went out with the early 90s. . . It could be pretty painful to use.


[ Parent ]
Thank you for saying exactly what I meant to say.


28, Liberal Democrat, CA-26

[ Parent ]
Sorry to complain again...
But I lost control of the app yet again. The whole screen went blue, and there was nothing I could do to reclaim where I was at. I saved and closed, and tried reopening. The whole thing then froze on me.

Did I do something wrong? Or did the program just crash?

Yes, Virginia, there ARE progressives in Nevada!
24, gay male, Democrat, NV-03 (or 04?)


The program does seem VERY hard to control...


28, Liberal Democrat, CA-26

[ Parent ]
Panning problem?
Are you having the same problem with unstoppable panning?

[ Parent ]
I experienced the fast panning problem
when i used the bing compass. When I click and drag it is slow with auto and incredibly slow with all districts shown.

I wonder if those experiencing the fast pan problem are either using the compass or have their mouse sensitivity set very high.

After going through all of New York yesterday I got used to the new pan and zoom and it wasn't too bad. However... Your zoom was more sensitive. I couldn't get the bing zoom to adjust to some levels I wanted. The gap between levels was too much. The result was that when I was done and used the find unassigned to catch what I missed I found that I had missed vastly more districts then I had with the previous version. On the other hand I was able to find and assign all districts with find unassigned whereas I always had a bunch of left-overs I could never get assigned in the previous version.

Peace,

Andrew


[ Parent ]
Bing zoom
I think the Bing always rounds the zoom value. When you use the zoom control, clicking plus or minus once, it increases or decreases by 1.0. I'm not sure if I can change this.  

[ Parent ]
Blue Screen of death?
Did Windows crash? or just the browser? You were using Chrome, right? I know IE8 hangs for me a lot doing anything (not the app, just normal web reading) -- a real pain. Not sure if Chrome has any issues like that, too.  

[ Parent ]
I'm using my Mac...
Have there been compatibility problems with Apple?

Btw, all my other programs were still running, including my other Chrome pages. I just got "The Blue Screen of Death" on DRA.

I then shut down and retried later. It was working, and I got busy redrawing CA districts.

Yes, Virginia, there ARE progressives in Nevada!
24, gay male, Democrat, NV-03 (or 04?)


[ Parent ]
Don't know
I've never seen a blue screen in a browser. I have witnessed a code error in browsers where the status on the bottom bar (in IE) will say "Error on page." Clicking that will show a call stack where the error occurred. I did witness that while testing 2.0, but was able to find and fix that bug (I was giving zoom a completely bogus value). The browser window where the app was went completely white. If you see an error like that and are able to send me that call stack, that is very helpful. Thanks.

[ Parent ]
Awesome 2.0
My only concern so far is that there doesn't seem to be an "easy way" to load previously saved maps. On 1.0, you could open up a state, and you would be able to select one of your saved maps of that state from the file menu. I can't do that on 2.0, and I've never been able to locate the saved maps on my Mac (I don't know if it's a problem with my computer, but following the pathway of folders that has been successful for others leads me to empty folders with nonsensical names.) Is there any other way you can access old maps on 2.0?

20, CD MA-03/NH-01/MA-08

That's the only way
There are nonsensical names in the path. But they are all empty? Try 1.0 and make sure they are still there. If so, then there has to be a way to find them? Can other Mac users comment on the pathname? Thanks.

[ Parent ]
Pathname
With version 2.0, you can save the file to wherever you want (since it is s "Save As" instead of "Save"). Then you just have to remember where you saved it too.

As for the earlier comment about using v. 2.0 on a Mac (Firefox), I have not found any problems, and once I understood how the interface worked, actually find it easy to use.  


[ Parent ]
Any plans for 3.0 yet?
Something that may be very useful in drawing/redrawing maps on DRA will be including 2010 midterm results, such as the state's US Senate and Governor races, in addition to the 2008 Presidential numbers.

Yes, Virginia, there ARE progressives in Nevada!
24, gay male, Democrat, NV-03 (or 04?)


Getting the data
Getting that data has been really slow. Witness that we've only done a few states with the 2008 Pres numbers and almost all of that is by volunteers other than me (much by jeffmd). If Jeff and DavidNYC want to go big in that direction I would try to accomodate, but I will defer to them as to where to spend our collective efforts.

[ Parent ]
I'll be putting out an ask later...
I have the Clark County and Washoe County precinct data, and pretty soon I can get the precinct data for everywhere else. If anyone can help me with it, I'd like to match up and break down the NV-Sen results.

Yes, Virginia, there ARE progressives in Nevada!
24, gay male, Democrat, NV-03 (or 04?)


[ Parent ]
Virginia partisan by color option
Is there a reason why Virginia doesn't have this as an option? It's grayed out but obviously the data exists at precinct level.

24, male, Democrat, VA-06 (currently in Italy), went to school in VA-05

Nevermind
Forget I asked.

24, male, Democrat, VA-06 (currently in Italy), went to school in VA-05

[ Parent ]
Trouble with the voting district lines in Virginia
I can't seem to see the voting blocks/districts in Virginia without selecting "population by color". When I try to use "old/new CD" only the specific lines of the areas I've already colored in show, whereas the other areas just show county lines. If it's supposed to be like this, it's different from 1.0.

24, male, Democrat, VA-06 (currently in Italy), went to school in VA-05

Not sure what you mean
Right now not all of the voting districts are shown at any one time, unless you request it. When you do old/new only the selected CD shows (old and new). A quick test seems to work for me. But there still could be a bug that you've hit. Could you explain more?

[ Parent ]
So I have a request that will probably be a no, but I'd through it out there
Will there ever be a point when you can use your app to make districts that would cross state borders? I've always wanted to try my hand at making new state borders and see what I can do to make a gerrymandered country (permanent Republican minority indeed!)

Politics and Other Random Topics

24, Male, Democrat, NM-01, Chairman of the Atheist Caucus, and Majority Leader of the "Going to Hell" caucus!


You are correct
I can't see trying something like that for the foreseeable future. But an interesting idea.

[ Parent ]
Your idea open a big smile in my face :)

You are really bad ;) lol


[ Parent ]
I have to find my old rough gerrymander from a long while back
That was a fun map (I think I just gave Alaska back to the Russians, rural Texas to Mexico, and created two or three majority-black states in the south!)

Politics and Other Random Topics

24, Male, Democrat, NM-01, Chairman of the Atheist Caucus, and Majority Leader of the "Going to Hell" caucus!


[ Parent ]
Assign by County/City
This request was probably made earlier and I just missed it but would it be possible to set it up the option to add entire counties, cities, towns or townships?

32, M, MI-6, Iconoclastic Leftist

Maybe counties
Although even that would be a chunk of work. Counties are possible because the data indicate which counties voting districts are in, but they don't indicate cities, generally. I'll think about it.

I'm working now to fix the speed problem and it's looking good. More time needed, though.

Thanks.


[ Parent ]
I do have one working complaint
The partisan by color function simply doesn't work anymore; districts that gave 60% to Obama are colored light right, and only the 80% Obama ones are any shade of Blue. It makes it difficult in convoluted urban areas, to tell where the Democratic votes are.


Copyright 2003-2010 Swing State Project LLC

Primary Sponsor

You're not running for second place. Is your website? See why Campaign Engine is ranked #1 in software and support among Progressive-only Internet firms. http://www.mediamezcla.com/

Menu

Make a New Account

Username:

Password:



Forget your username or password?


About the Site

SSP Resources

Blogroll

Powered by: SoapBlox