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

[IDV #IDM-359246]: shapefile values not correct



> Don,
> After last Friday's emails exchanged, I realized we were talking about
> different issues. Because I unzipped the file before loading into the IDV,
> the display in the IDV were in-corrected and I thought this is what you
> were reporting.
> 
> I can see those in-corrected values now, I will work on it.
> 
> 
> Yuan

It looks like Double double gives the corrected value.  I will commit the 
change into nightly.


Yuan
> 
> On Sun, Sep 20, 2015 at 2:05 PM, Don Murray <address@hidden>
> wrote:
> 
> > New Client Reply: shapefile values not correct
> >
> > Yuan-
> >
> > I'm not sure you are following what the problem is. The shapes display
> > correctly in the map view, but the attributes in the control are not
> > correct. Look at the table in the control window, not the display
> > window.  I was loading as a shape file and the values are not correct on
> > my Mac.
> >
> > Don
> >
> > On 9/18/15 2:32 PM, Unidata IDV Support wrote:
> > >>> The data points are correct, it's only the Float attributes that are
> > >>> wrong from the DBF file, not the .shp file.
> > >>>
> > >>
> > >> but the idv did call Swap.swapDouble when parsing the data.
> > >>
> > >>
> > >> Yuan
> > >
> > > Ok, if I loaded the zip file and specified it is shapfile, it worked
> > correctly.
> > >
> > >
> > > Yuan
> > >>> On 9/18/15 2:01 PM, Unidata IDV Support wrote:
> > >>>>> Yuan-
> > >>>>>
> > >>>>> When I read them into IDV 4.1 and 5.0, the values are not correct,
> > so I
> > >>>>> don't think it's a CDM issue.
> > >>>>>
> > >>>>> Don
> > >>>>
> > >>>> I see, the latitude is always 90, but display better than 5.2.
> > >>>>
> > >>>> Yuan
> > >>>>>
> > >>>>> On 9/18/15 1:43 PM, Unidata IDV Support wrote:
> > >>>>>>> Hi-
> > >>>>>>>
> > >>>>>>> I am reading the attached shapefile into the IDV and some of the
> > values
> > >>>>>>> are not correct.  Here is the table from the IDV Shapefile control:
> > >>>>>>>
> > >>>>>>
> > >>>>>> Don,
> > >>>>>>         This  maybe a bug from the cdm library, I check the earlier
> > version of the IDV (5.0) and it worked.
> > >>>>>>
> > >>>>>>
> > >>>>>> Yuan
> > >>>>>>> Snowbird                                                3
> > >>>>>>> 1.087565836426755E-71   1.1446059890054294E-71
> > >>>>>>> Alta                                                    4
> > >>>>>>> 1.7234542243009803E-47  1.088013183211314E-71
> > >>>>>>> Brighton                                                1
> > >>>>>>> 1.8301956787561836E-76  6.233590900149814E-38
> > >>>>>>> Solitude                                                2
> > >>>>>>> 5.638920049157892E-38   2.319828897649876E-52
> > >>>>>>> Deer Valley                                             3
> > >>>>>>> 3.888873831709894E-33   6.235850809215158E-38
> > >>>>>>> Park City                                               4
> > >>>>>>> 3.701550059575178E-33   1.4521696665885985E-47
> > >>>>>>> The Canyons                                             1
> > >>>>>>> 4.854850996698057E-33   5.354261505248967E-38
> > >>>>>>> Sundance Resort                                         2
> > >>>>>>> 1.7448499923843034E-76  3.059361173095118E-57
> > >>>>>>> Eagle Point                                             2
> > >>>>>>> 7.108283486014435E-38   1.486099650515775E-76
> > >>>>>>> Brianhead                                               4
> > >>>>>>> 5.15534473888474E-62    1.398049885224134E-76
> > >>>>>>> Snowbasin                                               1
> > >>>>>>> 5.649278464920273E-38   1.5200578739121147E-47
> > >>>>>>> Powder Mountain                                         3
> > >>>>>>> 2.2125771771393415E-52  1.4871050972018592E-76
> > >>>>>>> Beaver Mountain                                         2
> > >>>>>>> 3.378606785049924E-57   7.116341512702352E-38
> > >>>>>>>
> > >>>>>>> the last 2 numbers in each row (SHAPE_Leng and SHAPE_Area) are
> > wrong.
> > >>>>>>>
> > >>>>>>> For example, for the first shape (Snowbird), the values should be
> > >>>>>>> 14373.1 and 1.03942e+07.
> > >>>>>>>
> > >>>>>>> Thanks,
> > >>>>>>>
> > >>>>>>> Don
> > >>>>>>> --
> > >>>>>>> Don Murray
> > >>>>>>> NOAA/ESRL/PSD and CU-CIRES
> > >>>>>>> 303-497-3596
> > >>>>>>> http://www.esrl.noaa.gov/psd/people/don.murray/
> > >>>>>>>
> > >>>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>> Ticket Details
> > >>>>>> ===================
> > >>>>>> Ticket ID: IDM-359246
> > >>>>>> Department: Support IDV
> > >>>>>> Priority: Normal
> > >>>>>> Status: Open
> > >>>>>>
> > >>>>>
> > >>>>> --
> > >>>>> Don Murray
> > >>>>> NOAA/ESRL/PSD and CU-CIRES
> > >>>>> 303-497-3596
> > >>>>> http://www.esrl.noaa.gov/psd/people/don.murray/
> > >>>>>
> > >>>>>
> > >>>>
> > >>>>
> > >>>> Ticket Details
> > >>>> ===================
> > >>>> Ticket ID: IDM-359246
> > >>>> Department: Support IDV
> > >>>> Priority: Normal
> > >>>> Status: Open
> > >>>>
> > >>>
> > >>> --
> > >>> Don Murray
> > >>> NOAA/ESRL/PSD and CU-CIRES
> > >>> 303-497-3596
> > >>> http://www.esrl.noaa.gov/psd/people/don.murray/
> > >>>
> > >>>
> > >
> > >
> > > Ticket Details
> > > ===================
> > > Ticket ID: IDM-359246
> > > Department: Support IDV
> > > Priority: Normal
> > > Status: Open
> > >
> >
> > --
> > Don Murray
> > NOAA/ESRL/PSD and CIRES
> > 303-497-3596
> > http://www.esrl.noaa.gov/psd/people/don.murray/
> >
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: IDM-359246
> > Department: Support IDV
> > Priority: Normal
> > Status: Open
> > Link:
> > https://andy.unidata.ucar.edu/esupport/staff/index.php?_m=tickets&_a=viewticket&ticketid=26132
> >
> >
> 
> 


Ticket Details
===================
Ticket ID: IDM-359246
Department: Support IDV
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.