All Questions

Filter by
Sorted by
Tagged with
66 votes
3 answers

Layers with same coordinate system should align/overlap in ArcMap but do not?

I put 4 different layers into my ArcMap document, but only one of them will show up on the map! I should be seeing the other 3 layers as well. When I do a Zoom to layer, I can see one layer, but I ...
CaliforniaGirl's user avatar
13 votes
1 answer

Use QGIS expressions to create geometries: difference between geometry generator and geometry by expression

QGIS has a powerful expression machine that can be used (between other things) to create new geometries, based on existing layers. Basically, there are two options: Geometry generator (introduced in ...
Babel's user avatar
  • 73.1k
143 votes
5 answers

Accessing ArcObjects from Python

I would like to be able to script some things that are not exposed via arcgisscripting or ArcPy. How do I access ArcObjects from Python?
matt wilkie's user avatar
  • 28.2k
83 votes
31 answers

How to Start Web Mapping?

I want to start working on a web map at work to map some of our statistics by city. I have an idea, but I'm not exactly sure where to start. Are there any definitive resources that provide step ...
607 votes
7 answers

Measuring accuracy of latitude and longitude

I have latitude and longitude as 19.0649070739746 and 73.1308670043945 respectively. In this case, both coordinates are 13 decimal places long, but sometimes I also get coordinates that are 6 decimal ...
Saurabh's user avatar
  • 6,197
107 votes
16 answers

Identifying Coordinate System of Shapefile when Unknown?

I have a Shapefile but its coordinate system is Unknown, and there is no *.prj file. How can I identify it now?
com's user avatar
  • 3,684
12 votes
1 answer

Changing shapefiles from geographic (WGS84) to projected (EPSG:2263) coordinate system using QGIS

I am trying to calculate service area polygons using the QNEAT3 plug in tool for a project I am doing. However, I got an error before these polygons could be created. 2021-01-04T08:03:38 CRITICAL ...
UnionTpke's user avatar
  • 203
184 votes
7 answers

Installing File Geodatabase (*.gdb) support in QGIS

I have spent around 2 days to find the way to open GDB (ESRI Geodatabase) in QGIS (or any other open source software) but still without success. I have downloaded the newest OSGeo4W installer and ...
Miro's user avatar
  • 9,764
49 votes
7 answers

OpenLayers low resolution and/or shifts in QGIS print composer?

I'm having trouble with the OpenLayers Plugin of Qgis and the map composer: If I create an OSM-background layer and if I want to export this, the OSM-Layer looks perfectly all right in the normal ...
desputin's user avatar
  • 2,321
10 votes
3 answers

Assigning point IDs to respective start and end attributes of polyline using Arc Hydro with ArcMap

I have two shapefiles, Point and Polyline. I'm trying to populate my polyline layer with the point data ID (systemID) where the lines start to where they end; eg. create two columns (from and to). The ...
JrUser's user avatar
  • 159
13 votes
1 answer

Auto incrementing field based on groups within feature class?

I am needing to auto increment a field based on groups within a feature class. I have 8 plots within a given polygon and I need to assign them an ID from 1-8 for each set of plots within each polygon. ...
Becks's user avatar
  • 133
40 votes
12 answers

Exporting feature class into multiple feature classes based on field values using ArcGIS Desktop?

I have a feature class with over 2,000 features, and I need to make them all individual feature classes based on a field. Is there a way to do this?
Sophie's user avatar
  • 403
41 votes
3 answers

Using QGIS Processing algorithms from PyQGIS standalone scripts (outside of GUI)

I am writing a script which must work outside of QGIS GUI. I call some API functions from qgis.core but I would like to use the processing plugin. I am able to import processing with sys.path.append() ...
vidlb's user avatar
  • 711
7 votes
1 answer

Understanding Coordinate Reference System of QGIS Project and Layer

I do not understand why there can be in QGIS different CRS for project and for layers. I have worked previously with subsurface petroleum software and there CRS "stuff" was lot more strict ...
Marin Mirošević's user avatar
123 votes
8 answers

Calculating polygon areas in shapefile using QGIS

How do I calculate areas of an area shapefile in square meters (m²) or in acres (ha)? I didn't find that functionality in the Vector Tools.
desputin's user avatar
  • 2,321
262 votes
11 answers

Difference between projection and datum

What is the difference between a projection and a datum?
fmark's user avatar
  • 9,381
22 votes
1 answer

Using customized Coordinate System in ArcGIS Desktop?

I don't know so much about coordinate systems... In my office we use to deal with spatial data coming from archaeological sites. Each site has its own x-y-z coordinate system (GCS). Three simple ...
Maik's user avatar
  • 461
213 votes
7 answers

Adding basemaps in QGIS

ArcGIS Desktop has the option of using basemaps from ArcGIS Online. Does QGIS have any such options?
SNT's user avatar
  • 3,389
53 votes
3 answers

Reprojecting vector layer in QGIS

I have a series of layers of lines (shapefiles) in My Project. The CRS of some are different and to merge them they all must have same CRS. When I use Processing > Toolbox > Qgis_algorithims >...
razi's user avatar
  • 531
35 votes
4 answers

More Efficient Spatial join in Python without QGIS, ArcGIS, PostGIS, etc

I'm attempting to do a spatial join much like the example here: Is there a python option to "join attributes by location"?. However, that approach seems really inefficient / slow. Even ...
jburrfischer's user avatar
29 votes
5 answers

Enabling CORS in GeoServer (jetty)?

I hope somebody has already figured this one out. I just installed Geoserver 2.9 on a vanilla Ubuntu 16.04 distro. The Geoserver 2.8 method of enabling CORS with the shanbe.hezoun class does no longer ...
Dennis Bauszus's user avatar
27 votes
3 answers

Displaying world country shapefiles centered on Pacific Ocean using Robinson or Miller Cylindrical projection in QGIS?

I wish to display a map in QGIS (world country shapefiles) showing all countries but centered on the Pacific area. I am not familiar with Proj4, so is there any way this can be done in QGIS?
user21658's user avatar
  • 291
40 votes
10 answers

Georeferencing vector layer with control points using QGIS?

I have a non-georeferenced vector layer that I need to be georeferenced. With raster layers the task is easy and straightforward, but I have no idea what should I do with my vector layer. I have a few ...
AHaav's user avatar
  • 501
250 votes
4 answers

EPSG 3857 or 4326 for Web Mapping

The discussion at What is the difference between WGS84 and EPSG4326? shows that 4326 is just the EPSG identifier of WGS84.. Wikipedia entries for Google Maps and OpenStreetMap shows that they both ...
tmaj's user avatar
  • 2,613
37 votes
7 answers

Fixing geometry validity errors in QGIS 2

I am working on ownership data at a US county level. I have one shapefile per county that contains thousands of tax parcels. I need to dissolve the polygons representing parcels owned by the same ...
Bap's user avatar
  • 983
59 votes
7 answers

Calculating Latitude/Longitude X miles from point?

I am wanting to find a latitude and longitude point given a bearing, a distance, and a starting latitude and longitude. This appears to be the opposite of this question (Distance between lat/long ...
Jason Whitehorn's user avatar
42 votes
1 answer

Coordinate system for accurately calculating areas of polygons that cross UTM Zones?

I have multiple polygons, all located offshore around the UK. I am trying to calculate the areas of these polygons in square kilometres, without splitting them by UTM zone. Is it possible to do this ...
the_bonze's user avatar
  • 817
32 votes
3 answers

Understanding "Join Attributes by Location" in QGIS

I wonder if there is somewhere an explanation for the parameters that can be set when running the Algorithm "Join Attributes by Location" in QGIS 2.18. I had a look here: Documentation QGIS Testing |...
four-eyes's user avatar
  • 3,398
11 votes
4 answers

Determining bare earth DEM from unclassified LAS file?

I have data in LAS format with RGB values created from aerial photogrammetry using a UAV. I am trying to find a solution to extract the bare earth DEM from the point cloud. I have tried SAGA, ...
user32307's user avatar
  • 111
27 votes
6 answers

Finding centrelines from polygons in QGIS

I was wondering if there is a way to create center lines from polygons in QGIS? I have a polygon layer, but ideally need the centerlines as a separate file.
Alan Carr's user avatar
  • 2,473
24 votes
5 answers

Including variable in where clause of arcpy.Select_analysis()?

I am trying to loop through a shapefile, selecting each feature in turn and copying it to a temporary shapefile to by included in a union analysis. I'm using a cursor to find the ID name for each ...
Flo Harrison's user avatar
  • 1,062
22 votes
3 answers

Importing qgis.core when writing standalone PyQGIS script

I am trying to write a standalone Python script in windows 7 that uses qgis.core and various other qgis libraries. I have found an old question on this subject at Writing standalone Python scripts ...
user24956's user avatar
  • 409
9 votes
2 answers

Computing dominant area in polygon using ArcGIS Desktop?

First, I have a shapefile consisting of square grids and each grid has an ID. Second, I have a shapefile consisting of different zones (with IDs). A grid ID in the first shapefile can contain many ...
GISnew's user avatar
  • 359
176 votes
8 answers

Algorithm for offsetting a latitude/longitude by some amount of meters

I'm looking for an algorithm which when given a latitude and longitude pair and a vector translation in meters in Cartesian coordinates (x,y) would give me a new coordinate. Sort of like a reverse ...
Thomas O's user avatar
  • 2,053
95 votes
10 answers

Converting projected coordinates to lat/lon using Python

This site returns Point: X: -11705274.6374 Y: 4826473.6922 when you search with the first key value of 000090, as an example. I assume that this is a spatial reference. I am looking for instructions, ...
Vincent's user avatar
  • 1,061
9 votes
1 answer

Layer is not valid error in my standalone PyQGIS script/app

I have written a python class which reads properties of map layers from an XML file and creates appropriate memory layers. I have developed and tested this code with QGIS 2.8.2 on a Windows 7 machine (...
Detlev's user avatar
  • 4,678
58 votes
8 answers

Getting list of coordinates for points in layer using QGIS?

I've got a layer in QGIS that is comprised of points. Its attribute table doesn't have (show) the corresponding x and y coordinates for each point. Is there a way for me to extract a list of ...
hpy's user avatar
  • 3,157
46 votes
1 answer

Getting pixel value of GDAL raster under OGR point without NumPy?

I am working on a computational model of the abundance of wild pollinators across a landscape. The model itself is complete, and I am now struggling with a post-processing step. I have my GDAL ...
James's user avatar
  • 813
39 votes
7 answers

Performing Raster Reclassification in QGIS

Is there a way to perform a reclassify of a raster image in QGIS? In ArcGIS Desktop you can do that in Spatial analyst Tools→Reclass→Reclassify
Vassilis's user avatar
  • 3,444
37 votes
2 answers

Learning ArcPy?

Where can I start to learn ArcPy?
32 votes
7 answers

Joining multiple records to single feature using QGIS

I'm trying to create a join/relate in QGIS where I have a shapefile of buildings and to that I would like to join a non-spatial table (.csv-file) containing people who work in each building. So I have ...
Mick's user avatar
  • 321
110 votes
12 answers

Installing GDAL with Python on Windows

Can anyone explain how to install GDAL/OGR with Python on Windows? I have Windows Vista and I have tried following the information on the website and it does not seem to bind the *.exe files for me. ...
77 votes
7 answers

Creating regular polygon grid in PostGIS

How to create, on the shape of a polygon, a regular grid of polygons/squares of an given size, in PostGIS? I have thought about a function like Creating regular point grid inside polygon in PostGIS ...
mk.archaeo's user avatar
47 votes
4 answers

Splitting shapefile into separate files for each feature using QGIS

I have a polyline shapefile with about 20 kinds of roads. I would like to know how can I create automatically a vector file for each one. I am aware of how to do it using ArcGIS Desktop - see ...
Bobo's user avatar
  • 479
36 votes
7 answers

Changing CSV layer attribute value from text to number in QGIS?

I read in a CSV file for linking to a .shp file. All the variables that are just numbers came in as text. How do I change the text variables to numeric in QGIS?
HealthMaps's user avatar
143 votes
14 answers

What are Definition, Algorithms and Practical Solutions for Concave Hull?

Convex Hull A convex hull of a shape is defined as: In mathematics, the convex hull or convex envelope for a set of points X in a real vector space V is the minimal convex set containing X (Wikipedia)...
Adam Matan's user avatar
  • 6,848
68 votes
5 answers

Clipping raster with vector boundaries using QGIS

In QGIS I would like to clip a raster precipitation layer using an admin boundary layer that is vector data. However the Geoprocessing tools seem to be usable only for vector data. How can I clip this ...
Kirk's user avatar
  • 681
60 votes
11 answers

Removing small spaces (slivers) between polygons

I have a set of polygons representing administrative districts. The districts were digitized by hand, and there are small spaces (slivers) between polygons where the polygons should be touching. How ...
zoo's user avatar
  • 711
46 votes
12 answers

Map matching links and ideas? [closed]

I'm using OpenStreetMap and its vectorial road network and I'd like to implement a map matcher algorithm. Currently I'm able, for each GPS position, to retrieve the nearest road segment and ...
32 votes
13 answers

Extracting raster values at points using Open Source GIS?

How can I extract values from a raster by points? I prefer not in Arcgis. I prefer in Qgis or Mapwindow or other open source gis.
Vassilis's user avatar
  • 3,444

15 30 50 per page
2 3 4 5