[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #QCX-786061]: Re: Exporting a drawing and loading as a map layer does not work correctly for most shapes from the Drawing Control widget. [1416]



> I consulted with Don about this (although he said Jeff did most/all of
> the drawing stuff), and he agreed that the only glyph type that could
> be rendered as a "map" would be polygons.....so.....
> 
> my proposal is this:
> 
> 1. change the label on the checkbox to read "Load polygon as a map"
> 2. change the associated tooltip to indicate that only polygons will
> be "map-ized"
> 3. change the checkbox to be disabled if there is no polygon defined
> (it _looks_ like this should be doable....).
> 
> Let me know if these changes are acceptable, and I will endeavor to
> change the IDV code to implement them...
> 
> Yuan -- any problems with this?
> 
> tom
Tom,

I am ok with it. In the long run, we may want to see how to make other shapes 
working too.


Yuan
> 
> On Tue, Jul 23, 2013 at 2:35 PM, MUG Help Desk <address@hidden> wrote:
> > Hello -
> >
> > We came across a problem where the .xgrf file created from exporting a 
> > drawing from the Drawing Controls with the 'Load as map data' option 
> > selected does not display.  This appears to be true with many of the 
> > different shapes you can draw.  We have set Tom W. as the resolver of this 
> > inquiry.
> >
> > Thanks -
> > Bob Carp
> >
> > ----==== Inquiry ====----
> > 1416
> >
> > ----==== Summary ====----
> > Exporting a drawing and loading as a map layer does not work correctly for 
> > most shapes from the Drawing Control widget.
> >
> > ----==== Request ====----
> > 2013-07-23 - Bob Carp
> > This was rechecked using McV 1.4b1 and IDV 4.0u2 nightlies dated 07/23/13 
> > and this is still a problem in both places.  Changing the status of this 
> > inquiry to 'IDV-sent to Unidata' and setting the resolver as Tom W.
> >
> > 2013-02-20 - Bob Carp
> > When you export a drawing from the Drawing Controls, there is an option for 
> > 'Load as map data'.  What this does, is when you save your drawing in the 
> > *.xgrf format, a layer will also be added to the Field Selector for your 
> > drawing, which can be loaded in with the Map Display display type.  From 
> > the Layer Controls, you can display this w/o error if you only use the 
> > 'Create a polygon' shape, but not with fronts or arrows.  If you have a 
> > front saved in y our *.xgrf file, clicking Create Display doesn't appear to 
> > do anything (no display, and no error message).  If you attempt to use the 
> > 3D map formula to draw the front over topography, you get an NPE.
> >
> > If you load this saved file in through the General&gt;Files/Directories 
> > chooser with the 'Drawing files' Data Type, the display creates w/o error 
> > right away with Add Source regardless of what shapes are drawn in the file.
> >
> > Steps to reproduce:
> > 1. Open the Drawing Control widget through 'Display&gt;Draw Freely'
> > 2. Draw a cold front
> > 3. Export the drawing via 'File&gt;Export Drawing' in the Drawing Controls 
> > window
> > 4. Save your file, and make sure that you have the 'Load as map data' 
> > checkbox selected
> > 5. When you click Save, you may see flashing in the Data Explorer.  Go to 
> > the Field Selector tab and you should see your *.xgrf file there
> > 6. Using the Map Display display type, click Create Display
> > - Nothing happens.  I would expect the front to be displayed
> >
> > - If you do this same process, but draw a straight line with the first 
> > Shape option for Polygon, it works fine.
> >
> > I have not tried this with all of the available shapes, only fronts, 
> > arrows, and a polygon.  Polygon was the only shape that worked for me of 
> > these three.
> >
> >
> > ################################################################################
> >
> > http://dcdbs.ssec.wisc.edu/inquiry-v/index.php?inquiry=1416
> 
> 
> 
> --
> Tom Whittaker
> University of Wisconsin-Madison
> Space Science & Engineering Center (SSEC)
> Cooperative Institute for Meteorological Satellite Studies (CIMSS)
> 1225 W. Dayton Street
> Madison, WI  53706  USA
> ph: +1 608 262 2759
> 
> 


Ticket Details
===================
Ticket ID: QCX-786061
Department: Support IDV
Priority: Normal
Status: Closed