Questions tagged [latitude-longitude]

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

Filter by
Sorted by
Tagged with
0 votes
2 answers
4k 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 ...
user1628340's user avatar
8 votes
2 answers
1k views

Zip + 4 Centroids

I have a data set with ZIP +4 codes, and ideally, I'd like to map them (their centroids) as points. I'm not interested in their boundaries (since they're not really geographies anyway). Does anyone ...
b-rad-b's user avatar
  • 509
1 vote
1 answer
2k views

Specifying a rectangle as two latitude/longitude pairs, one for center and one for size

I am trying to make sense of the Google S2 library for spherical math (it works like this). I need to get a rectangle for searching for nearby entities in a database, based on a point and a distance (...
yngling's user avatar
  • 111
-2 votes
1 answer
608 views

How to find the most east or west longitude around the date line

I've got a python script that is comparing extents of rasters in various projections. Generally it works, but sometimes, especially when the rasters are global in extent or cross the dateline it fails....
Colin Talbert's user avatar
1 vote
1 answer
844 views

OpenLayers: How to add permalink long/lat anchor to links outside of map on page

I would like to extend the funtionality of OpenLayers that appends, on-the-fly as the user zooms and pans the map, the longitude/latitude parameters as a anchor to the URL in the browser's address bar,...
therobyouknow's user avatar
0 votes
1 answer
662 views

converting grid references to long/lat

If I import from a POST DB a set of points that are referenced by grid reference, will the long/lat decimal also be added to the file? or will I have to convert the points to long/lat myself? In ...
Tom's user avatar
  • 398
3 votes
3 answers
3k views

Longitudinal and Latitudinal coordinates of interstate exits

I need to find the coordinates of all the interstate exits for some research. I'm not looking to code up a program that will do it for me, but I was hoping that someone had already done it and would ...
Ben's user avatar
  • 31
1 vote
1 answer
721 views

Intersect line (LLH) with any LLH plane

I have a LLH (Longitude, Latitude, Height) point with an elevation angle and azimuth (actually it is a receiver point). I believe I can make a line with this information. What I want is to intersect ...
RandomGuy's user avatar
  • 113
21 votes
4 answers
146k views

Converting x,y coordinates to longitude,latitude using QGIS

I'm working with this downloadable shapefile that has X Y coordinates. They are akin to '3672187.92698000, 534175.72095400'. I would like to convert them to longitude latitude so they are more like '-...
Aaron Silverman's user avatar
3 votes
1 answer
6k 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 ...
simondk's user avatar
  • 161
1 vote
3 answers
2k views

find latlngs that are some x distance away from a point to south to north to east to west

I have a latlng i want to find four points with equal distance from this latlangs in all directions east, west, south an north is there any formula . I am trying to build polygons around higways so ...
DynamicDeveloper's user avatar
1 vote
1 answer
5k views

Overlaying lat/long graticules on projected map using QGIS?

I am using an equal areas projection of North America and would like to overlay a lat/long grid. I can do this in the print composer, but only for the coordinates. Can QGIS do a distorted grid for ...
darkness's user avatar
1 vote
2 answers
5k views

How do you convert to degrees and minutes from 8/9-digit lat/lon DMS code? [duplicate]

I'm trying to map the national bridge inventory, but the coordinates are stored in this 9-digit code for longitude (and 8-digits for latitude) EXAMPLE: Longitude is 81°5.8' Code is 081054800 Page 9 ...
DPSSpatial_BoycottingGISSE's user avatar
5 votes
2 answers
3k views

ST_Distance is not delivering right results

I want to calculate the distance between lat/lon points. I tried the following queries: Select ST_DISTANCE(ST_GeomFromText('POINT(-73.97923 40.75571)', 4326), ST_GeomFromText('POINT(-73.974509 40....
rintim4711's user avatar
32 votes
2 answers
4k 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 ...
Jens's user avatar
  • 6,219
2 votes
0 answers
2k views

Using gdal to convert from UTM to equidistant lat/lon

I am getting rather confused with converting a UTM gridded dataset into a equidistant/rectangular latlon gridded dataset. Can anybody help me? I have a UTM set with the following projection: PROJCS["...
jmvanwessem's user avatar
1 vote
0 answers
7k views

convert GPS to XY coordinates

if i have obtain GPS coordinates as Latitude/Longitude, then i need to convert them to XY coordinates, i see this link actually i need to get the Trilateration , in its equation i need the XY ...
H.H's user avatar
  • 177
0 votes
1 answer
88 views

error in estimate distance?

i do some experiment place two sensor node between them 4 meter as distance. then i get these GPS information: node1: Latitude: 32, 33.255 , Longitude: 36, 0.6632 node2: Latitude: 32, 33.228 , ...
H.H's user avatar
  • 177
2 votes
1 answer
9k views

find euclidean distance in GPS [duplicate]

i need to find the distance between two gps location, So i think to do this: lat1(seconds)-lat2(seconds)=lat * 30.7151 == distance latitude in meters =Latm long1(seconds)-long2(seconds)=long *30....
H.H's user avatar
  • 177
1 vote
1 answer
2k views

Convert GPS to X,Y using reference node [closed]

I am using sensor nodes and their antenna to calculate GPS coordinates as notation of (degrees/minutes/seconds), I have some question of how to do these things: How can I convert latitude and ...
H.H's user avatar
  • 177
1 vote
1 answer
1k views

Accurate and fast nearest neighbour, which distance function should I use and how to it speed up? [duplicate]

I am solving the following problem: I have a map with many points in it and I need to find the nearest point to given location. Each point carries information about it's latitude and longitude. This ...
Marcel's user avatar
  • 113
1 vote
0 answers
593 views

Offset a Polygon defined in Lat Lng points by a given distance of miles or km

I am trying apply a positive offset/buffer (enlarge a shape equally from the borders) to a polygon that is made up of a series of latitude/longitude coordinates by a distance that is defined in either ...
Larry B's user avatar
  • 111
0 votes
2 answers
680 views

Getting a "square" of lat/lon for database query [duplicate]

So I want to get the square formed by a single point of lat/lons, my plan was to take that point's latitude, divide by 360, and multiply by the circumference of earth. Giving us the distance from the ...
OneChillDude's user avatar
3 votes
5 answers
7k views

What format is lat/long stored in OSM PostGIS?

Question: How do I to get the lat, long for all the toll booths stored in OSM for Virginia? Current Query: > gis=# select * from planet_osm_nodes where ('toll_booth' = ANY(tags)); id |...
prafulfillment's user avatar
7 votes
2 answers
23k views

In which coordinate system are these coordinates: 50075482, 14430068?

I have multiple locations saved in WGS84 - it looks like e.g. latitude: 50075482, logitude: 14430068. I tried to search it on the map this way: 12.345678, 87.654321, but it doesn't match the place it ...
DropDropped's user avatar
2 votes
1 answer
2k views

Trilateration 3D - Vincenty's Formula

with reference to Trilateration using 3 latitude and longitude points, and 3 distances. The accepted answer was votes as shown in wikipedia in conjunction with a conversion to radians before and ...
user2160518's user avatar
0 votes
1 answer
150 views

Shrinking the co-ordinates into a unique number [closed]

I have a bunch of data's in my gpx files. I would like to shrink those bulk data's(co-ordinates) into a single ID or sort of something. any suggestions?
n9exorcist's user avatar
5 votes
1 answer
4k views

calculating bounding box from known centre coordinate and zoom

I have a map, the centre of that map (centrepoint) is = -37,175 ( gps) I know the zoom of the map = 13 I know the size = 320x320px I know there is 111111m in a degree of latitude and a varying degree ...
user1637477's user avatar
1 vote
1 answer
4k views

Lat Long line intersecting with circle

Can anyone help me what's the algorythm to calculate points of intersection whet is given one point p1 [lat,long] , bearing x (let say 137 degrees), arc center [lat,long] and radius? I woulde like to ...
user1275513's user avatar
7 votes
1 answer
1k 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 ...
Sonu Jha's user avatar
  • 221
13 votes
1 answer
4k 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 ...
Erich Schubert's user avatar
5 votes
2 answers
1k 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 ...
Sonu Jha's user avatar
  • 221
4 votes
1 answer
377 views

Display XY Format to Shapefile (Scale)

Using ArcView 10.1 and using excel for Lat/Long conversion to a shapefile. The original Lat/Long has 7 numerical characters past the decimal point xx.1143717. When I convert this excel into a ...
Zoran's user avatar
  • 1,601
1 vote
1 answer
152 views

Does anyone know of an explicit formula that I can plug-n-chug with to convert WGS84 lat lon to kilometers or miles? [duplicate]

I have a lot of lat lon coordinates in WGS84 format and I'm trying to get those into kilometers so that I'm able to calculate distance.
user12279's user avatar
6 votes
3 answers
6k 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 ...
Jonsson's user avatar
  • 399
4 votes
3 answers
1k views

Sorting polygons by latitude?

We have a set of polygons which we would like to sort and number according to their latitude. This will make it easier for local authorities to relate to the numbers of the objects. I have looked ...
ragnvald's user avatar
  • 3,191
8 votes
2 answers
3k views

Error "latitude or longitude exceeded limits" when importing CSV file in QGIS

I am currently working on a project with "on the fly"-projection (WGS 84 / UTM zone 32U). I want to import a CSV file. file with points that have a longitude and latitude using the "Add ...
Gideon's user avatar
  • 1,120
3 votes
1 answer
4k views

East North Format

I have a database with a list of address and their location as an East and North coordinate. An example is: East=431833 North=336684 Postcode=DE22 4LF When I try to convert this address using this ...
user13316's user avatar
2 votes
1 answer
3k views

How to georeference using Latitude and longitude in QGIS?

I'm trying to georeference a picture using Latitude and longitude. The points are these: top-left: (116.30950927734372,39.970805680527725) top-right: (116.35620117187497,39.970805680527725) ...
user13278's user avatar
2 votes
0 answers
275 views

how to convert lat and longitude into distance near poles?

I am trying to convert latitude and longitude into meters in polar regions. I am looking for higher accuracy upto 0.00 meters preferably. I tried the haversine formula but it doesnt seem to be ...
iceman11011's user avatar
2 votes
4 answers
3k views

Looking for a fine U.S. Latitude and Longitude grid (0.25, 0.5 degree)

There is a global latitude and longitude grid data available at 1 degree resolution and higher (http://www.arcgis.com/home/item.html?id=f11bcdc5d484400fa926dcce68de3df7). Is anyone aware of a finer ...
user1186's user avatar
  • 111
6 votes
1 answer
2k views

Displaying lat long values from XLS in ArcGIS Desktop?

I have a .xls spreadsheet with about 60,000 rows. Most of them have Latitude and Longitude. I simply want to display these as points in Arc10. I've tried making a .dbf in arccatalog and creating a ...
Steven Hunter Douglas's user avatar
5 votes
1 answer
3k views

Convert Lat/Long to UTM specifying which zone to use (Java)

I have a set of coordinates in decimal degrees spread across two UTM zones in my Java application that I want to export to use in Petrel, so they need to be in the same UTM zone. Is there a java ...
d0lph1n's user avatar
  • 53
1 vote
1 answer
3k views

USA Contiguous Albers Equal Area Conic

How do you convert from USA Contiguous Albers Equal Area Conic to meters? Or, to latitude and longitude? I am using ArcGIS 10.1, and within it, ArcMap. The shapefile I have reports the coordinates ...
user1690130's user avatar
1 vote
1 answer
457 views

If the Earth was flat, what unit of measurement would distances between geographic points be represented as?

A whole lot of abstraction- given two longitude/latitude points given from a GPS, I'm using the Pythagorean distance formula to find the distance between them. What unit of length would the distance ...
Apophenia Overload's user avatar
2 votes
1 answer
134 views

Representing degrees between -1 and 0 in Degrees:Minutes:Seconds

When representing latitude and longitude in degrees, minutes and seconds, with -180 <= D <= 180 (or -90 and 90) 0 <= M < 60 (0 if D is at an extreme) 0 <= S < 60 (0 if D is at an ...
yoozer8's user avatar
  • 123
1 vote
0 answers
167 views

Google earth incorrectly rendering coordinates?

My circles are rendering funky on the poles, and along the equator. Here are my coordinates: 158.05553767833,-78.151355482613 152.68654993135,-76.924955252783 147.72303124605,-75.713526831152 143....
Korvin Szanto's user avatar
16 votes
1 answer
33k views

How can I render latitude-longitude coordinates on a map with D3?

I am trying to overlay dots of arbitrary sets of longitude-latitude coordinates on top of a United States map. So far I have found the D3 cartography example, but when I try to place dots on X,Y ...
Jay Taylor's user avatar
1 vote
1 answer
2k views

Converting a shp file to a list of latitudes and longitudes

I have a shp file with the latitudes and longitudes for the boundaries for various geographic regions. I'd like to convert the shp file into lists of just latitudes and longitudes for the regions. I'...
Giles Roberts's user avatar
4 votes
3 answers
4k views

Canadian province boundaries in latitude and longitude

Are there any datasets available that give a list of latitude and longitude points for Canadian province boundaries? I don't need anything too detailed as I'm displaying collated data in smallish ...
Giles Roberts's user avatar