ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Using osm_cartography

asked 2018-01-19 14:32:10 -0500

pallyra1 gravatar image

updated 2021-04-26 18:56:45 -0500

jayess gravatar image

Hello I am new to ROS. I want to visualise the data from OpenStreetMaps on Rviz. For that I have downloaded the .osm file. When I use the command

roslaunch osm_cartography viz_osm.launch

I am getting error,

Traceback (most recent call last):
  File "/home/pallav/catkin_ws2/src/open_street_map/osm_cartography/scripts/viz_osm", line 50, in <module>
    import geodesy.utm
  File "/home/pallav/catkin_ws2/src/geographic_info-master/geodesy/src/geodesy/utm.py", line 52, in <module>
    import pyproj
ImportError: No module named pyproj

What should I do? Thanks in advance.

edit retag flag offensive close merge delete

Comments

I actually solved this problem, you just need to install the pyproj and then the package works perfectly fine.

johnbryant gravatar image johnbryant  ( 2018-08-23 06:31:57 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-04-26 10:16:31 -0500

Roberto Z. gravatar image

updated 2021-04-26 16:05:27 -0500

Just to add to @johnbryant 's comment:

To install pyproj with apt use this command:

sudo apt install python-pyproj
edit flag offensive delete link more

Comments

Hello! I already had pyproj installed and had this error. I tried sudo apt install --reinstall pyproj but I still have the same error. I am using ROS Melodic with Python 2.7.17 and 3.6.9 . Can someone please tell me what I'm missing? Any help would be appreciated. Thanks!

Amrita Suresh gravatar image Amrita Suresh  ( 2021-11-30 04:35:25 -0500 )edit

Question Tools

3 followers

Stats

Asked: 2018-01-19 14:32:10 -0500

Seen: 717 times

Last updated: Apr 26 '21