All Discussion
DISCUSSION
[View Previous Page]
 
Un:9757BrentinCO ( 6338.62 points)November 04, 2021 11:22pm
Thanks IndyG. I'll try that out. Doing the prep work now for the Colorado Congressional Maps. Expect to start posting this weekend.

 
D:1RP ( 5506.72 points)November 05, 2021 08:25am
I don't think you can covert PDF to KML.

 
D:6454Mr. Matt ( 1761.47 points)November 05, 2021 09:48am
I think in very rare cases, the PDF might have geolocation data that you can just directly import into your favorite GIS software. When I did Kenosha County, WI's supervisor districts, I was getting ready to retrace all of the district boundaries, but I happened to import the PDF [Link] into QGIS and it popped in exactly at the location of the county's boundary location thus saving me some time for that exercise. I'd bet if the PDF that is created was exported directly from GIS software, the geolocation data is embedded in the file.

 
D:1RP ( 5506.72 points)November 05, 2021 10:25am
Oh wow. I didn't even know it had that capability. I know most PDFs don't have geodata.

 
Un:9757BrentinCO ( 6338.62 points)November 05, 2021 11:57am
On a side note, having success just e-mailing the commission and asking them for KML files for each district so I don't need to do any conversion.

I don't know why I am so surprised - but it seems like when I e-mail government folks locally here in Colorado they are more than happy to help with exactly what I need.

 
I:6738IndyGeorgia ( 3906.04 points)November 05, 2021 12:08pm
That's great; local government people are fantastic. I remember getting a bunch of overseas maps as well by emailing the different commissions. Only one I struck out with was the Nunavut Electoral Commission; guess I should have put my request in Inuktitut.

 
D:1989RBH ( 5212.23 points)November 05, 2021 03:12pm
the one thing I have around that I'm not sure if Brent has is ogr2gui. I'm not sure on the best URL to download it from between SourceForge and a Github page

I've used ogr2gui to mainly convert some .shp files into .kml

 
D:1RP ( 5506.72 points)November 05, 2021 03:54pm
I use ogr2ogr. I didn't know there was a gui version.

 
Un:9757BrentinCO ( 6338.62 points)November 05, 2021 04:00pm
Great suggestion RBH. I will look into this weekend.

 
I:6738IndyGeorgia ( 3906.04 points)November 06, 2021 01:33pm
Throwing this out there, but if anyone perusing the international pages of OC sees a need for a set of maps that we don't have, please let me know and I will try to track them down. I got Portuguese municipalities done recently and I'm still trying to decode the Norway counties file that I have.

 
Un:9757BrentinCO ( 6338.62 points)November 07, 2021 02:55pm
Before I go further. I've created the new map for CO CD1 which starts in Jan 3 2023. It looks like I've done this right with the data I have from Redistricting Commission as I look at the map that was generated.

But I'm having trouble understanding what I need to to do attach it to a new map.

Can I only attach to a GIF? Does it need to have other properties? ]

I have all the new CD maps in PDF and can convert if that helps.

Thanks in advance for any help. I'm almost there and should be able to get all CD, State Legislative, County, and City updates with this last bit of help.

 
I:6738IndyGeorgia ( 3906.04 points)November 07, 2021 03:00pm
You need to attach it to a (new) map. Here's the map for the 2013-2023 congressional districts: [Link]

 
D:1RP ( 5506.72 points)November 07, 2021 06:18pm
Click "Add New Map" on this page: [Link]

 
D:1RP ( 5506.72 points)November 09, 2021 01:39pm
Looks like you figured it out.

 
I:6738IndyGeorgia ( 3906.04 points)November 09, 2021 01:43pm
Wait, I think the new map has been placed in the old group.

 
D:1RP ( 5506.72 points)November 09, 2021 02:22pm
I think you need to clean up the whitespace a bit. It needs to be number, space, number, return with no extra items. (Or number, comma, number also works.)

 
Un:9757BrentinCO ( 6338.62 points)November 09, 2021 02:55pm
Yes. I originally attached to an old map. I went back and created a new map to attach all the congressional districts to. I think i have it now. double check and let me know if I need to change anything.

On the whitespace I'll go back and clean that up. no problem on that.

 
D:1RP ( 5506.72 points)November 09, 2021 03:03pm
BrentinCO: On the whitespace I'll go back and clean that up. no problem on that.

Remember to click the "Replace Original Source Poly" checkbox when you do that or any Reduce Poly will revert to the original.

And if you could also Reduce Poly to make the polugons smaller that would be great. Try and get them down into the teens.

 
D:1RP ( 5506.72 points)November 09, 2021 03:05pm
Also, don't put dates in the name of the map image. The system automatically adds them from the Start and End date fields.

 
Un:9757BrentinCO ( 6338.62 points)November 09, 2021 03:13pm
Got it. Will do that. with reducing poly.

I see that the source data I'm using takes the decimal place out 12 places instead of 6 which the 2013 maps use. Is that increasing the size of the file?

The editor I'm using I can easily reduce down to 6 decimal places if that is recommended.

 
D:1RP ( 5506.72 points)November 09, 2021 03:33pm
Yeah, reducing the number of decimal places will reduce the file size without having to use the Reduce Poly as much. There was a chart I saw that showed what each decimal place came out to. Let me see if I can find it... [Link]

 
D:1RP ( 5506.72 points)November 09, 2021 03:34pm
What is 12, the width of an atom?

 
Un:9757BrentinCO ( 6338.62 points)November 09, 2021 07:13pm
Makes sense. I'll do a pass on that tomorrow. Yes. 12 seems excessive LOL.

 
I:11209Kirstenwilliamson23 ( 0.00 points)November 14, 2021 09:12pm
Maps really confuse me if it weren’t for today’s technology with the GPS tracker and automatic orientation of the compass. Back then, maps were useless for me.

 
Un:9757BrentinCO ( 6338.62 points)November 16, 2021 09:01am
BrentinCO: On a side note, having success just e-mailing the commission and asking them for KML files for each district so I don't need to do any conversion.

I don't know why I am so surprised - but it seems like when I e-mail government folks locally here in Colorado they are more than happy to help with exactly what I need.

Yeh....more success on this front. Have the new maps for Colorado Springs city council in an easier format than is posted up on the public website. Just ask, you might be surprised. They have the info, its public info, and there is usually someone in the office who is happy to follow-through after a request in an e-mail.

[View Next Page]