Questions tagged [latitude-longitude]

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

Filter by
Sorted by
Tagged with
438
votes
7answers
372k 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 ...
60
votes
1answer
360k 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 ...
22
votes
5answers
20k views

Manually transforming rotated lat/lon to regular lat/lon?

First I should clarify I don't have previous experience with the field, so I don't know the technical terminology. My question is as follows: I have two weather datasets: The first one has the ...
13
votes
2answers
15k 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 ...
72
votes
4answers
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 ...
10
votes
1answer
3k views

How to compute the bounding box of multiple layers in lat/long?

I am writing an application to performance test all kinds of map services, primarily AGS 9.x, AGS 10, and WMS 1.x. Part of the application involves generating random bounding boxes for individual ...
4
votes
1answer
2k views

How to render area that crosses 180°?

The problem is that the Chukotka Peninsula is located in the Western Hemisphere. So it is on the left side of Natural Earth Datasets. It needs to be moved to the right. I tried to use following srs(...
18
votes
3answers
21k 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 ...
0
votes
2answers
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 ...
2
votes
6answers
3k views

Creating Latitude Grid from DEM

I am trying to evaluate an equation in the raster calculator and I need latitude values. I have the DEM for the region and am wondering if it is possible to create a latitude raster based on the DEM? ...
7
votes
5answers
12k views

Getting all vertex lat, long coordinates every 1 meter between two known points using PHP?

I am currently using php to try and write code that will take a start point and end point latitude and longitude coordinate pair in decimal degrees and calculate the latitude and longitude of every ...
19
votes
3answers
19k views

Computing an averaged latitude and longitude coordinates

How can I compute the average between several latitude and longitude spots? Should I just compute the Arithmetic mean for both lat and lng?
31
votes
2answers
3k views

Why do we use the terms “longitude” and “latitude” for a spherical body?

To specify a geographic coordinate we use the terms “longitude” and “latitude”. Far as I know, these terms derive from the Latin latitudo (= breadth) and longitudo (= length). In German we use the ...
12
votes
1answer
2k views

Great-circle lines in Equirectangular projection

Just to check that I'm on the right track: Are all great-circles on the sphere and in equirectangular projection (i.e. latitude, longitude pairs) either: meridians (i.e. going pole to pole) of the ...
3
votes
2answers
5k views

Changing shapefile longitude from -180 - 180 to 0 - 360?

I have a shapefile of world countries, with longitude between -180° and 180°. How can I change the shapefile (eg. with ogr2ogr) for having longitude between 0 and 360°. Following OSGEO/Trac ...
5
votes
1answer
3k views

WGS point to WGS line segment (great circle) distance

How would I go about resolving this in C#? I have a line segment (great circle distance) defined by two Lon-Lat pairs (call them points A and B). A third point somewhere on the Earth sphere. The ...
0
votes
2answers
3k views

PGROuting 2 : Getting nearest node to a given point (with lat - long given)

I have a point whose latitude and longitude (only) are known, and a table of nodes with their geom. I want to find the closest node in the table to the given point. I think I can achieve this with ...
4
votes
3answers
6k views

Formula for coordinates (lat, lon), azimuth and distance.

I would like to know how to find a set of coordinates on a small circle some distance from another point. For example, lets say A = (39.73, -104.98) #Denver B = (39.83, -106.06) #point approximately ...
4
votes
2answers
3k views

Calculating geometry for feature class with x/y and Lat/Long values in different projections?

I have a feature class with x/y values populated on the native projection of the feature class (state plane). In the same feature class I also have Lat/Long fields that I need to populate (WGS 84 in ...
7
votes
1answer
923 views

locating latitude-longitude point in a piste-map with matrix transforms

I am trying to plot points of a particular latitude longitude on this image of a Swiss mountainous landscape. What I am doing is I have some 54 known location-points plotted on this image (not ...
6
votes
2answers
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, ...
5
votes
2answers
13k views

Converting Longitude and Latitude Coordinates to Square Miles?

I have a set of Long and Lat co-ordinates making up a five point polygon which I have converted in excel using the following formula: =((X1*Y2)-(X2*Y1)+(X2*Y3)-(X3*Y2)+(X3*Y4)-(X4*Y3)+(X4*Y5)-(X5*Y4)+...
2
votes
1answer
7k views

How to determine vector between two lat/lon points

For all the math geniuses out there...given two lat/lon points (point A and point B), what is the simplest way to find the vector needed to reach point B from point A. For example, the vector needed ...
0
votes
1answer
837 views

Convert NZTM to Latitude/Longitude in SQL

I have NZTM coordinate data stored in SQL Server in a Geometry field. I'd like to convert these coordinates to Lat/Long so that it can be used with Bing maps in Excel (and a few other things). I ...
-4
votes
2answers
2k views

Coordinate Conversion: Decimal Degree to Deg-Min-Sec of lat/long Coordinates [duplicate]

Possible Duplicate: Looking for a tool to convert DD to DMS I have two sets of climatic lat/long point data in excel worksheets. One of them is in decimal degrees and another is in degrees/...
11
votes
2answers
2k views

Finding Sentinel tile for specific Long/Lat coordinate

I'm building a tool that downloads images from "Sentinel-2 on AWS" I have a trouble translating Long/Lat coordinates to a specific Sentinel tile. I know that Sentinel 2 uses MGRS and I tried to ...
5
votes
3answers
7k views

Mercator: scale factor is changed along the meridians as a function of latitude?

"In Mercator projection the scale factor is changed along the meridians as a function of latitude" How to calculate the Mercator scale factor as a function of the latitude in decimal degrees ? I ...
13
votes
2answers
480 views

Making QGIS interpret coordinates as long-lat instead of lat-long?

I am working with the TRMM 3B31 files on precipitation provided by NASA. When I load them on QGIS selecting the WGS84 projection together with other shape files the maps are displayed vertically, i.e. ...
8
votes
3answers
1k views

Longitudinal Issues with NetCDF data

I am seeking advice on working with world data sets where the GCS has a positive range (0 degrees to 360 degrees). The data I am working with are NetCDF oceanographic data and have positive coordinate ...
6
votes
3answers
4k views

Extracting values from raster according to Lat and long of values?

having 12 files with 12 hdrs for one year: these files are raster (projected WGS84,lat long): samples = 1440 lines = 720 bands = 1 header offset = 0 ...
6
votes
1answer
4k views

ogr2ogr specify lat/long order on conversion to GeoJSON

When using ogr2ogr to convert a polyon from a .shp file to GeoJSON, I noticed that it writes the coordinates in order lat, long. I noticed this because whenever I tried to view the GeoJSON on a map, ...
4
votes
4answers
7k views

Does the NED use geocentric or geodetic latitude?

What kind of latitude does the National Elevation Dataset (NED) use? Geocentric or geodetic or something else? I can't find the information anywhere on their site (http://ned.usgs.gov/index.html) or ...
9
votes
2answers
3k views

How to get latitude /longitude in Degree Minute Second (DMS) using QGIS field calculator?

I have come up with the following expression to convert 5.1234 to 5° 7`24.24" toint ($x) || '° ' || toint((($x) - toint ($x)) * 60) ||'`' || substr( (tostring(((($x) - toint ($x)) * 60) - toint(...
9
votes
1answer
3k views

Georeferencing LAS files in geographic coordinates (lat/lon) or in cartesian (projected) ones?

First of all, I am a newbie in GIS. I have a lidar point cloud with GPS and telemetry data associated. Then, I transform coordinates of every point to an ECEF coordinate system and finally I ...
9
votes
2answers
3k views

Creating image with specific latitude/longitude positions using GDAL?

I have an ASCII file with latitude, longitude, and data_val in the following format. 35-13.643782N, 080-57.190157W, 118.6 ... I have a GeoTiff image file, and I can easily view it. I want to place ...
7
votes
3answers
3k views

What is the origin of the Degrees, Decimal Minutes format?

In my experience, for most non-GIS folks, the most commonly used and understood coordinate system is good old Latitude and Longitude, displayed as degrees, minutes, and seconds (DDMMSS.ss). In GIS, it'...
5
votes
2answers
619 views

Finding the boundary polygon from a set of gridded points (no hole)

Let us consider a set of a 2-D points (longitude, latitude) each of which is centre of square grid (intersect point of the diagonals of the square). I try to make you understand what I want to do in ...
5
votes
1answer
2k views

Assigning CRS to Lat/Lon in R giving error: “Geographical CRS given to non-conformant data”

I have a list of suburbs in Queensland, Australia along with their lat/longs. However, when I try to read in the file in R and assign a CRS, R is giving the following error message: Error in ...
4
votes
1answer
2k views

How to convert gml:pos to latitude and longitude?

I'm trying to figure out the latitude and longitude of rail stations that are contained in this WMS feature list. I'm completely new to the GIS field, so please forgive me if I use the wrong terms ...
2
votes
1answer
135 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 ...
1
vote
2answers
3k views

Searching planet_osm_point by longitude and latitude

I used osm2pgsql to import data into my PostgreSQL database and it put gave me the following 4 tables, planet_osm_point, planet_osm_line, planet_osm_polygon and planet_osm_roads. I have looked at ...
-1
votes
1answer
325 views

Given a lat/long find all points within a certain radius

I am looking to find multiple lat/long points (N,S,E,W) that are 100 metres from an input lat/lon point I have stored in PostGIS. So, given a latitude and longitude I'd like to find the latitude and ...
82
votes
4answers
367k views

Does Y mean latitude and X mean longitude in every GIS software?

I am using Mapinfo and it has Y as latitude and X as longitude. Is that the same case for all mapping software? As for any country their respective value is multiple of 1 or -1. So for Nepal can I say ...
9
votes
6answers
6k views

Detecting and fixing outliers in a GPS trajectory

I need to find an algorithm or method that can detect outlier latitude longitude points in a trajectory during post-processing, which can then be fixed (brought back into the trajectory's path based ...
5
votes
2answers
11k views

How to extract specific information from GRIB files?

How to extract fetched GRIB data with Python and gribapi package (link goes to official ECMWF Wiki)? I tried to follow few examples from their "documentation" and do it myself, but I just cannot ...
5
votes
1answer
645 views

How do I georeference a ski map?

I have a map of a mountainous landscape, http://skimap.org/data/989/60/1218033025.jpg. It contains a number of known points, the lat-longs of which can be easily found out using google maps. I wish to ...
4
votes
2answers
374 views

How to form a V-Shape field of view from any given point (i.e. latitude longitude)

I want to visualize the V-Shape polygon which can be referred to field of view as well. So, far i have been able to find the latitude and longitude of a certain point when i give an input of latitude ...
4
votes
1answer
4k views

Transforming regular lat/lon to rotated lat/lon?

I am currently working with climate data projected in a rotated lat/lon grid and came across this excellent 'cookbook' by @mkadunc on Manually transforming rotated lat/lon to regular lat/lon? I’ve ...
4
votes
2answers
844 views

Making world grid with angle in QGIS?

I need to make a world map with a grid that have a angle like in this map I look into it and find that I can add a grid in the print composer I have succeeded to change the grid distance in the ...
1
vote
1answer
2k views

Converting state plane coordinates to latitude/longitude

I'm trying to convert pairs of x,y coordinates to latitude/longitude using python. The projection is "NAD_1983_HARN_StatePlane_Oregon_North_FIPS_3601_Feet_Intl" and a sample x,y pair is 7625659, ...