Skip to main content

Questions tagged [python]

Python is an open source interpreted programming language used in many GIS programs.

1 vote
1 answer
24 views

I'm using Planetary Computer STAC catalog to download MODIS emissivity data (modis-11A1-061 collection, although the same problem appears with the modis-11A2-061 and modis-21A2-061 collections). It ...
ArMoraer's user avatar
  • 5,779
0 votes
0 answers
35 views

In ArcGIS Pro, to activate the default python conda environment in your terminal, you can run the proenv.bat script (copied below). I don't speak bat, so I don't know how it works. What I don't want ...
a different ben's user avatar
0 votes
0 answers
22 views

I'm trying to do zonal statistics in Python API when I encounter error message: EEException: Computation timed out while running this cell of code to convert feature collection into data frame: ...
Garenza R. Nugraha's user avatar
1 vote
1 answer
56 views

I am classifying a PlanetScope Imagery into 3 classes (water, non-water and mixed) using NDWI. Natural breaks (Jenks)​​ worked the best for me when I tried different data classification methods in ...
Sandhya Dhakal's user avatar
2 votes
2 answers
174 views

I have a workflow with QGIS, where I open an entire gdb, filter all layers by a common column and save all the filtered layers in a gpkg. I'm trying to make those steps with geopandas, so I don't ...
Eric Verschoor's user avatar
0 votes
1 answer
22 views

I am trying to upload a layer using the GeoServer (2.28) REST API using the Importer extension in python. I ak not not what I am doing wrong.If I use the PUT method when the sld does not exists in an ...
GforGIS's user avatar
  • 3,415
2 votes
1 answer
184 views

I'm trying to figure out why this shows a white region instead of color. I tried playing around with the min/max values and I cannot seem to find a solution to get true RBG color. import ee import ...
Brian Bergstrom's user avatar
4 votes
1 answer
92 views

I have a JPEG of a red square, example.jpeg. I use it as webmercator tile 6/36/16. I georeference it accordingly, using the bounds of 6/36/16 (I calculated them like this – details are irrelevant to ...
zabop's user avatar
  • 3,380
2 votes
1 answer
59 views

I have large .tif file, and would like to reproject it and then create COG. But as a final result I have interrupted pixels on edges. How can i remove them? Furthermore, the values are not only 0, ...
Manap Shymyr's user avatar
3 votes
1 answer
84 views

I'm trying to delete all features in a layer hosted in ArcGIS Online. from arcgis.gis import GIS from arcgis.features import FeatureLayer #Login AGOL gis = GIS("https://www.arcgis.com", &...
Bera's user avatar
  • 82.4k
0 votes
1 answer
48 views

Since I work a lot with routing and trip matrices I have a daily need for joining two layers by two attributes (origin and destination). I have had AI to support me in writing a Processing Script for ...
Morten's user avatar
  • 371
2 votes
0 answers
41 views

I want to check if points is contained in buildings and if so, join the buildings' attributes to them. I looked through: https://sedona.apache.org/sedonadb/latest/quickstart-python/ https://sedona....
bugmenot123's user avatar
  • 12.4k
3 votes
1 answer
123 views

I use geopandas/pyogrio to create a Mapbox Vector Tile from a GeoJSON. The shape in the vector tile ends up being wrong: some holes are filled. Here is an example GeoJSON demonstrating the issue I am ...
zabop's user avatar
  • 3,380
0 votes
1 answer
32 views

I'm working on a flask app that takes a geojson file and returns a shapefile. Currently it is giving me the error PermissionError: [Errno 13] Permission denied: 'C:\\Users\\john\\Desktop\\...
John's user avatar
  • 161
1 vote
0 answers
50 views

I’m experiencing a hard crash (process terminates immediately, no Python exception) whenever I run GDAL operations like gdal.Translate or gdal.Warp synchronously in the main thread of a PyQt5 ...
dirac16's user avatar
  • 119

15 30 50 per page
1
2 3 4 5
817