Page 1 of 1
SHAPE FILES
Posted: Wed Jan 19, 2005 9:56 pm
by maiku41
I grabbed the AWIPS forecast zone shapefiles (
http://weather.gov/geodata/catalog/wsom ... ubzone.htm), but can't seem to get them to load. DAWS gives an 'out of range' error and then appears to hang (hourglass displayed but no CPU use). Is there a trick to this, or some limitation on the shape files that can be imported?
Posted: Wed Jan 19, 2005 11:34 pm
by Weasel
I think the number of polygons is probably too high for DA WS to handle. Tim will probably have to set the max number allowed up a notch before it will load.
Posted: Thu Jan 20, 2005 4:36 pm
by maiku41
I guess that makes sense, though the message is pretty obscure.
I only really want the zone polygons that include our CWA, but don't have any way to extract a subset of the Shape file :(
Posted: Thu Jan 20, 2005 10:45 pm
by Weasel
Which CWA did you want? I'll do a subset and email it to you. Subsets load just fine in DA WS so it must be too many polygons..
Thanks!
Posted: Thu Jan 20, 2005 10:58 pm
by maiku41
That'd be great. I'm looking for the Chicago CWA, out of KLOT.
Posted: Thu Jan 20, 2005 11:23 pm
by Weasel
I'm pretty sure the county file is the same thing as the zone file for this CWA. The county file loads OK.
If you still want a subset, it will be a square, so some counties not in the CWA will display. Let me know if you still want it. I'll need an email as well.
zones == counties
Posted: Thu Jan 20, 2005 11:37 pm
by maiku41
Hmm... hadn't noticed that at first, given the difference in numbering, but it appears you are correct!
Thanks again.
Posted: Fri Jan 21, 2005 6:07 am
by Tim Vasquez
I have made a change that imports the large shapefile you mentioned, by dynamically resizing the internal shapefile data structures to handle the new sizes. Not all of the structures have been patched (just the polygons/polylines and oversize DBF database columns), but this gets it working on some of the biggest shapefiles. This is in the V1.1g1 patch that I posted just minutes ago at
http://www.weathergraphics.com/dl/ .
I'll likely be using this method in the GRIB import routine soon so that giant files can be imported without problems.
Tim
Posted: Sun Jan 23, 2005 5:42 pm
by Weasel
Tim,
Just so you know nothing got lost during installation...the zone file polygons are now plotting OK using 1.1g1. I also checked the giant stream line file from the National Atlas
http://nationalatlas.gov/atlasftp.html and it still plots fine as well.
Odd why the county file worked OK with the previous version and this one wouldn't, there isn't a great deal of difference between the two.
Pat
Posted: Sun Jan 23, 2005 5:51 pm
by Weasel
They plot fine using 1.1h as well...didn't notice the new patch.