Skip to main content

Questions tagged [spatial-database]

Spatial database is a database that is optimized to store and query data that is related to objects in space, including points, lines and polygons.

Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

So, I created several MXD files a long time ago, with spatial data and other reports/photos etc. inside but didn't save it all in the same folder in my computer. Now, a few days have gone by and I ...
InoK's user avatar
  • 1
3 votes
1 answer
480 views

I would like to save my layer styles to a database and the "only" option given is "As Default in Local Database". After some searching, I see the local database is named qgis.qmldb ...
Joe G's user avatar
  • 375
0 votes
1 answer
1k views

I have a NetCDF database (link to file) obtained from Copernicus Climate Data of ~43k unevenly spaced values around the world. Instead of being indexed using (lat, lon) it uses a sequence of 'stations'...
terauser's user avatar
1 vote
0 answers
252 views

I have problem with seeing/making connection to spatial data on SQL Server with QGIS while I can normally see it (on the same SQL Server) with ArcMap. I should use the same user and password for both ...
Mart's user avatar
  • 11
1 vote
0 answers
802 views

I am about to start making 50+ maps for my next book project. The last 2 books were a struggle with the huge amount of Ontario, Canada vector data to make my basemaps. These were large files from the ...
Dan R's user avatar
  • 153
0 votes
1 answer
96 views

I created the following map. However, the labels in the legend don't match the data. I don't understand what goes wrong. I expected the pal colors to be ordered with the labels. So would do the data. ...
Shunrei's user avatar
  • 141
0 votes
2 answers
496 views

I have created a settlement plan on ArcGIS Pro, on which every polygon corresponds to a specific room in the settlement. All the polygons/rooms have some features (E.g. Fire Place, Bench etc.). I have ...
MaryM's user avatar
  • 39
0 votes
0 answers
813 views

I am trying to understand about how R-tree works for polygon data. In other words, polygon is a list of vertices (points), however, I am wondering how spatial index can recognize the order of points ...
Masoumeh's user avatar
3 votes
2 answers
2k views

I have three spatial dataframes (polygons), created via this tutorial. The three spatial dataframes must be exported as shapefiles via a for loop. I created a list polygons containing the three ...
Foeke Boersma's user avatar
5 votes
1 answer
930 views

I have the project where, in one part of it, I need to add the timestamp to uniform generated points along the line (road, in my project). There is a road and uniform distributed points on it, which ...
Ramiz Mammadli's user avatar
1 vote
2 answers
468 views

I have a number of spatial databases each containing multiple schemas on one server, I want to use QGIS to examine layers, Is it possible to create one PostGIS connection in QGIS and add all databases ...
Boskic777's user avatar
0 votes
0 answers
75 views

I have been given an existing GIS database design for a solar power project, with its structure, relationships, geometry etc designed from another project and existing in PostGIS database. I am ...
Learning Geo The Hard Way's user avatar
1 vote
0 answers
664 views

I'm currently working in a MySQL database version 5.7. I've a polygon table that was created using the following way: CREATE TABLE coords( ref_geo CHAR(80) NOT NULL, geom GEOMETRY NOT NULL ); I ...
MapsEveryWhere's user avatar
4 votes
1 answer
81 views

I have a geopackage which contains around 30 files. I want to put a "mmbl_" before the actual file name for all the layers in the said geopackage. Is there a an SQL expression to automate ...
BallpenMan's user avatar
  • 1,257
0 votes
0 answers
67 views

Pretty common use case I suspect, but want to make sure I optimise from the get go. PostGIS I'm suspecting is the weapon of choice, and one way I'll be interrogating data is QGIS. Large part of data ...
GeoJim's user avatar
  • 91
4 votes
1 answer
2k views

Problem: We have several layers stored in a PostgreSQL database with PostGIS extension (Stored on AWS RDS Instance). The connection has been working perfectly to date. I get asked for login ...
Robbo's user avatar
  • 41
0 votes
1 answer
96 views

