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

[IDV #XZR-605564]: help drawing points in the IDV



> Thanks. The markers were below the rest of my visualizations so I had to up
> their z positions. Is there any to get the markers exactly on the
> terrain/visualization? The way it is now, depending on the angle, the dots
> can look to be in the wrong place. I've eyeballed it the best I can but it
> would be great to actually have it on the vis layer.


Katie,
   Here is a example for you to include the altitude for each point:

<shapes>
  <symbol color="255,0,0" coordtype="LATLONALT" filled="false" 
fulllatlon="false" name="Glyph 1" pickable="true" 
points="40.492287,-109.66205,-2544.8982" scale="1.0" symbol="CROSS" 
zposition="-0.995"/>
  <symbol color="255,0,0" coordtype="LATLONALT" filled="false" 
fulllatlon="false" name="Glyph 2" pickable="true" 
points="43.023838,-105.949104,-2544.8982" scale="1.0" symbol="CROSS" 
zposition="-0.995"/>
</shapes>

One minor change is coordtype, and you need to add the altitude value at each 
point.


Yuan
> 
> address@hidden> wrote:
> 
> > > Good morning. I need to draw several markers on my visualization. I'm
> > doing
> > > this by creating a .xgrf file. Below is that file. When I import this
> > into
> > > the drawing control, my points never appear. Can you see what I'm doing
> > > wrong? Or is there a better way to do this? I just need denote several
> > > locations (via the lat/lon points) and be able to change their colors.
> > >
> > > Thanks!
> > > katie
> >
> > Katie,
> >     There is nothing wrong with your .xgrf file, I saved this locally and
> > imported into the IDV drawing tool with no problem at all. Maybe you mapview
> > is not in the right projection, try to zoom out a bit.
> >
> > Yuan
> > >
> > >
> > > <shapes>
> > > <symbol color="255,255,255" coordtype="LATLON" filled="false"
> > > fulllatlon="false" name="JudithGap" points="45.648,-108.902"
> > symbol="PIN"/>
> > > <symbol color="255,255,255" coordtype="LATLON" filled="false"
> > > fulllatlon="false" name="HorseshoeBend" points="47.480,-111.540"
> > > symbol="PIN"/>
> > > <symbol color="255,255,255" coordtype="LATLON" filled="false"
> > > fulllatlon="false" name="Glacier" points="48.450,-112.030" symbol="PIN"/>
> > > <symbol color="255,255,255" coordtype="LATLON" filled="false"
> > > fulllatlon="false" name="DiamondWillow" points="46.310,-104.270"
> > > symbol="PIN"/>
> > > </shapes>
> > >
> > >
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: XZR-605564
> > Department: Support IDV
> > Priority: Normal
> > Status: Open
> >
> >
> 
> 


Ticket Details
===================
Ticket ID: XZR-605564
Department: Support IDV
Priority: Normal
Status: Closed