KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm using Sqlalchemy to define my tables and such and here is some code I came up with: locations = Table('locations', Base.metadata, Column("lat", Float(Precision=64), primary_key=True), Column("lng", Float(Precision=64), primary_key=True), ) I read somewhere that latitude and longitude require better precision than floats, usually double precision. So I set the precision manually to 64, is this sufficient? Overkill? Would this even help for my situation?
Tags (comma-separated)
Save Edits
Cancel