geoalchemy2 Questions
3
Solved
I've decided to write a small webapp using Flask, postgresql and leaflet. I wanted to store coordinates (latitude and longitude) using PostGIS extender for postgresql. My flask application uses Fla...
Diaphaneity asked 29/8, 2016 at 21:10
5
For exammple,
class Lake(Base):
__tablename__ = 'lake'
id = Column(Integer, primary_key=True)
name = Column(String)
geom = Column(Geometry('POLYGON'))
point = Column(Geometry('Point'))
lak...
Chancellorship asked 7/6, 2014 at 1:34
1
I am using PostgreSQL, SQLAlchemy and GeoAlchemy2 libraries to store some geospatial coordinates in the database.
I define the database column in my database as follows using Python:
import sqlal...
Hejira asked 21/8, 2019 at 23:52
1
Solved
I'm trying to create an in-memory SQLite database off of SQLAlchemy ORMs originally designed for a Postgres database. To allow the SQLite engine to convert postgres specific datatypes, I've relied ...
Alexanderalexandr asked 12/5, 2021 at 17:3
3
My problem is this. I'm creating a model for some data.
class Cables(Base):
__tablename__ = 'cables'
id = Column(Integer, nullable=False)
route = Column(Geometry(geometry_type='LINESTRING', sr...
Analogy asked 16/1, 2017 at 20:30
0
I'm having difficulty with (I think) the ORM for geoalchemy2. My model is defined as follows:
class Location(Model):
point = Column(Geometry('POINT', dimension=3, srid=4326))
I later insert as ...
Cracker asked 20/5, 2016 at 13:18
1
Solved
To extend my restfull api with GPS locations I decided to try geoalchemy. I already have a database going and I think it saves the points to my database already. However, everytime I try to print a...
Torino asked 16/3, 2015 at 10:22
1
Solved
I need to implement a query using GeoAlchemy to get all the Points that are near a given Point (for example, within a 10 meter radius). For storing points, i am using Geography fields in my PostGIS...
Sot asked 1/6, 2014 at 14:47
1
© 2022 - 2024 — McMap. All rights reserved.