Most Popular

1500 questions
20
votes
4 answers

R: How to get latitudes and longitudes from a RasterLayer?

I am an absolute beginner of geographic data, so please, forgive me if the question is not appropriate. I downloaded data from NCDC NARR and managed to load into R using the raster package. I would like to get a list with latitude, longitude and…
janosdivenyi
  • 303
  • 1
  • 2
  • 7
20
votes
1 answer

Replicating result of gdalwarp using gdal Python bindings

I am trying to re-project/resample with the GDAL python bindings, but am getting slightly different results compared to those from the command line utility gdalwarp. See update below for shorter example This script illustrates the Python…
Bruce Wallin
  • 345
  • 1
  • 2
  • 7
20
votes
3 answers

Checking if points fall within polygon Shapefile

Zillow has a set of shapefiles for different neighborhoods of major US cities. I wanted to check if certain buildings were present in certain neighborhoods using R: library(rgeos) library(sp) library(rgdal) df <- data.frame(Latitude =c(47.591351,…
Stedy
  • 303
  • 1
  • 2
  • 6
20
votes
2 answers

Polygon gradient fills / tint bands in QGIS

Is it possible to use a gradient fill on a polygon in QGIS? I would like to have my polygons with a colour at the edges, fading to clear/white as it moves away from the edge. The majority of the centre of the polygon will be white or clear. It is…
James S
  • 4,264
  • 2
  • 32
  • 46
20
votes
3 answers

Selecting features using expression with PyQGIS

How can I select features with PyQGIS using an expression? I tried to use an QgsExpression but the select method doesn't take it: exp = QgsExpression("'ogc_fid' = 482") cLayer = canvas.currentLayer() cLayer.select(exp) Is it possible and if so, how…
ustroetz
  • 7,994
  • 10
  • 72
  • 118
20
votes
2 answers

Accessing QGIS processing with PyQGIS

I want to access the explode lines function in Python outside of QGIS from a standalone script. What module do I have to load in order to use it? How can I access processing? from qgis.core import * layerInput = QgsVectorLayer('test.shp', 'test',…
ustroetz
  • 7,994
  • 10
  • 72
  • 118
20
votes
1 answer

Digitizing in stream mode in QGIS using a tablet

How can I digitize in stream mode in QGIS, using a wacom cintiq tablet? Freehand it's no use. I need something like MNDR stream digitizing extension for ArcView 3.x, which allows continuous tracing, append polygons, split features, etc.
saxifr
  • 201
  • 1
  • 3
20
votes
2 answers

Link QGIS to Anaconda Python Distribution: Spyder, iPython Notebook, pip, scikit-learn

I have Anaconda as my primary Python distro, and want to route Python related QGIS scripts through it. With Anaconda, I have Spyder, can easily install packages with pip, and can launch a iPython Notebook web-browser for both screen shares and…
user40318
  • 221
  • 2
  • 3
20
votes
1 answer

Making world map to show where hole drilled through centre of Earth starts/ends on land vs water?

I am discussing drilling through the Earth with my students. The classic cartoon version has a person drilling down in the United States and coming up in China, which has to be wrong because drilling from the northern hemisphere should come out in…
John Perkins
  • 201
  • 2
  • 3
20
votes
1 answer

Panchromatic Image association with high spatial resolution

How and Why is a Panchromatic Satellite Image associated with high spatial resolution? I googled and found that it is a single band image, but then why is it called pan-chromatic(All Colors). Does it mean it covers the entire visible region?
Abhishek Potnis
  • 585
  • 2
  • 6
  • 10
20
votes
2 answers

Converting data from .gdb into shapefile without ArcMap

I have a .gdb folder with LOCK Files, FREELIST Files, ATX Files, GDBINDEXES Files, GDBTABLE Files, GDBTABLEX Files and, SPX Files. I want to convert the parcel data within this folder into a shapefile so that I can load it into ArcGIS online. If I…
Rob
  • 409
  • 2
  • 5
  • 11
20
votes
0 answers

Connecting ArcSDE to QGIS?

I have a need to be able to connect to and edit ArcSDE data in QGIS. This question has been asked before as: Is it possible to connect to ArcSDE using QGIS? https://hub.qgis.org/wiki/17/Connecting_to_ArcSDE_databases and apparently is possible,…
razor_nate
  • 221
  • 2
  • 4
19
votes
7 answers

Listing feature classes with active domains?

I have an Esri file geodatabase with attribute domains defined. I need to delete some of the attribute domains but can't because "The domain is used by an attribute rule.". How might I discover which feature class(es) are using the…
matt wilkie
  • 28,176
  • 35
  • 147
  • 280
19
votes
7 answers

Seeking Satellite Imagery Providers?

I'm building a web application - my requirements are: Must have global satellite imagery. Must have easy to use API's that are capable of geoJSON data imports, mouse and keyboard gestures, etc. To my knowledge Bing, Google and Yahoo are the only…
Jordan Arsenault
  • 802
  • 6
  • 21
19
votes
6 answers

Converting GeoPDF to vector format like CAD or shapefile?

I want to convert a GeoPDF that has vectors entity in it to a vector format and preserve the real coordinates of these vectors. The GeoPDF has been exported from ArcMap and has layers in it. I have try GDAL, but it rasterize the PDF before exporting…
jeb
  • 1,668
  • 1
  • 14
  • 18