# Questions tagged [gis-principle]

Use for questions which involve a GIS principle or theory and are software agnostic

230 questions
Filter by
Sorted by
Tagged with
570k views

### 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 ...
• 6,167
153k views

### Difference between projection and datum

What is the difference between a projection and a datum?
• 9,381
75k views

### 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)...
• 6,838
492k views

### Calculating longitude length in miles

Suppose I have the geographic coordinates of "Saratoga, California, USA" as Latitude: 37°15.8298′ N Longitude: 122° 1.3806′ W I know from here that in the case of latitude 1° ≈ 69 ...
• 961
10k views

### What strategies, criteria, or rules to use for selecting coordinate systems?

What strategies, criteria, or rules do you use for selecting coordinate systems for (a) storing, (b) analyzing, and (c) displaying GIS data? (I humbly offer my reply to a related question about ...
• 69.8k
56k views

### Using geohash for proximity searches

I'm looking to optimize point proximity geo searches time. My input is lat,lng point and I'm searching on a precomputed set of locations to n nearest points. I don't care how much time/space the ...
63k views

### Deciding what interpolation method to use for resampling raster data?

Are there hard and fast rules about which interpolation methods are suited to each kind of raster data?
• 605
21k views

### Comparing two spatial point patterns?

If I have two point pattern distributions within the same geographic region, how would I go about visually and quantitatively comparing those two distributions? Also assume I have many points within ...
• 4,234
78k views

### Differences between triangulation and trilateration

Looking around I noticed that many people interchange the terms (triangulation and trilateration) for the same sense. What is the correct sense of Triangulation and what are the differences from ...
• 529
18k views

### What is approximate error of Pythagorean Theorem vs. Haversine Formula in measuring distances on sphere at various scales?

Many people when first trying to calculate distances between two longitude / latitude pairs ask if Pythagorean theorem works as an appropriate distance function. Most often people answer "no, the ...
• 503
8k views

### How to represent trend over time?

I have a time series of rasters where the cells of each raster represents some value at a certain time. I would like to generate a map that highlights the magnitude of positive or negative trends in ...
• 65.8k
9k views

### How to create an accurate Tissot Indicatrix?

A Tissot Indicatrix is useful method for communicating at a glance the kinds of distortion a given projection is prone to (in the figure below, each of the red circles occupies the same area). I've ...
• 28.2k
23k views

### What are the Differences Between TMS, XYZ & WMTS?

There are currently three different ways of Serving out Tiles: TMS WMTS XYZ I do know that XYZ is now the most popular one, and is used by services like Google, Mapbox, OSM and many others. What is ...
• 41.3k
25k views

### Difference between node and vertex in GIS?

In graph theory the term of node and vertex are equivalent, but sometimes in the GIS world the nodes and vertex are mentioned in the same context. I was wondering what the difference is? Node: can ...
• 503
5k views

### Benefits of Multipart Features?

Multipart points, lines, and polygons are implemented in nearly every GIS, but what benefits, if any, do they provide? In a relational database attributes shared by different features can be stored ...
• 14.3k
13k views

### Calculating intersection of two Circles

I'm trying to figure out how to mathematically derive the common points of two intersecting circles on earth's surface given a center Lat/Lon and a radius for each point. For example, given: Lat/Lon ...
• 311
7k views

### Calculating Flow Direction and Delineating Basins from Projected vs. Unprojected DEM Data [closed]

This is somewhat of a theoretical question stemming from some discussions with colleagues on the topic of implications with delineating basins with projected (e.g., Albers Equal Area) vs. unprojected (...
• 1,127
2k views

### Is it appropriate to create vertical scale bars?

I'm working on a map where the main theme is a railway line which runs vertically down the page. I've been wondering how to approach creating a scale bar for this map. To my eye a horizontal scale bar ...
• 27.6k
1k views

### What is this GIS Principle Called?

I've forgotten the name of a particular GIS principle and need a refresher... Scenario: Let's assume there is some polygon which represents some administrative area. Let's say it's a square, for the ...
• 21.9k
10k views

### Algorithms for matching segments [closed]

What are the best algorithms to match segments? I'm trying to match corresponding segments from two map sources, one less accurate but with segment names, and one more accurate without segment names. ...
• 6,838
4k views

### Spatial reference for dummies?

Can anyone recommend a good reference or tutorial that explains the principles of spatial references, projections, and coordinate systems? We are a small team of programmers working with GIS ...
2k views

### Recommend topics to be included in a Computer Science for Geospatial Technologies course

I will be instructing a course at the local university titled Computer Science for Geospatial Technologies. This is an introductory course meant to introduce computer science concepts to geospatial ...
25k views

### What is projection of WGS84 in GIS software? [duplicate]

WGS84 is a reference ellipsoid that determines coordinates of every point on Earth using latitude, longitude and height about the its surface. This ellipsoid is often used as a base to make maps. ...
• 1,545
23k views

### Understanding terms in Length of Degree formula?

Online calculators such as http://www.csgnetwork.com/degreelenllavcalc.html (view page source) use the below formulas to get meters per degree. I understand in general how distance per degree varies ...
• 313
27k views

### How do you compute the earth's radius at a given geodetic latitude?

(I see there is an equation on wikipedia that does exactly what I am asking but there is no references. I have no way of confirming the validity of this equation!) I already understand the difference ...
4k views

### Good resources on geocoding algorithms

Do you know of any good resources on geocoding algorithms? I am particularly interested in address query parsing, including matching and weighting parts of the query, dealing with misspellings and ...
• 10.3k
2k views

### Using GIS tools for non-geographical problems

Many other fields have visual/"spatial" problems that can potentially be solved with GIS tools. I know I've used GIS tools for the odd non-geographical task and was wondering how much this happens and ...
6k views

### Understanding reprojection?

One thing that I can't quite get my head around is Reprojection. It comes up a lot in questions on Stack Exchange, and there are plenty of How to questions and answers about specific issues using ...
• 3,612
20k views

### Meaning of "Elevation above surface of ellipsoid"?

I'm using implementation of Vincenty's algorithms, and I have their class called "position" that requires lat, lon, and elevation defined by: "Elevation above the surface of the ellipsoid". What is ...
• 1,809
9k views

### Projecting EPSG:4326 data in 2D map?

I like to think I'm relatively well-versed in datums, projections, and coordinate reference systems. OpenStreetMap data is stored in WGS84 Lat/Lon (EPSG:4326). This CRS is geographic and therefore ...
• 3,678
15k views

### What does M-value represent?

I am trying to wrap my ahead around the meaning of the M-value. I read ESRI's dictionary definition here: https://support.esri.com/en/other-resources/gis-dictionary/term/m-value and was not able to ...
• 2,131
15k views

### Difference between bounding box, envelope, extent, bounds?

Every time when I create a script to manipulate vector (point, line and polygon) in python I meet this doubt. What is the difference between bounding box (bbox), envelope, extent, bounds?
• 1,960
5k views

### Removing elevation trend over sloped surfaces?

Is there a known methodology for removing the trend from a DEM surface? For example, if I had a DEM of a river, that river would flow from high elevation (upstream) to lower elevations (downstream). ...
• 10.7k
13k views

### Difference between datum and ellipsoid for geodetic coordinates?

Looking at the Wikipedia page for the North American Datum, it seems to imply that the datum is completely defined by the ellipsoid, which defines the major/semi-major axes, flattening, etc. For ...
483 views

### Matching segments of different lengths

I'm trying to match small segments with a larger segment they are the most probably related to: relatively close, similar bearing, and facing each other. Here is a typical example of the data I have: ...
• 331
3k views

### Calculating visible sky percentage?

Can anyone explain, as simply as possible, how to calculate the visible sky percentage? I have done a satellite survey and have worked out the height of buildings and the distance between them. ...
1k views

### Why accurate area of all countries cannot be obtained using a single EPSG code, even if it corresponds to an equal-area projection?

I would like to check if using different equal-area projections lead to near-identical area estimation for a list of countries. Importing modules: import numpy as np import geopandas as gpd import ...
• 2,072
3k views

### What is smallest contour interval possible when derived from DTM?

I am converting a 2m DTM to contours, and would like to have the smallest interval possible. Is there a theoretical limit, or even a rule of thumb for defining contour intervals based on the ...
• 6,127
1k views

### Detecting branched polygon shape?

I have a vector layer with millions of polygons making continuous coverage. I need to classify them according to their shape. I am already using several shape indexes from landscape ecology like ...
• 2,471
3k views

### Should Legend entries be singular or plural?

In a map legend should the entries be singular or plural? What is correct? Road or Roads? A Google image search for "map legend" lead me to conclude there is no consistent way of having a ...
• 1,649
4k views

### Understanding the concept of m value

As far as I understand, the m value "is a measured distance along a route" (similar answers here), thus similar to the mileage of a car driving over a highway. The m value defines the point ...
• 71.2k
7k views

### Raster vs Grid vs Lattice terminology?

I have a question about GIS terminology - what is the difference between grid and raster and grid and lattice - in theory?? I thought, that raster is regular network and value is in the cell and the ...
• 305
1k views

### Is there cartographic convention to ordering legend items (high-low or low-high)?

When you symbolise a layer in ArcMap, the symbols are ordered from low value to high value by default. Is that necessarily "correct"? I've never officially studied cartography - is there a convention ...
• 21.1k
2k views

### How big does a circular geofence need to be for the curvature of the earth to matter? [duplicate]

I'm working on adding geofences to a mobile application. I know the proper way of calculating distance between two points on a sphere is using the great-circle or Haversine formula. I don't know if ...
• 309
516 views

### Does Earth's magnetic field affect any datum definition?

I had an interview last week. One very interesting question was "does earth's magnetic field affect any datum definition?" I was sure it does not for geocentric datums. But I thought maybe the ...
• 2,864
3k views

### Fistance when viewing scaled-topographic map

A close friend from my company asked me a question about a topographic scaled map (1:25.000): What was the altitude to a location in km (as you are viewing Earth from space) when he was viewing the ...
• 22.5k
2k views

### Why does the same UTM northing give different values when converted to latitude?

I'm converting two coordinates from UTM to latitude/longitude. The coordinates are: Easting: 657787 Northing: 7795664 and Easting: 658144 Northing: 7795664 Both from zone 23S (EPSG:31998) or 23K (...
• 782
762 views

### Is there a standardized or "most used" dummy Z value?

Creating and importing both 2D and 3D data, I have many times encountered the situation where I have no Z value for a coordinate set, that the value of a Z coordinate seems out of range (like -99, -...
• 4,480
16k views

### Calculating bounding box size?

What formula could I use to calculate the size in Kilometres of a bounding box based on a given South-West latitude/longitude and a North-East latitude/longitude points? The bounding box format is ...
• 209