Python Forum
Help in reducing the number of bits for gps latitude and longitude
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help in reducing the number of bits for gps latitude and longitude
#1
Hi all, I'm new to Python programming. I'm currently doing my school project and my supervisor has tasked me to reduce the number of bits for GPS (latitude & longitude) through Python. I have no idea on starting on it and I really need help.

Latitude ( 1. x(0-4 (3bits)) x(0-8 (4 bits)) x(0-8 (4bits)) x(0-9(4bits)) x(0-9 (4bits)) x(0-9 (4bits)) )

Longitude ( 1 0 x(0-4 (3bits)). x (0-5 (3bits)) x(0-9 (4bits)) x (0-8 (4bits)) x (0-5 (3bits)) x (0-9 (4bits)) x (0-9 (4bits))

This is the information that he has given me. All he said was that he wants all the values here to be masked and reduced in number of bits. Really appreciate any help given. Thanks a lot.
Reply
#2
if you can't start, you need to run through a tutorial until you can.
Try this one: https://www.python-course.eu/python3_course.php
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Create a bits & bytes conversion table CH13 2 3,271 Mar-10-2020, 06:28 PM
Last Post: CH13
  Distance between two locations when their latitude and longitudes are given dcardonaa 4 2,541 Sep-12-2019, 07:37 PM
Last Post: ThomasL

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020