Skip to main content

Questions tagged [visual-studio-code]

Visual Studio Code is an open source text editor available for Linux, OS X, and Windows. It includes support for debugging, embedded Git Control, various extensions and rich development experiences such as intelligent code completion. It is open source driven by Microsoft, built on Electron like GitHub's Atom.

0 votes
1 answer
140 views

I have an extremely strange issue with my code. I have a dataframe with 2 columns with point geometries, startgeom and endgeom. I want to assign a geometry from startgeom, do some calculations and ...
Geocarto's user avatar
3 votes
1 answer
555 views

I did all the steps in the video below: https://www.youtube.com/watch?v=qobogVuXtJU&list=PLbGkCPlkC_XTAUG5HC1WPhxMuZQnBQ7jU&index=1&t=308s When I run the full Python file, it throws this: ...
Zoltán Dévény's user avatar
1 vote
1 answer
141 views

I am building a viewer with Leaflet API and OpenStreetMap base. I want that when I enter this viewer it shows me immediately in the initial visualization the extension of my layer that I am using. For ...
MrShaggy87's user avatar
0 votes
1 answer
97 views

After I export a map via qgis2web, is it possible to edit the code and add to it in Visual Studio Code? If so, how do i open it in VS? is it just the index.html file?
jaymesmc's user avatar
1 vote
1 answer
413 views

What I am trying to do: Take a layer from ArcGIS Enterprise, clone it as a temporary file, overwrite a file in SQL DB, delete temporary file. What I have tried so far: def overwrite_existing_layer(...
ZephyrZ's user avatar
  • 113
0 votes
1 answer
285 views

I was recently victim to this bug where VS Code (Insiders) seems to uninstall itself. After a reinstallation, most of my settings and preferences were retained, but Pylance is now complaining about ...
mfcallahan's user avatar
3 votes
1 answer
2k views

I am using Jupyter notebook on VS. I have generated script that gets an image collection, does some calculations on it and generates one image (ee.image.Image). I want to display it on a map. When I ...
ReutKeller's user avatar
  • 2,099
0 votes
0 answers
247 views

I'm passing a simple gdal_calc.py command line argument to os.system() in a python script. However when I run the script, nothing is generated and the gdal_calc.py source script opens automatically: ...
Aragon's user avatar
  • 11
0 votes
0 answers
1k views

I'm attempting to configure VS Code for ArcPy/ArcGIS Pro development, and things have been going ok so far, however I have run into an issue I am not sure how to resolve. I'm also curious to hear how ...
mfcallahan's user avatar
1 vote
0 answers
85 views

I'm trying to create a plugin that generate a vector layer with geometry using 2 other layers, the first one 'layer_segment'contain features with geometries to dissolve based on common field value ...
Abd El Oihabe's user avatar
7 votes
1 answer
676 views

Does anyone know to get VS Code's intellisense to work with modern arcpy syntax? This post addresses VS Code not recognizing the correct interpreter at all: VS Code autocomplete for ArcPy But that isn'...
itsrainingschmen's user avatar
5 votes
0 answers
978 views

I'm having trouble importing and getting code inspection/autocompletion working for all the PyQGIS modules I need to do scripting in VS Code. After looking at these questions: Understanding qgis....
auslander's user avatar
  • 1,627
2 votes
0 answers
364 views

I'm trying to setup a virtual environment for developing against the Python bindings of MapScript on Windows. So far, I've tried several things in various combinations: Install MapScript via pip ...
mael's user avatar
  • 21
3 votes
1 answer
2k views

I have a standalone installation of QGIS 3.10.14, and I would like to use PyQGIS while working in Visual Studio Code. I have already tried customising the settings file: { "python.pythonPath"...
Catallena's user avatar
1 vote
1 answer
415 views

Prior to the last Visual Studio Code update, I was able to set the windows environment variables. Now with the new update I can't and I don't know what to do. My code is: { "folders": [ ...
RBenet's user avatar
  • 830

15 30 50 per page