Most Popular
1500 questions
19
votes
1 answer
How to display geoJSON from an URL in a layer?
I am looking for some type of plugin or code which would allow me to add a geojson URL, define the areas to input the lat/long variables from the visible Qgis canvas map and call/render the results within Qgis. Anyone know how to do this?
NetConstructor.com
- 2,320
- 5
- 25
- 36
19
votes
4 answers
Changing QGIS plugin's icon, why doesn't it change in the menu/toolbar?
I've been writing a QGIS plugin (using the "Plugin Builder" plugin), and decided I wanted to change the icon (icon.png).
After running make deploy to rebuild the plugin locally, the new icon appears in the Plugin Manager (both in the list of…
Steven Kay
- 20,405
- 5
- 31
- 82
19
votes
3 answers
PostgreSQL trouble editing points / lines / polygons in QGIS
I have a problem with PostgreSQL and QGIS:
I can add points/lines/polygons and fillup field
But I can't :
Delete points/lines/polygons
Modify points/lines/polygons (move or modify field)
ex : dbname='Europe' host=localhost port=5432…
Mathieu
- 629
- 5
- 16
19
votes
4 answers
How to generate schemas of GIS hardware / software / workflows?
Quite often I find myself in a situation where I need to explain hardware or software GIS infrastructure to people with no or limited knowledge of GIS. Or give an overview of geoprocessing tasks involved in an analysis.
In such cases picture can be…
radek
- 10,579
- 12
- 86
- 121
19
votes
1 answer
Converting line shapefile into CSV with nodes and links
Is there a way to convert a linear shapefile into a CSV file of the following format:
Node_1
Node_2
attribute_1
....
attribute_x
1
2
"hello"
....
567845.334
I have looked at GDAL/OGR2OGR and PostGIS and I don't think either converts the…
dassouki
- 8,563
- 12
- 64
- 115
19
votes
1 answer
Reprojecting raster from lat/lon to UTM in R?
i have to turn it into a UTM in order to make the buffer functional.
wets<-readOGR(dsn=".",layer="shapefile")
r.raster <- raster()
extent(r.raster) <- extent(wets)
res(r.raster) <- 100
wets.r <-…
gsa
- 1,246
- 6
- 19
- 29
19
votes
3 answers
Generating contours from DEM using GDAL?
We have just received a large set of DEMs at work and I would like to generate contours from them. The DEMs have a resolution of 1m and a size of 1kmx1km.
Output from gdalinfo:
Driver: AAIGrid/Arc/Info ASCII Grid
Files:…
Nathan W
- 34,706
- 5
- 97
- 148
19
votes
3 answers
Dissolving polygons based on attributes with Python (shapely, fiona)?
I have been trying to create a function that does basically the same thing that the QGIS "dissolve" function. I thought it would be super easy but well apparently not. So from what I have gathered around, the use of fiona with shapely should be the…
User18981898198119
- 759
- 2
- 7
- 14
19
votes
1 answer
How to retrieve the corners of the bounding box from ST_Extent?
Is there any way to fetch the lat/long of the corners of the bounding box we got from ST_Extent?
select ST_Extent(geom) from tableName;
Vicky
- 1,852
- 3
- 22
- 28
19
votes
0 answers
Output formats for QGIS Heatmap plugin not appearing in drop-drown in Ubuntu
I've been trying to use the heatmap plugin on QGIS (2.8.2) on Ubuntu(14.04) but the drop down for the output formats doesn't get populated.
Selecting the drop-down allows me to press OK on the plugin popup which gives "GDAL driver error: Cannot…
Danaja
- 291
- 1
- 5
19
votes
5 answers
Using SRTM Global DEM for Slope calculation
I have downloaded SRTM GDEM (~90m resolution).
I am using ArcGIS 10.
I have tried to use the Spatial Analyst tool to compute for slope.
However, I cannot compute for the slope.
The output values has only two ranges 0 and 0.1-90.
I am not really sure…
user2543
- 1,188
- 4
- 16
- 31
19
votes
2 answers
Finding the closest Geometry in PostGIS
I've been looking over the PostGIS "API" of functions, and I notice that most of them take two elements to compare. For example, the ST_Distance function takes two geometry/geography elements to find the distance.
There is no function to do…
Jmoney38
- 630
- 1
- 5
- 9
19
votes
2 answers
Converting between wgs84 and nad83
This is a newbie question that is about converting between wgs84 and nad83. I have aerial photos that I am trying to compute lat long coordinates for as closely as possible. There are several factors that make the usual types of corrections tricky,…
John Robertson
- 371
- 1
- 2
- 8
19
votes
3 answers
Import error for qgis.core when running OSGeo4w shell script
I've been trying, along with this post, to run a script in OSGeo4w Shell, outside of QGIS. But I get the following error:
ImportError: No module named qgis.core
I have also read the following posts and tried to import various modules but to no…
Joseph
- 75,746
- 7
- 171
- 282
19
votes
7 answers
Migrating data from ArcSDE to PostGIS?
Its been suggested that i ask this question again, but perhaps worded differently than how to Bulk load multiple shapefiles into PostGIS.
I'm new to postgis and sql but i want to use postgis as a slave (for the time being) to ArcSDE. Therefore what…
geosmiles
- 1,367
- 3
- 16
- 33