Municipal Level Maps
       |           

Welcome, Guest. Please login or register.
Did you miss your activation email?
April 25, 2024, 04:03:46 PM
News: Election Simulator 2.0 Released. Senate/Gubernatorial maps, proportional electoral votes, and more - Read more

  Talk Elections
  General Politics
  Political Geography & Demographics (Moderators: muon2, 100% pro-life no matter what)
  Municipal Level Maps
« previous next »
Pages: [1]
Author Topic: Municipal Level Maps  (Read 1987 times)
Oldiesfreak1854
Atlas Icon
*****
Posts: 13,674
United States


WWW Show only this user's posts in this thread
« on: April 22, 2015, 05:19:54 PM »

Is there anywhere that I can get statewide maps with municipal borders (cities, townships, etc.)?  I'd like to use them for new maps that aren't available on the main site.
Logged
Adam Griffin
Atlas Star
*****
Posts: 20,094
Greece


Political Matrix
E: -7.35, S: -6.26

Show only this user's posts in this thread
« Reply #1 on: April 23, 2015, 01:45:34 AM »

You can open a state in DRA, set the map style to "blank", maximize opacity and enable "city/town lines" to create something like this that can be colored by hand.



The obvious downside is the quality of the pixels in between boundaries and blank space. You can take maps like these into a program like Photoshop or GIMP, remove all non-white colors with the exception of black (has to be perfectly white; the white inside the precincts above is an off-white) and then convert the image to a pure black/white graphic. This will thicken the boundary lines but you won't have white space that refuses to color from one single click. If there is any color remaining on the map that is not perfectly black or white, it will be converted to black in this process and depending on the program, may not be undoed. The issue with this, however, is that it is hard to make one of these that will be legible with the city/town lines included; once you convert the color, all lines will be black - city and precinct.

An option would be perhaps to follow the steps I mentioned above without the city limit lines enabled, creating a base template that's solely black/white. Then take the exact same map with city limit lines into a photo editing program, remove the off-white precinct coloration, and paste it with transparent background over the first map/line it up. Since the base map's lines will be thicker (in my experience) after converting it to black/white, the version with the city lines should relatively neatly fit into place.
Logged
Adam Griffin
Atlas Star
*****
Posts: 20,094
Greece


Political Matrix
E: -7.35, S: -6.26

Show only this user's posts in this thread
« Reply #2 on: April 23, 2015, 02:03:59 AM »

OK, so a few minutes later...

I followed what I described above until I got to making the second map. I found out that it's a bit more difficult to do a complete overlay with town lines w/o having the end result be like the one that wasn't converted to black and white. So what I did instead was used the color selection tool to select a particular color (in this case, the pink color of the town lines), copied that and pasted it onto my base map.

