Most Popular
1500 questions
20
votes
1 answer
Guidelines for organizing Python Toolboxes (.pyt) in ArcGIS
For one of my tasks I need to create a Toolbox with three tools (python scripts).
Instead of ordinary tbx I've decided to write it as Python Toolbox (pyt).
Everything is clear except the "good" way to organize the code.
As I have three tools it is…
Alex Markov
- 4,017
- 22
- 34
20
votes
5 answers
Creating point file along line (trail) at regular distances (0.20 miles) using ArcMap
I am using ArcMap 10.1. I have a trail network that I'm trying to establish signs along the trails every 0.20 miles.
Is there a way to create the point file from the line feature?
Jen
- 203
- 1
- 2
- 4
20
votes
5 answers
Doing kernel density estimation with physical barrier/ boundary in QGIS
Does anyone know of a program that will allow kerneling that takes a boundary into account in its calculation rather than simply masking areas that are impossible?
So far I have found:
GME add on for ArcGIS 10 (Hawthorne Beyer) - I get an error…
KimS
- 369
- 4
- 7
20
votes
4 answers
Python for GIS on thumb-drive
I'm looking at putting together a light Python install on a thumb drive that I can take to client offices and do some basic GIS processing. I'm thinking of installing the following:
PyScripter
Python 2.6/2.7
Numpy
Scipy
GDAL/OGR with the Python…
om_henners
- 15,642
- 2
- 46
- 86
20
votes
1 answer
ArcGIS 10.1 Python AddIn Using Multiprocessing crashes ArcMap?
I would like to run a multiprocessing task from a python add-in tool. My issue is that the process keeps failing. Basically crashes ArcMap.
Here is my basic code:
def function(startOID, endOID, fc):
wrksp =…
code base 5000
- 840
- 7
- 17
20
votes
4 answers
Getting geometry length in meters in PostGIS
In PostGIS, the ST_length() function returns the length of a LineString in some units, but not in meters.
Is there a function like ST_Length() but in meters?
José Alejandro
- 591
- 1
- 4
- 11
20
votes
2 answers
Recent Projects List missing when opening QGIS
When opening QGIS 3.10 on Windows 10 after a recent fresh install to a new computer using OSGeo4W I seem to be missing the recent Projects Tab. I have News and Project Templates appearing but no recent projects although ones have been opened and…
David Laverty
- 1,100
- 8
- 16
20
votes
2 answers
Creating an in memory rasterio Dataset from numpy array
I am reading in a raster using rasterio, and then upsampling the raster as per the example in the documentation:
def upsample_raster(raster):
return raster.read(
out_shape=(raster.height * 2, raster.width * 2, raster.count),
…
Renier Botha
- 303
- 2
- 4
20
votes
6 answers
The general public and their ability to use GIS applications - do we still need paper maps?
I am endeavouring to convince others in my organisation that GIS tools, in particular digitising tools, CAN be used by the general public, and we should promote their use instead of using paper maps. This would save money (postal fees) and time…
Vidar
- 1,870
- 1
- 16
- 37
20
votes
14 answers
Reordering fields (permanently) in file geodatabase using ArcGIS Desktop?
Using ArcGIS 10.0, is it possible to reorder the fields in a file geodatabase, and have the order persisted to the database?
We considered exporting to XML, and writing a parser to change the field order, then re-creating a new database from the…
Stephen Lead
- 21,119
- 17
- 113
- 240
20
votes
9 answers
What's the value of being GISP certified?
I was wondering if someone could relate instances where being GISP certified helped : finding employment, getting promoted, drumming business up, noticed by your peers, the authority to sign off on deliverables, being the minimum requirement at your…
ved
- 307
- 3
- 8
20
votes
5 answers
Manually correcting raster DEM (OpenSource)?
Is it possible, to correct a raster DEM by changeing the raster-cell-values manually, like by "painting"?
My DEM (ASTER) have one small error where the elevation is about 300m below the actual elevation. It should be a hill, and not a hole...
SRTM…
MartinMap
- 8,262
- 7
- 50
- 114
20
votes
5 answers
How to create PostGIS template?
I am following a tutorial to install pgrouting. However, I didn't get the part when it says
Start pgAdmin and create a new database based on your PostGIS template
Where can I get this postgis template? I know I have installed PostGIS using…
rajan sthapit
- 763
- 3
- 10
- 18
20
votes
2 answers
How to convert QGIS generated tiff images into jpg/jpeg using GDAL command line utilities?
I want to develop a web portal that will show the images dynamically produced by QGIS, but QGIS provided tiff images are too big in size and it is not possible to show it on website using image viewers. That's why I have decided to convert those…
Enamul Haque
- 209
- 1
- 2
- 4
20
votes
6 answers
Accessing QGIS Plugin repositories from behind Proxy
I have been trying to teach myself QGIS by using this forum and others to help. Most of my questions can be answered by downloading plugins that are available through 3rd party repositories but for some reason I am not able to connect with these.…
BNA
- 239
- 1
- 2
- 4