Skip to main content

Questions tagged [python-2.7]

Version 2.7 of the Python programming language

-1 votes
1 answer
95 views

Why do I get an error message while loading and generating a file on ArcGIS Toolbox? I have attached a picture of the problem below
Richness's user avatar
3 votes
1 answer
186 views

I have a map on QGIS that looks like this: I would like to clean the weird-looking polygons (inside a red circle for example) and keep the normal-looking ones. My initial approach was to compute the ...
bravopapa's user avatar
  • 515
0 votes
0 answers
534 views

I have a simple Python script that imports the arcpy module. It works quite perfect in ArcMap's Python Window and PyScripter IDE but in the Command Prompt console some functions like arcpy....
amin's user avatar
  • 1
0 votes
1 answer
220 views

I have a problem in making distance meter parameters for the DBSCAN tool. The problem is that I don't know the eps unit to use and how to change it to meters to be a parameter. Here's the Python ...
dimas putra's user avatar
1 vote
1 answer
30 views

I'm trying to do some work using Python 2.7 and ArcGIS Desktop 10.7.1 - I know old software. For some reason that I cannot figure out, my script adds the derived featureclass / shapefile and then ...
Layne Seely's user avatar
0 votes
0 answers
28 views

First creating the form with a tkinter. as in the code below. # -*- coding: utf-8 -*- import tkinter as tk import tkinter.font as tkFont from tkinter.ttk import Combobox class RestServis: def ...
Cnrgrsc's user avatar
0 votes
1 answer
44 views

I'm trying to get this addon to run in GRASS to calculate Topographic Grain for my DEM. I've managed to get it installed and functional on GRASS 7.6 on macOS 12.2.1, but after inputting my parameters ...
panta_ray's user avatar
0 votes
1 answer
144 views

Would anyone be able to tell me why the script won't iterate through each text file? The script runs successfully (Python 2.7), but does not populate GasLines_Final polyline feature class with ...
javierjleija's user avatar
2 votes
2 answers
2k views

How to draw a normal LineString (AB) to existing LineString (CDEF) from a given Point (A)? Shapely version == 1.5.16
dabajabaza's user avatar
1 vote
0 answers
86 views

I'm trying to create a GeoTIFF bitmap from coordinates and data, the coordinates are given as a list and the data is in a saw list of lists. Now I create a polygon of coordinates using the haversine ...
NadeY's user avatar
  • 43
2 votes
2 answers
6k views

My main goal is to export a layer from ArcMap as a shapefile and upload it to AGOL. However, I am stuck at this intersection. All my scripts work in the python console within ArcMap. However, I cannot ...
3raan's user avatar
  • 43
0 votes
0 answers
59 views

I am trying to install python library qmesh but it seems to have issues with python3 so I am attempting with python2.7. I've got qgis 3.2.2 installed but I am getting an error saying 'Could not find a ...
Misha's user avatar
  • 1
0 votes
1 answer
389 views

I am trying to add new point from table using XY coordinates fields to database. I can add point without fields, but when i try to add point with field values i can not do it. In SearchCursor ID is a ...
Vakhtang Zubiashvili VakhoZuba's user avatar
1 vote
1 answer
555 views

Is there any way to use relationship classes with ArcPy to access associated records? The ArcGIS Idea for there to be An Arcpy method for dealing with related records leads me to believe that there is ...
Matthew's user avatar
  • 54
0 votes
0 answers
111 views

I want to create a customize tool in ArcMap by Python Add-in wizards.I found that arcpy.mapping.MapDocument("CURRENT") does not work in the sub thread. How can I call main thread to execute ...
Bill Shen's user avatar

15 30 50 per page
1
2 3 4 5
47