When I installed PostGIS, the default directory for all data is C:\Program Files\PostgreSQL\13\data but I can't find any folder that seems to be related to the database (named 'discover') that I made.
BallpenMan's user avatar
  • 1,257
2 votes
0 answers
1k views

I installed a fresh version of the QGIS LTR 3.10. I am working on creating a postgres server from a raspberry pi4 and connecting the database to my qgis. Through a tutorial I am walking through, they ...
Binx's user avatar
  • 1,456
0 votes
0 answers
307 views

I have a requirement to spatially index each pixel of GeoTIFF images and store them in a scalable database. I intend to perform this in the following manner. Divide each GeoTIFF into smaller tile ...
0xMinCha's user avatar
  • 151
1 vote
1 answer
234 views

We are a small team (10 p) working on spatial planning. We are using QGIS as a main tool. We have a lot of open source data, we daily use on multiple projects, and therefore some files are duplicated ...
Arthur's user avatar
  • 863
-1 votes
1 answer
1k views

I am trying to insert a satellite image (e.g. a Sentinel Image) into PostGIS. What is the best structure to save the different bands? I know that you can use somehow use 'ST_AddBand' or 'ST_Band', but ...
soph's user avatar
  • 340
0 votes
0 answers
148 views

I work for an Archaeological consulting company in Australia and one of the major parts of our job is to go out and survey for aboriginal heritage sites before constructions can be approved. The ...
WillAustral's user avatar
0 votes
0 answers
266 views

I am looking to share a QGIS project with a few others outside my network. The QGIS project is using layers from a postGIS database I created locally. I am wondering what the best way is to go about ...
sam c's user avatar
  • 51
1 vote
1 answer
52 views

I have a data frame in r with x and y coordinates and each point has a circumference (tree_crown) around it. I'm wanting to build a raster file that each cell would have a value equal to the percent ...
Trsettle's user avatar
3 votes
1 answer
1k views

Can I create one-to-one relationship using project relations in QGIS? I am trying to create a spatial database in QGIS. I want to link my attribute data to my spatial data (shapefile). I have already ...
Slwd-wave540's user avatar
0 votes
0 answers
416 views

I am creating a spatial database for five buildings for a project that I am working on. I have spatial data in the form of a shapefile and attribute data in Microsoft Access(with a table and queries). ...
Slwd-wave540's user avatar
0 votes
1 answer
564 views

Using ogr2ogr, I transferred data from the Oracle database to the PostgreSQL database. However, the table "table" contains attributes that have a "clob" as a data type, which were ...
Stefan Milošević's user avatar
0 votes
1 answer
735 views

I have ordnance survey master map a coverage for the whole of the UK. These are currently received on a disk every 3 months and arrive in .gz format. Does anyone have any recommendations on how to ...
Chris Jenner's user avatar
2 votes
1 answer
414 views

We are two people who need to edit on the same layer in QGIS. For example one of us will edit locally, the other one via a server connection.
Vignesh M's user avatar
2 votes
1 answer
1k views

I am trying to establish a new database connection from QGIS 3.4.3 to Postgres/PostGIS. I have two connections established but I can't find any options to establish another connection. I cannot recall ...
Casivio's user avatar
  • 339
1 vote
1 answer
93 views

For some research I am working on, I have a dataframe called charters of charter schools in New Jersey. Simplified it looks like this: school.name school.id district.id lat ...
Eli Groves's user avatar
1 vote
1 answer
151 views

What approach should be used to have the ability to store and observe changes of polygons? For example if you have an area where many parcels of land have changed owners and dimensions (larger/...
user148647's user avatar
-2 votes
1 answer
153 views

Is there any nosql database which supports the below 1) Should support local coordinates (spatial data which holds the coordinatesof door, Infra, etc.) 2)Integration with Geoserver.
user3474541's user avatar
1 vote
1 answer
136 views

I have this below GetNearest function that will get every user's nearest node from ways (imported using osm2pgrouting). CREATE or REPLACE FUNCTION GetNearest(NUMERIC, NUMERIC) RETURNS BIGINT AS ...
Mohamed Yousuf's user avatar
2 votes
1 answer
66 views

