Questions tagged [latitude-longitude]

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

2
votes
2answers
51 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:...
1
vote
0answers
27 views

Shift a lat/lon coordinate based on a distance and direction?

I have a coordinate in (lat/lon). I want to find a new coordinate shifted from this point by 'x' meters in the direction given by a compass bearing (degrees). The distance offset I am hoping to ...
3
votes
0answers
565 views

Converting KML coordinates to Leaflet

I am trying to convert a Google Map KML file to a csv, to map the longitude and latitude points on Leaflet. But the coordinates keep mis-projecting and some end up off the land mass. The steps I have ...
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 ...
0
votes
0answers
17 views

Reading elevation data from DEM files using memory mapped files? [closed]

I'm aware of GDAL libraries but am supposed to not use them. Is there a way to use mmap or memory mapped files to access the specific longitude, latitude and elevation values from a .DEM file? The ...
1
vote
1answer
2k views

Converting mercator meters without UTM zone?

I've been attempting to extract track information from Humminbird (Side Imaging Sonar) binary files and have hit a stumbling block with the coordinates it provides. The values are apparently in ...
1
vote
1answer
569 views

Improving accuracy of mercator meters conversion to lat/lon?

My question is an extention to Converting mercator meters without UTM zone? While the answer in the previous Q&A got me so far, I've now come to an impass. While the conversion I do from Mercator ...
3
votes
1answer
76 views

How can I extract lat/long from GDB file in FME?

I have a large GDB database of points of interest across the world. I can open this up in FME and the data viewer works great in showing me the content in a way that is easily consumable. Despite all ...
1
vote
1answer
201 views

Truncate coordinates (LonLat) to decimal precision

