Reputation: 797
I am looking to convert UGC or FIPS6 geocodes to polygons (or even rough lat/lng coordinates + radius). An example of the geocodes can be found here: http://alerts.weather.gov/cap/us.php?x=0
Anybody knows where I could find a mapping for these geocodes?
Upvotes: 3
Views: 2194
Reputation: 23
Updated Answer for June 2019
The NWS Public Forecast Zones can be downloaded as a shapefile from https://www.weather.gov/gis/PublicZones
I used QGIS to convert the shapefile to WGS84 (EPSG:4326) and exported to CSV using WKT geometry. That resulted in a 122MB CSV file.
Instructions for Windows QGIS 3.4.3
z_02ap19.zip
z_02ap19.shp
extracted eariler. Then click Add.EPSG:4326
.CREATE_CSVT
= YES (Creates a single file that describes the field types, useful for re-importing the file back into other GIS programs)GEOMETRY
= AS_WKTLINEFORMAT
= CRLF (Windows) or LF (Unix), historically, but most programs now can handle bothSEPARATOR
= COMMA (Up to you)STRING_QUOTING
= ALWAYS (Likely doesn't matter as the data won't contain quotes anyways)WRITE_BOM
= NO (Byte-order mark, up to you)Upvotes: 2
Reputation: 21
The data used by the NWS can be found here: http://www.nws.noaa.gov/geodata/
In order to actually get the coordinates from the data, I used the program OpenJump to save the data in the CSV format.
Upvotes: 2