Jump to content
  • Positioning a non-geographical image with markers


    In this article, you will learn how to position a non-geographical image with markers.

    The Image Layer can be used for any type of spatial analysis, not just geographical analysis. Your image could be a human body, a process diagram, a semiconductor schematic, a soccer field? anything of interest to you on which you can reliably plot data on.

    image17_7.thumb.png.24d84f1bdd76495634dec06570492c11.png

    There are a number of steps to follow when creating non-geographical spatial visualizations; the challenge is to create a same coordinate system between your data and the image you use to provide the spatial context. Let?s take the example of a process diagram.



    Defining the coordinate system

    Here we want to plot markers showing failure/success status over the diagram image. We need to create a coordinate system that will enable plotting markers on the diagram image. This can be done using a presentation program (Microsoft PowerPoint or another application) or a graphics editor to position the markers and by reporting the position to a spreadsheet. For this guide we use PowerPoint.

    1. Once you have your image, open PowerPoint and set up the page to have the same size as your image
      image4_5.thumb.png.12c122f7db5d3d175b35e6541d58c289.png

       
    2. Insert your image on the page
      image8_3.thumb.png.a1f6934e80f01069180341fbc3b449dc.png
    3. Add the markers position as shapes on top of the image
      image11_8.thumb.png.ccde61dce6e024cb8aeef36bd20aa2e8.png
    4. Report each position to a spreadsheet with eventually related information such as names or other info
      image7_5.thumb.png.893973325ed12267ffb1c9e2477417be.png
    5. Now we need to transform the vertical positions. In PowerPoint, a vertical position value is based on the distance from the top left as opposed to Spotfire where it is based on the distance from the bottom left. We have to flip all the vertical positions using: "Image height - Y value"
      image21_6.thumb.png.77d49e08b37d0398b631f03c7b00fcdd.png
    6. Once done, we can remove the original Y column and we are ready to use our diagram image and the positions reported in the spreadsheet.



    Creating the visualization in Spotfire

    Now that we have the image and the data ready, we can create the visualization in Spotfire as follows:

    1. Open Spotfire, import your spreadsheet and create a Map Chart visualization
    2. Right-click the Map Chart visualization, select Properties, go to the Layers section
    3. Remove the Map Layer
      screen_shot_2019-04-05_at_17_27_56.png.aedaa6055cb9e4fd381561e4ae039b53.png
       
    4. Go to the Appearance section in the Properties
    5. Set the Map Chart CRS to "None"
      image3_5.png.4e4864771821bda2a2df55aa74dc0cbe.png
       
    6. From the Layers section, open your data layer Settings (here "Status") and set CRS to "None" from the Data section
      screen_shot_2019-04-05_at_17_29_31.png.1dead64e570d03058513f9bb57f98bb8.png
       
    7. From the Layers section in the Properties, select Add > Image Layer and click "Browse..." to select you image
      image5_6.png.fea62de0832e476aa55afd96f5f25687.png
       
    8. Set CRS to "None"
    9. Go to "Extent Settings..." and make sure the extent is equal to the size of your image, Y low & X low starting as zero
      image15_6.png.3c840bd927292f11d43ef5161e820684.png
       
    10. You can now close the Properties, your visualization should be ready to use.
      image2_8.thumb.png.c7738473e7c9022f0d60f5923b18bcb0.png

    Now that your visualization is ready, you can always tweak the positions using the replace value feature to change a bit the positions to their desired locations if needed.


    User Feedback

    Recommended Comments

    There are no comments to display.


×
×
  • Create New...