Questions tagged [jupyter-notebook]
Open-source web application for creating and sharing documents that contain live code, equations, visualizations and explanatory text.
129
questions
0
votes
0
answers
7
views
Osmium subprocess call
How do I correctly format a subprocess call to osmium via Jupyter Notebook please?
#- osmium extract -p paris-polygon.poly france.pbf -o paris.pbf
sp = subprocess.check_call(['/Users/.../miniconda3/...
0
votes
0
answers
61
views
After installation of pyogrio Could not detect PROJ data files. Set PROJ_LIB environment variable to the correct path. when importing gpkg
When I import a geopackage with only geopandas all is fine, however, if I try to use pyogrio like this in my jupyter notebook:
gpd.options.io_engine = "pyogrio"
network = gpd.read_file(r&...
1
vote
0
answers
55
views
Ipyleaflet map crashes Jupyter notebook and says out of memory
I wrote a code to show some points on ipyleaflet map that will be updated automatically.
at first, the map shows fine, but despite removing markers after a certain time (eg. 72 hours) the notebook ...
0
votes
0
answers
34
views
HTTPError: HTTP Error 403: Forbidden after entering ee.Authenticate() token code
This is my first time using geemap and ee libraries. I have followed every step and wrote the code below:
import geemap
import ee
ee.Authenticate()
After getting the token code from the pop-up ...
0
votes
1
answer
31
views
Why does the polygon saved in geodataframe have a different value from the shapely polygon it came from?
I'm working with Jupiter and ipywidgets and Ipyleaflet , trying to draw polygons on a map and saving to a geodataframe. I have the following in a notebook cell:
myDrawControl = DrawControl(
rectangle={...
0
votes
1
answer
50
views
Selecting the right CRS for a KML file in Jupyter
I'm working with Ipyleaflet to display a KML file in a Jupyter Notebook
I have the following in a cell:
import fiona
import geopandas as gpd
from ipyleaflet import GeoData, Map, basemaps
fiona....
0
votes
2
answers
306
views
Convert a GeoJSON file to a Parquet format
I have a large GeoJSON file which I store and read as follows:
geomap.to_file(path_to_output + 'geomap_cleaned.geojson', driver="GeoJSON")
geomap = import_geojson(path_to_data, ...
0
votes
0
answers
28
views
How to open/display the attribute table from a GDB with Arcpy to help QC previous notebook code steps before moving on to the next steps in script?
Within ArcGIS Pro 3.1, I've created a Jupyter notebook that automates pulling records from an SDE feature class, then filters those based on a Geocode Score. The records above 80 remain in the ...
1
vote
1
answer
112
views
DataFrame to GeoDataFrame Error: could not convert string to float
I have two Excel sheets with x und y coordinates (EPSG 4326) and several other attributes. My aim is to match both Excel sheets via the coordinates (geopandas.sjoin_nearest). I try to convert the ...
0
votes
1
answer
43
views
Use v.clean function from GRASS in Jupyter Notebook
I want to automate a process which involves using v.clean tool from GRASS inside a Jupyter Notebook. I've read documentations on how to use Python with GRASS, but it seems impossible to do it or I don'...
1
vote
2
answers
142
views
How do I integrate the environments of QGIS and Anaconda/Spyder?
I have version 3.34 installed on my Windows 11 desktop. In addition I have a full install of Anaconda which gives me full access to Spyder and JupyterLab, both of which I very much enjoy.
My challenge ...
1
vote
0
answers
27
views
How to make mesh layer visible in JPEG map using Jupyter from QGIS
I am working with an active QGIS project. I have few layers in the .qgz file. All I want is to have a .png format map from this .qgz file using jupyter. I have added the code below.
from qgis.gui ...
3
votes
1
answer
177
views
Why Mesh layer is not visible in QGIS map using Jupyter (outside QGIS)?
I am trying to create a map in Jupyter from QGIS. I have few vector, raster and mesh layers in QGIS. All I want is to add these layers to the map. I have managed to add the shape files and google map ...
0
votes
1
answer
62
views
Digital Advisory Services for Rural Farmers using ML, GIS and RS [closed]
I am working on a GIS-based project to help with the delivery of advisory services to rural farmers. This project is demanding the use of Open-Data Cube and the SandBox environment. It is more like a ...
1
vote
0
answers
41
views
Using QGIS Notebook Extension Compatibility on Windows
I'm currently working on integrating the qgis-nbextension into my workflow on a Windows system. However, I'm encountering compatibility issues and could use some guidance.
Here's what I've done so far:...