I have a big line shapefile data (over 2 millions features) showing animal movements. Simplified example: ID    Year    st_time     end_time&...
Sn0W's user avatar
  • 154
4 votes
2 answers
4k views

Is it possible to directly query geographic spatial data form SQL Server in PowerBI like its possible with Tableau? https://cloudblogs.microsoft.com/sqlserver/2018/05/14/visualize-geographic-spatial-...
SQuirreL's user avatar
0 votes
1 answer
726 views

I'm creating table in PostgreSQL using these commands: shp2pgsql -s 32632 watershed.shp watershed > watershed.sql psql -f watershed.sql cambridge psql -f watershed.sql cambridge But I had this ...
Saifeddine Farjallah's user avatar
2 votes
0 answers
2k views

While upgrading PostGRES/PostGIS from 9.x to 11.x, I have discovered DBeaver and so far I am pleased. Apparently it has some spatial integration, including the ability to visualize spatial data ...
elrobis's user avatar
  • 6,524
2 votes
0 answers
638 views

I am a novice GIS user and am just seeing the potential for relations in my work. A problem I've come across and would like a solution to it. I have two stochastic matrices (risk matrices) that ...
rwjd's user avatar
  • 126
0 votes
1 answer
85 views

I have a dataset that shows the borehole yield for fractured aquifers in South Africa. Using the "yield_ls" column, my CARTO VL legend looks like this (notice how the 4th item should be the first). ...
JohnGIS's user avatar
  • 515
0 votes
2 answers
761 views

I need some clarification on oracle sdo_gtype 4402. I understand that sdo_gtype is coded as DLTT: D: Dimension L: linear reference TT: TT identifies the geometry type It's clear to me that first 4 ...
Geo's user avatar
  • 1
4 votes
1 answer
557 views

I've created a two new PostgreSQL users; one that is supposed to have read-only privileges and another one that should have most privileges (admin-user). When I connect/log in to the new users in QGIS ...
Spiran's user avatar
  • 427
3 votes
2 answers
3k views

I want to create a simple GeoDjango app with SpatiaLite database but I have this error at migrate: django.core.exceptions.ImproperlyConfigured: Unable to load the SpatiaLite library extensio`. ...
jessie jes's user avatar
  • 1,061
0 votes
1 answer
125 views

This seems like a simple operation so apologies if I've missed an existing answer. What I need to do is extract single record (a client) from a database of clients (in Spatialite) and present the ...
user avatar
1 vote
0 answers
371 views

I'm configuring a tile server on Apache Mesos. From all the tutorials I've read, I gathered that PostgreSQL and PostGIS is widely used for this purpose. I learned that MongoDb and MySQL Server also ...
vaishnavi mukundhan's user avatar
2 votes
2 answers
997 views

I want to know if there is a way to only allow certain Geometry types to be added to a table in PostgreSQL. I have a tool that currently allows points, lines and polygons but would like to restrict ...
Hutch's user avatar
  • 359
3 votes
2 answers
6k views

The data I've loaded from a shapefile into a geometry column in SQL Server (using NetTopologySuite) is not producing valid GeoJSON when I export it because it doesn't follow the right-hand rule. I ...
Sean's user avatar
  • 161
6 votes
0 answers
4k views

I've decide to use sql server on Azure for my gis database. I'll be dealing with spatial Geography not Geometry. While inserting some country boundaries using the spatial data in SQL Server, some ...
M. Carlo Bramini's user avatar
2 votes
1 answer
936 views

I have roughly 30 predictor variables in raster and two polygon shapefiles format that I am trying to extract values from for a given response variable coordinates. I have already done the following:...
Douglas's user avatar
  • 425
0 votes
2 answers
936 views

I want to copy a raster file into SQLite database. Previously, I did the same with vector data like this: def store_vector_output(self, file_name, identifier): from osgeo import ogr drv = ogr....
Jan Pisl's user avatar
  • 768

1
2 3 4 5
10