Questions tagged [python-3]

Use this tag when Python 3 (or any of its dot releases) is the version you are using.

Filter by
Sorted by
Tagged with
1
vote
0answers
299 views

pyQt error in the PYQGIS API

I install QGIS via OSGeo4W 32 bit on windows 7 32 bit and i want to take PYQGIS API in standalone python script. First I have python 3.5.2 and I have before install sip via pip and pyqt4 via gohlke ...
1
vote
1answer
756 views

Installing Python bindings for 64-bit Python on Windows

I installed GDAL and its Python bindings from GISInternals. While I believe that GDAL was installed correctly, the Python bindings have an issue. After opening a file with gdal.open I cannot read ...
0
votes
1answer
287 views

Landmasking in SAR geotiff image?

I am working on masking land in a SAR geotiff grayscale image. The image is a tilted one and as I am new to this field, I do not know how to proceed. Also, I searched about rsgislib which provides ...
3
votes
0answers
6k views

install GDAL 2.0 on Ubuntu 14

I would like to install GDAL==2.0.1 on Ubuntu. A lot of possibilities are found on SO, but none did work for me. I'll give an overview of a selection of my attempts: 1. Using pip directly pip install ...
5
votes
2answers
5k views

Starting Python Shell Window of IDLE for use with ArcGIS Pro?

Prior to installing ArcGIS Pro 1.3 (I am now at 1.3.1), on Windows 7 SP1, I have been starting IDLE in a Python Shell Window from the Windows Start Menu using IDLE (Python GUI) in the Python 3.4 ...
4
votes
1answer
7k views

Zonal Statistics of a polygon and assigning mean value to the polygon [closed]

I have a large shapefile filled with polygons, and a raster of that same area. I need to use Zonal statistics to find the mean value of the area under each polygon and then assign that value to the ...
1
vote
4answers
2k views

working standalone app .exe from python3 script that imports osgeo gdal?

I have a script written in python 3.5 that uses osgeo gdal (1.11) to extract maps and file info from geotiff files. I would like to compile this code to create a standalone app on windows, and I use ...
5
votes
1answer
1k views

Sending arguments to LAStools function from Python script not working

I`m trying to call the lasground module from a python script, using this method: args=['lasground', '-i *.las', output_file, arg_step, arg_spike, arg_spikedown, arg_offset, arg_bulge, arg_cores] proc=...
3
votes
1answer
1k views

Decoding this GIS blob

I am new to the decoding world (and even to the world of gis), but I am definitely not new to programming and large data. I was tasked with uncovering a column in our db with this information. It's ...
0
votes
2answers
290 views

Migrating ArcGIS for Desktop script to ArcGIS Pro? [closed]

Recently I've been considering switching my department over to ArcGIS Pro in an effort to stay ahead in the ever-advancing world of GIS software. Currently we run ArcGIS 10.3, and have many daily ...
1
vote
2answers
421 views

Terminology for distinguishing ArcPy installed with ArcGIS 10.x for Desktop from that which comes with ArcGIS Pro?

ArcGIS Pro uses Python 3 whereas the other ArcGIS for Desktop applications (ArcMap, ArcCatalog, ArcScene and ArcGlobe) use Python 2 and the changes introduced with ArcGIS Pro were significant ...
1
vote
1answer
374 views

GDAL install on Ubuntu 12.04 works for python 2.x but not python3

I need to install gdal 1.10 or greater to be compatible with python3 on ubuntu 12.04. The machine also has python2 installed. I followed instructions here Error While installing GDAL in Ubuntu 12.04....
1
vote
0answers
522 views

Installing QGIS with Python 2 and Python 3 on OSX [closed]

I just installed qgis (and all the dependencies, etc.) on my Mac OSX 10.10 via homebrew. Currently, I use both Python 2 and Python 3 on the machine. Whenever I change the Python path [to open qgis], ...
1
vote
0answers
87 views

Switching between python versions for Arcpy [duplicate]

I’m developing a multi-module project in Python. I’m new to GIS and my boss doesn’t have a strong technical background. I’ve been instructed to use the Arcpy module to do functions such as intersect. ...
8
votes
3answers
8k views

Where can I find GDAL Python bindings for Python 3.4?

I am using python 3.4 for development and I need GDAL python bindings for python 3.4. I have already gone through this site, but I can only find up to python 3.3?
9
votes
3answers
3k views

Distinguishing Python version when using IDLE with ArcGIS Pro and ArcGIS 10.x for Desktop architecture?

I have just started to work with Python 3.4.1 which comes with ArcGIS Pro 1.0.0, on my laptop, which also has Python 2.7.8 which comes with ArcGIS 10.3 for Desktop installed, and I would like to ...
10
votes
2answers
7k views

Using Python 3.x in ArcGIS?

I've been reading the "Whats New in ArcGIS" for the ArcGIS 10.3 update and came across the Python and ArcPy portion. It states that: ArcGIS 10.3 has been upgraded to include Python 2.7.8. Now ...
3
votes
0answers
250 views

LatLon Package python 3.4

Does anybody know a package who work in python 3.4 as "LatLon" Package ? https://pypi.python.org/pypi/LatLon/1.0.1#downloads
3
votes
1answer
4k views

How to use two different Python versions (3.4 and 2.7) for QGIS scripting?

I´m intending to learn scripting with python in QGIS, but I have a couple of questions. I'm using Python 3.4 for learning which is installed in my laptop, but QGIS is using Python2.7 How could I ...
3
votes
0answers
1k views

Can't install pyspatialite with python3 and sqlite3 [closed]

I can't install pyspatialite. When I try it gives me this error: pip install pyspatialite Downloading/unpacking pyspatialite Could not find a version that satisfies the requirement pyspatialite (from ...
1
vote
0answers
696 views

How to export from ModelBuilder as script and then run using Python. 3.4? [closed]

I'm currently studying for a Msc in GIS. In my assignment I have been asked to produce a model, export that model as a script file and then run that script as a stand alone in IDLE. So I have created ...
5
votes
4answers
6k views

Using PyScripter with ArcGIS for Desktop?

Can someone please let me know how I can set the PyScripter 2.5.3.0 x64 works with Python 2.7.3 which comes with ArcGIS what I did was: I installed the ArcGIS 10.2 I installed PyScripter 2.5.3.0 x64 ...
6
votes
4answers
20k views

Is there Python 3 module to read .dbf files written by ArcGIS for Desktop?

I would like to know whether there are Python 3.x-compatible (preferably Python 3.3) modules to read the kind of .dbf files produced by ArcGIS for Desktop. All the modules I found were only ...
6
votes
2answers
4k views

Python 3 support in QGIS?

As python3 is getting standard more and more I wonder wether there is or will be support for python 3 in QGIS?
5
votes
2answers
1k views

Python 3 with QGIS on Mac?

I need to start learning Python, and I want to learn with version 3.x. I understand that QGIS--at least some plug-ins--relies on Python and Tcl/Tk, and probably on specific versions. Assuming that ...
13
votes
4answers
13k views

Will ArcGIS Desktop support latest Python 2.x or Python 3.x versions?

I'm curious to know whether ArcGIS Desktop 10.0 will support newer versions of Python than 2.6. And for that matter newer versions of NumPy (ie, 1.4, 1.5 etc). I'm sure that this documentation is on ...

1 2 3 4 5
6