This was the result. The coloration isn't accurate, obviously: just showing off how there are no white pixels (other than in the areas where the fill tool can't reach with one click; can easily be colored in). You can also change the city line color when it's selected to something more legible: hot pink doesn't show up well on a red/blue color scheme (or really show up at all; I recommend changing the city line color after the map is complete, because what colors are visible beforehand won't be afterward, and vice-versa).

There are probably better ways to do this available, but whenever I can't find maps...this is my general process. I had never tried doing them with municipal boundaries before, though.

Logged
Adam Griffin
Atlas Star
*****
Posts: 20,094
Greece


Political Matrix
E: -7.35, S: -6.26

Show only this user's posts in this thread
« Reply #3 on: April 23, 2015, 02:07:21 AM »

And if you're just interested in municipal boundaries without precinct lines, then that makes the process a lot whole easier. Load into Photoshop/GIMP, remove all non-white areas, and then convert the image to black & white.

Logged
Torie
Moderators
Atlas Legend
*****
Posts: 46,076
Ukraine


Political Matrix
E: -3.48, S: -4.70

Show only this user's posts in this thread
« Reply #4 on: April 23, 2015, 02:52:03 PM »

Some of those lines in some states are village lines, rather than city lines, and often precinct lines overlap village lines. Villages typically have quite limited government powers. Sometimes you can tell which are city lines, and which village lines, because the DRA utility will typically have a different number sequence between different cities, and different towns, identifying the respective precincts, but not for different villages. And then to make matters more complicated, often there are no lines between towns, or townships, and so one must look at the precinct number sequences, to find where the lines are. In Illinois, the town names are actually identified for each precinct, but in other states not. There is quite a learning curve here actually.
Logged
Oldiesfreak1854
Atlas Icon
*****
Posts: 13,674
United States


WWW Show only this user's posts in this thread
« Reply #5 on: April 26, 2015, 04:28:51 PM »

You can download county subdivision shapefiles for all states from the US Census.

Here is the portal for accessing the files. Here is the page for downloading county subdivision shapefiles. They are listed by FIPS code, which you can look up here (e.g. Michigan is listed as tl_2014_26_cousub). If you have municipality-level results, these are probably the geographic units that those results apply to, or at least that's the case in any state that I've considered.

Here is a PNG that I just exported from Michigan's county subdivisions shapefile. Ideally, you'd want to work with a SVG, but this is probably good enough for some purposes:


Thanks. Smiley   Can you convert shapefile to SVG or PNG, and if so, how?
Logged
cinyc
Atlas Icon
*****
Posts: 12,721


Show only this user's posts in this thread
« Reply #6 on: April 26, 2015, 04:35:51 PM »
« Edited: April 26, 2015, 04:38:31 PM by cinyc »

Thanks. Smiley   Can you convert shapefile to SVG or PNG, and if so, how?

Why would you want to? It is much easier to auto-color a shapefile than to individually color in shapes by hand, if you know what you're doing. But if you really wanted to convert a shapefile to png, I suppose you could always use a screen printing tool to save what is on the screen as a png file.  I'd have to check MapWindows GIS to see if there is a direct shapefile to png converter built in.  I'm sure there are some stand alone programs that do it, too.  Just Google "shp to png".
Logged
Oldiesfreak1854
Atlas Icon
*****
Posts: 13,674
United States


WWW Show only this user's posts in this thread
« Reply #7 on: April 26, 2015, 06:33:57 PM »

Thanks. Smiley   Can you convert shapefile to SVG or PNG, and if so, how?

Why would you want to? It is much easier to auto-color a shapefile than to individually color in shapes by hand, if you know what you're doing. But if you really wanted to convert a shapefile to png, I suppose you could always use a screen printing tool to save what is on the screen as a png file.  I'd have to check MapWindows GIS to see if there is a direct shapefile to png converter built in.  I'm sure there are some stand alone programs that do it, too.  Just Google "shp to png".
I know next to nothing about GIS.  I've thought about taking classes, though.

I guess the question I'm really trying to ask is how you were able to convert that map to PNG.
Logged
cinyc
Atlas Icon
*****
Posts: 12,721


Show only this user's posts in this thread
« Reply #8 on: April 26, 2015, 09:06:57 PM »
« Edited: April 26, 2015, 09:13:59 PM by cinyc »

I know next to nothing about GIS.  I've thought about taking classes, though.

I guess the question I'm really trying to ask is how you were able to convert that map to PNG.

It's not that difficult to learn how to use the free MapWindowGIS to make maps.  I don't think it requires classes.  I can give a detailed tutorial, if you wish.

You can convert a shapefile into an image file using MapWindow GIS by adding the .shp file as a layer, then selecting Edit from the top menu and Export>Map from the drop-down menu.  My older version won't save as a .png, but will save as a .jpeg or .bmp file.  Or you can download the free QGIS, open the .shp file as a vector layer, then select Project from the top menu and Save as Image from the drop-down menu.  In both instances, you might have to change the shape color to white by right-clicking on the layer name, and changing the color options in the drop-down menus.

I'm sure there are other ways to convert a .shp file into a .png file - as I said before, just Google "shp to png".
Logged
Pages: [1]  
« previous next »
Jump to:  


Login with username, password and session length

Terms of Service - DMCA Agent and Policy - Privacy Policy and Cookies

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Page created in 0.039 seconds with 11 queries.