Skip to Main Content
Spotfire Ideas Portal
147 VOTE
Status Planning to implement
Product Spotfire
Categories Maps Visualization
Created by Guest
Created on Aug 31, 2016

Allow custom markers

Is should be possible to upload and use custom markers. For instance in map layer, it would be nice to have specific icons displayed e.g. Service Van, House, Wind turbine etc. 

  • Attach files
  • Guest
    Reply
    |
    Aug 15, 2023

    Add a way to import custom markers into your visualization. Such as symbols or different fonts.

  • Guest
    Reply
    |
    May 17, 2022

    @Jason, you're correct - run in open-source R, and import as .shp.

  • Guest
    Reply
    |
    May 16, 2022

    So did you run this code on standard R and then import the shapefile?

    I get errors when trying to run this via TERR.



  • Guest
    Reply
    |
    May 2, 2022

    You could also consider using centered labels that are images rather than text. I've successfully used that for drilling rigs before.

  • Guest
    Reply
    |
    Sep 5, 2021

    Forgot the credits where it's much due 😅

    Special thanks to the [R Core team](https://www.R-project.org/), [tidyverse](https://github.com/tidyverse/tidyverse), and [sf](https://github.com/r-spatial/sf) authors.


  • Guest
    Reply
    |
    Sep 5, 2021

    While we continue waiting for the dev team to add this as a core function, here's a workaround for those familiar with R programming language.


    This particular use case draws a drilling rig as the custom marker.


    For other use cases, unleash the creative artist in you! I'm sure some other users will appreciate/use the work ya'll share :)


    # `data_raw` is a spatial data frame with latitude and longitude; in this case in CRS 4326

    data_sf <- sf::st_as_sf(data_raw, coords = c("lng", "lat"), crs = 4326)

    # Munge default geometry object, which is a point

    # First, get it out as vectors

    lng_lat <- lapply(data_sf$geometry, as.vector)

    # The key _drawing_ function for a drilling rig; a minimalist artist I am, as you'll see :)

    draw_rig <- function(mid_x, step_x, mid_y, step_y) {

    max_y <- min_y <- mid_y - 3 * step_y

    min_x <- mid_x - 3 * step_x

    max_x <- mid_x + 3 * step_x

    rig <- sf::st_linestring(

    cbind(

    c(min_x, mid_x, mid_x + step_x, mid_x - step_x, mid_x + 2 * step_x, mid_x + step_x, mid_x - 2 * step_x, mid_x + 2 * step_x, max_x),

    c(min_y, mid_y, mid_y - step_y, mid_y - step_y, mid_y - 2 * step_y, mid_y - step_y, mid_y - 2 * step_y, mid_y - 2 * step_y, max_y))

    )

    return(rig)

    }

    # Apply _drawing_ function; step_x and step_y are set based on personal taste and affect the size of marker in map

    lng_lat_sf <- purrr::map(

    lng_lat,

    ~ draw_rig (

    mid_x = .x[[1]],

    step_x = 0.167 / 2,

    mid_y = .x[[2]],

    step_y = 0.334 / 2

    )

    )

    # Convert back to sf object

    data_sf$geometry <- sf::st_as_sfc(lng_lat_sf)

    # Save as .shp file for .dxp import

    sf::st_write(

    data_sf,

    "rigs.shp",

    driver = "ESRI Shapefile",

    delete_layer = TRUE

    )

  • Guest
    Reply
    |
    May 18, 2020

    Similar use-case: I would like to modify the map-markers if a certain condition is met in a column

    Ex.

    The map marker is a blue circle because the Feature is a House, and that circle is outlined in red because it is a House and its Latitude is greater than 29.756

1 MERGED

Allow custom markers

Merged
I appreciate this is already a well up-voted feature request but I have a new logo customer requesting the ability to add customer markers to related visualizations - i.e. map-chart, scatterplots,
over 2 years ago in Spotfire / Visualization 0 Planning to implement
2 MERGED

Create your own Icons for Graphical Tables and/or Dynamic Items

Merged
I want to make better icons for my endusers
over 6 years ago in Spotfire / Visualization 0 Planning to implement
1 MERGED

Allow custom shapes in scatterplot

Merged
Custom shapes should be allowed for use in in scatterplots as the current shape dictionary is very limited and does not allow for nice customizations when building a public interest dashboard. More critically, scatterplot visualizations can be man...
over 6 years ago in Spotfire / Visualization 0 Planning to implement
1 MERGED

Add a way to import custom markers into your visualizations such as symbols or fonts

Merged
Allow users to add Additinal Symbols, Esri Fonts or shapes to choose different shapes or fonts that what is currently offered.
12 months ago in Spotfire / Visualization 5 Planning to implement
79 MERGED

Use custom images on Map Charts instead of default marker shape.

Merged
Have the ability to add custom images to use on a map rather than the standard square, triangle, or circle.
almost 8 years ago in Spotfire / Maps / Visualization 3 Planning to implement
1 MERGED

More shapes available for visualisations such as scatter plots, graphical tables - perhaps FontAwesome

Merged
There are many occasions when I have wished there was an icon such as a tick mark/check mark, or some other option to make more of an infographic type of visualisation in Spotfire. Can we increase the number of shapes available, perhaps using Font...
almost 7 years ago in Spotfire / Visualization 0 Planning to implement