For example if coordinates are 17.12345678, -82.12345678, and I want to convert them to 3 decimal digits. Expected result: 17.123, -82.123 Is there any API in OpenLayers 2 to truncate coordinates (...
-1
votes
1answer
45 views

Seeking API/software tool that will return US state senate and state house district number for given latitude/longitude?

I have a bunch of addresses that I need to find the corresponding State Senate and State House district for their latitude and longitude. It is possible to use shapefiles in QGIS to get this ...
0
votes
1answer
59 views

Converting lat long strings to xy linestrings [closed]

In PostGIS, I have a dataset with road segments including a column with coordinates for the various segments. The coordinates are in a lat-long format and the data type of the column is character ...
1
vote
3answers
39 views

Error in Converting XY Coordinates to Lat-Long Using r proj4 Library

I am trying to write a script that will allow my colleagues to easily convert XY coordinates into lat and long. The idea here is to take a spreadsheet with only X and Y available and create a new ...
1
vote
0answers
36 views

Determining which latitude and longitude values fall within township/district/polygons

Is it possible to export the boundaries of one layer, as well as the latitude and longitude falling within each boundary, from a program/by programming? I seem to have gotten fairly close to a ...
0
votes
0answers
16 views

Clipping a raster by latitude and longitude extent in ArcMap

How do you clip a raster by latitude and longitude in ArcMap? I have a planetary DEM of Mars: The datum is D_Mars and the xy coordinate system is Equirectangular_Mars. I want to clip this raster ...
0
votes
0answers
27 views

Converting Degrees, Mintues, Seconds to X, Y to be plotted into ponts

I need to convert a longs list of Lat/Long (example: N42 30' 45" W122 38' 00") into X,Y data (42.5125, -122.633333) so I can plot it into point shapefile. Is there a a way to convert multiple records ...
1
vote
0answers
41 views

Why does QGIS save EPSG:4326 as long, lat? [duplicate]

Why does QGIS save EPSG:4326 with coordinates in the longitude, latitude format? Isn't the correct standardized format latitude, longitude?
1
vote
0answers
59 views

Converting vector in NED to ECEF? [closed]

I have a geodetic WGS84 position, lat, lon, alt, and direction cosines from the same point, uN, uE, uD. I'm brand new to geodetic/ecef conventions. How do I take a vector (say, a unit vector with ...
1
vote
0answers
24 views

How to get geographic data of any particular region of map in Geometry datatype format in SQL Server? [closed]

I am completely new to Geometry datatype format of a Microsoft SQL Server database. DataType is Geometry. If not wrong, geographic data contains latitude and longitude of each point of that map, ...
0
votes
0answers
30 views

SAD69 conversion into latitude and longitude

I have an electricity distribution database in which the coordinates used are in the SAD69 system. I'd like to convert this data to longitude and latitude, but I do not find formulas anywhere. Could ...
1
vote
1answer
100 views

List of lat-long, need values in a raster

Apologies in advance as I am not a GIS specialist by any means. I have a set of 1 million points and I'm trying to find their values in a geotiff raster. I've tried various versions of this answer ...
0
votes
0answers
28 views

Transform ellipse representation from major/minor (meters) to degrees

I am given an ellipse represented by a quadruple (major, minor, center, azimuth) where major,minor are the ellips's axis length in meters, the center is the WGS84 coordinates of the ellipse's center ...
0
votes
1answer
79 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....
1
vote
2answers
3k views

Converting local Coordinates to lat/long Coordinates using QGIS?

I'm using QGIS to do some data analysis and visualization for my newspaper and I'm a basic/novice user at all this. I received some x,y coordinates from the City of Minneapolis that I can use to ...
2
votes
1answer
51 views

Get weird result when calculating distance between two points, using latitude longitude?

I use algorithm (see: calculating distance between two points) to calculate distance between two points. but it get wrong result, see Java code: /** * group1:set latitude to 89 */ // set ...
0
votes
0answers
14 views

Computing center and zoom level for a set of points

I need to duplicate google's static map image API api on an internal server with no internet access using OpenStreetMaps. I did find the OSM Wiki Page covering this topic. I initially looked at OSM ...
11
votes
4answers
6k views

What methods exist for geohash of polygon?

GeoHash is an excellent method to code the latitude and longitude of a point into a string. It's concise, due to the use of numbers + letters, and the precision can be tuned adding characters at the ...
1
vote
1answer
3k views

Census Block GEOid2 conversion to Latitude Longitude

My question is similar to this question. I have two different data files. Data1.csv (4500 rows) GEOid GEOid2 Total Population Urban Rural ...
1
vote
1answer
117 views

Difference between SnakeGrid and latitude and longitude

I am not a geography subject expert and maybe my this comparison make no sense as i don't have enough knowledge (one of the reason to ask this question here). I have a project where I am doing ...
6
votes
5answers
8k views

Where can i find Latitude & Longitude data for the coastlines of the world?

Im developing an application to print flight paths on a world map. To do this i need a dataset to describe the latitude and longitude of various coastlines (and country borders if possible) of the ...
0
votes
1answer
187 views

Is distance between lines of latitude same on ellipsoid?

Is the distance between lines of latitude the same for an ellipsoid? I know they are the same for a spheroid and intuitively, I would say it is the same for an ellipsoid but I could not figure out ...
0
votes
1answer
1k views

Converting coordinates (latitude,longitude) to X,Y using PostGIS?

How can I convert the latitude and the longitude coordinates of a rectangle in Cartesian coordinates, so that I can store them in a geometry field using PostGIS?
1
vote
1answer
994 views

Getting corners of polygon in latitude and longitude using PostGIS?

How can I get the corners of a polygon -a square/rectangle, to be precise- in latitude-longitude format by using its geom value -or some other way, using PostGIS?
5
votes
1answer
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:...
2
votes
1answer
166 views

Is a point within a polygon

I need help in this question. To explain briefly -- the question is: Whether a point with coordinates lng:-80.087535 lat: 42.054246 lies over or under line with coordinates: lng: -80.267831 ... -...
1
vote
1answer
206 views

Latitude and longitude values in Google Takeout location history data sometimes out of range

I've exported my geolocation history data as a JSON from Google Takeout and the latitude/longitude values are out of normal range sometimes. It seems to happen for some locations only, while others ...
7
votes
4answers
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?
3
votes
1answer
392 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 ...
0
votes
0answers
10 views

Displaying Google Maps by Longitude Latitude Box

I want to display a certain area in google maps bounded by certain longitude/latitude. Meaning that I have 2 points (e.g. bottom left, top right) and this defines the area of the map. I found parts ...
1
vote
1answer
134 views

Why is QGIS not recognising latitude and longitude correctly?

I am importing a simple 5 column csv file into QGIS using Add Delimited Text Layer. Each row of the table contains a name, a street address, a postcode, a decimal latitude and a decimal longitude, for ...
1
vote
1answer
37 views

Area between two longitudes? [closed]

I am trying to compute the area between two longitudes (using the angle between them) but am having a hard time. I can do that more easily between latitudes but longitude reveals to be tricky. Anyone ...
1
vote
1answer
49 views

Converting Point Feature to Latitude/Longitude Coordinate and GPX?

I drew a point feature using the draw tool in ArcMap on a map in an area of interest. I am now interested in extracting the actual latitude/longitude of this point in geographic space so I can ...
1
vote
0answers
159 views

Georeferencing lat/lon .png map and adding grid using lat/lon? [closed]

I'm trying to input a .png map into my QGIS project for a small area in South Africa. I don't know the CRS used to create the map but it has a grid system on it with the lat/lon labelled (created ...
2
votes
2answers
39 views

Get DD Lat and Lon from CRS EPSG:3111 - GDA94

I have a shapefile in CRS EPSG:3111 - GDA94 that I am trying to generate Lat and Lon, however when I use the field calculator and try to populate the lat lon I am getting values that I can't use as ...
1
vote
3answers
68 views

How to read points value hovering mouse pointer on the points in QGIS?

I am new to QGIS and learning daily, and I find it very interesting day by day. I have come up with a problem here. I stacked points on a sentinel2 image. The points data I imported from a CSV file; ...
1
vote
1answer
29 views

How to stack points based on their latitude and longitude value on a raster image in QGIS

I have a Sentinel2 image. I have a CSV file that contains latitude, longitude and precipitation data over the location where the sentinel2 image was taken. Now I want to stack the precipitation data ...
5
votes
2answers
10k 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 ...
1
vote
1answer
123 views

Python - Convert shapefile lat-long value from Degree minutes seconds to Degree decimal

I am processing shapefiles in python using standard library functions like Python “shapefile” library and GeoPandas. I have two shapefiles having the same projected co-ordinate system-> ...
0
votes
1answer
180 views

Doubt in Field Calculator

I am working in an project.I have a point Shapefile its projection is NAD83(HARN)Pennslyvaniasouth(ftUS)*EPSG3365* when I measure its distance(between two points) it gives me the answer in feet .yes ...
3
votes
1answer
10k views

What is the format expected by QGis for Latitude/Longitude in DMS?

I have been struggling with a CSV file I need to import into QGIS 2.2.0 (on Windows 7). The coordinates are in this format: LATITUDE LONGITUDE 424605 861204 395222 861206 303051 861219 ...
3
votes
0answers
167 views

Calculating distance between two Lat Long points with different altitudes? [closed]

If we assume that the altitude is held constant, the great circle distance is correct. However if the radius of the circle is not constant how can the distance be calculated? In my case the altitude ...