streetscape.gl icon indicating copy to clipboard operation
streetscape.gl copied to clipboard

Point rendering issue in GEOGRAPHIC coordinate

Open jack-wolfs opened this issue 6 years ago • 3 comments

hi everyone I'm trying to draw a point with GEOGRAPHIC coordinates. but I never see the point appear. I'm not sure if it is a bug or something wrong in my codes.


// metadata
xvizMetadataBuilder
  .stream('/vehicle_pose')
  .category('pose')

  .stream('/lidar/points')
  .category('primitive')
  .type('point')
  .coordinate('GEOGRAPHIC')
  .streamStyle({
    point_color_mode: 'elevation',
    point_color_domain: [0, 3],
    radius_pixels: 10
  })

xvizBuilder
  .pose('/vehicle_pose')
  .timestamp(timestamp)
  .mapOrigin(-122.4, 37.8, 0)
  .orientation(0, 0, 0)

xvizBuilder
  .primitive('/lidar/points')
  .points([-122.401,37.8,0])

image

jack-wolfs avatar Apr 29 '19 14:04 jack-wolfs

Same issue here. It seems the problem has been solved in the newest version.

pkulijing avatar May 06 '19 08:05 pkulijing

@pkulijing thanks for the update that it works with newest version. @jack-wolfs can you try again?

twojtasz avatar May 20 '19 18:05 twojtasz

Am able to see points in the new version. One thing here, lidar point color am able to give in the playground, but in the get-started application it's not working.

srikanth-kuriyala avatar Jun 20 '19 08:06 srikanth-kuriyala