Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alaska and Hawaii #3

Open
kgjenkins opened this issue Dec 18, 2015 · 7 comments
Open

Alaska and Hawaii #3

kgjenkins opened this issue Dec 18, 2015 · 7 comments

Comments

@kgjenkins
Copy link
Owner

Process Alaska and Hawaii, making the AK and HI rasters available as separate GeoTIFFs (no need to have all those empty ocean pixels), but add the vector polygons to the US48 shapefile, geojson, and topojson files.

@cm325
Copy link

cm325 commented Jul 13, 2016

Yes! we need these too!

@kgjenkins
Copy link
Owner Author

It looks like these JPEGs would be the best source to work from:

http://planthardiness.ars.usda.gov/PHZMWeb/Images/300DPI/SIMP_AK.jpg
http://planthardiness.ars.usda.gov/PHZMWeb/Images/300DPI/SIMP_HI.jpg

They would need to be georeferenced, and then converted to a GeoTiff of zone values, based on the hue of the original JPEG. Then generate polygons for each zone, and save as shp, geojson, and topojson.

My original conversion of the US48 involved many experiments of different methods, and I should have fully documented the final methods used. But I think AK and HI will be a simpler process, since there are no borders or coastline lines in the state-based JPEGs.

@cm325 do you want to try to tackle this?

@cm325
Copy link

cm325 commented Dec 7, 2016

Hi,

Ok, I started on this. Georeferencing worked just fine in QGIS, but I'm not finding a nice way to automatically turn the rgba values into discrete zones. Do you remember what you used?

Thanks!

@kgjenkins
Copy link
Owner Author

kgjenkins commented Dec 8, 2016

@cm325 Thanks for working on this!

For the US48, I extracted the hue values from the original map image pixels (in order to eliminate variations in the pixels caused by the underlying elevation hillshade), and then reclassified those to the low value of the corresponding temperature range. I used Manifold at that time.

Using QGIS, you should be able to get the hue values using the GRASS i.rgb.his function, and then reclassify those values to the temperature range low value using GRASS r.reclass.

@cm325
Copy link

cm325 commented Dec 8, 2016 via email

@kgjenkins
Copy link
Owner Author

FYI, I just fixed my typo -- it's i.rgb.his (not "rdb")

Good luck, and hopefully there won't be any JPEG artifacts that complicate things...

@cm325
Copy link

cm325 commented Dec 8, 2016

I was not confused :)
fingers crossed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants