I've already written the script for this, so that piece is complete.
The files are not 0 bytes in length. They're actually 100 bytes in
length. When you dump them they show 0 objects, which Xastir must
figure to ignore. Putting a dummy with some objects in the file, makes
them show up long enough to tick them off in the Map Chooser, then you
can put back the 0 object files.
EKG
Richard Polivka, N6NKO wrote:
All,
A script could be written and run under root/sudo privileges that does
the WGET, then puts in zero length files as placeholders if there are
no files present in the download package. Xastir would have to accept
zero length as a legit file.
Now, there would have to be some way of forcing a map regen to update
these files. I know that when I get down to county level, the
rendering does take a bit.
This would be a good help at displaying SBW's since they are not
coming over WXSVR, at least here.
Now back to my Irish Coffee.
73 from 807,
Richard, N6NKO
Gerry Creager wrote:
Lemme get off 4 days of spring break and I'll push it your way
tomorrow morning.
Sorry for the delay but between honey-do's, allergies, and wanting to
make sure it's behaving properly, I want the delay...
gerry
Eric Germann wrote:
What's your WMS address for each of these?
EKG
Gerry Creager wrote:
I need to look into this and see if I can produce something
similar. Ken Waters does these for storm-based warnings. I
currently have a WFS that handles this but I don't generate
shapes. I can also provide WMS for these.
gerry
Eric Germann wrote:
I'm experimenting with the GIS maps from the NWS at
http://www.nws.noaa.gov/regsci/gis/shapefiles/
They work, with one caveat: They don't show up in the Map Chooser
(even on a map re-scan) if they have 0 shapes in the shape file.
Is there any way, or a pointer to the code to fix it myself and
submit a diff back, where this is handled. To get around it, I
copied a shape file with polygons over it to the same file, did a
rescan so they show up, then put them back after I selected them.
Essentially, in this case, the map chooser should consider a 0
shape shapefile valid. This is a fun one to reproduce because the
source files at NWS are changed on a 1 minute basis.
Which leads to second question, does Xastir automatically
re-render these when they change or is there something I need to
do to make it so.
Thanks
EKG
N1ICS
_______________________________________________
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
_______________________________________________
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir