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

[IDV #BXF-835860]: scale bars / lat-long boxes in IDV



> Hi Yuan,
> 
> I updated everything (IDV, Java) and it worked and generated an image
> file... but its not quite working the way I need.  I need to have a
> bounding box around the view (or data extent) that has the lat long
> delineated by tick marks, not by lines across the map.  The box
> should, if possible, appear in the view while I am working with the
> data in IDV, so that I can capture the image with the lat/long
> bounding box and use this for a figure.  It would be really helpful
> (essential, in fact) for the box to be dynamic so when I scale up or
> down, the corresponding lat-long values change, but the box frame
> itself remains the same.
> 
> I'm guessing such a thing will require quite a bit more development?
> I do think it would be very useful and not just for me, but for many
> others - it would certainly increase the use of IDV among a broader
> range of scientists and GIS people.  The same is true for a north
> arrow and scale bar.  Nearly all journals require these features on
> maps.
> 
> Unless this is something that can be done in the near term, it looks
> like my best option at this point is to port the data into ArcGIS or
> Matlab and create the figures that way.
Hi Colin,
     I think the best solution will certainly require some development effort 
in the IDV. 
It will not happen in the near term, sorry about the inconvenience.


Yuan
      
> 
> Thanks for all of your help.
> 
> Cheers,
> Colin
> 
> On May 19, 2011, at 4:40 PM, Unidata IDV Support wrote:
> 
> >> No, I typed that incorrectly in my email, it should be latlonlabels.
> >> It still doesn't work... any suggestions?  Thanks for your help.
> >>
> >> cheers
> >> colin
> >
> > Hi Colin,
> >    I created a test bundle and isl for you, basically copy the isl
> > from the user guide. You can save these two files in the same
> > directory, and run the IDV. To the ISL into the IDV, you can do:
> >
> > File > open, and select the isl file, it will generated the same
> > image as attached. The latlon values in the image may not be right,
> > you can always adjust those values in the isl.
> >
> > By the way, if your IDV is very old version, it may not working.
> > This maybe why you are getting the unknown tag error. If so, please
> > update the software.
> >
> >
> > Yuan
> >>
> >> On May 16, 2011, at 6:48 PM, Unidata IDV Support wrote:
> >>
> >>>> Hello Yuan,
> >>>>
> >>>> I followed your instructions and saved the bundle, edited the ISL
> >>>> script to point to that filename, and now it is giving me a
> >>>> different
> >>>> error.
> >>>>
> >>>> Unknown tag:latlonlables
> >>>
> >>>
> >>> It should be "latlonlabels", is your typing correct?
> >>>
> >>>
> >>> Yuan
> >>>>
> >>>> Any advice? Thanks.
> >>>>
> >>>> Cheers
> >>>> Colin
> >>>>
> >>>> On May 13, 2011, at 5:39 PM, Unidata IDV Support wrote:
> >>>>
> >>>>>>> OK, thanks.  I downloaded the ISL file in the user guide.
> >>>>>>> When I
> >>>>>>> try
> >>>>>>> to open the ISL file within my current project, or within a
> >>>>>>> newly
> >>>>>>> started IDV session, I get this message:
> >>>>>>>
> >>>>>>> An error occurred:java.io.IOException: Could not load
> >>>>>>> resource:/Users/user/Desktop/test.xidv
> >>>>>>> error:java.io.FileNotFoundException:
> >>>>>>> Unable to open:/Users/user/Desktop/test.xidv
> >>>>>>>
> >>>>>>> Any ideas what's going on here?  Thanks.
> >>>>>>>
> >>>>>>> Cheers
> >>>>>>> Colin
> >>>>>>>
> >>>>>>>
> >>>>>>> On May 11, 2011, at 4:14 PM, Unidata IDV Support wrote:
> >>>>>>>
> >>>>>>>>> Hello,
> >>>>>>>>>
> >>>>>>>>> Thanks for creating IDV, it is a really helpful tool.  I only
> >>>>>>>>> have a
> >>>>>>>>> couple small problems I've come across, mostly cosmetic.  I'm
> >>>>>>>>> hoping
> >>>>>>>>> you can help.
> >>>>>>>>>
> >>>>>>>>> When saving images for figures, I cannot find a way to
> >>>>>>>>> include a
> >>>>>>>>> map
> >>>>>>>>> scale bar (distance in km), directional arrows (N, S, E, W)
> >>>>>>>>> or a
> >>>>>>>>> bounding box around the view that has the latitude and
> >>>>>>>>> longitude
> >>>>>>>>> in
> >>>>>>>>> regular intervals marked and labeled.  Journals are
> >>>>>>>>> insisting on
> >>>>>>>>> these
> >>>>>>>>> details and I don't want to have to move everything over to
> >>>>>>>>> ArcGIS to
> >>>>>>>>> add them, if I could do it easily in IDV.  Either I cannot
> >>>>>>>>> find
> >>>>>>>>> how
> >>>>>>>>> to
> >>>>>>>>> include this in the view, or maybe IDV doesn't have it yet.
> >>>>>>>>>
> >>>>>>>>> Any ideas?  thanks.
> >>>>>>
> >>>>>> You need to create a bundle after setting up your display in the
> >>>>>> map view window, File > Save as, and then edit the ISL script to
> >>>>>> point to the bundle you saved.
> >>>>>>
> >>>>>>
> >>>>>> Yuan
> >>>>>>>>>
> >>>>>>>>> Cheers,
> >>>>>>>>> Colin
> >>>>>>>>
> >>>>>>>> Hi Colin,
> >>>>>>>> Thanks for your feedback of the IDV.
> >>>>>>>> I don't think we can do the map scale bar at this moment. It is
> >>>>>>>> probably something the IDV can get from the WMS if the
> >>>>>>>> background
> >>>>>>>> is
> >>>>>>>> from the WMS too. But the current release, the default
> >>>>>>>> background
> >>>>>>>> is
> >>>>>>>> built in. I will need to do some more research on this.
> >>>>>>>>
> >>>>>>>> The lat/lon marked and labeled on the bounding box can be done
> >>>>>>>> with the ISL script, we have a document available in the User
> >>>>>>>> guide.
> >>>>>>>>
> >>>>>>>> "http://www.unidata.ucar.edu/software/idv/docs/userguide/isl/ImagesAndMovies.html
> >>>>>>>> "
> >>>>>>>>
> >>>>>>>> and search for the "Add lat/lon labels to an image".
> >>>>>>>>
> >>>>>>>>>
> >>>>>>>>> Colin Beier, Ph.D.
> >>>>>>>>> Research Ecologist
> >>>>>>>>> Adirondack Ecological Center & Huntington Wildlife Forest
> >>>>>>>>> Department of Forest & Natural Resources Management
> >>>>>>>>> SUNY College of Environmental Science and Forestry
> >>>>>>>>> http://www.esf.edu/aec/beier/beier_lab/MAIN.html
> >>>>>>>>> voice: 518.582.4551 x106
> >>>>>>>>> fax: 518.582.2181
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Ticket Details
> >>>>>>>> ===================
> >>>>>>>> Ticket ID: BXF-835860
> >>>>>>>> Department: Support IDV
> >>>>>>>> Priority: Normal
> >>>>>>>> Status: Open
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Colin Beier, Ph.D.
> >>>>>>> Research Ecologist
> >>>>>>> Adirondack Ecological Center & Huntington Wildlife Forest
> >>>>>>> Department of Forest & Natural Resources Management
> >>>>>>> SUNY College of Environmental Science and Forestry
> >>>>>>> http://www.esf.edu/aec/beier/beier_lab/MAIN.html
> >>>>>>> voice: 518.582.4551 x106
> >>>>>>> fax: 518.582.2181
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>> Hi Colin,
> >>>>>  Attached is something I am experimenting, can you provide some
> >>>>> feedback?
> >>>>>
> >>>>> Yuan
> >>>>>
> >>>>> Ticket Details
> >>>>> ===================
> >>>>> Ticket ID: BXF-835860
> >>>>> Department: Support IDV
> >>>>> Priority: Normal
> >>>>> Status: Open<latlonscale.gif>
> >>>>
> >>>>
> >>>
> >>>
> >>> Ticket Details
> >>> ===================
> >>> Ticket ID: BXF-835860
> >>> Department: Support IDV
> >>> Priority: Normal
> >>> Status: Open
> >>>
> >>
> >>
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: BXF-835860
> > Department: Support IDV
> > Priority: Normal
> > Status: Open<latlon.xidv><latlon.isl><test.png>
> 
> 
> Colin Beier, Ph.D.
> Research Ecologist
> Adirondack Ecological Center & Huntington Wildlife Forest
> Department of Forest & Natural Resources Management
> SUNY College of Environmental Science and Forestry
> http://www.esf.edu/aec/beier/beier_lab/MAIN.html
> voice: 518.582.4551 x106
> fax: 518.582.2181
> 
> 


Ticket Details
===================
Ticket ID: BXF-835860
Department: Support IDV
Priority: Normal
Status: Open


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.