Re: [Xastir] Feature Request re: Shapefile maps
I wonder how this plays with caching - is the caching code aware of modification times on files? Is there a per-file way to turn of caching? -Jason kg4wsv ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Feature Request re: Shapefile maps
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
Re: [Xastir] Feature Request re: Shapefile maps
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
Re: [Xastir] Feature Request re: Shapefile maps
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 -- Gerry Creager -- [EMAIL PROTECTED] Texas Mesonet -- AATLT, Texas A&M University Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.862.3983 Office: 1700 Research Parkway Ste 160, TAMU, College Station, TX 77843 ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Feature Request re: Shapefile maps
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
Re: [Xastir] Feature Request re: Shapefile maps
Granularity, each warning is in it's own file+ they have a watches file also. EKG Jason KG4WSV wrote: What are the advantages of these over the WX objects that are currently produced? -Jason kg4wsv ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Feature Request re: Shapefile maps
What are the advantages of these over the WX objects that are currently produced? -Jason kg4wsv ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Feature Request re: Shapefile maps
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 -- Gerry Creager -- [EMAIL PROTECTED] Texas Mesonet -- AATLT, Texas A&M University Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.862.3983 Office: 1700 Research Parkway Ste 160, TAMU, College Station, TX 77843 ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir