The Stack Overflow podcast is back! Listen to an interview with our new CEO.

# Questions tagged [latitude-longitude]

Angular geographic coordinates that specifying the north-south and east-west positions of locations.

654 questions
Filter by
Sorted by
Tagged with
38k views

### Displaying coordinates and inputs as LatLon or LonLat?

I'm trying to get a sense if this is an issue for others or every input/output should be labeled so user is not confused and just go with it? I think almost everyone pronounces it as "LatLon". Who ...
498 views

### Ohio State Plane to Lat/Lon [on hold]

I've looked into a few other posts/libraries as far as converting between State Plane (Easting/Northing) to get a Lat/Lon value, however I've run into some trouble. I saw here (https://stackoverflow....
13 views

### Finding boundary coordinates of user current location with a given radius

I have my current lat and lng details { "lat": 8.561032, "lng": 76.846333 } And from this I need to build a boundary around me with given radius. So How can I get the boundary ...
368k views

### Calculating longitude length in miles

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

### ST_Latitude and ST_Longitude functions do not return exact values in MySQL [on hold]

I tried to collaborate on this question from the Stack Overflow site. The ST_Latitude and ST_Longitude functions (equal ST_X and ST_Y) of MySQL (version 8.0.17) returns a non-exact value for certain ...
56 views

### Changing degrees to meters

I'm using QGIS 3.4.9. When I try to create a heatmap the only radius option is degrees. Can you tell me how to change this to meters?
2k views

### Computing area of given polygon (in vector format) lying between specified lines of latitude?

I have species distributions (in vector format) and I would like to calculate how much of the area for a given species distribution is within certain lines of latitude, such as temperate and tropic ...
33 views

### How can I count the number of countries my GPS data fall into?

I'm working with GPS data in R from different studies and would like to list the countries that each study covers. I can easily map the data using leaflet but I'm not sure how to extract the countries....
74 views

### Longitude and latitude in aviation

I have two coordinates A = (60◦ N, 30◦ E) and B = (60◦ N, 150◦ E). I want to calculate the shortest possible route between these two points and also I want to know how far north does the route goes. ...
50 views

### Ignoring ellipsoidal heights recorded from GPS when only interested in location?

I am not interested in converting ellipsoidal height into AHD heights, because I have a good DEM. However, this whole business about geocentric vs geodesic coordinate systems is thoroughly confusing ...
53 views

### GeoPandas transform latitude/longitude coordinates to UTM coordinates

I have a shapefile which I read with GeoPandas, this shapefile has lat/long coordinates and I want to transform it to UTM coordinates. I tried this: shapefile = gpd.read_file('example.shp') #CRS = ...
38 views

### Mathematical rule to convert between degrees and centimeters based upon projection

I have some Tanzania drone imagery data in a local geographic projection EPSG:32737 that uses the unit of meters. Then I have other vector data that is in EPSG:4326 which is denominated in degrees. In ...
41 views

### Seeking ArcGIS Pro tool to get min and max latitude and longitude coordinates?

I am very new to ArcGIS Pro and have been struggling with getting the minimum and maximum latitude/longitude of an area in ArcGIS Pro. I am looking to get four coordinates of a rectangle that ...
101 views

### Find all regions (lat, long, radius) that contain a point

A Region has a latitude, longitude (GEOMETRY('POINT')) and a radius. Using postgis, how can I query all Regions where the distance from pointParam and region.point is less than or equal to region....
670 views

### Calculating distance between points crossing antimeridian using R? [closed]

How can I calculate the distance between two points (lon/lat) if any of the points exceeds the antimeridian (+-180 longitude)? I am using the distVincentyEllipsoid {geosphere} to calculate the ...
110 views

### Get coordinates from EXIF

I wonder if it is possible to know if with the EXIF ​​data of a photo you can get the angle with respect to x or y (latitude or longitude) to position it on a map. Or given the EXIF ​​data to ...
59 views

### Calculating direction for points (lon/lat) in a perfect circle (shape) north of equator?

I have perfect circles in lon/lat on a OpenLayers map. Near the Equator I locate each point on the circle using bearing-calculation for each point from circle-center. Meaning there are 360 bearings ...
37 views

### Unable to convert coordinate format

I am trying to figure out the format of the coordinate pair below. My task is to convert a list of these integer values into decimal degrees (below), but this is my only ground truth data point. ...
36 views

### Auto populating attribute table with lat and lon in QGIS

is there a simple way (without writing script or Python skills) to auto calculate and auto populate lat and lon attributes in QGIS? When I manually add new points or move existing points in my layer,...
156 views

### Converting large data with lat and long into X and Y?

I have 9888562 records in dataframe and I would like to convert my lat, long to UTM x,y. according to my code, I have used pyproj package but because my data are too much it takes a long time and ...
24 views

### Do extra zeros change the coordinates for decimal degrees?

At my work we require contractors to submit work reports in decimal degrees with 6 decimal places, i.e. the location of where they paved roads or put in a road sign. The question is, contractors have ...
627 views

### Service or way to input a table of lat long and return an output of street addresses?

The following website can be used to enter a single pair of latitude and longitude coordinates and return a street address: https://www.latlong.net/Show-Latitude-Longitude.html I want to get street ...
106 views

### Converting GOES x,y coordinates from a 2D fixed grid into latitude and longitude

I am working with some GOES data in Python and I want to grab latitude/longitude coordinates from the data. GOES' stores their projection data in radians under x,y variables that are used to project ...
50 views

### Calculate new coordinate based on distance traveled between two other coordinates

We have two coordinates (latitude, longitude) and let's assume we want to travel along a straight line between them. After traveling a certain distance along this line, we would like to calculate a ...
32 views

### Converting latitude/longitude into a slab number (or item number) and vice versa?

Purpose: To compress the data transmission for the longitude and the latitude. Initially these datas are in the form DD.MM.mmmm: degrees, minutes, ten thousandths of a minute. Latitude stands under 28 ...
150 views

### Getting different resolution between horizontal/vertical directions, from lon/lat to openlayers map?

I draw several points of Lon/Lat(EPSG:4326) on the OpenStreetMap v 4.6.5 (EPSG:3857). It seems like the distance between the points are closer in the Latitudinal direction then in the Longitudinal ...
49 views

### Move polygon to new location (find new lat-lng coordinates)

I need to move my polygon (region of geographical area) with 4 different (O1, O2, O3 and O4) lat-lng coordinates (as shown in the figure) to another place, so that I get new values of all 4 lat-lng ...
87 views

### NotImplementedError: Wrong number or type of arguments for overloaded function 'CoordinateTransformation_TransformPoint'

Hello I am new to working with GeoTiff data and I am trying to grab lat/lon values from a tiff image. Here is my code: import gdal import matplotlib.pyplot as plt import osr # open the dataset and ...
136 views

### Identifying coordinate systems of racing circuits? [closed]

I have some "latitude" and "longitude" data that describes the Silverstone motor racing circuit in the UK. The coordinates look something like this: latitude longitude +03124.27986 +00061.07652 +...
124 views

### Get latitude and longitude differences by clicking in two locations on the map

Is it possible in QGIS 3.x to click in two places on the map and to get back the X and Y distances between these two locations (latitude and longitude differences). I was hoping there is a plugin ...
498 views

### Find if lat/long point is inside an area

I have got data using OpenStreetMaps Ways of many areas. I would now like to write a function which would return "true or false" if an single latitude/longitude point is found in that area or not. I ...
67 views

### Creating 1 hectare Polygons given latitude longitude in Python

I'm trying to work with openweathermap's Agromonitoring API. To use their API you have to create polygons representing your area, then you can request weather data, soil moisture etc for that ...
105 views

### Plot large batch of points without coodinates or geocoding

I have a list of 50,000 addresses with no Lat/Lon data. I would like to plot these points over a boundaries shapefile. Most geocoding services limit you to 2,500 - 15,000 geocode without paying. Is ...
218 views

### Extract Latitude/Longitude from polygon vertices on QGIS

Created a global map by adding the OpenStreetMap and WorldMap layers in QGIS. Drew polygons over that, creating what I believe is a polygon layer. I've also created a layer of the Nodes/Vertices of ...
2k views

### Formatting longitude/latitude in arabic language?

How should longitude and latitude be properly formatted in the arabic language? e.g. how should the following coordinates be displayed in arabic language: 40°26′46.23″ N, 79°56′56.12″ W?
377k 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 which are 6 ...
1k views

### Mapping Longitude and Latitude to US state

Is there any database (Gov data or private) or web service that map Longitude and Latitude to US state? I have the specific Longitude and Latitude of a location and would want to identify the state ...
153 views

### Getting latitudes and longitudes in between start and end coordinates and spaced at equal distance

I have a csv file which has the latitude and longitudes values , I need to find the coordinates in between the start and the end latitude and longitude which must be equally spaced at the interval of ...
135 views

### Find in between coordinates for the given latitude and longitude from a CSV file

I have a CSV file which has the latitude and longitude values for the start and the end coordinates as follows. In these the first lon and lat values are the start point then the second coordinates ...
243 views

### Road Extraction from Latitude and Longitude using Google Maps API? [closed]

Google Maps API allows grabbing roads for individual latitude and longitude specifications (or the nearest roads if the point/s are not on a road). However, the way it requires data to be entered for ...
74 views

### Get Row/Column of Latitude/Longitude

I downloaded Sentinel-2 Imagery from AWS & I'm using rasterio to read/manipulate the data. I want to find the row/column coordinate of a latitude/longitude point that I initially used to search ...
116 views

### Meaning of abbreviation BLH?

I cannot find anywhere why BLH (where B is geographical latitude, L geographical longitude and H is elliposidal height) is called BLH. The origin of the letter H is clear, but what about B and L? ...
4k views

### Add distance to a latitude or longitude

Say I have a latitude of 38.802610 and a longitude of -116.419389 and I want to be able to add a distance to that, 20 miles for example. So far I have came up with a rough idea on how I would do this:...
1k views

### Transforming data from a rotated pole lat-lon grid into regular lat-lon coordinates in QGIS?

I am working with data from a numerical weather model, the output of which is given in grid cells where I have the lat-lon coordinates of each cell's center point. The lat-lon specifications are, ...
40 views

### Calculating latitude and longitude fields using PostGIS? [duplicate]

I have a shape in PostGIS that has 2,658,061 records (points). I need to create a field that is called "Latitude" and another that is called "longitude" and calculate a position in WGS84 (SRID: 4326)...
2k views

### Getting latitude and longitude raster from DEM using ArcGIS Desktop?

Could anyone provide with a way to calculate latitude and longitude from DEM, for each raster cell? In previous posts about this, I have seen that some suggest calculating lat and long in certain ...
575 views

### Comparing points (latitude/longitude) w/address data (zip) to zipcode boundaries shapefile using QGIS?

I have a bunch of 'points' in a csv that contain a zip code and lat/long coordinates. I also downloaded the ZCTA boundary data from the census website. I successfully imported the point layer on top ...
154 views

### pyproj EPSG:4326 converts degrees to radians

Case My input is a point given as x, y and an SRS name which specifies how to interpret the numbers. My goal is to convert these into lon, lat in degrees. I convert this by using this piece of code:...