Skip to main content

Configuring Pictometry in GVH 2.4

Comments

21 comments

  • Permanently deleted user

    Hi Dave,

    Settings those 2 variables is all that is required to setup Pictometry. You may need to contact Pictometry and ensure those keys works with their IPA, which is what the Pictometry.aspx sample is based on.

     

     

    Thanks,

     

    Cody
    0
  • Cattyann Campbell

    Is there a button that should pop-up once that's set???

    0
  • Permanently deleted user

    Hi Cattyann,

    Are you referring to a button to open Pictometry once the keys are set? 

    Thanks,

     

    Cody
    0
  • Cattyann Campbell

    Yes 

    I thought it would pop-up when I pressed the 3rd party button but not seeing anything at all...

    My understanding is that I don't have to include any lines in the .json files for this???

    0
  • Bill Everingham

    Same here, trying to figure it out.  No luck. 

    Since upgrading to 4.3, and 2.4 Silverlight and HTML it seems to have broken my pictometry links.  I've just started to try and track it down.

    0
  • Permanently deleted user

    You do actually need to update the .json files in order for this to appear, in addition to adding the keys. 

    You can follow the Bing Maps example to configure it and just update the following:

    id: bingMaps -> pictometry

     

    displayName: Bing Maps -> Pictometry

     

    uri: BingMaps.html ->Pictometry.aspx

     

    viewpointIndicatorUri: red -> purple

    *Note: If you're using both bing maps and pictometry, make sure you seperate them with a comma

    If you also want both bing maps and pictometry to appear when clicking the 3rd Party Maps button by default, be sure to update the 'defaultComponents' property (assuming both Bing Maps and Pictometry are configured) to:

    "defaultComponents": [ "bingMaps", "pictometry" ],

    Thanks,

     

    Cody
    0
  • Cattyann Campbell

    I have one other line that I think need to be configured

     

    public string IpaJsLibUrl = "http://pol.pictometry.com/ipa/v1/embed/host.php?apikey="MylongAPIkey "+ ApiKey;

    I'm assuming that API key goes in the quotes there do I elminate this bit at the end or leave it be or leave the full line alone???  ( + ApiKey;)????

     

    Getting closer!!!

    0
  • Permanently deleted user

    You can actually elminate all references to the API key in the IpaJsLibUrl property if you are using the javascript library from pol.pictometry.com, leaving you with:

            protected static string ApiKey = "REPLACE_WITH_API_KEY ";

     

            protected static string SecretKey = "REPLACE_WITH_SECRET_KEY "

     

            public string IpaLoadUrl = "http://pol.pictometry.com/ipa/v1/load.php";

     

            public string IpaJsLibUrl = "http://pol.pictometry.com/ipa/v1/embed/host.php";

    After replacing those keys, it should just load up in the 3rd party maps container. If is not appearing in the container at all, that may be an issue with the configuration, rather then the Pictometry.aspx page.

    Thanks,

     

    Cody

     

     
    0
  • Cattyann Campbell

    Interface pop up fine now but now I get

    Referring hostname does not match IPA key hostname...

    so thinking this is on Pictometry side... coz when I add the hostname

    which I assume to be ~line 17 runat "server" l eaving it blank I get the hostname error, adding the domain (i assume my server name) gives me an HTML application error...

    Thanks for your help just need to get that page to load at this point.

     

    0
  • Permanently deleted user

    Ya, that would be a Pictometry license issue. Each pair of API Key and Secret Key only works on a specific domain. Once that is resolved,  t here shouldn't be a  need to change line 17 and can be left as:

            <script runat="server">

    Cody

    0
  • Cattyann Campbell

    Thanks I'll go see what is up we probably have to reset the doman...

    0
  • Permanently deleted user

    Thanks Cody.  What do the API key and secret key correspond to in terms of the values I set in the Pictometry Extension?  I already have valid codes that work in GVS.

    Dave

    0
  • Permanently deleted user

    Sorry Dave, I don't actually know whether they correspond to the same keys used in the Pictometry Extension.

    The GVS Extension is based off the Pictometry Navigator API , whereas GVH uses the Integrated Pictometry Application (IPA).  You may need to contact Pictometry for a seperate  set of API keys .

    Cody

    0
  • Cattyann Campbell

    @Dave

    you will need a new set of keys generated for the Pictometry IPA they also look at your originating domain

    which is what I seem to be stuck on at the moment. Once you get the keys just follow the instructions

    Cody provided to me in this thread and hopefully you won't end up with my current issue.

    Let me know how it goes for you.

     

     

    0
  • Cattyann Campbell

    @Cody

    thanks again for your help 

    I got it working then had to remove that particular instance because it was public a no-no with Pictometry

    unless you pay the extra $500 fee for public consumption sans fancy tools.

     

    0
  • Frank Martin

    Essentials 4.3 and HTML5 2.4

    I've configured the 3rd party maps to use Pictometry (keys, pictometry.asps and desktop.json.js updates).  When I activate the 3rd Party Map tool in the viewer, the Pictometry pane displays their tools and the Viewer navigation/tools panel, but there is a message "Please set a location or search for an address" message and no image (see attached).  Has anyone else seen this problem? 

    Thanks,

    Frank

    /customer/servlet/servlet.FileDownload?file=00P6000000elzsEEAQ

     

    0
  • Permanently deleted user

    @Frank

    I am experiencing the same problem you are.  Did you ever get this figured out?

    0
  • Cattyann Campbell

    /customer/servlet/servlet.FileDownload?file=00P6000000em1FbEAI

    Mine is working without issues. I have my map and the Pictometry interface  synchronized.

    Also do you have a default location set in the Pictometry online interface? 

     

     

     

    0
  • Frank Martin

    Chris,

    Yes, I was able to get the Pictometry map configured correctly.   I need to set the "defaultComponents" to "pictometry" (lower case p)  and the "externalComponents" "id:" to "pictometry" (lower case p).   Lower case "p" versus upper case "P" was the problem.

    Sorry I didn't post this sooner.

    Frank

    0
  • Carmen Durham

    What about if you use a self-hosted Pictometry application?  How in the world do you set it up?

    In the Silverlight Viewer, I am using a workflow that captures a point, projects to WGS84 and then appends the x-y location to a URI sent to our self-hosted pictometry server with login credentials.  See image below.

    Any ideas of what I should do?  This workflow will not work in HTMLViewer.  If anyone can tell me how to fix this workflow to work, I would be fine with keeping the workflow. 

    /customer/servlet/servlet.FileDownload?file=00P6000000elzWcEAI

    0
  • Permanently deleted user

    Frank,

    Thanks for posting that.  I was running into the same issue as you and Chris.

    When I added pictometry into defaultComponents, my site wouldn't load anymore.  I probably wasn't valid JSON.  I did however change the id from "pictometryMaps" to "pictometry" and it started working.

    Below is my Desktop JSON configuration, it may be useful to someone trying to figure this out.

                  "defaultComponents": [],

     

                  "externalComponents": [

     

                        {

     

                             "id": "googleMaps",

     

                             "displayName": "Google Street View",

     

                             "uri": "Resources/3rdPartyMaps/GoogleMaps.html",

     

                             "viewpointIndicatorUri": "Resources/Images/Icons/location-direction-blue-32.png"

     

                          },

     

                          {

     

                             "id": "pictometry",

     

                             "displayName": "Pictometry Birds Eye View",

     

                             "uri": "Resources/3rdPartyMaps/Pictometry.aspx",

     

                             "viewpointIndicatorUri": "Resources/Images/Icons/location-direction-purple-32.png"

     

                          },

     

                          {

     

                             "id": "bingMaps",

     

                             "displayName": "Bing Maps",

     

                             "uri": "Resources/3rdPartyMaps/BingMaps.html",

     

                             "viewpointIndicatorUri": "Resources/Images/Icons/location-direction-red-32.png"

     

                          }

                  ]

     

    Carmen - I would recommend starting a new thread specifically for self-hosted Pictometry integrations.  It might not get the attention it needs in the bottom of this thread.

     

    0

Please sign in to leave a comment.