SHAPE FILES

This is the place to get help with Digital Atmosphere, suggest improvements, and get tips.
Post Reply
maiku41
Junior Member
Posts: 8
Joined: Wed Jan 19, 2005 8:42 pm

SHAPE FILES

Post 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?
Weasel

Post 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.
maiku41
Junior Member
Posts: 8
Joined: Wed Jan 19, 2005 8:42 pm

Post 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 :(
Weasel

Post 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..
maiku41
Junior Member
Posts: 8
Joined: Wed Jan 19, 2005 8:42 pm

Thanks!

Post by maiku41 »

That'd be great. I'm looking for the Chicago CWA, out of KLOT.
Weasel

Post 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.
maiku41
Junior Member
Posts: 8
Joined: Wed Jan 19, 2005 8:42 pm

zones == counties

Post by maiku41 »

Hmm... hadn't noticed that at first, given the difference in numbering, but it appears you are correct! :oops:


Thanks again.
Tim Vasquez
Administrator
Posts: 535
Joined: Sat Nov 22, 2003 10:47 pm

Post 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
Weasel

Post 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
Weasel

Post by Weasel »

They plot fine using 1.1h as well...didn't notice the new patch.
Post Reply