Hi Folks,

I just wanted to toss out the following snippet of code that we've found to
be a significant productivity booster in digitizing data with subparcel
accuracy, but which I'm not sure is widely known functionality.  For
locating properties, one of our most regularly used resources is Live
Local's Birdseye view (oblique aerials).  What seems not to be too widely
known about this (as well as other similar) resource(s) is that you can pass
Live coordinates and get directly to a birdseye view just by constructing a
URL.  I've posted the code over at directionsmag, but as it is quite short,
I've copied below.   I also wanted to say 'Thank You' to the members of this
list - as a relatively new maptitude/gisdk user, ya'll have provided a
priceless resource.

Thanks!

Joshua Rosenthal
Massachusetts Historical Commission GIS

------------------
// This tool offers quick access to the Live Local Oblique Aerials, called
'Birdseye' view.
// Basic code is a modification of the Caliper Click Coordinates code.

dBox "Birdseye" title: "Birdseye" toolbox

    // Get longitude and latitude of click point and change to deg-dec
    Tool 1, 1.25 Icons:"bmp\\buttons.bmp|128", "bmp\\buttons.bmp|162",
        "bmp\\buttons.bmp|196" cursor: "Crosshair" do

        // Get click point & coordinates
        on escape goto clickskip    // If user presses Esc
        on notfound goto clickskip  // If coord is invalid
        c = ClickCoord()
     lon=c.lon/1000000
      lat=c.lat/1000000
    // Assemble webcall
    //zoom = 1 //Birdseye Zoom - removed - re-add to address construction to
use.  lvl is html name for zoom
    address = 
'http://maps.live.com/default.aspx?cp='+r2s(lat)+'~'+r2s(lon)+'&style=o&lvl=1&v=2
<http://maps.live.com/default.aspx?cp=%27+r2s%28lat%29+%27%7E%27+r2s%28lon%29+%27&style=o&lvl=1&v=2>
'

    //Run Webcall
    LaunchDocument(address,)
    clickskip:
        on escape default
        on notfound default
    endItem

    // Close toolbox
    Close do
        Return()
        endItem

endDbox

--------------------------------

Reply via email to