Questions tagged [indexing]
Indexing data structures is a general technique to improve the speed of data lookups.
74
questions
1
vote
1
answer
105
views
GeoPandas geodataframe.cx() coordinate indexing not working for multipolygon
I am trying to apply the coordinate indexing .cx method to a GeoPandas geodataframe with a multipolygon geometry. I would like to plot a part of the full polygon. So far I have:
NP_shp.crs
<...
1
vote
2
answers
817
views
GeoPandas .explode() FutureWarning: Currently, index_parts defaults to True, but in the future, it will default to False to be consistent with Pandas
I have a simple GeoDataFrame containing 2 records, with MultiPolygonZ having several single parts as geometry elements. When I try to split those in their single parts using the .explode() method, it ...
1
vote
1
answer
239
views
Extract the raster values for geometry using Python
I tried to extract the pixel value of the raster for the points with the following code.
for point in df['geometry']:
x = point.xy[0][0]
y = point.xy[1][0]
row, col = raster.index(x,y)
...
1
vote
0
answers
55
views
Merging rasters identified by clipped raster index
I have a very large set of data heavy ECW aerial photos. There is a polygon vector index of the rasters which identifies the name and other attributes of each raster. My end goal is to be able to ...
3
votes
0
answers
423
views
How to create a GIST index on locations within a JSONB array column?
I have a JSONB column with an array of locations. I want to do a Postgis GiST index on each of the array items.
For example:
[{
"location":{
"type": "Point",
...
0
votes
0
answers
395
views
Could not write feature into OUTPUT using PyQGIS
I got a shapefile layerStreetAxis from these file I run the code below. For the most of cases the script works well, but I found a case where the script stops in uniqueStreetNamesAxis and gives me the ...
2
votes
1
answer
192
views
Spatial index creation in GeoServer when adding PostGIS store
If we are adding a GeoServer store using the shapefile section, it is possible to check the option so GeoServer creates spatial index files, Is this feature available when we add store using postGIS ...
0
votes
0
answers
617
views
Spatial indexes with RTree for polygons
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 ...
1
vote
0
answers
145
views
Indexing line segments with R-Tree
I have made a small unweighted graph consisting of 20 nodes and 28 edges. I would like to understand how a R-Tree indexing would index the the graph.
Could anyone explain how the R-tree indexed such ...
1
vote
2
answers
264
views
Indexing Copernicus Global Land Service data into ODC
I would like to index Copernicus Global Land Service data (that we can find in this site: https://land.copernicus.vgt.vito.be/manifest/) into Open Data Cube.
How can I do it without the need to ...
2
votes
0
answers
65
views
Indexing USGS Landsat Collection 2 data in Open Data Cube [duplicate]
The USGS Landsat Collection 2 data has been released for a while and there's no clear way to index it into the Open Data Cube.
Is there a prepare script or some other method that can be used to index ...
1
vote
1
answer
84
views
Can I use Copernicus Land Services data on Open Data Cube?
I need to use Copernicus Land services data (that I can take from the official website of Copernicus land: https://land.copernicus.eu/) on Open Data Cube.
How can I do it?
How can I index this data?
1
vote
1
answer
320
views
Error while indexing Sentinel 2 data on Open Data Cube
If I have sentinel 2 data:
which .py file do I have to use to create dataset?
which .yaml file do I have to use for product?
I took file from these 3 providers (https://earthexplorer.usgs.gov/ , ...
0
votes
1
answer
71
views
GeoServer using read only database
Can GeoServer use an Oracle database that is in a read-only state or does it need the ability to generate its own indexes if existing databases do not have the necessary indexes already generated?
2
votes
1
answer
185
views
Indexing Multi-Band images in OpenDataCube
I have a Sentinel2 based product with the following product definition. It has 2 bands in it
name: product_name
description: Product Name
metadata_type: eo3
metadata:
product:
name: '...